refactor: update dependencies

This commit is contained in:
Rainer Killinger
2022-04-04 21:33:14 +02:00
parent 8962da31a3
commit 1748ba3825
5 changed files with 502 additions and 403 deletions

View File

@@ -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;