Skip to content

Commit d2f06fb

Browse files
committed
chore: bump electron@8.3.3
1 parent 9206176 commit d2f06fb

6 files changed

Lines changed: 16 additions & 13 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 "7.3.1"
2+
target "8.3.3"
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": "e4745133a1d3745f066e068b8033c6a269b59caf"
9+
"commitHash": "052d3b44972e6d94ef40054d46c150b7cdd7a5d8"
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": "78.0.3904.130"
43+
"version": "80.0.3987.165"
4444
},
4545
{
4646
"component": {
4747
"type": "git",
4848
"git": {
4949
"name": "nodejs",
5050
"repositoryUrl": "https://github.com/nodejs/node",
51-
"commitHash": "787378879acfb212ed4ff824bf9f767a24a5cb43a"
51+
"commitHash": "42cce5a9d0fd905bf4ad7a2528c36572dfb8b5ad"
5252
}
5353
},
5454
"isOnlyProductionDependency": true,
55-
"version": "12.8.1"
55+
"version": "12.13.0"
5656
},
5757
{
5858
"component": {
5959
"type": "git",
6060
"git": {
6161
"name": "electron",
6262
"repositoryUrl": "https://github.com/electron/electron",
63-
"commitHash": "bc8fc0d406d32e4c02f3ec9f161deaacbe4f5989"
63+
"commitHash": "87fd06bc96bce8f46ca05b8315657fd230bcac85"
6464
}
6565
},
6666
"isOnlyProductionDependency": true,
6767
"license": "MIT",
68-
"version": "7.3.1"
68+
"version": "8.3.3"
6969
},
7070
{
7171
"component": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"css-loader": "^3.2.0",
9999
"debounce": "^1.0.0",
100100
"deemon": "^1.4.0",
101-
"electron": "7.3.1",
101+
"electron": "8.3.3",
102102
"eslint": "6.8.0",
103103
"eslint-plugin-jsdoc": "^19.1.0",
104104
"event-stream": "3.3.4",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ 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);
1213

1314
menu.popup({
14-
window: BrowserWindow.fromWebContents(event.sender),
15+
window: window ? window : undefined,
1516
x: options ? options.x : undefined,
1617
y: options ? options.y : undefined,
1718
positioningItem: options ? options.positioningItem : undefined,

src/vs/platform/launch/electron-main/launchMainService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ export class LaunchMainService implements ILaunchMainService {
156156
else {
157157
const lastActive = this.windowsMainService.getLastActiveWindow();
158158
if (lastActive) {
159+
// Force focus the app before requesting window focus
160+
app.focus({ steal: true });
159161
lastActive.focus();
160162

161163
usedWindows = [lastActive];

yarn.lock

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

2716-
electron@7.3.1:
2717-
version "7.3.1"
2718-
resolved "https://registry.yarnpkg.com/electron/-/electron-7.3.1.tgz#3574f85866b97a8712265442dbf7244cac639910"
2719-
integrity sha512-T1yuQqjTpRIh/oQ1rIhuN2aIk0YZaielyn09oxrMMwvL+C3bHvpPUJSCZrtVSzdUmTORhQRM9FZPzheBsneVUA==
2716+
electron@8.3.3:
2717+
version "8.3.3"
2718+
resolved "https://registry.yarnpkg.com/electron/-/electron-8.3.3.tgz#8ce07dcbafa097d00b94d1dd58a2a3b30fe6f803"
2719+
integrity sha512-/LGnjnE9BQzkn2VpjflLi7jpQxYIp+maqmiDPy6ww76hkQvt/LJ991ewdHpfLR4or3VqzPIu+AK+ZJrTlDAWyw==
27202720
dependencies:
27212721
"@electron/get" "^1.0.1"
27222722
"@types/node" "^12.0.12"

0 commit comments

Comments
 (0)