Skip to content

Commit 7b80b25

Browse files
author
Benjamin Pasero
committed
bump electron@3.2.4
1 parent d48076b commit 7b80b25

5 files changed

Lines changed: 34 additions & 42 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 "4.2.3"
2+
target "4.2.4"
33
runtime "electron"

cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"isOnlyProductionDependency": true,
6767
"license": "MIT",
68-
"version": "4.2.3"
68+
"version": "4.2.4"
6969
},
7070
{
7171
"component": {

src/typings/electron.d.ts

Lines changed: 27 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Electron 4.2.3
1+
// Type definitions for Electron 4.2.4
22
// Project: http://electronjs.org/
33
// Definitions by: The Electron Team <https://github.com/electron/electron>
44
// Definitions: https://github.com/electron/electron-typescript-definitions
@@ -1338,16 +1338,21 @@ declare namespace Electron {
13381338
removeListener(event: 'new-window-for-tab', listener: Function): this;
13391339
/**
13401340
* Emitted when the document changed its title, calling event.preventDefault() will
1341-
* prevent the native window's title from changing.
1341+
* prevent the native window's title from changing. explicitSet is false when title
1342+
* is synthesized from file url.
13421343
*/
13431344
on(event: 'page-title-updated', listener: (event: Event,
1344-
title: string, explicitSet: boolean) => void): this;
1345+
title: string,
1346+
explicitSet: boolean) => void): this;
13451347
once(event: 'page-title-updated', listener: (event: Event,
1346-
title: string, explicitSet: boolean) => void): this;
1348+
title: string,
1349+
explicitSet: boolean) => void): this;
13471350
addListener(event: 'page-title-updated', listener: (event: Event,
1348-
title: string, explicitSet: boolean) => void): this;
1351+
title: string,
1352+
explicitSet: boolean) => void): this;
13491353
removeListener(event: 'page-title-updated', listener: (event: Event,
1350-
title: string, explicitSet: boolean) => void): this;
1354+
title: string,
1355+
explicitSet: boolean) => void): this;
13511356
/**
13521357
* Emitted when the web page has been rendered (while not being shown) and window
13531358
* can be displayed without a visual flash.
@@ -3355,35 +3360,6 @@ declare namespace Electron {
33553360
type?: ('task' | 'separator' | 'file');
33563361
}
33573362

3358-
interface MemoryInfo {
3359-
3360-
// Docs: http://electronjs.org/docs/api/structures/memory-info
3361-
3362-
/**
3363-
* The maximum amount of memory that has ever been pinned to actual physical RAM.
3364-
* On macOS its value will always be 0.
3365-
*/
3366-
peakWorkingSetSize: number;
3367-
/**
3368-
* Process id of the process.
3369-
*/
3370-
pid: number;
3371-
/**
3372-
* The amount of memory not shared by other processes, such as JS heap or HTML
3373-
* content.
3374-
*/
3375-
privateBytes: number;
3376-
/**
3377-
* The amount of memory shared between processes, typically memory consumed by the
3378-
* Electron code itself
3379-
*/
3380-
sharedBytes: number;
3381-
/**
3382-
* The amount of memory currently pinned to actual physical RAM.
3383-
*/
3384-
workingSetSize: number;
3385-
}
3386-
33873363
interface MemoryUsageDetails {
33883364

33893365
// Docs: http://electronjs.org/docs/api/structures/memory-usage-details
@@ -5919,6 +5895,22 @@ declare namespace Electron {
59195895
* Array of URLs.
59205896
*/
59215897
favicons: string[]) => void): this;
5898+
/**
5899+
* Fired when page title is set during navigation. explicitSet is false when title
5900+
* is synthesized from file url.
5901+
*/
5902+
on(event: 'page-title-updated', listener: (event: Event,
5903+
title: string,
5904+
explicitSet: boolean) => void): this;
5905+
once(event: 'page-title-updated', listener: (event: Event,
5906+
title: string,
5907+
explicitSet: boolean) => void): this;
5908+
addListener(event: 'page-title-updated', listener: (event: Event,
5909+
title: string,
5910+
explicitSet: boolean) => void): this;
5911+
removeListener(event: 'page-title-updated', listener: (event: Event,
5912+
title: string,
5913+
explicitSet: boolean) => void): this;
59225914
/**
59235915
* Emitted when a new frame is generated. Only the dirty area is passed in the
59245916
* buffer.

test/smoke/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@types/webdriverio": "4.6.1",
2323
"concurrently": "^3.5.1",
2424
"cpx": "^1.5.0",
25-
"electron": "4.2.3",
25+
"electron": "4.2.4",
2626
"htmlparser2": "^3.9.2",
2727
"mkdirp": "^0.5.1",
2828
"mocha": "^5.2.0",

test/smoke/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -596,10 +596,10 @@ electron-download@^4.1.0:
596596
semver "^5.4.1"
597597
sumchecker "^2.0.2"
598598

599-
electron@4.2.3:
600-
version "4.2.3"
601-
resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.3.tgz#5d45da9dd5ae97269dbee2623840da808c72d29d"
602-
integrity sha512-nx+jHxj2eNhaYHXFGdzr7zgSphpVHEU9WAu6qqEUsQ936X3c6bQ5Bdg08KbHZj+cyRRQ06JMu6/ILh5pWrDZaA==
599+
electron@4.2.4:
600+
version "4.2.4"
601+
resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.4.tgz#68ca7bd4ff2c16b9205549322f0f1cda4ebc9ff9"
602+
integrity sha512-d4wEwJluMsRyRgbukLmFVTb6l1J+mc3RLB1ctbpMlSWDFvs+zknPWa+cHBzTWwrdgwINLddr69qsAW1ku6FqYw==
603603
dependencies:
604604
"@types/node" "^10.12.18"
605605
electron-download "^4.1.0"

0 commit comments

Comments
 (0)