mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
upgrade deps
This commit is contained in:
8 files changed
+17
-13
No files matched your search
@@ -20,7 +20,7 @@
|
|||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
"saslprep": "^1.0.3",
|
"saslprep": "^1.0.3",
|
||||||
"shorty.js": "^1.0.1",
|
"shorty.js": "^1.0.1",
|
||||||
"ws": "^8.17.1"
|
"ws": "^8.18.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/fs-extra": "^11.0.4",
|
"@types/fs-extra": "^11.0.4",
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ import {
|
|||||||
import { Router } from './router';
|
import { Router } from './router';
|
||||||
import serializer from './serializer';
|
import serializer from './serializer';
|
||||||
|
|
||||||
|
export { WebSocket, WebSocketServer } from 'ws';
|
||||||
|
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent
|
||||||
export function encodeRFC5987ValueChars(str: string) {
|
export function encodeRFC5987ValueChars(str: string) {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"semver": "^7.6.2",
|
"semver": "^7.6.2",
|
||||||
"shell-quote": "^1.8.1",
|
"shell-quote": "^1.8.1",
|
||||||
"superagent": "^9.0.2",
|
"superagent": "^9.0.2",
|
||||||
"ws": "^8.17.1"
|
"ws": "^8.18.0"
|
||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
"koa-proxies": "^0.12.4",
|
"koa-proxies": "^0.12.4",
|
||||||
"koa-static-cache": "^5.1.4",
|
"koa-static-cache": "^5.1.4",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"lru-cache": "^10.3.0",
|
"lru-cache": "^10.3.1",
|
||||||
"mime-types": "^2.1.35",
|
"mime-types": "^2.1.35",
|
||||||
"moment-timezone": "^0.5.45",
|
"moment-timezone": "^0.5.45",
|
||||||
"mongodb": "^5.9.2",
|
"mongodb": "^5.9.2",
|
||||||
@@ -43,7 +43,6 @@
|
|||||||
"nodemailer": "^6.9.14",
|
"nodemailer": "^6.9.14",
|
||||||
"notp": "^2.0.3",
|
"notp": "^2.0.3",
|
||||||
"p-queue": "^8.0.1",
|
"p-queue": "^8.0.1",
|
||||||
"path-to-regexp": "^7.0.0",
|
|
||||||
"sanitize-filename": "^1.6.3",
|
"sanitize-filename": "^1.6.3",
|
||||||
"saslprep": "^1.0.3",
|
"saslprep": "^1.0.3",
|
||||||
"schemastery": "^3.14.6",
|
"schemastery": "^3.14.6",
|
||||||
@@ -51,8 +50,7 @@
|
|||||||
"shorty.js": "^1.0.1",
|
"shorty.js": "^1.0.1",
|
||||||
"superagent": "^9.0.2",
|
"superagent": "^9.0.2",
|
||||||
"tar": "6.2.1",
|
"tar": "6.2.1",
|
||||||
"thirty-two": "^1.0.2",
|
"thirty-two": "^1.0.2"
|
||||||
"ws": "^8.17.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/adm-zip": "^0.4.34",
|
"@types/adm-zip": "^0.4.34",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import Schema from 'schemastery';
|
|||||||
import superagent from 'superagent';
|
import superagent from 'superagent';
|
||||||
import { Context } from './context';
|
import { Context } from './context';
|
||||||
export { ObjectId, Filter } from 'mongodb';
|
export { ObjectId, Filter } from 'mongodb';
|
||||||
export { WebSocket, WebSocketServer } from 'ws';
|
export { WebSocket, WebSocketServer } from '@hydrooj/framework';
|
||||||
export * from './utils';
|
export * from './utils';
|
||||||
export * from './interface';
|
export * from './interface';
|
||||||
export * from './typeutils';
|
export * from './typeutils';
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
"version": "0.1.9",
|
"version": "0.1.9",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"prom-client": "^15.1.2"
|
"prom-client": "^15.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -39,11 +39,15 @@ if (process.env.NODE_ENV === 'production' && !UiContext.sentry_disable) {
|
|||||||
release: `hydro-web@${process.env.VERSION}`,
|
release: `hydro-web@${process.env.VERSION}`,
|
||||||
integrations: [
|
integrations: [
|
||||||
Sentry.browserTracingIntegration(),
|
Sentry.browserTracingIntegration(),
|
||||||
Sentry.replayIntegration(),
|
Sentry.browserApiErrorsIntegration(),
|
||||||
|
Sentry.replayIntegration({
|
||||||
|
networkRequestHeaders: ['Content-Type'],
|
||||||
|
networkResponseHeaders: ['Content-Type', 'Location'],
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
tracesSampleRate: 0.1,
|
tracesSampleRate: 0.1,
|
||||||
tracePropagationTargets: ['localhost', /^\//, window.location.host],
|
tracePropagationTargets: ['localhost', /^\//, window.location.host],
|
||||||
replaysSessionSampleRate: 0.1,
|
replaysSessionSampleRate: 0.03,
|
||||||
replaysOnErrorSampleRate: 1.0,
|
replaysOnErrorSampleRate: 1.0,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"cli": false
|
"cli": false
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@blueprintjs/core": "^5.10.4",
|
"@blueprintjs/core": "^5.10.5",
|
||||||
"@cordisjs/core": "3.17.3",
|
"@cordisjs/core": "3.17.3",
|
||||||
"@fontsource/dm-mono": "^5.0.20",
|
"@fontsource/dm-mono": "^5.0.20",
|
||||||
"@fontsource/fira-code": "^5.0.18",
|
"@fontsource/fira-code": "^5.0.18",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"@fontsource/source-code-pro": "^5.0.18",
|
"@fontsource/source-code-pro": "^5.0.18",
|
||||||
"@fontsource/ubuntu-mono": "^5.0.20",
|
"@fontsource/ubuntu-mono": "^5.0.20",
|
||||||
"@hydrooj/utils": "workspace:^",
|
"@hydrooj/utils": "workspace:^",
|
||||||
"@sentry/browser": "^8.13.0",
|
"@sentry/browser": "^8.15.0",
|
||||||
"@sentry/webpack-plugin": "^2.20.1",
|
"@sentry/webpack-plugin": "^2.20.1",
|
||||||
"@simplewebauthn/browser": "7.4.0",
|
"@simplewebauthn/browser": "7.4.0",
|
||||||
"@svgr/webpack": "^8.1.0",
|
"@svgr/webpack": "^8.1.0",
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
"jquery.easing": "^1.4.1",
|
"jquery.easing": "^1.4.1",
|
||||||
"jquery.transit": "^0.9.12",
|
"jquery.transit": "^0.9.12",
|
||||||
"matchmedia-polyfill": "^0.3.2",
|
"matchmedia-polyfill": "^0.3.2",
|
||||||
"md-editor-rt": "^4.17.1",
|
"md-editor-rt": "^4.17.3",
|
||||||
"mini-css-extract-plugin": "^2.9.0",
|
"mini-css-extract-plugin": "^2.9.0",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"monaco-editor": "0.50.0",
|
"monaco-editor": "0.50.0",
|
||||||
|
|||||||
Reference in new issue
Block a user