Skip to content

Commit 1b6a6e7

Browse files
rubnogueiraclaude
andcommitted
fix: bump nan to 2.27 for Node 26 V8 API support
nan 2.25 still calls SetAlignedPointerInInternalField / GetAlignedPointerFromInternalField with the old (index, value) signature. V8 in Node 26 made the EmbedderDataTypeTag argument mandatory, so the addon failed to compile against Node 26 headers with "too few arguments to function call, expected 3, have 2". nan 2.27 ships the updated shims. Verified locally that both 24.15.0 and 26.1.0 prebuilds now build cleanly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 59e6240 commit 1b6a6e7

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"benchmark": "node ./benchmark.js"
3636
},
3737
"dependencies": {
38-
"nan": "^2.25.0",
38+
"nan": "^2.27.0",
3939
"node-gyp": "^12.2.0",
4040
"prebuild-install": "^7.1.3"
4141
},

0 commit comments

Comments
 (0)