Update package versions for node 18
Some checks failed
continuous-integration/drone Build is failing
Some checks failed
continuous-integration/drone Build is failing
This commit is contained in:
parent
899c8448fc
commit
9aa3f56340
55
package.json
55
package.json
@ -11,45 +11,45 @@
|
|||||||
"@atao60/fse-cli": "^0.1.7",
|
"@atao60/fse-cli": "^0.1.7",
|
||||||
"@extollo/ui": "^0.1.0",
|
"@extollo/ui": "^0.1.0",
|
||||||
"@types/bcrypt": "^5.0.0",
|
"@types/bcrypt": "^5.0.0",
|
||||||
"@types/busboy": "^0.2.3",
|
"@types/busboy": "^0.2.4",
|
||||||
"@types/cli-table": "^0.3.1",
|
"@types/cli-table": "^0.3.1",
|
||||||
"@types/ioredis": "^4.26.6",
|
"@types/ioredis": "^4.28.10",
|
||||||
"@types/jsonwebtoken": "^8.5.9",
|
"@types/jsonwebtoken": "^8.5.9",
|
||||||
"@types/mime-types": "^2.1.1",
|
"@types/mime-types": "^2.1.1",
|
||||||
"@types/mkdirp": "^1.0.2",
|
"@types/mkdirp": "^1.0.2",
|
||||||
"@types/negotiator": "^0.6.1",
|
"@types/negotiator": "^0.6.1",
|
||||||
"@types/node": "^14.17.4",
|
"@types/node": "^14.18.51",
|
||||||
"@types/pg": "^8.6.5",
|
"@types/pg": "^8.10.2",
|
||||||
"@types/pluralize": "^0.0.29",
|
"@types/pluralize": "^0.0.29",
|
||||||
"@types/pug": "^2.0.6",
|
"@types/pug": "^2.0.6",
|
||||||
"@types/rimraf": "^3.0.2",
|
"@types/rimraf": "^3.0.2",
|
||||||
"@types/ssh2": "^0.5.46",
|
"@types/ssh2": "^0.5.52",
|
||||||
"@types/uuid": "^8.3.4",
|
"@types/uuid": "^8.3.4",
|
||||||
"@types/ws": "^8.5.3",
|
"@types/ws": "^8.5.5",
|
||||||
"bcrypt": "^5.0.1",
|
"bcrypt": "^5.1.0",
|
||||||
"busboy": "^0.3.1",
|
"busboy": "^0.3.1",
|
||||||
"cli-table": "^0.3.11",
|
"cli-table": "^0.3.11",
|
||||||
"colors": "^1.4.0",
|
"colors": "^1.4.0",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.6.0",
|
||||||
"ioredis": "^4.27.6",
|
"ioredis": "^4.28.5",
|
||||||
"jsonwebtoken": "^8.5.1",
|
"jsonwebtoken": "^8.5.1",
|
||||||
"mime-types": "^2.1.35",
|
"mime-types": "^2.1.35",
|
||||||
"mkdirp": "^1.0.4",
|
"mkdirp": "^1.0.4",
|
||||||
"negotiator": "^0.6.3",
|
"negotiator": "^0.6.3",
|
||||||
"node-fetch": "^3.2.10",
|
"node-fetch": "^3.3.1",
|
||||||
"pg": "^8.8.0",
|
"pg": "^8.11.0",
|
||||||
"pluralize": "^8.0.0",
|
"pluralize": "^8.0.0",
|
||||||
"pug": "^3.0.2",
|
"pug": "^3.0.2",
|
||||||
"reflect-metadata": "^0.1.13",
|
"reflect-metadata": "^0.1.13",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"sqlite": "^4.1.2",
|
"sqlite": "^4.2.1",
|
||||||
"sqlite3": "^5.1.1",
|
"sqlite3": "^5.1.6",
|
||||||
"ssh2": "^1.11.0",
|
"ssh2": "^1.13.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"typescript": "^4.8.4",
|
"typescript": "^4.9.5",
|
||||||
"uuid": "^8.3.2",
|
"uuid": "^8.3.2",
|
||||||
"ws": "^8.9.0",
|
"ws": "^8.13.0",
|
||||||
"zod": "^3.11.6"
|
"zod": "^3.21.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'",
|
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register 'tests/**/*.ts'",
|
||||||
@ -73,18 +73,19 @@
|
|||||||
"author": "garrettmills <shout@garrettmills.dev>",
|
"author": "garrettmills <shout@garrettmills.dev>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@knodes/typedoc-plugin-pages": "^0.23.1",
|
"@knodes/typedoc-plugin-pages": "^0.23.4",
|
||||||
"@types/chai": "^4.3.3",
|
"@types/chai": "^4.3.5",
|
||||||
"@types/mocha": "^9.0.0",
|
"@types/mocha": "^9.1.1",
|
||||||
"@types/sinon": "^10.0.13",
|
"@types/sinon": "^10.0.15",
|
||||||
"@types/wtfnode": "^0.7.0",
|
"@types/wtfnode": "^0.7.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.38.1",
|
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
||||||
"@typescript-eslint/parser": "^5.38.1",
|
"@typescript-eslint/parser": "^5.59.11",
|
||||||
"chai": "^4.3.6",
|
"chai": "^4.3.7",
|
||||||
"eslint": "^8.24.0",
|
"eslint": "^8.42.0",
|
||||||
"mocha": "^9.1.3",
|
"lunr": "^2.3.0",
|
||||||
|
"mocha": "^9.2.2",
|
||||||
"sinon": "^12.0.1",
|
"sinon": "^12.0.1",
|
||||||
"typedoc": "^0.23.21",
|
"typedoc": "^0.23.28",
|
||||||
"wtfnode": "^0.9.1"
|
"wtfnode": "^0.9.1"
|
||||||
},
|
},
|
||||||
"extollo": {
|
"extollo": {
|
||||||
|
985
pnpm-lock.yaml
985
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
@ -68,7 +68,7 @@ export class WebsocketServer extends Unit {
|
|||||||
|
|
||||||
// Start the websocket server
|
// Start the websocket server
|
||||||
this.logging.info('Starting WebSocket server...')
|
this.logging.info('Starting WebSocket server...')
|
||||||
this.server = new WebSocket.Server<WebSocket.WebSocket>({
|
this.server = new WebSocket.Server<typeof WebSocket.WebSocket>({
|
||||||
server: this.http.getServer(),
|
server: this.http.getServer(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ export type ParameterizedCallback<T> = ((arg: T) => any)
|
|||||||
export type KeyValue<T> = {key: string, value: T}
|
export type KeyValue<T> = {key: string, value: T}
|
||||||
|
|
||||||
/** Simple helper method to verify that a key is a keyof some object. */
|
/** Simple helper method to verify that a key is a keyof some object. */
|
||||||
export function isKeyof<T>(key: unknown, obj: T): key is keyof T {
|
export function isKeyof<T extends object>(key: unknown, obj: T): key is keyof T {
|
||||||
if ( typeof key !== 'string' && typeof key !== 'symbol' ) {
|
if ( typeof key !== 'string' && typeof key !== 'symbol' ) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user