chore(package): 更新node版本和js-cookie依赖

将node引擎要求调整为>=20.19.0,升级js-cookie到3.0.7版本,同步更新volta配置的node版本
This commit is contained in:
sheng
2026-06-22 17:55:50 +08:00
parent d582f9779a
commit 6bb98edca5
2 changed files with 272 additions and 231 deletions

View File

@@ -3,7 +3,7 @@
"version": "1.25.0",
"packageManager": "pnpm@10.33.0",
"engines": {
"node": ">=18.16.0 <19",
"node": ">=20.19.0",
"pnpm": ">=10.33.0 <11"
},
"scripts": {
@@ -33,7 +33,7 @@
"github-markdown-css": "^4.0.0",
"highlight.js": "^10.7.3",
"hotkeys-js": "^3.9.5",
"js-cookie": "^2.2.1",
"js-cookie": "3.0.7",
"lodash": "^4.17.21",
"lowdb": "^1.0.0",
"marked": "^2.1.3",
@@ -98,7 +98,7 @@
"url": "https://github.com/d2-projects/d2-admin.git"
},
"volta": {
"node": "18.16.0"
"node": "20.19.0"
},
"pnpm": {
"overrides": {