mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-11 08:46:16 +00:00
refactor: update dependencies
This commit is contained in:
877
package-lock.json
generated
877
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@@ -17,8 +17,8 @@
|
||||
"description": "Node.js library to interact with the StApps backend service",
|
||||
"dependencies": {
|
||||
"@krlwlfrt/async-pool": "0.7.0",
|
||||
"@openstapps/core": "0.63.0",
|
||||
"@openstapps/core-tools": "0.29.0",
|
||||
"@openstapps/core": "0.65.1",
|
||||
"@openstapps/core-tools": "0.30.0",
|
||||
"@openstapps/logger": "0.8.0",
|
||||
"@types/cli-progress": "3.9.2",
|
||||
"@types/express": "4.17.13",
|
||||
@@ -27,15 +27,15 @@
|
||||
"@types/traverse": "0.6.32",
|
||||
"@types/uuid": "8.3.4",
|
||||
"@types/wait-on": "5.3.1",
|
||||
"body-parser": "1.19.2",
|
||||
"body-parser": "1.20.0",
|
||||
"cli-progress": "3.10.0",
|
||||
"commander": "8.3.0",
|
||||
"express": "4.17.3",
|
||||
"fast-clone": "1.5.13",
|
||||
"got": "11.8.3",
|
||||
"json-schema": "0.4.0",
|
||||
"moment": "2.29.1",
|
||||
"moment": "2.29.2",
|
||||
"morgan": "1.10.0",
|
||||
"rfdc": "1.3.0",
|
||||
"traverse": "0.6.6",
|
||||
"uuid": "8.3.2",
|
||||
"wait-on": "6.0.1"
|
||||
@@ -48,7 +48,7 @@
|
||||
"@types/chai-as-promised": "7.1.5",
|
||||
"@types/chai-spies": "1.0.3",
|
||||
"@types/fs-extra": "9.0.13",
|
||||
"@types/json-schema": "7.0.10",
|
||||
"@types/json-schema": "7.0.11",
|
||||
"@types/mocha": "9.1.0",
|
||||
"chai": "4.3.6",
|
||||
"chai-as-promised": "7.1.1",
|
||||
@@ -62,7 +62,7 @@
|
||||
"rimraf": "3.0.2",
|
||||
"ts-node": "10.7.0",
|
||||
"tslint": "6.1.3",
|
||||
"typedoc": "0.22.11",
|
||||
"typedoc": "0.22.13",
|
||||
"typescript": "3.9.10"
|
||||
},
|
||||
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
|
||||
@@ -76,7 +76,7 @@
|
||||
"Wieland Schöbl <wulkanat@gmail.com>"
|
||||
],
|
||||
"peerDependencies": {
|
||||
"@openstapps/core": "~0.63.0"
|
||||
"@openstapps/core": "~0.65.1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@@ -25,8 +25,8 @@ import {
|
||||
SCThingUpdateResponse,
|
||||
SCThingUpdateRoute,
|
||||
} from '@openstapps/core';
|
||||
import clone = require('fast-clone');
|
||||
import moment from 'moment';
|
||||
import clone = require('rfdc');
|
||||
import {v5} from 'uuid';
|
||||
import {Bulk} from './bulk';
|
||||
import {Client} from './client';
|
||||
@@ -82,7 +82,7 @@ export class ConnectorClient extends Client {
|
||||
static removeReferences<THING extends SCThings>(thing: THING): SCAssociatedThingWithoutReferences<THING> {
|
||||
|
||||
// tslint:disable-next-line:no-any
|
||||
const thingWithoutReferences = clone<any>(thing);
|
||||
const thingWithoutReferences = clone()<any>(thing);
|
||||
|
||||
delete thingWithoutReferences.origin;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import chai from 'chai';
|
||||
import {expect} from 'chai';
|
||||
import chaiAsPromised from 'chai-as-promised';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import clone = require('fast-clone');
|
||||
import clone = require('rfdc');
|
||||
import {readdir, readFile} from 'fs';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
import moment from 'moment';
|
||||
@@ -376,7 +376,7 @@ export class ConnectorClientSpec {
|
||||
|
||||
for (const testInstance of testInstances) {
|
||||
|
||||
const checkInstance = clone(testInstance);
|
||||
const checkInstance = clone()(testInstance);
|
||||
const testInstanceWithoutReferences = ConnectorClient.removeReferences(testInstance);
|
||||
|
||||
expect(doesContainThings(testInstanceWithoutReferences)).to.be
|
||||
|
||||
@@ -29,7 +29,7 @@ import {
|
||||
import chai from 'chai';
|
||||
import chaiAsPromised from 'chai-as-promised';
|
||||
import chaiSpies from 'chai-spies';
|
||||
import clone = require('fast-clone');
|
||||
import clone = require('rfdc');
|
||||
import {existsSync, mkdirSync, rmdirSync, unlinkSync} from 'fs';
|
||||
import {createFileSync} from 'fs-extra';
|
||||
import {suite, test} from '@testdeck/mocha';
|
||||
@@ -93,7 +93,7 @@ export class E2EConnectorSpec {
|
||||
}
|
||||
|
||||
if (request.url.toString() === `http://localhost${bulkAddRoute.getUrlPath({UID: 'foo'}).toString()}`) {
|
||||
storedThings.set(request.body.uid, clone(request.body));
|
||||
storedThings.set(request.body.uid, clone()(request.body));
|
||||
|
||||
return {
|
||||
body: {},
|
||||
|
||||
Reference in New Issue
Block a user