core: remove serialize-javascript

This commit is contained in:
undefined committed 2024-01-15 08:33:03 +08:00
1 parent 8edb3e4ba5
commit 265a0138e7
5 files changed
+18 -13

No files matched your search

+5 -1
View File
@@ -1 +1,5 @@
这是Hydro的核心文件。
# Hydro Online Judge Core Package
Copyright [@hydro-dev](https://github.com/hydro-dev) team.
Other information please refer to [Github repository](https://github.com/hydro-dev/Hydro) and [Official document](https://hydro.js.org) .
+4 -6
View File
@@ -12,10 +12,10 @@
},
"preferUnplugged": true,
"dependencies": {
"@aws-sdk/client-s3": "3.485.0",
"@aws-sdk/lib-storage": "3.485.0",
"@aws-sdk/s3-presigned-post": "3.485.0",
"@aws-sdk/s3-request-presigner": "3.485.0",
"@aws-sdk/client-s3": "3.490.0",
"@aws-sdk/lib-storage": "3.490.0",
"@aws-sdk/s3-presigned-post": "3.490.0",
"@aws-sdk/s3-request-presigner": "3.490.0",
"@graphql-tools/schema": "^10.0.2",
"@hydrooj/utils": "workspace:*",
"@simplewebauthn/server": "7.4.0",
@@ -50,7 +50,6 @@
"saslprep": "^1.0.3",
"schemastery": "^3.14.3",
"semver": "^7.5.4",
"serialize-javascript": "^6.0.1",
"superagent": "^8.1.2",
"tar": "^6.2.0",
"thirty-two": "^1.0.2",
@@ -70,7 +69,6 @@
"@types/notp": "^2.0.5",
"@types/saslprep": "^1.0.3",
"@types/semver": "^7.5.6",
"@types/serialize-javascript": "^5.0.4",
"@types/superagent": "^8.1.1",
"@types/tar": "^6.1.10",
"moment": "^2.30.1"
-2
View File
@@ -1,9 +1,7 @@
import serialize from 'serialize-javascript';
import pwsh from './lib/hash.hydro';
import db from './service/db';
export { nanoid } from 'nanoid';
export { serialize };
export * from './pipelineUtils';
export * from './error';