Comparing joeferner:master...JeremyMoeglich:master · joeferner/node-java
Commits on Jan 21, 2025
-
fix: update indexGetter return type for Node 23 compatibility
Node 23 uses V8 version >12.4 which requires property interceptors to return v8::Intercepted instead of void. Updated the indexGetter function to handle both older and newer V8 versions by: - Returning v8::Intercepted{} for V8 >12.4 - Maintaining void return for older versions - Preserving the existing behavior of array access The actual JavaScript return values remain unchanged, only the V8 interception signaling mechanism is updated.