chore: update Node.js version to 22.x and adjust dependencies

This commit is contained in:
delphi 2026-04-14 08:21:00 +08:00
parent 1f91de0e03
commit 41011b56d2
3 changed files with 24 additions and 7 deletions

View file

@ -18,7 +18,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
node-version: "22.x"
cache: 'npm'
- name: Build plugin

24
package-lock.json generated
View file

@ -16,7 +16,7 @@
"@types/jest": "^29.5.0",
"@types/luxon": "^3.4.2",
"@types/mustache": "^4.2.5",
"@types/node": "^16.11.6",
"@types/node": "^22.15.0",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
@ -29,6 +29,9 @@
"ts-jest": "^29.1.0",
"tslib": "2.4.0",
"typescript": "4.7.4"
},
"engines": {
"node": ">=22"
}
},
"node_modules/@ampproject/remapping": {
@ -1636,10 +1639,14 @@
"dev": true
},
"node_modules/@types/node": {
"version": "16.18.126",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.126.tgz",
"integrity": "sha512-OTcgaiwfGFBKacvfwuHzzn1KLxH/er8mluiy8/uM3sGXHaRe73RrSIj01jow9t4kJEW633Ov+cOexXeiApTyAw==",
"dev": true
"version": "22.19.17",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz",
"integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
}
},
"node_modules/@types/stack-utils": {
"version": "2.0.3",
@ -5766,6 +5773,13 @@
"node": ">=4.2.0"
}
},
"node_modules/undici-types": {
"version": "6.21.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
"dev": true,
"license": "MIT"
},
"node_modules/universalify": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",

View file

@ -13,9 +13,12 @@
"keywords": [],
"author": "",
"license": "MIT",
"engines": {
"node": ">=22"
},
"devDependencies": {
"@types/mustache": "^4.2.5",
"@types/node": "^16.11.6",
"@types/node": "^22.15.0",
"@types/luxon": "^3.4.2",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",