From d64d11e7e68722886c266e3a1d409b6798671b46 Mon Sep 17 00:00:00 2001 From: Vladimir Sumarov Date: Fri, 22 Sep 2023 16:31:36 -0700 Subject: [PATCH] hotfix for electron 25 --- .github/workflows/build.yml | 2 +- CMakeLists.txt | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8bc4e44..7024ed2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ env: BUILD_DIRECTORY: "build" DISTRIBUTE_DIRECTORY: "distribute" RELEASE_BUCKET: "slobs-font-manager" - ELECTRON_VERSION: "v25.8.0" + ELECTRON_VERSION: "v25.8.2" permissions: contents: read diff --git a/CMakeLists.txt b/CMakeLists.txt index d0eb575..4bdc713 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") SET(NODEJS_URL "https://artifacts.electronjs.org/headers/dist" CACHE STRING "Node.JS URL") SET(NODEJS_NAME "iojs" CACHE STRING "Node.JS Name") -SET(NODEJS_VERSION "v25.8.0" CACHE STRING "Node.JS Version") +SET(NODEJS_VERSION "v25.8.2" CACHE STRING "Node.JS Version") include(NodeJS) diff --git a/package.json b/package.json index 8387a97..26caf32 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,6 @@ ], "license": "MIT", "dependencies": { - "node-addon-api": "^3.0.0" + "node-addon-api": "^7.0.0" } } diff --git a/yarn.lock b/yarn.lock index d5c7d72..faf3624 100644 --- a/yarn.lock +++ b/yarn.lock @@ -140,10 +140,10 @@ ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" -node-addon-api@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.0.0.tgz#812446a1001a54f71663bed188314bba07e09247" - integrity sha512-sSHCgWfJ+Lui/u+0msF3oyCgvdkhxDbkCS6Q8uiJquzOimkJBvX6hl5aSSA7DR1XbMpdM8r7phjcF63sF4rkKg== +node-addon-api@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" + integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== once@^1.3.0: version "1.4.0"