Skip to content

Commit

Permalink
fix: override node-addon-api to support c++20 with gcc-11
Browse files Browse the repository at this point in the history
Brings in nodejs/node-addon-api@fed1353
to support compilation with gcc>=11
  • Loading branch information
deepak1556 committed Oct 2, 2024
1 parent f062047 commit 1dc123e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"esbuild": "0.23.0",
"vscode-grammar-updater": "^1.1.0"
},
"resolutions": {
"node-gyp-build": "4.8.1"
"overrides": {
"node-gyp-build": "4.8.1",
"node-addon-api": "8.1.0"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@
"yaserver": "^0.4.0"
},
"overrides": {
"node-gyp-build": "4.8.1"
"node-gyp-build": "4.8.1",
"node-addon-api": "8.1.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"yazl": "^2.4.3"
},
"overrides": {
"node-gyp-build": "4.8.1"
"node-gyp-build": "4.8.1",
"node-addon-api": "8.1.0"
}
}

0 comments on commit 1dc123e

Please sign in to comment.