mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Update devdependencies
This commit is contained in:
parent
15e756efc1
commit
deea184975
6639
package-lock.json
generated
6639
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
42
package.json
42
package.json
@ -90,6 +90,7 @@
|
||||
"@types/async-lock": "^1.1.5",
|
||||
"@types/bcryptjs": "^2.4.2",
|
||||
"@types/cors": "^2.8.12",
|
||||
"@types/ejs": "^3.1.1",
|
||||
"@types/end-of-stream": "^1.4.1",
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/lodash.orderby": "^4.6.7",
|
||||
@ -142,22 +143,21 @@
|
||||
"yargs": "^17.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^16.2.4",
|
||||
"@commitlint/config-conventional": "^16.2.4",
|
||||
"@inrupt/solid-client-authn-core": "^1.11.5",
|
||||
"@inrupt/solid-client-authn-node": "^1.11.5",
|
||||
"@microsoft/tsdoc-config": "^0.15.2",
|
||||
"@commitlint/cli": "^17.0.3",
|
||||
"@commitlint/config-conventional": "^17.0.3",
|
||||
"@inrupt/solid-client-authn-core": "^1.12.2",
|
||||
"@inrupt/solid-client-authn-node": "^1.12.2",
|
||||
"@microsoft/tsdoc-config": "^0.16.1",
|
||||
"@tsconfig/node12": "^1.0.9",
|
||||
"@types/cheerio": "^0.22.30",
|
||||
"@types/ejs": "^3.1.0",
|
||||
"@types/jest": "^27.4.0",
|
||||
"@types/cheerio": "^0.22.31",
|
||||
"@types/jest": "^27.5.2",
|
||||
"@types/set-cookie-parser": "^2.4.2",
|
||||
"@types/supertest": "^2.0.11",
|
||||
"@types/supertest": "^2.0.12",
|
||||
"@typescript-eslint/eslint-plugin": "^5.3.0",
|
||||
"@typescript-eslint/parser": "^5.3.0",
|
||||
"cheerio": "^1.0.0-rc.10",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"componentsjs-generator": "^2.6.1",
|
||||
"eslint": "^8.8.0",
|
||||
"eslint": "^8.21.0",
|
||||
"eslint-config-es": "4.1.0",
|
||||
"eslint-import-resolver-typescript": "^2.5.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
@ -167,17 +167,17 @@
|
||||
"eslint-plugin-unicorn": "^37.0.1",
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"husky": "^4.3.8",
|
||||
"jest": "^27.4.7",
|
||||
"jest": "^27.5.1",
|
||||
"jest-rdf": "^1.7.0",
|
||||
"node-mocks-http": "^1.11.0",
|
||||
"nodemon": "^2.0.15",
|
||||
"set-cookie-parser": "^2.4.8",
|
||||
"simple-git": "^3.7.1",
|
||||
"standard-version": "^9.3.2",
|
||||
"supertest": "^6.2.2",
|
||||
"ts-jest": "^27.1.3",
|
||||
"ts-node": "^10.7.0",
|
||||
"typedoc": "^0.22.11",
|
||||
"typescript": "^4.5.5"
|
||||
"nodemon": "^2.0.19",
|
||||
"set-cookie-parser": "^2.5.1",
|
||||
"simple-git": "^3.11.0",
|
||||
"standard-version": "^9.5.0",
|
||||
"supertest": "^6.2.4",
|
||||
"ts-jest": "^27.1.5",
|
||||
"ts-node": "^10.9.1",
|
||||
"typedoc": "^0.23.10",
|
||||
"typescript": "^4.7.4"
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,8 @@ const guardedTimeout = Symbol('guardedTimeout');
|
||||
|
||||
// Private fields for guarded streams
|
||||
class Guard {
|
||||
private [guardedErrors]: Error[];
|
||||
// Workaround for the fact that we don't initialize this variable as expected
|
||||
declare private [guardedErrors]: Error[];
|
||||
private [guardedTimeout]?: NodeJS.Timeout;
|
||||
}
|
||||
|
||||
@ -20,7 +21,7 @@ class Guard {
|
||||
export type Guarded<T extends NodeJS.EventEmitter = NodeJS.EventEmitter> = T & Guard;
|
||||
|
||||
/**
|
||||
* Determines whether the stream is guarded from emitting errors.
|
||||
* Determines whether the stream is guarded against emitting errors.
|
||||
*/
|
||||
export function isGuarded<T extends NodeJS.EventEmitter>(stream: T): stream is Guarded<T> {
|
||||
return typeof (stream as any)[guardedErrors] === 'object';
|
||||
|
Loading…
x
Reference in New Issue
Block a user