Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
820fd404
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
820fd404
编写于
5月 20, 2020
作者:
R
Robo
提交者:
GitHub
5月 20, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: bump electron@8.3.0 (#98266)
上级
627dd8b0
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
27 addition
and
20 deletion
+27
-20
.yarnrc
.yarnrc
+1
-1
build/builtin/main.js
build/builtin/main.js
+2
-2
cgmanifest.json
cgmanifest.json
+6
-6
package.json
package.json
+1
-1
src/vs/base/parts/contextmenu/electron-main/contextmenu.ts
src/vs/base/parts/contextmenu/electron-main/contextmenu.ts
+2
-1
src/vs/code/electron-main/auth.ts
src/vs/code/electron-main/auth.ts
+2
-1
src/vs/code/electron-main/sharedProcess.ts
src/vs/code/electron-main/sharedProcess.ts
+1
-0
src/vs/code/electron-main/window.ts
src/vs/code/electron-main/window.ts
+2
-1
src/vs/platform/issue/electron-main/issueMainService.ts
src/vs/platform/issue/electron-main/issueMainService.ts
+4
-2
test/unit/electron/index.js
test/unit/electron/index.js
+2
-1
yarn.lock
yarn.lock
+4
-4
未找到文件。
.yarnrc
浏览文件 @
820fd404
disturl "https://atom.io/download/electron"
target "
7.2.4
"
target "
8.3.0
"
runtime "electron"
build/builtin/main.js
浏览文件 @
820fd404
...
...
@@ -10,11 +10,11 @@ const path = require('path');
let
window
=
null
;
app
.
once
(
'
ready
'
,
()
=>
{
window
=
new
BrowserWindow
({
width
:
800
,
height
:
600
,
webPreferences
:
{
nodeIntegration
:
true
,
webviewTag
:
true
}
});
window
=
new
BrowserWindow
({
width
:
800
,
height
:
600
,
webPreferences
:
{
nodeIntegration
:
true
,
webviewTag
:
true
,
enableWebSQL
:
false
}
});
window
.
setMenuBarVisibility
(
false
);
window
.
loadURL
(
url
.
format
({
pathname
:
path
.
join
(
__dirname
,
'
index.html
'
),
protocol
:
'
file:
'
,
slashes
:
true
}));
// window.webContents.openDevTools();
window
.
once
(
'
closed
'
,
()
=>
window
=
null
);
});
app
.
on
(
'
window-all-closed
'
,
()
=>
app
.
quit
());
\ No newline at end of file
app
.
on
(
'
window-all-closed
'
,
()
=>
app
.
quit
());
cgmanifest.json
浏览文件 @
820fd404
...
...
@@ -6,7 +6,7 @@
"git"
:
{
"name"
:
"chromium"
,
"repositoryUrl"
:
"https://chromium.googlesource.com/chromium/src"
,
"commitHash"
:
"
e4745133a1d3745f066e068b8033c6a269b59caf
"
"commitHash"
:
"
052d3b44972e6d94ef40054d46c150b7cdd7a5d8
"
}
},
"licenseDetail"
:
[
...
...
@@ -40,7 +40,7 @@
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
],
"isOnlyProductionDependency"
:
true
,
"version"
:
"
78.0.3904.130
"
"version"
:
"
80.0.3987.165
"
},
{
"component"
:
{
...
...
@@ -48,11 +48,11 @@
"git"
:
{
"name"
:
"nodejs"
,
"repositoryUrl"
:
"https://github.com/nodejs/node"
,
"commitHash"
:
"
787378879acfb212ed4ff824bf9f767a24a5cb43a
"
"commitHash"
:
"
42cce5a9d0fd905bf4ad7a2528c36572dfb8b5ad
"
}
},
"isOnlyProductionDependency"
:
true
,
"version"
:
"12.
8.1
"
"version"
:
"12.
13.0
"
},
{
"component"
:
{
...
...
@@ -60,12 +60,12 @@
"git"
:
{
"name"
:
"electron"
,
"repositoryUrl"
:
"https://github.com/electron/electron"
,
"commitHash"
:
"
0552e0d5de46ffa3b481d741f1db5c779e20156
5"
"commitHash"
:
"
426d45cd8569fb7731f213159336cea019829ec
5"
}
},
"isOnlyProductionDependency"
:
true
,
"license"
:
"MIT"
,
"version"
:
"
7.2.4
"
"version"
:
"
8.3.0
"
},
{
"component"
:
{
...
...
package.json
浏览文件 @
820fd404
...
...
@@ -100,7 +100,7 @@
"
css-loader
"
:
"
^3.2.0
"
,
"
debounce
"
:
"
^1.0.0
"
,
"
deemon
"
:
"
^1.4.0
"
,
"
electron
"
:
"
7.2.4
"
,
"
electron
"
:
"
8.3.0
"
,
"
eslint
"
:
"
6.8.0
"
,
"
eslint-plugin-jsdoc
"
:
"
^19.1.0
"
,
"
event-stream
"
:
"
3.3.4
"
,
...
...
src/vs/base/parts/contextmenu/electron-main/contextmenu.ts
浏览文件 @
820fd404
...
...
@@ -9,9 +9,10 @@ import { ISerializableContextMenuItem, CONTEXT_MENU_CLOSE_CHANNEL, CONTEXT_MENU_
export
function
registerContextMenuListener
():
void
{
ipcMain
.
on
(
CONTEXT_MENU_CHANNEL
,
(
event
:
IpcMainEvent
,
contextMenuId
:
number
,
items
:
ISerializableContextMenuItem
[],
onClickChannel
:
string
,
options
?:
IPopupOptions
)
=>
{
const
menu
=
createMenu
(
event
,
onClickChannel
,
items
);
const
window
=
BrowserWindow
.
fromWebContents
(
event
.
sender
);
menu
.
popup
({
window
:
BrowserWindow
.
fromWebContents
(
event
.
sender
)
,
window
:
window
?
window
:
undefined
,
x
:
options
?
options
.
x
:
undefined
,
y
:
options
?
options
.
y
:
undefined
,
positioningItem
:
options
?
options
.
positioningItem
:
undefined
,
...
...
src/vs/code/electron-main/auth.ts
浏览文件 @
820fd404
...
...
@@ -59,7 +59,8 @@ export class ProxyAuthHandler extends Disposable {
title
:
'
VS Code
'
,
webPreferences
:
{
nodeIntegration
:
true
,
webviewTag
:
true
webviewTag
:
true
,
enableWebSQL
:
false
}
};
...
...
src/vs/code/electron-main/sharedProcess.ts
浏览文件 @
820fd404
...
...
@@ -44,6 +44,7 @@ export class SharedProcess implements ISharedProcess {
images
:
false
,
nodeIntegration
:
true
,
webgl
:
false
,
enableWebSQL
:
false
,
disableBlinkFeatures
:
'
Auxclick
'
// do NOT change, allows us to identify this window as shared-process in the process explorer
}
});
...
...
src/vs/code/electron-main/window.ts
浏览文件 @
820fd404
...
...
@@ -165,7 +165,8 @@ export class CodeWindow extends Disposable implements ICodeWindow {
webPreferences
:
{
nodeIntegration
:
true
,
nodeIntegrationInWorker
:
RUN_TEXTMATE_IN_WORKER
,
webviewTag
:
true
webviewTag
:
true
,
enableWebSQL
:
false
}
};
...
...
src/vs/platform/issue/electron-main/issueMainService.ts
浏览文件 @
820fd404
...
...
@@ -189,7 +189,8 @@ export class IssueMainService implements IIssueService {
title
:
localize
(
'
issueReporter
'
,
"
Issue Reporter
"
),
backgroundColor
:
data
.
styles
.
backgroundColor
||
DEFAULT_BACKGROUND_COLOR
,
webPreferences
:
{
nodeIntegration
:
true
nodeIntegration
:
true
,
enableWebSQL
:
false
}
});
...
...
@@ -238,7 +239,8 @@ export class IssueMainService implements IIssueService {
backgroundColor
:
data
.
styles
.
backgroundColor
,
title
:
localize
(
'
processExplorer
'
,
"
Process Explorer
"
),
webPreferences
:
{
nodeIntegration
:
true
nodeIntegration
:
true
,
enableWebSQL
:
false
}
});
...
...
test/unit/electron/index.js
浏览文件 @
820fd404
...
...
@@ -115,7 +115,8 @@ app.on('ready', () => {
backgroundThrottling
:
false
,
nodeIntegration
:
true
,
webSecurity
:
false
,
webviewTag
:
true
webviewTag
:
true
,
enableWebSQL
:
false
}
});
...
...
yarn.lock
浏览文件 @
820fd404
...
...
@@ -2715,10 +2715,10 @@ electron-to-chromium@^1.2.7:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz#78ecb8a399066187bb374eede35d9c70565a803d"
integrity sha1-eOy4o5kGYYe7N07t412ccFZagD0=
electron@
7.2.4
:
version "
7.2.4
"
resolved "https://registry.yarnpkg.com/electron/-/electron-
7.2.4.tgz#9fc0446dae23ead897af8742470cb18da55c6ce
9"
integrity sha512-
Z+R692uTzXgP8AHrabE+kkrMlQJ6pnAYoINenwj9QSqaD2YbO8IuXU9DMCcUY0+VpA91ee09wFZJNUKYPMnCKg
==
electron@
8.3.0
:
version "
8.3.0
"
resolved "https://registry.yarnpkg.com/electron/-/electron-
8.3.0.tgz#c2b565a4c10d6d287d20164bcd5a478468b940a
9"
integrity sha512-
XRjiIJICZCgUr2vKSUI2PTkfP0gPFqCtqJUaTJSfCTuE3nTrxBKOUNeRMuCzEqspKkpFQU3SB3MdbMSHmZARlQ
==
dependencies:
"@electron/get" "^1.0.1"
"@types/node" "^12.0.12"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录