-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As node-pre-gyp is no longer maintained this is the path of least resistance to adding new versions, we include a patch within this project that updates the abi_crosswalk file within node-pre-gyp that is used to map the versions of node to their module/v8 versions. Then in run.js we call patch-package before spawning anything to ensure that our patches are applied correctly. This isn't by any means perfect but it's the quickest way to update the supported versions of node without having to go and make any major refactors to the setup here, or the code in ioslib/the SDK
- Loading branch information
1 parent
33a9ce4
commit 4652c0c
Showing
4 changed files
with
294 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json b/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json | ||
index 7f52972..089c6e9 100644 | ||
--- a/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json | ||
+++ b/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json | ||
@@ -2598,5 +2598,13 @@ | ||
"17.1.0": { | ||
"node_abi": 102, | ||
"v8": "9.5" | ||
+ }, | ||
+ "18.13.0":{ | ||
+ "node_abi": 108, | ||
+ "v8": "10.2" | ||
+ } , | ||
+ "19.4.0": { | ||
+ "node_abi": 111, | ||
+ "v8": "10.8" | ||
} | ||
} | ||
\ No newline at end of file |
Oops, something went wrong.