diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b9848a0..62b589d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -204,10 +204,10 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set up Node.JS 16.x + - name: Set up Node.JS 18.x uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: 18.x - name: Fetch library artifacts uses: actions/download-artifact@v3 diff --git a/wrappers/javascript/package.json b/wrappers/javascript/package.json index a44dde05..1797662a 100644 --- a/wrappers/javascript/package.json +++ b/wrappers/javascript/package.json @@ -55,7 +55,10 @@ "tsconfig-paths": "4.1.0", "typescript": "4.5.5" }, + "resolutions": { + "ref-napi": "npm:@2060.io/ref-napi" + }, "engines": { - "node": ">= 12" + "node": ">= 18" } } diff --git a/wrappers/javascript/yarn.lock b/wrappers/javascript/yarn.lock index 73772455..f44ee07c 100644 --- a/wrappers/javascript/yarn.lock +++ b/wrappers/javascript/yarn.lock @@ -8929,10 +8929,10 @@ ref-array-di@1.2.2: array-index "^1.0.0" debug "^3.1.0" -ref-napi@3.0.3, "ref-napi@^2.0.1 || ^3.0.2": - version "3.0.3" - resolved "https://registry.yarnpkg.com/ref-napi/-/ref-napi-3.0.3.tgz#e259bfc2bbafb3e169e8cd9ba49037dd00396b22" - integrity sha512-LiMq/XDGcgodTYOMppikEtJelWsKQERbLQsYm0IOOnzhwE9xYZC7x8txNnFC9wJNOkPferQI4vD4ZkC0mDyrOA== +ref-napi@3.0.3, "ref-napi@^2.0.1 || ^3.0.2", "ref-napi@npm:@2060.io/ref-napi": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@2060.io/ref-napi/-/ref-napi-3.0.4.tgz#6a78093b36e8f4ffeb750f706433869382e73eb1" + integrity sha512-Aqf699E+DKs2xANx8bSkuzXyG9gcZ2iFkAk1kUTA8KbV5BSPQtIcBJexzohSRi9QWDhP4X54NLm7xwGA0UNCdQ== dependencies: debug "^4.1.1" get-symbol-from-current-process-h "^1.0.2"