build: 添加 pinia-plugin-persistedstate 依赖以支持状态持久化

升级 pinia-plugin-persistedstate 至 v4.5.0 版本,并添加相关依赖 deep-pick-omit、defu 和 destr 以支持新功能
This commit is contained in:
2025-08-27 16:57:26 +08:00
parent 4069ae3a91
commit 865ee46334
3 changed files with 6269 additions and 11 deletions

6233
my-vue-app/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -19,6 +19,7 @@
"markdown-it": "^14.1.0",
"marked": "^16.1.1",
"pinia": "^3.0.2",
"pinia-plugin-persistedstate": "^4.5.0",
"vue": "^3.5.17",
"vue-chartjs": "^5.3.2",
"vue-echarts": "^7.0.3",

View File

@@ -38,6 +38,9 @@ importers:
pinia:
specifier: ^3.0.2
version: 3.0.3(typescript@5.8.3)(vue@3.5.17(typescript@5.8.3))
pinia-plugin-persistedstate:
specifier: ^4.5.0
version: 4.5.0(pinia@3.0.3(typescript@5.8.3)(vue@3.5.17(typescript@5.8.3)))
vue:
specifier: ^3.5.17
version: 3.5.17(typescript@5.8.3)
@@ -1082,6 +1085,9 @@ packages:
deep-is@0.1.4:
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
deep-pick-omit@1.2.1:
resolution: {integrity: sha512-2J6Kc/m3irCeqVG42T+SaUMesaK7oGWaedGnQQK/+O0gYc+2SP5bKh/KKTE7d7SJ+GCA9UUE1GRzh6oDe0EnGw==}
default-browser-id@5.0.0:
resolution: {integrity: sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==}
engines: {node: '>=18'}
@@ -1094,10 +1100,16 @@ packages:
resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==}
engines: {node: '>=12'}
defu@6.1.4:
resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}
delayed-stream@1.0.0:
resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==}
engines: {node: '>=0.4.0'}
destr@2.0.5:
resolution: {integrity: sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==}
detect-libc@1.0.3:
resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==}
engines: {node: '>=0.10'}
@@ -1674,10 +1686,19 @@ packages:
engines: {node: '>=0.10'}
hasBin: true
pinia-plugin-persistedstate@3.2.3:
resolution: {integrity: sha512-Cm819WBj/s5K5DGw55EwbXDtx+EZzM0YR5AZbq9XE3u0xvXwvX2JnWoFpWIcdzISBHqy9H1UiSIUmXyXqWsQRQ==}
pinia-plugin-persistedstate@4.5.0:
resolution: {integrity: sha512-QTkP1xJVyCdr2I2p3AKUZM84/e+IS+HktRxKGAIuDzkyaKKV48mQcYkJFVVDuvTxlI5j6X3oZObpqoVB8JnWpw==}
peerDependencies:
pinia: ^2.0.0
'@nuxt/kit': '>=3.0.0'
'@pinia/nuxt': '>=0.10.0'
pinia: '>=3.0.0'
peerDependenciesMeta:
'@nuxt/kit':
optional: true
'@pinia/nuxt':
optional: true
pinia:
optional: true
pinia@3.0.3:
resolution: {integrity: sha512-ttXO/InUULUXkMHpTdp9Fj4hLpD/2AoJdmAbAeW2yu1iy1k+pkFekQXw5VpC0/5p51IOR/jDaDRfRWRnMMsGOA==}
@@ -1688,11 +1709,6 @@ packages:
typescript:
optional: true
pnpm@10.15.0:
resolution: {integrity: sha512-SG68JZ0+mZpOhpHOA7XKxKccvso5Nyqbdiy1AM/fCHPiyxar49lRse4s8BJQPwJ7mLZYTk3yJSTgx0UNnseqew==}
engines: {node: '>=18.12'}
hasBin: true
postcss-selector-parser@6.1.2:
resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}
engines: {node: '>=4'}
@@ -3005,6 +3021,8 @@ snapshots:
deep-is@0.1.4: {}
deep-pick-omit@1.2.1: {}
default-browser-id@5.0.0: {}
default-browser@5.2.1:
@@ -3014,8 +3032,12 @@ snapshots:
define-lazy-prop@3.0.0: {}
defu@6.1.4: {}
delayed-stream@1.0.0: {}
destr@2.0.5: {}
detect-libc@1.0.3:
optional: true
@@ -3585,8 +3607,12 @@ snapshots:
pidtree@0.6.0: {}
pinia-plugin-persistedstate@3.2.3(pinia@3.0.3(typescript@5.8.3)(vue@3.5.17(typescript@5.8.3))):
pinia-plugin-persistedstate@4.5.0(pinia@3.0.3(typescript@5.8.3)(vue@3.5.17(typescript@5.8.3))):
dependencies:
deep-pick-omit: 1.2.1
defu: 6.1.4
destr: 2.0.5
optionalDependencies:
pinia: 3.0.3(typescript@5.8.3)(vue@3.5.17(typescript@5.8.3))
pinia@3.0.3(typescript@5.8.3)(vue@3.5.17(typescript@5.8.3)):
@@ -3596,8 +3622,6 @@ snapshots:
optionalDependencies:
typescript: 5.8.3
pnpm@10.15.0: {}
postcss-selector-parser@6.1.2:
dependencies:
cssesc: 3.0.0