Skip to content

Commit

Permalink
fix: add support for Node.js v21 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk committed Apr 15, 2024
1 parent 02dc3c2 commit 65d16be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
},
"scripts": {
"semantic-release": "semantic-release",
"build:gyp": "prebuildify --strip --target 10.24.1 --target 12.22.12 --target 14.21.3 --target 16.20.2 --target 18.17.1 --target 19.9.0 --target 20.5.1",
"build:gyp-cross": "prebuildify-cross --strip --target 10.24.1 --target 12.22.12 --target 14.21.3 --target 16.20.2 --target 18.17.1 --target 19.9.0 --target 20.5.1",
"build:gyp": "prebuildify --strip --target 10.24.1 --target 12.22.12 --target 14.21.3 --target 16.20.2 --target 18.17.1 --target 19.9.0 --target 20.12.2 --target 21.7.3",
"build:gyp-cross": "prebuildify-cross --strip --target 10.24.1 --target 12.22.12 --target 14.21.3 --target 16.20.2 --target 18.17.1 --target 19.9.0 --target 20.12.2 --target 21.7.3",
"native_install": "node-gyp-build",
"install": "node scripts/install.js",
"prepare": "is-ci || husky install",
Expand Down
4 changes: 2 additions & 2 deletions patches/prebuildify+6.0.0.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/prebuildify/index.js b/node_modules/prebuildify/index.js
index ca9829a..0ab2d39 100644
index ca9829a..ffbb682 100644
--- a/node_modules/prebuildify/index.js
+++ b/node_modules/prebuildify/index.js
@@ -230,7 +230,8 @@ function build (target, runtime, opts, cb) {
Expand All @@ -8,7 +8,7 @@ index ca9829a..0ab2d39 100644
env: opts.env,
- stdio: opts.quiet ? 'ignore' : 'inherit'
+ stdio: opts.quiet ? 'ignore' : 'inherit',
+ shell: opts.shell
+ shell: true
})

child.on('exit', function (code) {

0 comments on commit 65d16be

Please sign in to comment.