mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
refactor: update all
This commit is contained in:
committed by
Rainer Killinger
parent
31acec2a05
commit
ff9fb49deb
3169
package-lock.json
generated
3169
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
58
package.json
58
package.json
@@ -32,62 +32,62 @@
|
|||||||
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@elastic/elasticsearch": "5.6.20",
|
"@elastic/elasticsearch": "5.6.22",
|
||||||
"@openstapps/core": "0.42.0",
|
"@openstapps/core": "0.42.0",
|
||||||
"@openstapps/core-tools": "0.18.0",
|
"@openstapps/core-tools": "0.18.0",
|
||||||
"@openstapps/logger": "0.5.0",
|
"@openstapps/logger": "0.5.0",
|
||||||
"@types/node": "10.14.12",
|
"@types/node": "10.17.56",
|
||||||
"commander": "2.20.0",
|
"commander": "2.20.3",
|
||||||
"config": "3.1.0",
|
"config": "3.3.6",
|
||||||
"cors": "2.8.5",
|
"cors": "2.8.5",
|
||||||
"express": "4.17.1",
|
"express": "4.17.1",
|
||||||
"express-promise-router": "3.0.3",
|
"express-promise-router": "3.0.3",
|
||||||
"fs-extra": "8.0.1",
|
"fs-extra": "8.1.0",
|
||||||
"got": "9.6.0",
|
"got": "9.6.0",
|
||||||
"moment": "2.24.0",
|
"moment": "2.29.1",
|
||||||
"morgan": "1.9.1",
|
"morgan": "1.10.0",
|
||||||
"nock": "13.0.4",
|
"nock": "13.0.11",
|
||||||
"node-cache": "4.2.0",
|
"node-cache": "4.2.1",
|
||||||
"node-cron": "2.0.3",
|
"node-cron": "2.0.3",
|
||||||
"nodemailer": "6.2.1",
|
"nodemailer": "6.5.0",
|
||||||
"promise-queue": "2.2.5",
|
"promise-queue": "2.2.5",
|
||||||
"sanitize-filename": "1.6.3",
|
"sanitize-filename": "1.6.3",
|
||||||
"ts-node": "8.2.0",
|
"ts-node": "8.10.2",
|
||||||
"uuid": "3.3.2"
|
"uuid": "3.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/configuration": "0.26.0",
|
"@openstapps/configuration": "0.26.0",
|
||||||
"@testdeck/mocha": "0.1.2",
|
"@testdeck/mocha": "0.1.2",
|
||||||
"@types/chai": "4.2.14",
|
"@types/chai": "4.2.15",
|
||||||
"@types/chai-as-promised": "7.1.3",
|
"@types/chai-as-promised": "7.1.3",
|
||||||
"@types/config": "0.0.34",
|
"@types/config": "0.0.38",
|
||||||
"@types/cors": "2.8.5",
|
"@types/cors": "2.8.10",
|
||||||
"@types/elasticsearch": "5.0.35",
|
"@types/elasticsearch": "5.0.37",
|
||||||
"@types/express": "4.17.0",
|
"@types/express": "4.17.11",
|
||||||
"@types/fs-extra": "7.0.0",
|
"@types/fs-extra": "7.0.0",
|
||||||
"@types/got": "9.4.4",
|
"@types/got": "9.6.11",
|
||||||
"@types/mocha": "8.0.3",
|
"@types/mocha": "8.2.2",
|
||||||
"@types/morgan": "1.7.35",
|
"@types/morgan": "1.9.2",
|
||||||
"@types/nock": "10.0.3",
|
"@types/nock": "10.0.3",
|
||||||
"@types/node-cache": "4.1.3",
|
"@types/node-cache": "4.1.3",
|
||||||
"@types/node-cron": "2.0.2",
|
"@types/node-cron": "2.0.3",
|
||||||
"@types/nodemailer": "6.2.0",
|
"@types/nodemailer": "6.4.1",
|
||||||
"@types/promise-queue": "2.2.0",
|
"@types/promise-queue": "2.2.0",
|
||||||
"@types/sinon-express-mock": "1.3.9",
|
"@types/sinon-express-mock": "1.3.9",
|
||||||
"@types/supertest": "2.0.10",
|
"@types/supertest": "2.0.10",
|
||||||
"@types/uuid": "3.4.5",
|
"@types/uuid": "3.4.9",
|
||||||
"chai": "4.2.0",
|
"chai": "4.3.4",
|
||||||
"chai-as-promised": "7.1.1",
|
"chai-as-promised": "7.1.1",
|
||||||
"conventional-changelog-cli": "2.0.21",
|
"conventional-changelog-cli": "2.1.1",
|
||||||
"get-port": "5.1.1",
|
"get-port": "5.1.1",
|
||||||
"mocha": "8.2.1",
|
"mocha": "8.3.2",
|
||||||
"mocked-env": "1.3.2",
|
"mocked-env": "1.3.2",
|
||||||
"nyc": "15.1.0",
|
"nyc": "15.1.0",
|
||||||
"prepend-file-cli": "1.0.6",
|
"prepend-file-cli": "1.0.6",
|
||||||
"rimraf": "2.6.3",
|
"rimraf": "2.7.1",
|
||||||
"sinon": "9.2.1",
|
"sinon": "9.2.4",
|
||||||
"sinon-express-mock": "2.2.1",
|
"sinon-express-mock": "2.2.1",
|
||||||
"supertest": "6.0.0",
|
"supertest": "6.1.3",
|
||||||
"tslint": "6.1.3",
|
"tslint": "6.1.3",
|
||||||
"typedoc": "0.18.0",
|
"typedoc": "0.18.0",
|
||||||
"typescript": "3.8.3"
|
"typescript": "3.8.3"
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ export async function configureApp(app: Express, databases: {[name: string]: Dat
|
|||||||
// TODO: See if it can handle options request with no content-type
|
// TODO: See if it can handle options request with no content-type
|
||||||
|
|
||||||
// allow cors preflight requests on every route
|
// allow cors preflight requests on every route
|
||||||
app.options('*', cors(corsOptions));
|
app.options('*', [cors(corsOptions)]);
|
||||||
|
|
||||||
// only accept json as content type for all requests
|
// only accept json as content type for all requests
|
||||||
app.use((req, res, next) => {
|
app.use((req, res, next) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user