Skip to content

Commit 3bd9d75

Browse files
committed
Revert "chore: bump electron@8.2.5 (microsoft#98109)"
This reverts commit 9497225.
1 parent a7fb3ef commit 3bd9d75

5 files changed

Lines changed: 13 additions & 14 deletions

File tree

.yarnrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
disturl "https://atom.io/download/electron"
2-
target "8.2.5"
2+
target "7.2.4"
33
runtime "electron"

cgmanifest.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "chromium",
88
"repositoryUrl": "https://chromium.googlesource.com/chromium/src",
9-
"commitHash": "052d3b44972e6d94ef40054d46c150b7cdd7a5d8"
9+
"commitHash": "e4745133a1d3745f066e068b8033c6a269b59caf"
1010
}
1111
},
1212
"licenseDetail": [
@@ -40,32 +40,32 @@
4040
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
4141
],
4242
"isOnlyProductionDependency": true,
43-
"version": "80.0.3987.165"
43+
"version": "78.0.3904.130"
4444
},
4545
{
4646
"component": {
4747
"type": "git",
4848
"git": {
4949
"name": "nodejs",
5050
"repositoryUrl": "https://github.com/nodejs/node",
51-
"commitHash": "42cce5a9d0fd905bf4ad7a2528c36572dfb8b5ad"
51+
"commitHash": "787378879acfb212ed4ff824bf9f767a24a5cb43a"
5252
}
5353
},
5454
"isOnlyProductionDependency": true,
55-
"version": "12.13.0"
55+
"version": "12.8.1"
5656
},
5757
{
5858
"component": {
5959
"type": "git",
6060
"git": {
6161
"name": "electron",
6262
"repositoryUrl": "https://github.com/electron/electron",
63-
"commitHash": "6c42564337697f1907627ad96b7bd4801ef5be20"
63+
"commitHash": "0552e0d5de46ffa3b481d741f1db5c779e201565"
6464
}
6565
},
6666
"isOnlyProductionDependency": true,
6767
"license": "MIT",
68-
"version": "8.2.5"
68+
"version": "7.2.4"
6969
},
7070
{
7171
"component": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"css-loader": "^3.2.0",
102102
"debounce": "^1.0.0",
103103
"deemon": "^1.4.0",
104-
"electron": "8.2.5",
104+
"electron": "7.2.4",
105105
"eslint": "6.8.0",
106106
"eslint-plugin-jsdoc": "^19.1.0",
107107
"event-stream": "3.3.4",

src/vs/base/parts/contextmenu/electron-main/contextmenu.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ import { ISerializableContextMenuItem, CONTEXT_MENU_CLOSE_CHANNEL, CONTEXT_MENU_
99
export function registerContextMenuListener(): void {
1010
ipcMain.on(CONTEXT_MENU_CHANNEL, (event: IpcMainEvent, contextMenuId: number, items: ISerializableContextMenuItem[], onClickChannel: string, options?: IPopupOptions) => {
1111
const menu = createMenu(event, onClickChannel, items);
12-
const window = BrowserWindow.fromWebContents(event.sender);
1312

1413
menu.popup({
15-
window: window ? window : undefined,
14+
window: BrowserWindow.fromWebContents(event.sender),
1615
x: options ? options.x : undefined,
1716
y: options ? options.y : undefined,
1817
positioningItem: options ? options.positioningItem : undefined,

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2715,10 +2715,10 @@ electron-to-chromium@^1.2.7:
27152715
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz#78ecb8a399066187bb374eede35d9c70565a803d"
27162716
integrity sha1-eOy4o5kGYYe7N07t412ccFZagD0=
27172717

2718-
electron@8.2.5:
2719-
version "8.2.5"
2720-
resolved "https://registry.yarnpkg.com/electron/-/electron-8.2.5.tgz#ae3cb23d5517b2189fd35298e487198d65d1a291"
2721-
integrity sha512-LxSCUwmlfJtRwthd3ofpYaZ+1C2hQSW8Ep1DD9K3VbnDItO+kb3t1z35daJgAab78j54aOwo9gMxJtvU0Ftj6w==
2718+
electron@7.2.4:
2719+
version "7.2.4"
2720+
resolved "https://registry.yarnpkg.com/electron/-/electron-7.2.4.tgz#9fc0446dae23ead897af8742470cb18da55c6ce9"
2721+
integrity sha512-Z+R692uTzXgP8AHrabE+kkrMlQJ6pnAYoINenwj9QSqaD2YbO8IuXU9DMCcUY0+VpA91ee09wFZJNUKYPMnCKg==
27222722
dependencies:
27232723
"@electron/get" "^1.0.1"
27242724
"@types/node" "^12.0.12"

0 commit comments

Comments
 (0)