Skip to content

Commit

Permalink
patch nan package for electron 33 - see nodejs/nan#978
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvalkarmi committed Jan 5, 2025
1 parent 95e032c commit 0be8886
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
24 changes: 13 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:deploy": "npm run docs:build && gh-pages -d docs/.vuepress/dist/",
"release": "git add . && git commit -am 'version bump' && git tag v$(node -p \"require('./package.json').version\") && git push --tags"
"release": "git add . && git commit -am 'version bump' && git tag v$(node -p \"require('./package.json').version\") && git push --tags",
"postinstall": "sed 's/^#include .nan_scriptorigin\\.h./\\/\\/ #include nan_scriptorigin.h/' ./node_modules/nan/nan.h > ./node_modules/nan/nan.h.new && mv ./node_modules/nan/nan.h.new ./node_modules/nan/nan.h"
},
"keywords": [
"hook",
Expand Down Expand Up @@ -80,7 +81,7 @@
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"minimist": "^1.2.5",
"nan": "^2.15.0",
"nan": "^2.22.0",
"node-abi": "^3.71.0",
"node-gyp": "^9.4.0",
"prebuild": "^11.0.4",
Expand Down

0 comments on commit 0be8886

Please sign in to comment.