mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 01:22:54 +00:00
build: update dependencies
This commit is contained in:
4071
package-lock.json
generated
4071
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
60
package.json
60
package.json
@@ -11,31 +11,31 @@
|
||||
"prepublishOnly": "npm ci && npm run build",
|
||||
"preversion": "npm run prepublishOnly",
|
||||
"push": "git push && git push origin \"v$npm_package_version\"",
|
||||
"test": "nyc mocha --require ts-node/register --ui mocha-typescript --recursive 'test/*.spec.ts'",
|
||||
"test": "nyc mocha --require ts-node/register --recursive 'test/*.spec.ts'",
|
||||
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
|
||||
},
|
||||
"description": "Node.js library to interact with the StApps backend service",
|
||||
"dependencies": {
|
||||
"@krlwlfrt/async-pool": "0.3.0",
|
||||
"@openstapps/core": "0.34.0",
|
||||
"@openstapps/core-tools": "0.14.0",
|
||||
"@krlwlfrt/async-pool": "0.4.1",
|
||||
"@openstapps/core": "0.38.1",
|
||||
"@openstapps/core-tools": "0.16.0",
|
||||
"@openstapps/logger": "0.5.0",
|
||||
"@types/cli-progress": "1.8.1",
|
||||
"@types/express": "4.16.1",
|
||||
"@types/morgan": "1.9.0",
|
||||
"@types/node": "10.17.14",
|
||||
"@types/request": "2.48.4",
|
||||
"@types/cli-progress": "3.8.0",
|
||||
"@types/express": "4.17.8",
|
||||
"@types/morgan": "1.9.2",
|
||||
"@types/node": "10.17.44",
|
||||
"@types/request": "2.48.5",
|
||||
"@types/traverse": "0.6.32",
|
||||
"@types/uuid": "3.4.7",
|
||||
"@types/wait-on": "4.0.0",
|
||||
"body-parser": "1.19.0",
|
||||
"cli-progress": "3.6.0",
|
||||
"commander": "5.0.0-3",
|
||||
"express": "4.16.4",
|
||||
"cli-progress": "3.8.2",
|
||||
"commander": "6.2.0",
|
||||
"express": "4.17.1",
|
||||
"fast-clone": "1.5.13",
|
||||
"jsonschema": "1.2.5",
|
||||
"moment": "2.24.0",
|
||||
"morgan": "1.9.1",
|
||||
"json-schema": "0.2.5",
|
||||
"moment": "2.29.1",
|
||||
"morgan": "1.10.0",
|
||||
"request": "2.88.2",
|
||||
"traverse": "0.6.6",
|
||||
"uuid": "3.4.0",
|
||||
@@ -43,28 +43,28 @@
|
||||
},
|
||||
"license": "GPL-3.0-only",
|
||||
"devDependencies": {
|
||||
"@openstapps/configuration": "0.24.0",
|
||||
"@types/chai": "4.2.11",
|
||||
"@types/chai-as-promised": "7.1.2",
|
||||
"@types/chai-spies": "1.0.1",
|
||||
"@types/fs-extra": "8.1.0",
|
||||
"@types/mocha": "5.2.7",
|
||||
"@openstapps/configuration": "0.25.0",
|
||||
"@testdeck/mocha": "0.1.2",
|
||||
"@types/chai": "4.2.13",
|
||||
"@types/chai-as-promised": "7.1.3",
|
||||
"@types/chai-spies": "1.0.2",
|
||||
"@types/fs-extra": "8.1.1",
|
||||
"@types/mocha": "8.0.3",
|
||||
"@types/nock": "10.0.3",
|
||||
"chai": "4.2.0",
|
||||
"chai-as-promised": "7.1.1",
|
||||
"chai-spies": "1.0.0",
|
||||
"conventional-changelog-cli": "2.0.31",
|
||||
"conventional-changelog-cli": "2.1.0",
|
||||
"fs-extra": "8.1.0",
|
||||
"mocha": "6.2.2",
|
||||
"mocha-typescript": "1.1.17",
|
||||
"mocha": "8.1.3",
|
||||
"nock": "10.0.6",
|
||||
"nyc": "14.1.1",
|
||||
"nyc": "15.1.0",
|
||||
"prepend-file-cli": "1.0.6",
|
||||
"rimraf": "3.0.2",
|
||||
"ts-node": "8.6.2",
|
||||
"tslint": "6.0.0",
|
||||
"typedoc": "0.16.11",
|
||||
"typescript": "3.7.5"
|
||||
"ts-node": "8.10.1",
|
||||
"tslint": "6.1.3",
|
||||
"typedoc": "0.18.0",
|
||||
"typescript": "3.8.3"
|
||||
},
|
||||
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
|
||||
"contributors": [
|
||||
@@ -77,7 +77,7 @@
|
||||
"Wieland Schöbl <wulkanat@gmail.com>"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"@openstapps/core": "~0.34.0"
|
||||
"@openstapps/core": "~0.38.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -19,7 +19,7 @@ import bodyParser from 'body-parser';
|
||||
import express from 'express';
|
||||
import * as http from 'http';
|
||||
import * as http2 from 'http2';
|
||||
import {Schema} from 'jsonschema';
|
||||
import {JSONSchema7} from 'json-schema';
|
||||
import morgan from 'morgan';
|
||||
import ErrnoException = NodeJS.ErrnoException;
|
||||
|
||||
@@ -63,11 +63,11 @@ export abstract class Plugin {
|
||||
/**
|
||||
* The schema of the request interfaces defined by the user
|
||||
*/
|
||||
public readonly requestSchema: Schema = {};
|
||||
public readonly requestSchema: JSONSchema7 = {};
|
||||
/**
|
||||
* The schema of the response interfaces defined by the user
|
||||
*/
|
||||
public readonly responseSchema: Schema = {};
|
||||
public readonly responseSchema: JSONSchema7 = {};
|
||||
|
||||
/**
|
||||
* Normalize a port into a number, string, or false.
|
||||
|
||||
@@ -17,7 +17,7 @@ import {expect} from 'chai';
|
||||
import chai from 'chai';
|
||||
import chaiAsPromised from 'chai-as-promised';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import {suite, test} from 'mocha-typescript';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import moment from 'moment';
|
||||
import {Bulk} from '../src/bulk';
|
||||
import {Client} from '../src/client';
|
||||
|
||||
@@ -31,7 +31,7 @@ import {expect} from 'chai';
|
||||
import chai from 'chai';
|
||||
import chaiAsPromised from 'chai-as-promised';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import {suite, test} from 'mocha-typescript';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import {Client} from '../src/client';
|
||||
import {ApiError, OutOfRangeError} from '../src/errors';
|
||||
import {HttpClient} from '../src/http-client';
|
||||
|
||||
@@ -34,7 +34,7 @@ import chaiAsPromised from 'chai-as-promised';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import clone = require('fast-clone');
|
||||
import {readdir, readFile} from 'fs';
|
||||
import {suite, test} from 'mocha-typescript';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import moment from 'moment';
|
||||
import {join, resolve} from 'path';
|
||||
import traverse from 'traverse';
|
||||
|
||||
@@ -27,7 +27,7 @@ import {
|
||||
import chai from 'chai';
|
||||
import chaiAsPromised from 'chai-as-promised';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import {suite, test} from 'mocha-typescript';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import moment from 'moment';
|
||||
import {copy} from '../src/copy';
|
||||
import {ApiError} from '../src/errors';
|
||||
|
||||
@@ -33,7 +33,7 @@ import chaiSpies from 'chai-spies';
|
||||
import clone = require('fast-clone');
|
||||
import {existsSync, mkdirSync, rmdirSync, unlinkSync} from 'fs';
|
||||
import {createFileSync} from 'fs-extra';
|
||||
import {suite, test} from 'mocha-typescript';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import {join} from 'path';
|
||||
import {e2eRun, getItemsFromSamples} from '../src/e2e';
|
||||
import {ApiError} from '../src/errors';
|
||||
|
||||
@@ -16,7 +16,7 @@ import chai from 'chai';
|
||||
import {expect} from 'chai';
|
||||
import chaiAsPromised from 'chai-as-promised';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import {suite, test} from 'mocha-typescript';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import {ApiError} from '../src/errors';
|
||||
|
||||
chai.should();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {expect} from 'chai';
|
||||
import {suite, test} from 'mocha-typescript';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import nock from 'nock';
|
||||
import {HttpClient} from '../src/http-client';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import {SCPluginRegisterRequest, SCPluginRegisterResponse, SCPluginRegisterRoute
|
||||
import chai from 'chai';
|
||||
import {expect} from 'chai';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import {suite, test, timeout} from 'mocha-typescript';
|
||||
import {suite, test, timeout} from '@testdeck/mocha';
|
||||
import {HttpClient} from '../src/http-client';
|
||||
import {HttpClientResponse} from '../src/http-client-interface';
|
||||
import {PluginClient} from '../src/plugin-client';
|
||||
|
||||
@@ -18,7 +18,7 @@ import chai from 'chai';
|
||||
import {expect} from 'chai';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import {readFileSync} from 'fs';
|
||||
import {suite, test, timeout} from 'mocha-typescript';
|
||||
import {suite, test, timeout} from '@testdeck/mocha';
|
||||
import {resolve} from 'path';
|
||||
import {HttpClient} from '../src/http-client';
|
||||
import {TestPlugin} from './TestPlugin';
|
||||
@@ -57,7 +57,7 @@ export class PluginSpec {
|
||||
const converter = new Converter(__dirname);
|
||||
|
||||
sandbox.on(converter, 'getSchema', (schemaName) => {
|
||||
return {id: schemaName};
|
||||
return {$id: schemaName};
|
||||
});
|
||||
|
||||
const constructTestPlugin = new TestPlugin(
|
||||
@@ -81,8 +81,8 @@ export class PluginSpec {
|
||||
// schemas are already covered, together with the directory and version
|
||||
// @ts-ignore active is private
|
||||
expect(constructTestPlugin.active).to.be.equal(false);
|
||||
expect(constructTestPlugin.requestSchema.id).to.be.equal('PluginTestRequest');
|
||||
expect(constructTestPlugin.responseSchema.id).to.be.equal('PluginTestResponse');
|
||||
expect(constructTestPlugin.requestSchema.$id).to.be.equal('PluginTestRequest');
|
||||
expect(constructTestPlugin.responseSchema.$id).to.be.equal('PluginTestResponse');
|
||||
|
||||
sandbox.on(constructTestPlugin, 'onRouteInvoke');
|
||||
await httpClient.request({
|
||||
|
||||
Reference in New Issue
Block a user