mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
patches from zhengzhou site
This commit is contained in:
19 files changed
+80
-40
No files matched your search
@@ -6,7 +6,7 @@
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config": "^6.2.0",
|
||||
"@eslint-react/eslint-plugin": "^2.3.5",
|
||||
"@eslint-react/eslint-plugin": "^2.3.7",
|
||||
"@typescript-eslint/eslint-plugin": "^8.47.0",
|
||||
"@typescript-eslint/parser": "^8.47.0",
|
||||
"eslint-plugin-de-morgan": "^2.0.0",
|
||||
|
||||
@@ -154,7 +154,7 @@ export namespace Time {
|
||||
throw new Error('No bson module found');
|
||||
}
|
||||
try {
|
||||
isMoment ||= require('moment');
|
||||
isMoment ||= require('moment').isMoment;
|
||||
} catch (e) {
|
||||
throw new Error('No moment module found');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user