mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
bump electron@3.2.4
This commit is contained in:
parent
d48076b2a5
commit
7b80b25ddf
2
.yarnrc
2
.yarnrc
|
@ -1,3 +1,3 @@
|
||||||
disturl "https://atom.io/download/electron"
|
disturl "https://atom.io/download/electron"
|
||||||
target "4.2.3"
|
target "4.2.4"
|
||||||
runtime "electron"
|
runtime "electron"
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
},
|
},
|
||||||
"isOnlyProductionDependency": true,
|
"isOnlyProductionDependency": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "4.2.3"
|
"version": "4.2.4"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"component": {
|
"component": {
|
||||||
|
|
62
src/typings/electron.d.ts
vendored
62
src/typings/electron.d.ts
vendored
|
@ -1,4 +1,4 @@
|
||||||
// Type definitions for Electron 4.2.3
|
// Type definitions for Electron 4.2.4
|
||||||
// Project: http://electronjs.org/
|
// Project: http://electronjs.org/
|
||||||
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
||||||
// Definitions: https://github.com/electron/electron-typescript-definitions
|
// Definitions: https://github.com/electron/electron-typescript-definitions
|
||||||
|
@ -1338,16 +1338,21 @@ declare namespace Electron {
|
||||||
removeListener(event: 'new-window-for-tab', listener: Function): this;
|
removeListener(event: 'new-window-for-tab', listener: Function): this;
|
||||||
/**
|
/**
|
||||||
* Emitted when the document changed its title, calling event.preventDefault() will
|
* Emitted when the document changed its title, calling event.preventDefault() will
|
||||||
* prevent the native window's title from changing.
|
* prevent the native window's title from changing. explicitSet is false when title
|
||||||
|
* is synthesized from file url.
|
||||||
*/
|
*/
|
||||||
on(event: 'page-title-updated', listener: (event: Event,
|
on(event: 'page-title-updated', listener: (event: Event,
|
||||||
title: string, explicitSet: boolean) => void): this;
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
once(event: 'page-title-updated', listener: (event: Event,
|
once(event: 'page-title-updated', listener: (event: Event,
|
||||||
title: string, explicitSet: boolean) => void): this;
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
addListener(event: 'page-title-updated', listener: (event: Event,
|
addListener(event: 'page-title-updated', listener: (event: Event,
|
||||||
title: string, explicitSet: boolean) => void): this;
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
removeListener(event: 'page-title-updated', listener: (event: Event,
|
removeListener(event: 'page-title-updated', listener: (event: Event,
|
||||||
title: string, explicitSet: boolean) => void): this;
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
/**
|
/**
|
||||||
* Emitted when the web page has been rendered (while not being shown) and window
|
* Emitted when the web page has been rendered (while not being shown) and window
|
||||||
* can be displayed without a visual flash.
|
* can be displayed without a visual flash.
|
||||||
|
@ -3355,35 +3360,6 @@ declare namespace Electron {
|
||||||
type?: ('task' | 'separator' | 'file');
|
type?: ('task' | 'separator' | 'file');
|
||||||
}
|
}
|
||||||
|
|
||||||
interface MemoryInfo {
|
|
||||||
|
|
||||||
// Docs: http://electronjs.org/docs/api/structures/memory-info
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The maximum amount of memory that has ever been pinned to actual physical RAM.
|
|
||||||
* On macOS its value will always be 0.
|
|
||||||
*/
|
|
||||||
peakWorkingSetSize: number;
|
|
||||||
/**
|
|
||||||
* Process id of the process.
|
|
||||||
*/
|
|
||||||
pid: number;
|
|
||||||
/**
|
|
||||||
* The amount of memory not shared by other processes, such as JS heap or HTML
|
|
||||||
* content.
|
|
||||||
*/
|
|
||||||
privateBytes: number;
|
|
||||||
/**
|
|
||||||
* The amount of memory shared between processes, typically memory consumed by the
|
|
||||||
* Electron code itself
|
|
||||||
*/
|
|
||||||
sharedBytes: number;
|
|
||||||
/**
|
|
||||||
* The amount of memory currently pinned to actual physical RAM.
|
|
||||||
*/
|
|
||||||
workingSetSize: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface MemoryUsageDetails {
|
interface MemoryUsageDetails {
|
||||||
|
|
||||||
// Docs: http://electronjs.org/docs/api/structures/memory-usage-details
|
// Docs: http://electronjs.org/docs/api/structures/memory-usage-details
|
||||||
|
@ -5919,6 +5895,22 @@ declare namespace Electron {
|
||||||
* Array of URLs.
|
* Array of URLs.
|
||||||
*/
|
*/
|
||||||
favicons: string[]) => void): this;
|
favicons: string[]) => void): this;
|
||||||
|
/**
|
||||||
|
* Fired when page title is set during navigation. explicitSet is false when title
|
||||||
|
* is synthesized from file url.
|
||||||
|
*/
|
||||||
|
on(event: 'page-title-updated', listener: (event: Event,
|
||||||
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
|
once(event: 'page-title-updated', listener: (event: Event,
|
||||||
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
|
addListener(event: 'page-title-updated', listener: (event: Event,
|
||||||
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
|
removeListener(event: 'page-title-updated', listener: (event: Event,
|
||||||
|
title: string,
|
||||||
|
explicitSet: boolean) => void): this;
|
||||||
/**
|
/**
|
||||||
* Emitted when a new frame is generated. Only the dirty area is passed in the
|
* Emitted when a new frame is generated. Only the dirty area is passed in the
|
||||||
* buffer.
|
* buffer.
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
"@types/webdriverio": "4.6.1",
|
"@types/webdriverio": "4.6.1",
|
||||||
"concurrently": "^3.5.1",
|
"concurrently": "^3.5.1",
|
||||||
"cpx": "^1.5.0",
|
"cpx": "^1.5.0",
|
||||||
"electron": "4.2.3",
|
"electron": "4.2.4",
|
||||||
"htmlparser2": "^3.9.2",
|
"htmlparser2": "^3.9.2",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
|
|
|
@ -596,10 +596,10 @@ electron-download@^4.1.0:
|
||||||
semver "^5.4.1"
|
semver "^5.4.1"
|
||||||
sumchecker "^2.0.2"
|
sumchecker "^2.0.2"
|
||||||
|
|
||||||
electron@4.2.3:
|
electron@4.2.4:
|
||||||
version "4.2.3"
|
version "4.2.4"
|
||||||
resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.3.tgz#5d45da9dd5ae97269dbee2623840da808c72d29d"
|
resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.4.tgz#68ca7bd4ff2c16b9205549322f0f1cda4ebc9ff9"
|
||||||
integrity sha512-nx+jHxj2eNhaYHXFGdzr7zgSphpVHEU9WAu6qqEUsQ936X3c6bQ5Bdg08KbHZj+cyRRQ06JMu6/ILh5pWrDZaA==
|
integrity sha512-d4wEwJluMsRyRgbukLmFVTb6l1J+mc3RLB1ctbpMlSWDFvs+zknPWa+cHBzTWwrdgwINLddr69qsAW1ku6FqYw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "^10.12.18"
|
"@types/node" "^10.12.18"
|
||||||
electron-download "^4.1.0"
|
electron-download "^4.1.0"
|
||||||
|
|
Loading…
Reference in a new issue