nodejs: Update to version 18.0.0, Fix autoupdate

nodejs does not provide 32-bit binaries since version 18.
This commit is contained in:
Issac Lin 2022-04-20 13:47:34 +08:00 committed by GitHub
parent 311ef0484c
commit e1146c653c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,13 @@
{
"version": "17.9.0",
"description": "As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications.",
"version": "18.0.0",
"description": "An asynchronous event driven JavaScript runtime designed to build scalable network applications.",
"homepage": "https://nodejs.org",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v17.9.0/node-v17.9.0-win-x64.7z",
"hash": "6fedf28770d956939e79449679cb196ceecccfdcbf7f9dc816103e5b824c44aa",
"extract_dir": "node-v17.9.0-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v17.9.0/node-v17.9.0-win-x86.7z",
"hash": "3897af062b68a41f7ff5224ee0bf6a31932e15c262fae13c20f6d68f8825eb5a",
"extract_dir": "node-v17.9.0-win-x86"
"url": "https://nodejs.org/dist/v18.0.0/node-v18.0.0-win-x64.7z",
"hash": "e69fc12e086eadf24ccfc4ef89c9bf921fb9034d1e0dd65bf25202a5d6ef2beb",
"extract_dir": "node-v18.0.0-win-x64"
}
},
"persist": [
@ -29,17 +24,13 @@
],
"checkver": {
"url": "https://nodejs.org/dist/latest/",
"regex": "node-v([\\d.]+)-x86\\.msi"
"regex": "node-v([\\d.]+)-win-x64\\.7z"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x64.7z",
"extract_dir": "node-v$version-win-x64"
},
"32bit": {
"url": "https://nodejs.org/dist/v$version/node-v$version-win-x86.7z",
"extract_dir": "node-v$version-win-x86"
}
},
"hash": {