mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
core&framework: switch to mongodb-js/saslprep
This commit is contained in:
5 files changed
+14
-16
No files matched your search
@@ -5,13 +5,13 @@
|
||||
"main": "base.mjs",
|
||||
"repository": "https://github.com/hydro-dev/Hydro",
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config": "^6.0.0",
|
||||
"@eslint-react/eslint-plugin": "^2.2.2",
|
||||
"@typescript-eslint/eslint-plugin": "^8.46.1",
|
||||
"@typescript-eslint/parser": "^8.46.1",
|
||||
"@antfu/eslint-config": "^6.1.0",
|
||||
"@eslint-react/eslint-plugin": "^2.2.3",
|
||||
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
||||
"@typescript-eslint/parser": "^8.46.2",
|
||||
"eslint-plugin-de-morgan": "^2.0.0",
|
||||
"eslint-plugin-github": "^6.0.0",
|
||||
"eslint-plugin-react-hooks": "^7.0.0",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"eslint-plugin-react-refresh": "^0.4.24",
|
||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||
"globals": "^16.4.0"
|
||||
@@ -20,6 +20,6 @@
|
||||
"eslint": ">= 9"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"typescript": "^5.8.3"
|
||||
"typescript": "^5.9.3"
|
||||
}
|
||||
}
|
||||
@@ -10,24 +10,23 @@
|
||||
"dependencies": {
|
||||
"@hydrooj/utils": "workspace:^",
|
||||
"@koa/router": "^14.0.0",
|
||||
"@mongodb-js/saslprep": "^1.3.2",
|
||||
"emoji-regex": "^10.6.0",
|
||||
"fs-extra": "^11.3.2",
|
||||
"koa": "^3.0.3",
|
||||
"koa-body": "^6.0.1",
|
||||
"koa-body": "^7.0.0",
|
||||
"koa-compress": "^5.1.1",
|
||||
"path-to-regexp": "^8.3.0",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"saslprep": "^1.0.3",
|
||||
"schemastery": "^3.17.1",
|
||||
"shorty.js": "^1.0.1",
|
||||
"ws": "^8.18.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/koa": "^3.0.0",
|
||||
"@types/koa-compress": "^4.0.6",
|
||||
"@types/koa__router": "^12.0.4",
|
||||
"@types/saslprep": "^1.0.3",
|
||||
"@types/koa": "^3.0.1",
|
||||
"@types/koa-compress": "^4.0.7",
|
||||
"@types/koa__router": "^12.0.5",
|
||||
"@types/ws": "^8.18.1"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
import assert from 'assert';
|
||||
import saslprep from '@mongodb-js/saslprep';
|
||||
import emojiRegex from 'emoji-regex';
|
||||
import sanitize from 'sanitize-filename';
|
||||
import saslprep from 'saslprep';
|
||||
import Schema from 'schemastery';
|
||||
|
||||
type InputType = string | number | Record<string, any> | any[];
|
||||
|
||||
Reference in new issue
Block a user