From a40313b0683e0a1e478fc00b984271fd90858dc2 Mon Sep 17 00:00:00 2001 From: ishabi Date: Thu, 21 May 2026 11:24:10 +0200 Subject: [PATCH 1/2] Downgrade node-gyp-build --- .github/workflows/build.yml | 1 - .github/workflows/release.yml | 1 - package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 324ae78c..3cfe91b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,6 @@ jobs: cache: true # enable caching of dependencies based on lockfile min-node-version: 18 skip: 'linux-arm,linux-ia32' # skip building for these platforms - node-gyp-build-major: 4 build-successful: if: always() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ddd4e082..5d4fde10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,6 @@ jobs: cache: true # enable caching of dependencies based on lockfile min-node-version: 18 skip: 'linux-arm,linux-ia32' # skip building for these platforms - node-gyp-build-major: 4 publish_release: needs: build diff --git a/package-lock.json b/package-lock.json index 39d4a59a..65bfb8b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "node-gyp-build": "<5.0", + "node-gyp-build": "^3.9.0", "pprof-format": "^2.2.1", "source-map": "^0.7.4" }, @@ -4573,9 +4573,9 @@ } }, "node_modules/node-gyp-build": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", - "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.9.0.tgz", + "integrity": "sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A==", "license": "MIT", "bin": { "node-gyp-build": "bin.js", diff --git a/package.json b/package.json index 333aa8a7..af61be3b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ }, "license": "Apache-2.0", "dependencies": { - "node-gyp-build": "<5.0", + "node-gyp-build": "^3.9.0", "pprof-format": "^2.2.1", "source-map": "^0.7.4" }, From 56e1357877c86c78e957cb4dc0e03527c0dafabd Mon Sep 17 00:00:00 2001 From: ishabi Date: Thu, 21 May 2026 13:38:55 +0200 Subject: [PATCH 2/2] use node-gyp-build 4.8.4 --- .github/workflows/build.yml | 1 + .github/workflows/release.yml | 1 + package-lock.json | 8 ++++---- package.json | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cfe91b4..324ae78c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,6 +42,7 @@ jobs: cache: true # enable caching of dependencies based on lockfile min-node-version: 18 skip: 'linux-arm,linux-ia32' # skip building for these platforms + node-gyp-build-major: 4 build-successful: if: always() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d4fde10..ddd4e082 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,7 @@ jobs: cache: true # enable caching of dependencies based on lockfile min-node-version: 18 skip: 'linux-arm,linux-ia32' # skip building for these platforms + node-gyp-build-major: 4 publish_release: needs: build diff --git a/package-lock.json b/package-lock.json index 65bfb8b4..42dee499 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "node-gyp-build": "^3.9.0", + "node-gyp-build": "^4.8.4", "pprof-format": "^2.2.1", "source-map": "^0.7.4" }, @@ -4573,9 +4573,9 @@ } }, "node_modules/node-gyp-build": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.9.0.tgz", - "integrity": "sha512-zLcTg6P4AbcHPq465ZMFNXx7XpKKJh+7kkN699NiQWisR2uWYOWNWqRHAmbnmKiL4e9aLSlmy5U7rEMUXV59+A==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", "license": "MIT", "bin": { "node-gyp-build": "bin.js", diff --git a/package.json b/package.json index af61be3b..012c2f62 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ }, "license": "Apache-2.0", "dependencies": { - "node-gyp-build": "^3.9.0", + "node-gyp-build": "^4.8.4", "pprof-format": "^2.2.1", "source-map": "^0.7.4" },