mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
refactor: swap out jsonschema package for json-schema
This commit is contained in:
committed by
Rainer Killinger
parent
006bbebe60
commit
9f4350eea7
2166
package-lock.json
generated
2166
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
@@ -33,8 +33,8 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@elastic/elasticsearch": "5.6.20",
|
"@elastic/elasticsearch": "5.6.20",
|
||||||
"@openstapps/core": "0.34.0",
|
"@openstapps/core": "0.38.0",
|
||||||
"@openstapps/core-tools": "0.14.0",
|
"@openstapps/core-tools": "0.16.0",
|
||||||
"@openstapps/logger": "0.5.0",
|
"@openstapps/logger": "0.5.0",
|
||||||
"@types/node": "10.14.12",
|
"@types/node": "10.14.12",
|
||||||
"commander": "2.20.0",
|
"commander": "2.20.0",
|
||||||
@@ -44,7 +44,6 @@
|
|||||||
"express-promise-router": "3.0.3",
|
"express-promise-router": "3.0.3",
|
||||||
"fs-extra": "8.0.1",
|
"fs-extra": "8.0.1",
|
||||||
"got": "9.6.0",
|
"got": "9.6.0",
|
||||||
"jsonschema": "1.2.5",
|
|
||||||
"moment": "2.24.0",
|
"moment": "2.24.0",
|
||||||
"morgan": "1.9.1",
|
"morgan": "1.9.1",
|
||||||
"nock": "10.0.6",
|
"nock": "10.0.6",
|
||||||
@@ -57,7 +56,7 @@
|
|||||||
"uuid": "3.3.2"
|
"uuid": "3.3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/configuration": "0.24.0",
|
"@openstapps/configuration": "0.25.0",
|
||||||
"@types/chai": "4.1.7",
|
"@types/chai": "4.1.7",
|
||||||
"@types/chai-as-promised": "7.1.0",
|
"@types/chai-as-promised": "7.1.0",
|
||||||
"@types/config": "0.0.34",
|
"@types/config": "0.0.34",
|
||||||
@@ -86,8 +85,8 @@
|
|||||||
"sinon": "7.3.2",
|
"sinon": "7.3.2",
|
||||||
"sinon-express-mock": "2.2.0",
|
"sinon-express-mock": "2.2.0",
|
||||||
"supertest": "4.0.2",
|
"supertest": "4.0.2",
|
||||||
"tslint": "6.0.0",
|
"tslint": "6.1.3",
|
||||||
"typedoc": "0.16.7",
|
"typedoc": "0.18.0",
|
||||||
"typescript": "3.5.3"
|
"typescript": "3.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ import {
|
|||||||
SCRoute,
|
SCRoute,
|
||||||
SCValidationErrorResponse,
|
SCValidationErrorResponse,
|
||||||
} from '@openstapps/core';
|
} from '@openstapps/core';
|
||||||
|
import {ValidationError} from '@openstapps/core-tools/lib/common';
|
||||||
import {Logger} from '@openstapps/logger';
|
import {Logger} from '@openstapps/logger';
|
||||||
import {Application, Router} from 'express';
|
import {Application, Router} from 'express';
|
||||||
import PromiseRouter from 'express-promise-router';
|
import PromiseRouter from 'express-promise-router';
|
||||||
import {ValidationError} from 'jsonschema';
|
|
||||||
import {isTestEnvironment, validator} from '../common';
|
import {isTestEnvironment, validator} from '../common';
|
||||||
import {isHttpMethod} from './http-types';
|
import {isHttpMethod} from './http-types';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user