From e40435d2695c3cac89c616a70e601cd96dbaa80c Mon Sep 17 00:00:00 2001 From: mixmix Date: Thu, 3 Oct 2024 10:40:40 +1300 Subject: [PATCH] fixups --- package.json | 4 ++-- src/keys/index.ts | 2 +- yarn.lock | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 4e68c6ec..4d98aa1f 100644 --- a/package.json +++ b/package.json @@ -108,11 +108,11 @@ "@entropyxyz/entropy-protocol-nodejs": "^0.2.0", "@entropyxyz/entropy-protocol-web": "^0.2.0", "@polkadot/api": "^10.13.1", - "@types/lodash-es": "^4.17.12", + "@types/lodash.clonedeep": "^4.5.9", "@types/node": "^20.12.12", "debug": "^4.3.4", "hpke-js": "^1.2.7", - "lodash-es": "^4.17.21", + "lodash.clonedeep": "^4.5.0", "uuid": "^9.0.1", "xtend": "^4.0.2" }, diff --git a/src/keys/index.ts b/src/keys/index.ts index ab0f301b..c1a6098f 100644 --- a/src/keys/index.ts +++ b/src/keys/index.ts @@ -1,5 +1,5 @@ import EventEmitter from 'node:events' -import { cloneDeep } from 'lodash-es' +import { default as cloneDeep } from 'lodash.clonedeep' import * as utils from './utils' import { EntropyAccount, KeyMaterial, PairMaterial } from './types/json' import { diff --git a/yarn.lock b/yarn.lock index efeff809..2cf9d72c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1105,10 +1105,10 @@ resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== -"@types/lodash-es@^4.17.12": - version "4.17.12" - resolved "https://registry.yarnpkg.com/@types/lodash-es/-/lodash-es-4.17.12.tgz#65f6d1e5f80539aa7cfbfc962de5def0cf4f341b" - integrity sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ== +"@types/lodash.clonedeep@^4.5.9": + version "4.5.9" + resolved "https://registry.yarnpkg.com/@types/lodash.clonedeep/-/lodash.clonedeep-4.5.9.tgz#ea48276c7cc18d080e00bb56cf965bcceb3f0fc1" + integrity sha512-19429mWC+FyaAhOLzsS8kZUsI+/GmBAQ0HFiCPsKGU+7pBXOQWhyrY6xNNDwUSX8SMZMJvuFVMF9O5dQOlQK9Q== dependencies: "@types/lodash" "*" @@ -3343,10 +3343,10 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash-es@^4.17.21: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee" - integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw== +lodash.clonedeep@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" + integrity sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ== lodash.flattendeep@^4.4.0: version "4.4.0"