From d0f4fb507bf5e3551775338db4732038060d5aef Mon Sep 17 00:00:00 2001 From: Robo Date: Wed, 17 Apr 2024 00:51:40 +0900 Subject: [PATCH] fix: opt-out for nogc finalizer change (#59) * fix: opt-out for nogc finalizer change * chore: bump 3.3.5 --- package-lock.json | 4 ++-- package.json | 2 +- pipeline.yml | 6 +++--- src/keymapping.cc | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1c87eec..c940540 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "native-keymap", - "version": "3.3.4", + "version": "3.3.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "native-keymap", - "version": "3.3.4", + "version": "3.3.5", "license": "MIT" } } diff --git a/package.json b/package.json index fcb65e0..ad6792d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "native-keymap", - "version": "3.3.4", + "version": "3.3.5", "description": "Get OS key mapping", "main": "index.js", "typings": "index.d.ts", diff --git a/pipeline.yml b/pipeline.yml index f164d60..1f82df5 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -34,13 +34,13 @@ extends: testPlatforms: - name: Linux nodeVersions: - - 18.17.x + - 20.x - name: MacOS nodeVersions: - - 18.17.x + - 20.x - name: Windows nodeVersions: - - 18.17.x + - 20.x testSteps: # https://github.com/nodejs/node-gyp/issues/2869 diff --git a/src/keymapping.cc b/src/keymapping.cc index a3914d5..765b708 100644 --- a/src/keymapping.cc +++ b/src/keymapping.cc @@ -3,6 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ +#define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT #include #include