Skip to content

Commit

Permalink
chore: Bump [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Dec 3, 2019
1 parent 84058e3 commit 22c3db0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
disturl "https://atom.io/download/electron"
target "7.1.2"
target "7.1.3"
runtime "electron"
8 changes: 4 additions & 4 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "chromium",
"repositoryUrl": "https://chromium.googlesource.com/chromium/src",
"commitHash": "ec199aba849bfbf1e6169a881608b18e4bb6c74a"
"commitHash": "6d3175ddbcea0b71708a151194b3bba9f4614304"
}
},
"licenseDetail": [
Expand Down Expand Up @@ -40,7 +40,7 @@
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
],
"isOnlyProductionDependency": true,
"version": "78.0.3904.113"
"version": "78.0.3904.126"
},
{
"component": {
Expand All @@ -60,12 +60,12 @@
"git": {
"name": "electron",
"repositoryUrl": "https://github.com/electron/electron",
"commitHash": "e82f453f711fa661677ae2003313b7257b76bbf4"
"commitHash": "15688c6d6ed3b39c07dc514cbcb3dc37908b7665"
}
},
"isOnlyProductionDependency": true,
"license": "MIT",
"version": "7.1.2"
"version": "7.1.3"
},
{
"component": {
Expand Down
61 changes: 33 additions & 28 deletions src/typings/electron.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for Electron 7.1.2
// Type definitions for Electron 7.1.3
// Project: http://electronjs.org/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/electron-typescript-definitions
Expand Down Expand Up @@ -413,27 +413,31 @@ declare namespace Electron {
* The default behavior is to cancel all authentications. To override this you
* should prevent the default behavior with `event.preventDefault()` and call
* `callback(username, password)` with the credentials.
*
* If `callback` is called without a username or password, the authentication
* request will be cancelled and the authentication error will be returned to the
* page.
*/
on(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
once(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
addListener(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
removeListener(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
/**
* Emitted when the user clicks the native macOS new tab button. The new tab button
* is only visible if the current `BrowserWindow` has a `tabbingIdentifier`
Expand Down Expand Up @@ -1975,22 +1979,22 @@ declare namespace Electron {
/**
* Location the window is being moved to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
once(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
addListener(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
removeListener(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
/**
* Emitted before the window is resized. Calling `event.preventDefault()` will
* prevent the window from being resized.
Expand All @@ -2004,22 +2008,22 @@ declare namespace Electron {
/**
* Size the window is being resized to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
once(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
addListener(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
removeListener(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: `Rectangle`) => void): this;
newBounds: Rectangle) => void): this;
/**
* BrowserWindow
*/
Expand Down Expand Up @@ -3072,16 +3076,18 @@ declare namespace Electron {
* error on the response object:
*/
on(event: 'login', listener: (authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
once(event: 'login', listener: (authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
addListener(event: 'login', listener: (authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
removeListener(event: 'login', listener: (authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
/**
* Emitted when there is redirection and the mode is `manual`. Calling
* `request.followRedirect` will continue with the redirection.
* Emitted when the server returns a redirect response (e.g. 301 Moved
* Permanently). Calling `request.followRedirect` will continue with the
* redirection. If this event is handled, `request.followRedirect` must be called
* **synchronously**, otherwise the request will be cancelled.
*/
on(event: 'redirect', listener: (statusCode: number,
method: string,
Expand Down Expand Up @@ -3136,8 +3142,8 @@ declare namespace Electron {
*/
end(chunk?: (string) | (Buffer), encoding?: string, callback?: () => void): void;
/**
* Continues any deferred redirection request when the redirection mode is
* `manual`.
* Continues any pending redirection. Can only be called during a `'redirect'`
* event.
*/
followRedirect(): void;
/**
Expand Down Expand Up @@ -8407,19 +8413,19 @@ declare namespace Electron {
on(event: 'login', listener: (event: Event,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
once(event: 'login', listener: (event: Event,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
addListener(event: 'login', listener: (event: Event,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
removeListener(event: 'login', listener: (event: Event,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username: string, password: string) => void) => void): this;
callback: (username?: string, password?: string) => void) => void): this;
/**
* Emitted when media is paused or done playing.
*/
Expand Down Expand Up @@ -10816,9 +10822,8 @@ declare namespace Electron {
/**
* The redirect mode for this request. Should be one of `follow`, `error` or
* `manual`. Defaults to `follow`. When mode is `error`, any redirection will be
* aborted. When mode is `manual` the redirection will be deferred until
* `request.followRedirect` is invoked. Listen for the `redirect` event in this
* mode to get more details about the redirect request.
* aborted. When mode is `manual` the redirection will be cancelled unless
* `request.followRedirect` is invoked synchronously during the `redirect` event.
*/
redirect?: string;
}
Expand Down

0 comments on commit 22c3db0

Please sign in to comment.