Files
better-sqlite3/src
tstone-1andGitHub 48ad3c8b20 fix: use HolderV2() for PropertyCallbackInfo on V8 >= 12.5 (#1459)
fix: use HolderV2() for PropertyCallbackInfo on V8 >= 13

PR #1456 replaced This() with Holder() in NODE_GETTER contexts, but
Electron 41 (V8 14.6) removed both This() and Holder() from
PropertyCallbackInfo. Only HolderV2() remains (to be renamed back to
Holder() in a future V8 version per crbug.com/333672197).

Add a PROPERTY_HOLDER compat macro that uses HolderV2() on V8 >= 13
and falls back to This() on older versions. Same pattern as the
existing GET_PROTOTYPE macro.

Verified: compiles and runs on Electron 41.0.1 (V8 14.6.202).

Fixes #1458
2026-03-13 18:08:07 -05:00
..
2025-11-14 20:21:00 -06:00