forked from rancher-sandbox/rancher-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace
ffi-napi
and ref-napi
with forks
Electron 21 enabled V8 sandboxed pointers, following Chrome's decision to do the same in Chrome 103. This has some implications for native modules, namely ArrayBuffers which point to external ("off-heap") memory are no longer allowed. This breaks our `win-ca.ts` implementation. We're opting to use these forks as a short-term fix to allow us to upgrade to the latest version of electron as we evaluate a long-term fix. See the following links for more details: - https://www.electronjs.org/blog/v8-memory-cage - node-ffi-napi/node-ffi-napi#238 Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
- Loading branch information
1 parent
6d331e1
commit 0563102
Showing
4 changed files
with
45 additions
and
28 deletions.
There are no files selected for viewing
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
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