Skip to content

Commit b7599d1

Browse files
committed
correct GetIsolate()
1 parent d7a13a0 commit b7599d1

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Check the source code [`src/disp.h`](src/disp.h) and [`src/utils.h`](src/utils.h
231231

232232
This project uses Visual C++ 2013 (or later versions then support C++11 standard).
233233
Bulding also requires node-gyp and python 2.6 (or later) to be installed.
234-
Supported NodeJS Versions (x86 or x64): 10, 11, 12, 13, 14, 15
234+
Supported NodeJS Versions (x86 or x64): 10, 12, 16, 18, 20, 22, 23
235235
You can do this with npm:
236236
```
237237
npm install --global --production windows-build-tools

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "winax",
3-
"version": "3.6.1",
3+
"version": "3.6.3",
44
"description": "Windows COM bindings",
55
"homepage": "https://github.com/durs/node-activex",
66
"keywords": [

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
// Initialize this addon
1313
NODE_MODULE_INIT(/*exports, module, context*/) {
14-
Isolate* isolate = context->GetIsolate();
14+
Isolate* isolate = v8::Isolate::GetCurrent();
1515

1616
DispObject::NodeInit(exports, isolate, context);
1717
VariantObject::NodeInit(exports, isolate, context);

0 commit comments

Comments
 (0)