Skip to content

Commit 13bcc68

Browse files
committed
Use headers of 18.20.4 for prebuilds
Previously we used 8.14.0 which is really old. We can't just omit the `--target` argument and use the latest version, because Node.js 23 dropped support of 32-bit Windows. The choice for 18.20.4 specifically is not really important. I just picked LTS and then the latest version within that range. The intent is 18.x. Category: change
1 parent 3b81364 commit 13bcc68

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
"test-prebuild": "cross-env PREBUILDS_ONLY=1 npm t",
1515
"coverage": "nyc report -r lcovonly",
1616
"rebuild": "npm run install --build-from-source",
17-
"prebuild": "prebuildify -t 8.14.0 --napi --strip",
17+
"prebuild": "prebuildify -t 18.20.4 --napi --strip",
1818
"download-prebuilds": "prebuildify-ci download",
1919
"hallmark": "hallmark --fix",
2020
"dependency-check": "dependency-check --no-dev -i napi-macros . test/*.js",
2121
"prepublishOnly": "npm run dependency-check",
22-
"prebuild-linux-arm": "prebuildify-cross -i linux-armv6 -i linux-armv7 -i linux-arm64-lts -t 8.14.0 --napi --strip",
23-
"prebuild-android-arm": "prebuildify-cross -i android-armv7 -i android-arm64 -t 8.14.0 --napi --strip",
24-
"prebuild-linux-x64": "prebuildify-cross -i centos7-devtoolset7 -i alpine -t 8.14.0 --napi --strip",
25-
"prebuild-darwin-x64+arm64": "prebuildify -t 8.14.0 --napi --strip --arch x64+arm64",
26-
"prebuild-win32-x86": "prebuildify -t 8.14.0 --napi --strip",
27-
"prebuild-win32-x64": "prebuildify -t 8.14.0 --napi --strip"
22+
"prebuild-linux-arm": "prebuildify-cross -i linux-armv6 -i linux-armv7 -i linux-arm64-lts -t 18.20.4 --napi --strip",
23+
"prebuild-android-arm": "prebuildify-cross -i android-armv7 -i android-arm64 -t 18.20.4 --napi --strip",
24+
"prebuild-linux-x64": "prebuildify-cross -i centos7-devtoolset7 -i alpine -t 18.20.4 --napi --strip",
25+
"prebuild-darwin-x64+arm64": "prebuildify -t 18.20.4 --napi --strip --arch x64+arm64",
26+
"prebuild-win32-x86": "prebuildify -t 18.20.4 --napi --strip",
27+
"prebuild-win32-x64": "prebuildify -t 18.20.4 --napi --strip"
2828
},
2929
"dependencies": {
3030
"abstract-level": "^2.0.0",

0 commit comments

Comments
 (0)