chore: Bump electron@4.2.7
parent
ea1f61356f
commit
0899c8ca90
2
.yarnrc
2
.yarnrc
|
@ -1,3 +1,3 @@
|
||||||
disturl "https://atom.io/download/electron"
|
disturl "https://atom.io/download/electron"
|
||||||
target "4.2.5"
|
target "4.2.7"
|
||||||
runtime "electron"
|
runtime "electron"
|
||||||
|
|
|
@ -60,12 +60,12 @@
|
||||||
"git": {
|
"git": {
|
||||||
"name": "electron",
|
"name": "electron",
|
||||||
"repositoryUrl": "https://github.com/electron/electron",
|
"repositoryUrl": "https://github.com/electron/electron",
|
||||||
"commitHash": "5d67ec3da5376a5058990e8a9557bc9124ad59a8"
|
"commitHash": "36ea114ac0616e469e75ae94e6d53af48925e036"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"isOnlyProductionDependency": true,
|
"isOnlyProductionDependency": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "4.2.5"
|
"version": "4.2.7"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"component": {
|
"component": {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Type definitions for Electron 4.2.5
|
// Type definitions for Electron 4.2.7
|
||||||
// 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
|
||||||
|
@ -3479,14 +3479,14 @@ declare namespace Electron {
|
||||||
* Creates a new NativeImage instance from the NSImage that maps to the given image
|
* Creates a new NativeImage instance from the NSImage that maps to the given image
|
||||||
* name. See NSImageName for a list of possible values. The hslShift is applied to
|
* name. See NSImageName for a list of possible values. The hslShift is applied to
|
||||||
* the image with the following rules This means that [-1, 0, 1] will make the
|
* the image with the following rules This means that [-1, 0, 1] will make the
|
||||||
* image completely white and [-1, 1, 0] will make the image completely black. In
|
* image completely white and [-1, 1, 0] will make the image completely black. In
|
||||||
* some cases, the NSImageName doesn't match its string representation; one example
|
* some cases, the NSImageName doesn't match its string representation; one example
|
||||||
* of this is NSFolderImageName, whose string representation would actually be
|
* of this is NSFolderImageName, whose string representation would actually be
|
||||||
* NSFolder. Therefore, you'll need to determine the correct string representation
|
* NSFolder. Therefore, you'll need to determine the correct string representation
|
||||||
* for your image before passing it in. This can be done with the following: echo
|
* for your image before passing it in. This can be done with the following: echo
|
||||||
* -e '#import <Cocoa/Cocoa.h>\nint main() { NSLog(@"%@", SYSTEM_IMAGE_NAME); }' |
|
* -e '#import <Cocoa/Cocoa.h>\nint main() { NSLog(@"%@", SYSTEM_IMAGE_NAME); }' |
|
||||||
* clang -otest -x objective-c -framework Cocoa - && ./test where SYSTEM_IMAGE_NAME
|
* clang -otest -x objective-c -framework Cocoa - && ./test where SYSTEM_IMAGE_NAME
|
||||||
* should be replaced with any value from this list.
|
* should be replaced with any value from this list.
|
||||||
*/
|
*/
|
||||||
static createFromNamedImage(imageName: string, hslShift: number[]): NativeImage;
|
static createFromNamedImage(imageName: string, hslShift: number[]): NativeImage;
|
||||||
/**
|
/**
|
||||||
|
@ -3737,6 +3737,17 @@ declare namespace Electron {
|
||||||
once(event: 'unlock-screen', listener: Function): this;
|
once(event: 'unlock-screen', listener: Function): this;
|
||||||
addListener(event: 'unlock-screen', listener: Function): this;
|
addListener(event: 'unlock-screen', listener: Function): this;
|
||||||
removeListener(event: 'unlock-screen', listener: Function): this;
|
removeListener(event: 'unlock-screen', listener: Function): this;
|
||||||
|
/**
|
||||||
|
* Calculate the system idle state. idleThreshold is the amount of time (in
|
||||||
|
* seconds) before considered idle. callback will be called synchronously on some
|
||||||
|
* systems and with an idleState argument that describes the system's state. locked
|
||||||
|
* is available on supported systems only.
|
||||||
|
*/
|
||||||
|
querySystemIdleState(idleThreshold: number, callback: (idleState: 'active' | 'idle' | 'locked' | 'unknown') => void): void;
|
||||||
|
/**
|
||||||
|
* Calculate system idle time in seconds.
|
||||||
|
*/
|
||||||
|
querySystemIdleTime(callback: (idleTime: number) => void): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PowerSaveBlocker extends EventEmitter {
|
interface PowerSaveBlocker extends EventEmitter {
|
||||||
|
@ -4418,30 +4429,6 @@ declare namespace Electron {
|
||||||
* The new RGBA color the user assigned to be their system accent color.
|
* The new RGBA color the user assigned to be their system accent color.
|
||||||
*/
|
*/
|
||||||
newColor: string) => void): this;
|
newColor: string) => void): this;
|
||||||
/**
|
|
||||||
* NOTE: This event is only emitted after you have called
|
|
||||||
* startAppLevelAppearanceTrackingOS
|
|
||||||
*/
|
|
||||||
on(event: 'appearance-changed', listener: (
|
|
||||||
/**
|
|
||||||
* Can be `dark` or `light`
|
|
||||||
*/
|
|
||||||
newAppearance: ('dark' | 'light')) => void): this;
|
|
||||||
once(event: 'appearance-changed', listener: (
|
|
||||||
/**
|
|
||||||
* Can be `dark` or `light`
|
|
||||||
*/
|
|
||||||
newAppearance: ('dark' | 'light')) => void): this;
|
|
||||||
addListener(event: 'appearance-changed', listener: (
|
|
||||||
/**
|
|
||||||
* Can be `dark` or `light`
|
|
||||||
*/
|
|
||||||
newAppearance: ('dark' | 'light')) => void): this;
|
|
||||||
removeListener(event: 'appearance-changed', listener: (
|
|
||||||
/**
|
|
||||||
* Can be `dark` or `light`
|
|
||||||
*/
|
|
||||||
newAppearance: ('dark' | 'light')) => void): this;
|
|
||||||
on(event: 'color-changed', listener: (event: Event) => void): this;
|
on(event: 'color-changed', listener: (event: Event) => void): this;
|
||||||
once(event: 'color-changed', listener: (event: Event) => void): this;
|
once(event: 'color-changed', listener: (event: Event) => void): this;
|
||||||
addListener(event: 'color-changed', listener: (event: Event) => void): this;
|
addListener(event: 'color-changed', listener: (event: Event) => void): this;
|
||||||
|
@ -8789,17 +8776,33 @@ declare namespace Electron {
|
||||||
* The type of media access being requested, can be video, audio or unknown
|
* The type of media access being requested, can be video, audio or unknown
|
||||||
*/
|
*/
|
||||||
mediaType: ('video' | 'audio' | 'unknown');
|
mediaType: ('video' | 'audio' | 'unknown');
|
||||||
|
/**
|
||||||
|
* The last URL the requesting frame loaded
|
||||||
|
*/
|
||||||
|
requestingUrl: string;
|
||||||
|
/**
|
||||||
|
* Whether the frame making the request is the main frame
|
||||||
|
*/
|
||||||
|
isMainFrame: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PermissionRequestHandlerDetails {
|
interface PermissionRequestHandlerDetails {
|
||||||
/**
|
/**
|
||||||
* The url of the openExternal request.
|
* The url of the openExternal request.
|
||||||
*/
|
*/
|
||||||
externalURL: string;
|
externalURL?: string;
|
||||||
/**
|
/**
|
||||||
* The types of media access being requested, elements can be video or audio
|
* The types of media access being requested, elements can be video or audio
|
||||||
*/
|
*/
|
||||||
mediaTypes: Array<'video' | 'audio'>;
|
mediaTypes?: Array<'video' | 'audio'>;
|
||||||
|
/**
|
||||||
|
* The last URL the requesting frame loaded
|
||||||
|
*/
|
||||||
|
requestingUrl: string;
|
||||||
|
/**
|
||||||
|
* Whether the frame making the request is the main frame
|
||||||
|
*/
|
||||||
|
isMainFrame: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface PluginCrashedEvent extends Event {
|
interface PluginCrashedEvent extends Event {
|
||||||
|
|
|
@ -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.5",
|
"electron": "4.2.7",
|
||||||
"htmlparser2": "^3.9.2",
|
"htmlparser2": "^3.9.2",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
|
|
|
@ -676,10 +676,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.5:
|
electron@4.2.7:
|
||||||
version "4.2.5"
|
version "4.2.7"
|
||||||
resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.5.tgz#1d1432c38e2b2190318f7ca30897cdfdcf942e5a"
|
resolved "https://registry.yarnpkg.com/electron/-/electron-4.2.7.tgz#bdd2dbf489a4a4255405bd8330cc8509831d29ba"
|
||||||
integrity sha512-P132MXzTtyn2ZaekhKi5JeHzmTAMuR/uQt4hrg3vfJV7fpncx9SL6UFwHAK1DU13iiyZJqqIziNUu+o8nODHsA==
|
integrity sha512-Azpkw0OPzKVipSsN9/0DrBQhXOpG48Q1gTG7Akchtv37s8TijMe403TUgHxGGhw2ti117ek51kYf7NXLhjXqoA==
|
||||||
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 New Issue