mirror of
https://github.com/ourongxing/newsnow.git
synced 2025-01-31 19:08:05 +08:00
fix: dayjs duration
This commit is contained in:
parent
9ecfc81dcb
commit
81e0023c17
@ -28,7 +28,7 @@
|
|||||||
"cheerio": "^1.0.0",
|
"cheerio": "^1.0.0",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"consola": "^3.2.3",
|
"consola": "^3.2.3",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "1.11.13",
|
||||||
"db0": "npm:@ourongxing/db0@latest",
|
"db0": "npm:@ourongxing/db0@latest",
|
||||||
"fast-xml-parser": "^4.5.0",
|
"fast-xml-parser": "^4.5.0",
|
||||||
"favicons-scraper": "^1.3.2",
|
"favicons-scraper": "^1.3.2",
|
||||||
@ -62,6 +62,7 @@
|
|||||||
"eslint-plugin-react-refresh": "^0.4.12",
|
"eslint-plugin-react-refresh": "^0.4.12",
|
||||||
"lint-staged": "^15.2.10",
|
"lint-staged": "^15.2.10",
|
||||||
"mlly": "^1.7.2",
|
"mlly": "^1.7.2",
|
||||||
|
"mockdate": "^3.0.5",
|
||||||
"nitropack": "^2.9.7",
|
"nitropack": "^2.9.7",
|
||||||
"simple-git-hooks": "^2.11.1",
|
"simple-git-hooks": "^2.11.1",
|
||||||
"tsx": "^4.19.1",
|
"tsx": "^4.19.1",
|
||||||
@ -75,7 +76,13 @@
|
|||||||
"vitest": "^2.1.1",
|
"vitest": "^2.1.1",
|
||||||
"wrangler": "^3.79.0"
|
"wrangler": "^3.79.0"
|
||||||
},
|
},
|
||||||
|
"pnpm": {
|
||||||
|
"patchedDependencies": {
|
||||||
|
"dayjs": "patches/dayjs.patch"
|
||||||
|
}
|
||||||
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
"dayjs": "1.11.13",
|
||||||
"db0": "npm:@ourongxing/db0@latest"
|
"db0": "npm:@ourongxing/db0@latest"
|
||||||
},
|
},
|
||||||
"simple-git-hooks": {
|
"simple-git-hooks": {
|
||||||
|
70
patches/dayjs.patch
Normal file
70
patches/dayjs.patch
Normal file
File diff suppressed because one or more lines are too long
20
pnpm-lock.yaml
generated
20
pnpm-lock.yaml
generated
@ -5,8 +5,14 @@ settings:
|
|||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
overrides:
|
overrides:
|
||||||
|
dayjs: 1.11.13
|
||||||
db0: npm:@ourongxing/db0@latest
|
db0: npm:@ourongxing/db0@latest
|
||||||
|
|
||||||
|
patchedDependencies:
|
||||||
|
dayjs:
|
||||||
|
hash: vxjypqxmsykboavgqknf3tdbfa
|
||||||
|
path: patches/dayjs.patch
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
@ -45,8 +51,8 @@ importers:
|
|||||||
specifier: ^3.2.3
|
specifier: ^3.2.3
|
||||||
version: 3.2.3
|
version: 3.2.3
|
||||||
dayjs:
|
dayjs:
|
||||||
specifier: ^1.11.13
|
specifier: 1.11.13
|
||||||
version: 1.11.13
|
version: 1.11.13(patch_hash=vxjypqxmsykboavgqknf3tdbfa)
|
||||||
db0:
|
db0:
|
||||||
specifier: npm:@ourongxing/db0@latest
|
specifier: npm:@ourongxing/db0@latest
|
||||||
version: '@ourongxing/db0@0.1.5(libsql@0.4.5)'
|
version: '@ourongxing/db0@0.1.5(libsql@0.4.5)'
|
||||||
@ -141,6 +147,9 @@ importers:
|
|||||||
mlly:
|
mlly:
|
||||||
specifier: ^1.7.2
|
specifier: ^1.7.2
|
||||||
version: 1.7.2
|
version: 1.7.2
|
||||||
|
mockdate:
|
||||||
|
specifier: ^3.0.5
|
||||||
|
version: 3.0.5
|
||||||
nitropack:
|
nitropack:
|
||||||
specifier: ^2.9.7
|
specifier: ^2.9.7
|
||||||
version: 2.9.7(encoding@0.1.13)(libsql@0.4.5)(magicast@0.3.5)
|
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:
|
mlly@1.7.2:
|
||||||
resolution: {integrity: sha512-tN3dvVHYVz4DhSXinXIk7u9syPYaJvio118uomkovAtWBT+RdbP6Lfh/5Lvo519YMmwBafwlh20IPTXIStscpA==}
|
resolution: {integrity: sha512-tN3dvVHYVz4DhSXinXIk7u9syPYaJvio118uomkovAtWBT+RdbP6Lfh/5Lvo519YMmwBafwlh20IPTXIStscpA==}
|
||||||
|
|
||||||
|
mockdate@3.0.5:
|
||||||
|
resolution: {integrity: sha512-iniQP4rj1FhBdBYS/+eQv7j1tadJ9lJtdzgOpvsOHng/GbcDh2Fhdeq+ZRldrPYdXvCyfFUmFeEwEGXZB5I/AQ==}
|
||||||
|
|
||||||
mri@1.2.0:
|
mri@1.2.0:
|
||||||
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
|
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
|
||||||
engines: {node: '>=4'}
|
engines: {node: '>=4'}
|
||||||
@ -6965,7 +6977,7 @@ snapshots:
|
|||||||
|
|
||||||
data-uri-to-buffer@2.0.2: {}
|
data-uri-to-buffer@2.0.2: {}
|
||||||
|
|
||||||
dayjs@1.11.13: {}
|
dayjs@1.11.13(patch_hash=vxjypqxmsykboavgqknf3tdbfa): {}
|
||||||
|
|
||||||
debug@2.6.9:
|
debug@2.6.9:
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -8394,6 +8406,8 @@ snapshots:
|
|||||||
pkg-types: 1.2.0
|
pkg-types: 1.2.0
|
||||||
ufo: 1.5.4
|
ufo: 1.5.4
|
||||||
|
|
||||||
|
mockdate@3.0.5: {}
|
||||||
|
|
||||||
mri@1.2.0: {}
|
mri@1.2.0: {}
|
||||||
|
|
||||||
mrmime@2.0.0: {}
|
mrmime@2.0.0: {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user