Skip to content

Commit 113fd1b

Browse files
committed
chore: bump electron@7.3.0
1 parent 61b03f3 commit 113fd1b

10 files changed

Lines changed: 22 additions & 16 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.2.4"
2+
target "7.3.0"
33
runtime "electron"

build/builtin/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ const path = require('path');
1010
let window = null;
1111

1212
app.once('ready', () => {
13-
window = new BrowserWindow({ width: 800, height: 600, webPreferences: { nodeIntegration: true, webviewTag: true } });
13+
window = new BrowserWindow({ width: 800, height: 600, webPreferences: { nodeIntegration: true, webviewTag: true, enableWebSQL: false } });
1414
window.setMenuBarVisibility(false);
1515
window.loadURL(url.format({ pathname: path.join(__dirname, 'index.html'), protocol: 'file:', slashes: true }));
1616
// window.webContents.openDevTools();
1717
window.once('closed', () => window = null);
1818
});
1919

20-
app.on('window-all-closed', () => app.quit());
20+
app.on('window-all-closed', () => app.quit());

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@
6060
"git": {
6161
"name": "electron",
6262
"repositoryUrl": "https://github.com/electron/electron",
63-
"commitHash": "0552e0d5de46ffa3b481d741f1db5c779e201565"
63+
"commitHash": "8f502de1dc5b6df4218a900d0857de7a40301d98"
6464
}
6565
},
6666
"isOnlyProductionDependency": true,
6767
"license": "MIT",
68-
"version": "7.2.4"
68+
"version": "7.3.0"
6969
},
7070
{
7171
"component": {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"css-loader": "^3.2.0",
100100
"debounce": "^1.0.0",
101101
"deemon": "^1.4.0",
102-
"electron": "7.2.4",
102+
"electron": "7.3.0",
103103
"eslint": "6.8.0",
104104
"eslint-plugin-jsdoc": "^19.1.0",
105105
"event-stream": "3.3.4",
@@ -181,4 +181,4 @@
181181
"windows-mutex": "0.3.0",
182182
"windows-process-tree": "0.2.4"
183183
}
184-
}
184+
}

src/vs/code/electron-main/auth.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ export class ProxyAuthHandler extends Disposable {
5959
title: 'VS Code',
6060
webPreferences: {
6161
nodeIntegration: true,
62-
webviewTag: true
62+
webviewTag: true,
63+
enableWebSQL: false
6364
}
6465
};
6566

src/vs/code/electron-main/sharedProcess.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class SharedProcess implements ISharedProcess {
4646
images: false,
4747
nodeIntegration: true,
4848
webgl: false,
49+
enableWebSQL: false,
4950
disableBlinkFeatures: 'Auxclick' // do NOT change, allows us to identify this window as shared-process in the process explorer
5051
}
5152
});

src/vs/code/electron-main/window.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ export class CodeWindow extends Disposable implements ICodeWindow {
166166
preload: URI.parse(this.doGetPreloadUrl()).fsPath,
167167
nodeIntegration: true,
168168
nodeIntegrationInWorker: RUN_TEXTMATE_IN_WORKER,
169-
webviewTag: true
169+
webviewTag: true,
170+
enableWebSQL: false
170171
}
171172
};
172173

src/vs/platform/issue/electron-main/issueMainService.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ export class IssueMainService implements ICommonIssueService {
195195
backgroundColor: data.styles.backgroundColor || DEFAULT_BACKGROUND_COLOR,
196196
webPreferences: {
197197
preload: URI.parse(require.toUrl('vs/base/parts/sandbox/electron-browser/preload.js')).fsPath,
198-
nodeIntegration: true
198+
nodeIntegration: true,
199+
enableWebSQL: false
199200
}
200201
});
201202

@@ -245,7 +246,8 @@ export class IssueMainService implements ICommonIssueService {
245246
title: localize('processExplorer', "Process Explorer"),
246247
webPreferences: {
247248
preload: URI.parse(require.toUrl('vs/base/parts/sandbox/electron-browser/preload.js')).fsPath,
248-
nodeIntegration: true
249+
nodeIntegration: true,
250+
enableWebSQL: false
249251
}
250252
});
251253

test/unit/electron/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ app.on('ready', () => {
116116
nodeIntegration: true,
117117
webSecurity: false,
118118
webviewTag: true,
119-
preload: path.join(__dirname, '..', '..', '..', 'src', 'vs', 'base', 'parts', 'sandbox', 'electron-browser', 'preload.js') // ensure similar environment as VSCode as tests may depend on this
119+
preload: path.join(__dirname, '..', '..', '..', 'src', 'vs', 'base', 'parts', 'sandbox', 'electron-browser', 'preload.js'), // ensure similar environment as VSCode as tests may depend on this
120+
enableWebSQL: false
120121
}
121122
});
122123

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@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==
2718+
electron@7.3.0:
2719+
version "7.3.0"
2720+
resolved "https://registry.yarnpkg.com/electron/-/electron-7.3.0.tgz#b4e1bd1efe32314534dba9b60ea5cc688216f3b3"
2721+
integrity sha512-uG3WVhyawWXBUJN+f5GkdCq8z5r+XsvpLLAyUuPo+DL2PXt57YI1wEXc5qTJq9hzlLAcGOlU/4+8pSkYBWOn1A==
27222722
dependencies:
27232723
"@electron/get" "^1.0.1"
27242724
"@types/node" "^12.0.12"

0 commit comments

Comments
 (0)