-
Notifications
You must be signed in to change notification settings - Fork 853
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MM-61271] Upgrade to Electron v33.0.2 (#3181)
* [MM-61271] Upgrade to Electron v33.0.2 * Fix node-abi * Fix and patch nan
- Loading branch information
1 parent
0652f7f
commit 14bb75e
Showing
9 changed files
with
93 additions
and
39 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/nan/nan_scriptorigin.h b/node_modules/nan/nan_scriptorigin.h | ||
index 04e55cf..9949631 100644 | ||
--- a/node_modules/nan/nan_scriptorigin.h | ||
+++ b/node_modules/nan/nan_scriptorigin.h | ||
@@ -13,7 +13,7 @@ class ScriptOrigin : public v8::ScriptOrigin { | ||
public: | ||
|
||
#if defined(V8_MAJOR_VERSION) && (V8_MAJOR_VERSION > 11 \ | ||
- && defined(V8_MINOR_VERSION) && V8_MINOR_VERSION > 7) | ||
+ && defined(V8_MINOR_VERSION) && (V8_MAJOR_VERSION > 12 || (V8_MAJOR_VERSION == 11 && V8_MINOR_VERSION > 7))) | ||
explicit ScriptOrigin(v8::Local<v8::Value> name) : | ||
v8::ScriptOrigin(name) {} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
diff --git a/node_modules/electron/electron.d.ts b/node_modules/electron/electron.d.ts | ||
index 2de7557..0d0fa34 100644 | ||
--- a/node_modules/electron/electron.d.ts | ||
+++ b/node_modules/electron/electron.d.ts | ||
@@ -9847,23 +9847,23 @@ declare namespace Electron { | ||
* | ||
* @platform darwin,win32 | ||
*/ | ||
- on(event: 'speed-limit-change', listener: () => void): this; | ||
+ on(event: 'speed-limit-change', listener: (limit: number) => void): this; | ||
/** | ||
* @platform darwin,win32 | ||
*/ | ||
- off(event: 'speed-limit-change', listener: () => void): this; | ||
+ off(event: 'speed-limit-change', listener: (limit: number) => void): this; | ||
/** | ||
* @platform darwin,win32 | ||
*/ | ||
- once(event: 'speed-limit-change', listener: () => void): this; | ||
+ once(event: 'speed-limit-change', listener: (limit: number) => void): this; | ||
/** | ||
* @platform darwin,win32 | ||
*/ | ||
- addListener(event: 'speed-limit-change', listener: () => void): this; | ||
+ addListener(event: 'speed-limit-change', listener: (limit: number) => void): this; | ||
/** | ||
* @platform darwin,win32 | ||
*/ | ||
- removeListener(event: 'speed-limit-change', listener: () => void): this; | ||
+ removeListener(event: 'speed-limit-change', listener: (limit: number) => void): this; | ||
/** | ||
* Emitted when the system is suspending. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters