Skip to content

Commit 7d76a93

Browse files
authored
feat: add support for node 22 (#88)
* feat: add support for node 22 * chore(release): v1.12.0 * ci: bump to node 18
1 parent 84d8fc7 commit 7d76a93

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup node
1616
uses: actions/setup-node@v2
1717
with:
18-
node-version: '16'
18+
node-version: '18'
1919

2020
- name: Build
2121
run: yarn install --frozen-lockfile

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup node
1616
uses: actions/setup-node@v2
1717
with:
18-
node-version: '16'
18+
node-version: '18'
1919
registry-url: 'https://registry.npmjs.org'
2020

2121
- name: Build

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "node-ios-device",
33
"description": "Simple library for listing and installing apps on iOS devices",
4-
"version": "1.11.0",
4+
"version": "1.12.0",
55
"author": "TiDev, Inc. <tisdk@cb1inc.com>",
66
"maintainers": [
77
"Chris Barber <chris@cb1inc.com>"
@@ -26,7 +26,7 @@
2626
"dependencies": {
2727
"@mapbox/node-pre-gyp": "^1.0.10",
2828
"debug": "^4.3.4",
29-
"nan": "^2.17.0",
29+
"nan": "^2.20.0",
3030
"node-pre-gyp-init": "^1.2.1",
3131
"patch-package": "^6.5.1"
3232
},
@@ -58,7 +58,8 @@
5858
"17.7.2": 102,
5959
"18.13.0": 108,
6060
"19.4.0": 111,
61-
"20.0.0": 115
61+
"20.0.0": 115,
62+
"22.0.0": 127
6263
}
6364
},
6465
"engines": {

patches/@mapbox+node-pre-gyp+1.0.10.patch

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
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
2-
index 7f52972..fa6c858 100644
2+
index 7f52972..da0dcf9 100644
33
--- a/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json
44
+++ b/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json
5-
@@ -2598,5 +2598,17 @@
5+
@@ -2598,5 +2598,21 @@
66
"17.1.0": {
77
"node_abi": 102,
88
"v8": "9.5"
@@ -18,6 +18,10 @@ index 7f52972..fa6c858 100644
1818
+ "20.0.0": {
1919
+ "node_abi": 115,
2020
+ "v8": "11.3"
21+
+ },
22+
+ "22.0.0": {
23+
+ "node_abi": 127,
24+
+ "v8": "12.4"
2125
}
2226
}
2327
\ No newline at end of file

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,10 +506,10 @@ ms@2.1.2:
506506
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
507507
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
508508

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

514514
nice-try@^1.0.4:
515515
version "1.0.5"

0 commit comments

Comments
 (0)