mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
refactor: update dependencies
This commit is contained in:
committed by
Jovan Krunić
parent
cb43171640
commit
fe90cd098a
791
package-lock.json
generated
791
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
29
package.json
29
package.json
@@ -52,7 +52,7 @@
|
|||||||
"commander": "8.1.0",
|
"commander": "8.1.0",
|
||||||
"deepmerge": "4.2.2",
|
"deepmerge": "4.2.2",
|
||||||
"del": "6.0.0",
|
"del": "6.0.0",
|
||||||
"eslint": "7.30.0",
|
"eslint": "7.32.0",
|
||||||
"flatted": "3.2.2",
|
"flatted": "3.2.2",
|
||||||
"fs-extra": "10.0.0",
|
"fs-extra": "10.0.0",
|
||||||
"glob": "7.1.7",
|
"glob": "7.1.7",
|
||||||
@@ -61,12 +61,12 @@
|
|||||||
"json-schema": "0.3.0",
|
"json-schema": "0.3.0",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"mustache": "4.2.0",
|
"mustache": "4.2.0",
|
||||||
"openapi-types": "9.1.0",
|
"openapi-types": "9.2.0",
|
||||||
"plantuml-encoder": "1.4.0",
|
"plantuml-encoder": "1.4.0",
|
||||||
"toposort": "2.0.2",
|
"toposort": "2.0.2",
|
||||||
"ts-json-schema-generator": "0.95.0",
|
"ts-json-schema-generator": "0.95.0",
|
||||||
"ts-node": "10.2.0",
|
"ts-node": "10.2.1",
|
||||||
"typescript": "4.3.5"
|
"typescript": "4.4.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/configuration": "0.27.0",
|
"@openstapps/configuration": "0.27.0",
|
||||||
@@ -76,21 +76,22 @@
|
|||||||
"@types/glob": "7.1.4",
|
"@types/glob": "7.1.4",
|
||||||
"@types/json-schema": "7.0.9",
|
"@types/json-schema": "7.0.9",
|
||||||
"@types/lodash": "4.14.172",
|
"@types/lodash": "4.14.172",
|
||||||
"@types/mocha": "8.2.3",
|
"@types/mocha": "9.0.0",
|
||||||
"@types/mustache": "4.1.2",
|
"@types/mustache": "4.1.2",
|
||||||
"@types/node": "14.17.9",
|
"@types/node": "14.17.12",
|
||||||
"@types/rimraf": "3.0.1",
|
"@types/rimraf": "3.0.2",
|
||||||
"@typescript-eslint/eslint-plugin": "4.3.0",
|
"@typescript-eslint/eslint-plugin": "4.29.3",
|
||||||
"@typescript-eslint/parser": "4.3.0",
|
"@typescript-eslint/parser": "4.29.3",
|
||||||
"conventional-changelog-cli": "2.1.1",
|
"conventional-changelog-cli": "2.1.1",
|
||||||
"eslint-config-prettier": "8.3.0",
|
"eslint-config-prettier": "8.3.0",
|
||||||
"eslint-plugin-jsdoc": "35.4.1",
|
"eslint-plugin-jsdoc": "36.0.8",
|
||||||
"eslint-plugin-prettier": "3.4.0",
|
"eslint-plugin-prettier": "3.4.1",
|
||||||
"eslint-plugin-unicorn": "34.0.1",
|
"eslint-plugin-unicorn": "35.0.0",
|
||||||
"mocha": "9.0.3",
|
"mocha": "9.1.1",
|
||||||
"nock": "13.1.1",
|
"nock": "13.1.3",
|
||||||
"prepend-file-cli": "1.0.6",
|
"prepend-file-cli": "1.0.6",
|
||||||
"prettier": "2.3.2",
|
"prettier": "2.3.2",
|
||||||
|
"rimraf": "3.0.2",
|
||||||
"typedoc": "0.21.9"
|
"typedoc": "0.21.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ async function deleteFileIfExistingAndPacked(path: string): Promise<void> {
|
|||||||
return unlinkPromisified(path);
|
return unlinkPromisified(path);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.code === 'ENOENT') {
|
if ((error as NodeJS.ErrnoException).code === 'ENOENT') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,7 +86,6 @@ export class Converter {
|
|||||||
|
|
||||||
if (isSchemaWithDefinitions(schema)) {
|
if (isSchemaWithDefinitions(schema)) {
|
||||||
const selfReference = {
|
const selfReference = {
|
||||||
...{},
|
|
||||||
...schema,
|
...schema,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -96,7 +95,6 @@ export class Converter {
|
|||||||
|
|
||||||
// add self reference to definitions
|
// add self reference to definitions
|
||||||
schema.definitions![`SC${type}`] = {
|
schema.definitions![`SC${type}`] = {
|
||||||
...{},
|
|
||||||
...(selfReference as unknown as Definition),
|
...(selfReference as unknown as Definition),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export class CreateDiagramSpec {
|
|||||||
new Error('getaddrinfo ENOTFOUND plantuml plantuml:8080').message,
|
new Error('getaddrinfo ENOTFOUND plantuml plantuml:8080').message,
|
||||||
new Error('getaddrinfo EAI_AGAIN plantuml plantuml:8080').message,
|
new Error('getaddrinfo EAI_AGAIN plantuml plantuml:8080').message,
|
||||||
new Error('getaddrinfo ENOTFOUND plantuml').message,
|
new Error('getaddrinfo ENOTFOUND plantuml').message,
|
||||||
]).to.include(error.message);
|
]).to.include((error as NodeJS.ErrnoException).message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ export class ValidateSpec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static after() {
|
static after() {
|
||||||
rimraf(tmpdir, (error: Error) => {
|
rimraf(tmpdir, error => {
|
||||||
// tslint:disable-next-line: no-unused-expression
|
// tslint:disable-next-line: no-unused-expression
|
||||||
expect(error, `Unable to remove temporary directory for tests at: ${tmpdir}`).to.be.null;
|
expect(error, `Unable to remove temporary directory for tests at: ${tmpdir}`).to.be.null;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user