IssueRaiser

Support V8 C++ APIs for "nan" addons and other packages to work

### Affected packages - [ ] `better-sqlite3` - [ ] `node-canvas@v2` (node-canvas v3 is supported) - [ ] `midi` - [ ] `libxmljs` - [ ] `bignum` - [ ] `zeromq` - [ ] `node-libcurl` - [ ] `bson-ext` - [ ] `heapdump` - [ ] `@datadog/native-metrics` - [ ] `tiny-secp256k1` - [ ] `tree-sitter-c-sharp` - [ ] `chacha-native` - [ ] `@sentry/profiling-node` - [ ] `pdfjs-dist` - [ ] `gl` - [ ] `leveldown` / `pouchdb` - [x] `sleep` - [x] `cpu-features` - [ ] `odbc` - [ ] `msgpackr` - [ ] `re2` - [ ] `node-pty` - [ ] `i2c` - [ ] `gdal-async` - [ ] `dd-trace` - [ ] `blake2` - [ ] `@confluentinc/kafka-javascript` ### Functions implemented - [x] `v8::Isolate::GetCurrent()` - [x] `v8::Isolate::TryGetCurrent()` - [x] `v8::Isolate::GetCurrentContext()` - [x] `v8::Number::New(v8::Isolate*, double)` - [x] `v8::Number::Value() const` - [x] `v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int)` - [x] `v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const` - [x] `v8::api_internal::ToLocalEmpty()` - [x] `v8::String::Length() const` - [x] `v8::External::New(v8::Isolate*, void*)` - [x] `v8::External::Value() const` - [x] `v8::Object::New(v8::Isolate*)` - [x] `v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)` - [x] `v8::Object::SetInternalField(int, v8::Local<v8::Data>)` - [x] `v8::Object::SlowGetInternalField(int)` - [x] `v8::HandleScope::HandleScope(v8::Isolate*)` - [x] `v8::HandleScope::~HandleScope()` - [x] `v8::FunctionTemplate::

Posted by xhyrom on Aug 24, 2023, 8:31 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

support (Other)

Support V8 C++ APIs for "nan" addons and other packages to work

xhyromAug 24, 2023, 8:31 AM

### Affected packages - [ ] `better-sqlite3` - [ ] `node-canvas@v2` (node-canvas v3 is supported) - [ ] `midi` - [ ] `libxmljs` - [ ] `bignum` - [ ] `zeromq` - [ ] `node-libcurl` - [ ] `bson-ext` - [ ] `heapdump` - [ ] `@datadog/native-metrics` - [ ] `tiny-secp256k1` - [ ] `tree-sitter-c-sharp` - [ ] `chacha-native` - [ ] `@sentry/profiling-node` - [ ] `pdfjs-dist` - [ ] `gl` - [ ] `leveldown` / `pouchdb` - [x] `sleep` - [x] `cpu-features` - [ ] `odbc` - [ ] `msgpackr` - [ ] `re2` - [ ] `node-pty` - [ ] `i2c` - [ ] `gdal-async` - [ ] `dd-trace` - [ ] `blake2` - [ ] `@confluentinc/kafka-javascript` ### Functions implemented - [x] `v8::Isolate::GetCurrent()` - [x] `v8::Isolate::TryGetCurrent()` - [x] `v8::Isolate::GetCurrentContext()` - [x] `v8::Number::New(v8::Isolate*, double)` - [x] `v8::Number::Value() const` - [x] `v8::String::NewFromUtf8(v8::Isolate*, char const*, v8::NewStringType, int)` - [x] `v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const` - [x] `v8::api_internal::ToLocalEmpty()` - [x] `v8::String::Length() const` - [x] `v8::External::New(v8::Isolate*, void*)` - [x] `v8::External::Value() const` - [x] `v8::Object::New(v8::Isolate*)` - [x] `v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)` - [x] `v8::Object::SetInternalField(int, v8::Local<v8::Data>)` - [x] `v8::Object::SlowGetInternalField(int)` - [x] `v8::HandleScope::HandleScope(v8::Isolate*)` - [x] `v8::HandleScope::~HandleScope()` - [x] `v8::FunctionTemplate::

Comments (0)

No comments yet. Start the discussion.

Comment on this issue