hookehuyr

chore: 添加 dayjs 依赖并更新部分依赖版本

添加 dayjs 依赖以便处理日期和时间操作,同时更新 autoprefixer、lilconfig、tailwindcss 等依赖的版本以保持项目依赖的最新状态
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
9 "version": "0.0.0", 9 "version": "0.0.0",
10 "dependencies": { 10 "dependencies": {
11 "@vant/use": "^1.6.0", 11 "@vant/use": "^1.6.0",
12 + "dayjs": "^1.11.13",
12 "vant": "^4.9.18", 13 "vant": "^4.9.18",
13 "vconsole": "^3.15.1", 14 "vconsole": "^3.15.1",
14 "vue": "^3.5.13", 15 "vue": "^3.5.13",
...@@ -151,15 +152,6 @@ ...@@ -151,15 +152,6 @@
151 "node": ">=6.9.0" 152 "node": ">=6.9.0"
152 } 153 }
153 }, 154 },
154 - "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": {
155 - "version": "5.1.1",
156 - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
157 - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
158 - "dev": true,
159 - "dependencies": {
160 - "yallist": "^3.0.2"
161 - }
162 - },
163 "node_modules/@babel/helper-create-class-features-plugin": { 155 "node_modules/@babel/helper-create-class-features-plugin": {
164 "version": "7.26.9", 156 "version": "7.26.9",
165 "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.26.9.tgz", 157 "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.26.9.tgz",
...@@ -1330,33 +1322,6 @@ ...@@ -1330,33 +1322,6 @@
1330 "source-map-js": "^1.2.0" 1322 "source-map-js": "^1.2.0"
1331 } 1323 }
1332 }, 1324 },
1333 - "node_modules/@vue/compiler-sfc/node_modules/postcss": {
1334 - "version": "8.5.3",
1335 - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz",
1336 - "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==",
1337 - "funding": [
1338 - {
1339 - "type": "opencollective",
1340 - "url": "https://opencollective.com/postcss/"
1341 - },
1342 - {
1343 - "type": "tidelift",
1344 - "url": "https://tidelift.com/funding/github/npm/postcss"
1345 - },
1346 - {
1347 - "type": "github",
1348 - "url": "https://github.com/sponsors/ai"
1349 - }
1350 - ],
1351 - "dependencies": {
1352 - "nanoid": "^3.3.8",
1353 - "picocolors": "^1.1.1",
1354 - "source-map-js": "^1.2.1"
1355 - },
1356 - "engines": {
1357 - "node": "^10 || ^12 || >=14"
1358 - }
1359 - },
1360 "node_modules/@vue/compiler-ssr": { 1325 "node_modules/@vue/compiler-ssr": {
1361 "version": "3.5.13", 1326 "version": "3.5.13",
1362 "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.13.tgz", 1327 "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.13.tgz",
...@@ -1522,9 +1487,9 @@ ...@@ -1522,9 +1487,9 @@
1522 "dev": true 1487 "dev": true
1523 }, 1488 },
1524 "node_modules/autoprefixer": { 1489 "node_modules/autoprefixer": {
1525 - "version": "10.4.19", 1490 + "version": "10.4.21",
1526 - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz", 1491 + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.21.tgz",
1527 - "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==", 1492 + "integrity": "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==",
1528 "dev": true, 1493 "dev": true,
1529 "funding": [ 1494 "funding": [
1530 { 1495 {
...@@ -1541,11 +1506,11 @@ ...@@ -1541,11 +1506,11 @@
1541 } 1506 }
1542 ], 1507 ],
1543 "dependencies": { 1508 "dependencies": {
1544 - "browserslist": "^4.23.0", 1509 + "browserslist": "^4.24.4",
1545 - "caniuse-lite": "^1.0.30001599", 1510 + "caniuse-lite": "^1.0.30001702",
1546 "fraction.js": "^4.3.7", 1511 "fraction.js": "^4.3.7",
1547 "normalize-range": "^0.1.2", 1512 "normalize-range": "^0.1.2",
1548 - "picocolors": "^1.0.0", 1513 + "picocolors": "^1.1.1",
1549 "postcss-value-parser": "^4.2.0" 1514 "postcss-value-parser": "^4.2.0"
1550 }, 1515 },
1551 "bin": { 1516 "bin": {
...@@ -1837,6 +1802,11 @@ ...@@ -1837,6 +1802,11 @@
1837 "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", 1802 "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
1838 "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" 1803 "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
1839 }, 1804 },
1805 + "node_modules/dayjs": {
1806 + "version": "1.11.13",
1807 + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",
1808 + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg=="
1809 + },
1840 "node_modules/debug": { 1810 "node_modules/debug": {
1841 "version": "4.4.0", 1811 "version": "4.4.0",
1842 "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", 1812 "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
...@@ -2436,12 +2406,15 @@ ...@@ -2436,12 +2406,15 @@
2436 } 2406 }
2437 }, 2407 },
2438 "node_modules/lilconfig": { 2408 "node_modules/lilconfig": {
2439 - "version": "2.1.0", 2409 + "version": "3.1.3",
2440 - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", 2410 + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
2441 - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", 2411 + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
2442 "dev": true, 2412 "dev": true,
2443 "engines": { 2413 "engines": {
2444 - "node": ">=10" 2414 + "node": ">=14"
2415 + },
2416 + "funding": {
2417 + "url": "https://github.com/sponsors/antonk52"
2445 } 2418 }
2446 }, 2419 },
2447 "node_modules/lines-and-columns": { 2420 "node_modules/lines-and-columns": {
...@@ -2468,10 +2441,13 @@ ...@@ -2468,10 +2441,13 @@
2468 } 2441 }
2469 }, 2442 },
2470 "node_modules/lru-cache": { 2443 "node_modules/lru-cache": {
2471 - "version": "10.4.3", 2444 + "version": "5.1.1",
2472 - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", 2445 + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
2473 - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", 2446 + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
2474 - "dev": true 2447 + "dev": true,
2448 + "dependencies": {
2449 + "yallist": "^3.0.2"
2450 + }
2475 }, 2451 },
2476 "node_modules/magic-string": { 2452 "node_modules/magic-string": {
2477 "version": "0.30.17", 2453 "version": "0.30.17",
...@@ -2716,6 +2692,12 @@ ...@@ -2716,6 +2692,12 @@
2716 "url": "https://github.com/sponsors/isaacs" 2692 "url": "https://github.com/sponsors/isaacs"
2717 } 2693 }
2718 }, 2694 },
2695 + "node_modules/path-scurry/node_modules/lru-cache": {
2696 + "version": "10.4.3",
2697 + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
2698 + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
2699 + "dev": true
2700 + },
2719 "node_modules/pathe": { 2701 "node_modules/pathe": {
2720 "version": "2.0.3", 2702 "version": "2.0.3",
2721 "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", 2703 "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
...@@ -2769,10 +2751,9 @@ ...@@ -2769,10 +2751,9 @@
2769 } 2751 }
2770 }, 2752 },
2771 "node_modules/postcss": { 2753 "node_modules/postcss": {
2772 - "version": "8.4.35", 2754 + "version": "8.5.3",
2773 - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz", 2755 + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz",
2774 - "integrity": "sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==", 2756 + "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==",
2775 - "dev": true,
2776 "funding": [ 2757 "funding": [
2777 { 2758 {
2778 "type": "opencollective", 2759 "type": "opencollective",
...@@ -2788,9 +2769,9 @@ ...@@ -2788,9 +2769,9 @@
2788 } 2769 }
2789 ], 2770 ],
2790 "dependencies": { 2771 "dependencies": {
2791 - "nanoid": "^3.3.7", 2772 + "nanoid": "^3.3.8",
2792 - "picocolors": "^1.0.0", 2773 + "picocolors": "^1.1.1",
2793 - "source-map-js": "^1.0.2" 2774 + "source-map-js": "^1.2.1"
2794 }, 2775 },
2795 "engines": { 2776 "engines": {
2796 "node": "^10 || ^12 || >=14" 2777 "node": "^10 || ^12 || >=14"
...@@ -2867,18 +2848,6 @@ ...@@ -2867,18 +2848,6 @@
2867 } 2848 }
2868 } 2849 }
2869 }, 2850 },
2870 - "node_modules/postcss-load-config/node_modules/lilconfig": {
2871 - "version": "3.1.3",
2872 - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
2873 - "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
2874 - "dev": true,
2875 - "engines": {
2876 - "node": ">=14"
2877 - },
2878 - "funding": {
2879 - "url": "https://github.com/sponsors/antonk52"
2880 - }
2881 - },
2882 "node_modules/postcss-nested": { 2851 "node_modules/postcss-nested": {
2883 "version": "6.2.0", 2852 "version": "6.2.0",
2884 "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", 2853 "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
...@@ -3374,33 +3343,33 @@ ...@@ -3374,33 +3343,33 @@
3374 } 3343 }
3375 }, 3344 },
3376 "node_modules/tailwindcss": { 3345 "node_modules/tailwindcss": {
3377 - "version": "3.4.1", 3346 + "version": "3.4.17",
3378 - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.1.tgz", 3347 + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz",
3379 - "integrity": "sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA==", 3348 + "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==",
3380 "dev": true, 3349 "dev": true,
3381 "dependencies": { 3350 "dependencies": {
3382 "@alloc/quick-lru": "^5.2.0", 3351 "@alloc/quick-lru": "^5.2.0",
3383 "arg": "^5.0.2", 3352 "arg": "^5.0.2",
3384 - "chokidar": "^3.5.3", 3353 + "chokidar": "^3.6.0",
3385 "didyoumean": "^1.2.2", 3354 "didyoumean": "^1.2.2",
3386 "dlv": "^1.1.3", 3355 "dlv": "^1.1.3",
3387 - "fast-glob": "^3.3.0", 3356 + "fast-glob": "^3.3.2",
3388 "glob-parent": "^6.0.2", 3357 "glob-parent": "^6.0.2",
3389 "is-glob": "^4.0.3", 3358 "is-glob": "^4.0.3",
3390 - "jiti": "^1.19.1", 3359 + "jiti": "^1.21.6",
3391 - "lilconfig": "^2.1.0", 3360 + "lilconfig": "^3.1.3",
3392 - "micromatch": "^4.0.5", 3361 + "micromatch": "^4.0.8",
3393 "normalize-path": "^3.0.0", 3362 "normalize-path": "^3.0.0",
3394 "object-hash": "^3.0.0", 3363 "object-hash": "^3.0.0",
3395 - "picocolors": "^1.0.0", 3364 + "picocolors": "^1.1.1",
3396 - "postcss": "^8.4.23", 3365 + "postcss": "^8.4.47",
3397 "postcss-import": "^15.1.0", 3366 "postcss-import": "^15.1.0",
3398 "postcss-js": "^4.0.1", 3367 "postcss-js": "^4.0.1",
3399 - "postcss-load-config": "^4.0.1", 3368 + "postcss-load-config": "^4.0.2",
3400 - "postcss-nested": "^6.0.1", 3369 + "postcss-nested": "^6.2.0",
3401 - "postcss-selector-parser": "^6.0.11", 3370 + "postcss-selector-parser": "^6.1.2",
3402 - "resolve": "^1.22.2", 3371 + "resolve": "^1.22.8",
3403 - "sucrase": "^3.32.0" 3372 + "sucrase": "^3.35.0"
3404 }, 3373 },
3405 "bin": { 3374 "bin": {
3406 "tailwind": "lib/cli.js", 3375 "tailwind": "lib/cli.js",
...@@ -3811,34 +3780,6 @@ ...@@ -3811,34 +3780,6 @@
3811 } 3780 }
3812 } 3781 }
3813 }, 3782 },
3814 - "node_modules/vite/node_modules/postcss": {
3815 - "version": "8.5.3",
3816 - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz",
3817 - "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==",
3818 - "dev": true,
3819 - "funding": [
3820 - {
3821 - "type": "opencollective",
3822 - "url": "https://opencollective.com/postcss/"
3823 - },
3824 - {
3825 - "type": "tidelift",
3826 - "url": "https://tidelift.com/funding/github/npm/postcss"
3827 - },
3828 - {
3829 - "type": "github",
3830 - "url": "https://github.com/sponsors/ai"
3831 - }
3832 - ],
3833 - "dependencies": {
3834 - "nanoid": "^3.3.8",
3835 - "picocolors": "^1.1.1",
3836 - "source-map-js": "^1.2.1"
3837 - },
3838 - "engines": {
3839 - "node": "^10 || ^12 || >=14"
3840 - }
3841 - },
3842 "node_modules/vue": { 3783 "node_modules/vue": {
3843 "version": "3.5.13", 3784 "version": "3.5.13",
3844 "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.13.tgz", 3785 "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.13.tgz",
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
10 }, 10 },
11 "dependencies": { 11 "dependencies": {
12 "@vant/use": "^1.6.0", 12 "@vant/use": "^1.6.0",
13 + "dayjs": "^1.11.13",
13 "vant": "^4.9.18", 14 "vant": "^4.9.18",
14 "vconsole": "^3.15.1", 15 "vconsole": "^3.15.1",
15 "vue": "^3.5.13", 16 "vue": "^3.5.13",
......