fix: dayjs duration

This commit is contained in:
Ou 2024-10-09 15:29:39 +08:00
parent 9ecfc81dcb
commit 81e0023c17
3 changed files with 95 additions and 4 deletions

View File

@ -28,7 +28,7 @@
"cheerio": "^1.0.0",
"clsx": "^2.1.1",
"consola": "^3.2.3",
"dayjs": "^1.11.13",
"dayjs": "1.11.13",
"db0": "npm:@ourongxing/db0@latest",
"fast-xml-parser": "^4.5.0",
"favicons-scraper": "^1.3.2",
@ -62,6 +62,7 @@
"eslint-plugin-react-refresh": "^0.4.12",
"lint-staged": "^15.2.10",
"mlly": "^1.7.2",
"mockdate": "^3.0.5",
"nitropack": "^2.9.7",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.1",
@ -75,7 +76,13 @@
"vitest": "^2.1.1",
"wrangler": "^3.79.0"
},
"pnpm": {
"patchedDependencies": {
"dayjs": "patches/dayjs.patch"
}
},
"resolutions": {
"dayjs": "1.11.13",
"db0": "npm:@ourongxing/db0@latest"
},
"simple-git-hooks": {

70
patches/dayjs.patch Normal file

File diff suppressed because one or more lines are too long

20
pnpm-lock.yaml generated
View File

@ -5,8 +5,14 @@ settings:
excludeLinksFromLockfile: false
overrides:
dayjs: 1.11.13
db0: npm:@ourongxing/db0@latest
patchedDependencies:
dayjs:
hash: vxjypqxmsykboavgqknf3tdbfa
path: patches/dayjs.patch
importers:
.:
@ -45,8 +51,8 @@ importers:
specifier: ^3.2.3
version: 3.2.3
dayjs:
specifier: ^1.11.13
version: 1.11.13
specifier: 1.11.13
version: 1.11.13(patch_hash=vxjypqxmsykboavgqknf3tdbfa)
db0:
specifier: npm:@ourongxing/db0@latest
version: '@ourongxing/db0@0.1.5(libsql@0.4.5)'
@ -141,6 +147,9 @@ importers:
mlly:
specifier: ^1.7.2
version: 1.7.2
mockdate:
specifier: ^3.0.5
version: 3.0.5
nitropack:
specifier: ^2.9.7
version: 2.9.7(encoding@0.1.13)(libsql@0.4.5)(magicast@0.3.5)
@ -3615,6 +3624,9 @@ packages:
mlly@1.7.2:
resolution: {integrity: sha512-tN3dvVHYVz4DhSXinXIk7u9syPYaJvio118uomkovAtWBT+RdbP6Lfh/5Lvo519YMmwBafwlh20IPTXIStscpA==}
mockdate@3.0.5:
resolution: {integrity: sha512-iniQP4rj1FhBdBYS/+eQv7j1tadJ9lJtdzgOpvsOHng/GbcDh2Fhdeq+ZRldrPYdXvCyfFUmFeEwEGXZB5I/AQ==}
mri@1.2.0:
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
engines: {node: '>=4'}
@ -6965,7 +6977,7 @@ snapshots:
data-uri-to-buffer@2.0.2: {}
dayjs@1.11.13: {}
dayjs@1.11.13(patch_hash=vxjypqxmsykboavgqknf3tdbfa): {}
debug@2.6.9:
dependencies:
@ -8394,6 +8406,8 @@ snapshots:
pkg-types: 1.2.0
ufo: 1.5.4
mockdate@3.0.5: {}
mri@1.2.0: {}
mrmime@2.0.0: {}