Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 7 additions & 71 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Dash = require('dash');

const clone = require('lodash.clone');
const clone = require('lodash/clone');

const fundWallet = require('@dashevo/wallet-lib/src/utils/fundWallet');

Expand Down
2 changes: 1 addition & 1 deletion packages/bench-suite/lib/metrics/Match.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashMatches = require('lodash.matches');
const lodashMatches = require('lodash/matches');

class Match {
/**
Expand Down
3 changes: 1 addition & 2 deletions packages/bench-suite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"console-table-printer": "^2.11.0",
"dash": "workspace:*",
"dotenv-safe": "^8.2.0",
"lodash.clone": "~4.5.0",
"lodash.matches": "^4.6.0",
"lodash": "^4.17.21",
"mathjs": "^10.4.3",
"mocha": "^9.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/dapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"dotenv-safe": "^8.2.0",
"google-protobuf": "^3.12.2",
"jayson": "^3.3.4",
"lodash": "^4.17.19",
"lodash": "^4.17.21",
"lru-cache": "^5.1.1",
"ws": "^7.5.3",
"zeromq": "^5.2.8"
Expand Down
4 changes: 2 additions & 2 deletions packages/dashmate/configs/migrations.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-param-reassign */
const lodashSet = require('lodash.set');
const lodashGet = require('lodash.get');
const lodashSet = require('lodash/set');
const lodashGet = require('lodash/get');

const systemConfigs = require('./system');

Expand Down
2 changes: 1 addition & 1 deletion packages/dashmate/configs/system/local.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashMerge = require('lodash.merge');
const lodashMerge = require('lodash/merge');

const {
NETWORK_LOCAL,
Expand Down
2 changes: 1 addition & 1 deletion packages/dashmate/configs/system/mainnet.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashMerge = require('lodash.merge');
const lodashMerge = require('lodash/merge');

const {
NETWORK_MAINNET,
Expand Down
2 changes: 1 addition & 1 deletion packages/dashmate/configs/system/testnet.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashMerge = require('lodash.merge');
const lodashMerge = require('lodash/merge');
const path = require('path');

const {
Expand Down
6 changes: 1 addition & 5 deletions packages/dashmate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,7 @@
"hasbin": "^1.2.3",
"jayson": "^3.3.4",
"listr2": "3.5.0",
"lodash.clonedeep": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.isequal": "^4.5.0",
"lodash.merge": "^4.6.2",
"lodash.set": "^4.3.2",
"lodash": "^4.17.21",
"memory-streams": "^0.1.3",
"node-fetch": "^2.6.1",
"node-forge": "^1.3.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/dashmate/src/config/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ const Ajv = require('ajv');

const nodePath = require('path');

const lodashGet = require('lodash.get');
const lodashSet = require('lodash.set');
const lodashCloneDeep = require('lodash.clonedeep');
const lodashGet = require('lodash/get');
const lodashSet = require('lodash/set');
const lodashCloneDeep = require('lodash/cloneDeep');

const addFormats = require('ajv-formats');
const configJsonSchema = require('../../configs/schema/configJsonSchema');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const isEqual = require('lodash.isequal');
const isEqual = require('lodash/isEqual');

/**
* @param {CoreService[]} coreServices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { Listr } = require('listr2');
const isEqual = require('lodash.isequal');
const isEqual = require('lodash/isEqual');

const wait = require('../../../../util/wait');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const sample = require('lodash.sample');
const sample = require('lodash/sample');
const networks = require('@dashevo/dashcore-lib/lib/networks');

class ListDAPIAddressProvider {
Expand Down
2 changes: 1 addition & 1 deletion packages/js-dapi-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"axios": "^0.27.2",
"bs58": "^4.0.1",
"cbor": "^8.0.0",
"lodash.sample": "^4.2.1",
"lodash": "^4.17.21",
"node-inspect-extracted": "^1.0.8"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashCloneDeep = require('lodash.clonedeep');
const lodashCloneDeep = require('lodash/cloneDeep');

const DataContract = require('./DataContract');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashClone = require('lodash.clonedeep');
const lodashClone = require('lodash/cloneDeep');

const convertBuffersToArrays = require('../../../../../util/convertBuffersToArrays');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashGet = require('lodash.get');
const lodashGet = require('lodash/get');

const DataContractHaveNewUniqueIndexError = require('../../../../../errors/consensus/basic/dataContract/DataContractHaveNewUniqueIndexError');
const DataContractUniqueIndicesChangedError = require('../../../../../errors/consensus/basic/dataContract/DataContractUniqueIndicesChangedError');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashCloneDeep = require('lodash.clonedeep');
const lodashCloneDeep = require('lodash/cloneDeep');
const ValidationResult = require('../../validation/ValidationResult');
const DataContractMaxDepthExceedError = require('../../errors/consensus/basic/dataContract/DataContractMaxDepthExceedError');
const InvalidJsonSchemaRefError = require('../../errors/consensus/basic/dataContract/InvalidJsonSchemaRefError');
Expand Down
6 changes: 3 additions & 3 deletions packages/js-dpp/lib/document/Document.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const lodashGet = require('lodash.get');
const lodashSet = require('lodash.set');
const lodashCloneDeepWith = require('lodash.clonedeepwith');
const lodashGet = require('lodash/get');
const lodashSet = require('lodash/set');
const lodashCloneDeepWith = require('lodash/cloneDeepWith');

const cloneDeepWithIdentifiers = require('../util/cloneDeepWithIdentifiers');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const lodashCloneDeepWith = require('lodash.clonedeepwith');
const lodashGet = require('lodash.get');
const lodashSet = require('lodash.set');
const lodashCloneDeepWith = require('lodash/cloneDeepWith');
const lodashGet = require('lodash/get');
const lodashSet = require('lodash/set');

const cloneDeepWithIdentifiers = require('../../../../util/cloneDeepWithIdentifiers');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashGet = require('lodash.get');
const lodashGet = require('lodash/get');

const Identifier = require('../../../../identifier/Identifier');

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashGet = require('lodash.get');
const lodashGet = require('lodash/get');

const ValidationResult = require('../../../../../validation/ValidationResult');

Expand Down
2 changes: 1 addition & 1 deletion packages/js-dpp/lib/util/cloneDeepWithIdentifiers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashCloneDeepWith = require('lodash.clonedeepwith');
const lodashCloneDeepWith = require('lodash/cloneDeepWith');
const Identifier = require('../identifier/Identifier');

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/js-dpp/lib/util/convertBuffersToArrays.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashCloneDeepWith = require('lodash.clonedeepwith');
const lodashCloneDeepWith = require('lodash/cloneDeepWith');

/**
* Clone data which contains Identifiers
Expand Down
5 changes: 1 addition & 4 deletions packages/js-dpp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,7 @@
"fast-json-patch": "^3.1.0",
"json-schema-diff-validator": "^0.4.1",
"json-schema-traverse": "^1.0.0",
"lodash.clonedeep": "^4.5.0",
"lodash.clonedeepwith": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"lodash": "^4.17.21",
"long": "^5.2.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const lodashClone = require('lodash.clonedeep');
const lodashClone = require('lodash/cloneDeep');

const jsonPatch = require('fast-json-patch');
const jsonSchemaDiffValidator = require('json-schema-diff-validator');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { getRE2Class } = require('@dashevo/wasm-re2');
const lodashCloneDeep = require('lodash.clonedeep');
const lodashCloneDeep = require('lodash/cloneDeep');

const $RefParser = require('@apidevtools/json-schema-ref-parser');

Expand Down
2 changes: 1 addition & 1 deletion packages/js-drive/lib/document/DocumentRepository.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { createHash } = require('crypto');

const lodashCloneDeep = require('lodash.clonedeep');
const lodashCloneDeep = require('lodash/cloneDeep');

const PreCalculatedOperation = require('@dashevo/dpp/lib/stateTransition/fee/operations/PreCalculatedOperation');
const DummyFeeResult = require('@dashevo/dpp/lib/stateTransition/fee/DummyFeeResult');
Expand Down
4 changes: 1 addition & 3 deletions packages/js-drive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@
"dotenv-safe": "^8.2.0",
"find-my-way": "^2.2.2",
"js-merkle": "^0.1.5",
"lodash.clonedeep": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"lodash": "^4.17.21",
"long": "^5.2.0",
"node-graceful": "^3.0.1",
"pino": "^6.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-grpc-common/lib/loadPackageDefinition.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const grpc = require('@grpc/grpc-js');
const protoLoader = require('@grpc/proto-loader');

const lodashGet = require('lodash.get');
const lodashGet = require('lodash/get');

/**
* Load GRPC package definition
Expand Down
2 changes: 1 addition & 1 deletion packages/js-grpc-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@grpc/grpc-js": "^1.3.7",
"@grpc/proto-loader": "^0.5.2",
"cbor": "^8.0.0",
"lodash.get": "^4.4.2",
"lodash": "^4.17.21",
"long": "^5.2.0",
"semver": "^7.3.2"
}
Expand Down
Loading