Bump up to node 24

This commit is contained in:
GCHQDeveloper581 2026-03-25 11:56:53 +00:00
parent b414b730ae
commit 046c89309b
No known key found for this signature in database
GPG Key ID: 6222E059A3DF595C
5 changed files with 11 additions and 5 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Set node version - name: Set node version
uses: actions/setup-node@v6 uses: actions/setup-node@v6
with: with:
node-version: '20.x' node-version: '24'
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- name: Install - name: Install

View File

@ -17,7 +17,7 @@ jobs:
- name: Set node version - name: Set node version
uses: actions/setup-node@v6 uses: actions/setup-node@v6
with: with:
node-version: '20.x' node-version: '24'
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- name: Install - name: Install

View File

@ -27,7 +27,7 @@ jobs:
- name: Set node version - name: Set node version
uses: actions/setup-node@v6 uses: actions/setup-node@v6
with: with:
node-version: '20.x' node-version: '24'
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- name: Install - name: Install
@ -107,7 +107,7 @@ jobs:
- name: Set node version - name: Set node version
uses: actions/setup-node@v6 uses: actions/setup-node@v6
with: with:
node-version: 18 node-version: 24
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
- name: Install - name: Install

3
package-lock.json generated
View File

@ -160,6 +160,9 @@
"webpack-dev-server": "5.0.4", "webpack-dev-server": "5.0.4",
"webpack-node-externals": "^3.0.0", "webpack-node-externals": "^3.0.0",
"worker-loader": "^3.0.8" "worker-loader": "^3.0.8"
},
"engines": {
"node": ">=24 <25"
} }
}, },
"node_modules/@alexaltea/capstone-js": { "node_modules/@alexaltea/capstone-js": {

View File

@ -36,7 +36,7 @@
"browserslist": [ "browserslist": [
"Chrome >= 50", "Chrome >= 50",
"Firefox >= 38", "Firefox >= 38",
"node >= 22" "node >= 24"
], ],
"devDependencies": { "devDependencies": {
"@babel/eslint-parser": "^7.28.6", "@babel/eslint-parser": "^7.28.6",
@ -207,5 +207,8 @@
"tag": "git tag -s \"v$(npm pkg get version | xargs)\" -m \"$(npm pkg get version | xargs)\" && echo \"Created v$(npm pkg get version | xargs), now check and push the tag\"", "tag": "git tag -s \"v$(npm pkg get version | xargs)\" -m \"$(npm pkg get version | xargs)\" && echo \"Created v$(npm pkg get version | xargs), now check and push the tag\"",
"getheapsize": "node -e 'console.log(`node heap limit = ${require(\"v8\").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'", "getheapsize": "node -e 'console.log(`node heap limit = ${require(\"v8\").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'",
"setheapsize": "export NODE_OPTIONS=--max_old_space_size=2048" "setheapsize": "export NODE_OPTIONS=--max_old_space_size=2048"
},
"engines": {
"node": ">=24 <25"
} }
} }