Skip to content

Commit

Permalink
feat: add support for node 22 (#88)
Browse files Browse the repository at this point in the history
* feat: add support for node 22

* chore(release): v1.12.0

* ci: bump to node 18
  • Loading branch information
ewanharris authored Jun 18, 2024
1 parent 84d8fc7 commit 7d76a93
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'

- name: Build
run: yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
registry-url: 'https://registry.npmjs.org'

- name: Build
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "node-ios-device",
"description": "Simple library for listing and installing apps on iOS devices",
"version": "1.11.0",
"version": "1.12.0",
"author": "TiDev, Inc. <[email protected]>",
"maintainers": [
"Chris Barber <[email protected]>"
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.10",
"debug": "^4.3.4",
"nan": "^2.17.0",
"nan": "^2.20.0",
"node-pre-gyp-init": "^1.2.1",
"patch-package": "^6.5.1"
},
Expand Down Expand Up @@ -58,7 +58,8 @@
"17.7.2": 102,
"18.13.0": 108,
"19.4.0": 111,
"20.0.0": 115
"20.0.0": 115,
"22.0.0": 127
}
},
"engines": {
Expand Down
8 changes: 6 additions & 2 deletions patches/@mapbox+node-pre-gyp+1.0.10.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
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..fa6c858 100644
index 7f52972..da0dcf9 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,17 @@
@@ -2598,5 +2598,21 @@
"17.1.0": {
"node_abi": 102,
"v8": "9.5"
Expand All @@ -18,6 +18,10 @@ index 7f52972..fa6c858 100644
+ "20.0.0": {
+ "node_abi": 115,
+ "v8": "11.3"
+ },
+ "22.0.0": {
+ "node_abi": 127,
+ "v8": "12.4"
}
}
\ No newline at end of file
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -506,10 +506,10 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==

nan@^2.17.0:
version "2.17.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==
nan@^2.20.0:
version "2.20.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.20.0.tgz#08c5ea813dd54ed16e5bd6505bf42af4f7838ca3"
integrity sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==

nice-try@^1.0.4:
version "1.0.5"
Expand Down

0 comments on commit 7d76a93

Please sign in to comment.