diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c90ac2..ac7f2fa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 985cf25..21c02af 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/package.json b/package.json index 20d03d3..83b595a 100644 --- a/package.json +++ b/package.json @@ -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. ", "maintainers": [ "Chris Barber " @@ -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" }, @@ -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": { diff --git a/patches/@mapbox+node-pre-gyp+1.0.10.patch b/patches/@mapbox+node-pre-gyp+1.0.10.patch index e9e1ca1..818aa35 100644 --- a/patches/@mapbox+node-pre-gyp+1.0.10.patch +++ b/patches/@mapbox+node-pre-gyp+1.0.10.patch @@ -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" @@ -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 diff --git a/yarn.lock b/yarn.lock index 21b5cf4..a7e6506 100644 --- a/yarn.lock +++ b/yarn.lock @@ -506,10 +506,10 @@ ms@2.1.2: 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"