fix electron-builder @noble/hashes ESM issue

This commit is contained in:
2026-08-14 15:08:51 -07:00
parent aafb8849ed
commit 54da32f6a1
2 changed files with 17 additions and 14 deletions

26
package-lock.json generated
View File

@@ -449,19 +449,6 @@
"node": ">=10"
}
},
"node_modules/@noble/hashes": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-2.3.0.tgz",
"integrity": "sha512-oN+QwyX7VSHotibwubG3kpzbwKrfnyR6OOO+3Nk/53ADL7FmgHHz4TgrbaYKvvOw09u6QTx0oiH1cNCIOuN0CQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 20.19.0"
},
"funding": {
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/@peculiar/asn1-schema": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.9.0.tgz",
@@ -867,6 +854,19 @@
"semver": "bin/semver.js"
}
},
"node_modules/app-builder-lib/node_modules/@noble/hashes": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz",
"integrity": "sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 16"
},
"funding": {
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/app-builder-lib/node_modules/ci-info": {
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.1.tgz",

View File

@@ -21,6 +21,9 @@
"electron-builder": "^26.15.3",
"javascript-obfuscator": "^4.1.0"
},
"overrides": {
"@noble/hashes": "1.4.0"
},
"build": {
"appId": "com.vyla.home",
"productName": "Vyla Home",
@@ -53,4 +56,4 @@
"installerHeaderIcon": "build/icon.ico"
}
}
}
}