ride: update nan version to fix build with nodejs_24

This commit is contained in:
TomaSajt
2026-01-02 02:18:58 +01:00
parent 25c002d878
commit 1b4f8fb6f4
2 changed files with 11 additions and 12 deletions
+2 -3
View File
@@ -3,7 +3,6 @@
stdenv,
buildNpmPackage,
fetchFromGitHub,
fetchpatch,
replaceVars,
jq,
moreutils,
@@ -25,7 +24,7 @@ buildNpmPackage rec {
hash = "sha256-11wlKK0z3/KRKMKNrDvZLvK7vV0UzrMTaG0ei9n6VEk=";
};
npmDepsHash = "sha256-1+RjSr5FSaQFqkL/yzlAQhm56NVG2kjzZC/DsEi3HJE=";
npmDepsHash = "sha256-o8pwjx5P/1eFV3HTWlHGV1/ad9YUSOI0zUWvqkqIf3I=";
patches = [
# Fix info in the "about" page, enable asar, add option to build for the detected system
@@ -33,7 +32,7 @@ buildNpmPackage rec {
inherit version;
})
# would not build with nodejs_22 and above without this
# would not build with nodejs_24 and above without this
./update-nan.patch
];
+9 -9
View File
@@ -1,31 +1,31 @@
diff --git a/package-lock.json b/package-lock.json
index a0bd285..5a5ec59 100644
index cc8b8bd..13b4bed 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8034,9 +8034,10 @@
@@ -8190,9 +8190,10 @@
"dev": true
},
"node_modules/nan": {
- "version": "2.17.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
- "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==",
+ "version": "2.22.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.0.tgz",
+ "integrity": "sha512-nbajikzWTMwsW+eSsNm3QwlOs7het9gGJU5dDZzRTQGk03vyBOauxgI4VakDzE0PtsGTmXPsXTbbjVhRwR5mpw==",
+ "version": "2.24.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.24.0.tgz",
+ "integrity": "sha512-Vpf9qnVW1RaDkoNKFUvfxqAbtI8ncb8OJlqZ9wwpXzWPEsvsB1nvdUi6oYrHIkQ1Y/tMDnr1h4nczS0VB9Xykg==",
+ "license": "MIT",
"optional": true
},
"node_modules/nanomatch": {
@@ -18258,9 +18259,9 @@
@@ -18572,9 +18573,9 @@
"dev": true
},
"nan": {
- "version": "2.17.0",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.17.0.tgz",
- "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==",
+ "version": "2.22.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.0.tgz",
+ "integrity": "sha512-nbajikzWTMwsW+eSsNm3QwlOs7het9gGJU5dDZzRTQGk03vyBOauxgI4VakDzE0PtsGTmXPsXTbbjVhRwR5mpw==",
+ "version": "2.24.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.24.0.tgz",
+ "integrity": "sha512-Vpf9qnVW1RaDkoNKFUvfxqAbtI8ncb8OJlqZ9wwpXzWPEsvsB1nvdUi6oYrHIkQ1Y/tMDnr1h4nczS0VB9Xykg==",
"optional": true
},
"nanomatch": {