nan icon indicating copy to clipboard operation
nan copied to clipboard

Native Abstractions for Node.js

Results 78 nan issues
Sort by recently updated
recently updated
newest added

Perhaps I missed it, but there does not appear to be a convenience method that lets you just pass a C string for the property name to `Nan::Set` like you...

These two files got committed with CRLF line endings, while the rest of the repo uses LF line endings. This PR changes the line endings in these two files to...

V8 Was bumped, this would be a patch release, since I already claimed support for Node 23 in 2.22.0. Also fixes #978.

Possible fix for the issue reported on this closed issue: https://github.com/nodejs/nan/issues/936 This was probably introduced by https://github.com/nodejs/nan/pull/966 Let me know if there is a better way to fix this! This...

A recent V8 change, [4733273: [heap] Disallow JS execution in second pass callbacks.](https://chromium-review.googlesource.com/c/v8/v8/+/4733273), makes a strict change to `WeakCallbackInfo::SetSecondPassCallback`: > The second pass callback is **prohibited from executing JavaScript**. Embedders...

This is faster than accessing the BackingStore. API is available in V8 10.5+ per https://github.com/nodejs/node/issues/32226#issuecomment-1185423020. Manually tested in Node.js v18.20 and v20.

See https://chromium-review.googlesource.com/c/v8/v8/+/5539852 - this has been removed upstream and will no longer build on newer V8 versions.