Commit 1b6a6e7
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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments