chore: Bump electron@6.1.2 (#83266)
parent
da0afcff64
commit
8beb0c2e3c
2
.yarnrc
2
.yarnrc
|
@ -1,3 +1,3 @@
|
|||
disturl "https://atom.io/download/electron"
|
||||
target "6.0.12"
|
||||
target "6.1.2"
|
||||
runtime "electron"
|
||||
|
|
|
@ -60,12 +60,12 @@
|
|||
"git": {
|
||||
"name": "electron",
|
||||
"repositoryUrl": "https://github.com/electron/electron",
|
||||
"commitHash": "1e50380fab37f407c4d357e1e30ecbc3d5a703b8"
|
||||
"commitHash": "dabaa7557a165cc107f89fd7c3e3c3210f9b5758"
|
||||
}
|
||||
},
|
||||
"isOnlyProductionDependency": true,
|
||||
"license": "MIT",
|
||||
"version": "6.0.12"
|
||||
"version": "6.1.2"
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Type definitions for Electron 6.0.12
|
||||
// Type definitions for Electron 6.1.2
|
||||
// Project: http://electronjs.org/
|
||||
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
||||
// Definitions: https://github.com/electron/electron-typescript-definitions
|
||||
|
@ -70,6 +70,7 @@ declare namespace Electron {
|
|||
|
||||
interface RendererInterface extends CommonInterface {
|
||||
BrowserWindowProxy: typeof BrowserWindowProxy;
|
||||
contextBridge: ContextBridge;
|
||||
desktopCapturer: DesktopCapturer;
|
||||
ipcRenderer: IpcRenderer;
|
||||
remote: Remote;
|
||||
|
@ -83,6 +84,7 @@ declare namespace Electron {
|
|||
const autoUpdater: AutoUpdater;
|
||||
const clipboard: Clipboard;
|
||||
const contentTracing: ContentTracing;
|
||||
const contextBridge: ContextBridge;
|
||||
const crashReporter: CrashReporter;
|
||||
const desktopCapturer: DesktopCapturer;
|
||||
const dialog: Dialog;
|
||||
|
@ -2511,6 +2513,13 @@ declare namespace Electron {
|
|||
stopRecording(resultFilePath: string): Promise<string>;
|
||||
}
|
||||
|
||||
interface ContextBridge extends EventEmitter {
|
||||
|
||||
// Docs: http://electronjs.org/docs/api/context-bridge
|
||||
|
||||
exposeInMainWorld(apiKey: string, api: Record<string, any>): void;
|
||||
}
|
||||
|
||||
interface Cookie {
|
||||
|
||||
// Docs: http://electronjs.org/docs/api/structures/cookie
|
||||
|
|
Loading…
Reference in New Issue