Skip to content

Commit f25dae1

Browse files
committed
Merge branch 'rm-lodash-imports' of https://github.com/MicahMaphet/bitcore
2 parents 2d086c3 + 754824a commit f25dae1

File tree

15 files changed

+0
-16
lines changed

15 files changed

+0
-16
lines changed

packages/bitcore-client/src/encryption.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function shaHash(data, algo = 'sha256') {
1919
const SHA512 = data => shaHash(data, 'sha512');
2020
const SHA256 = data => shaHash(data, 'sha256');
2121
const algo = 'aes-256-cbc';
22-
const _ = require('lodash');
2322

2423
export function encryptEncryptionKey(encryptionKey, password) {
2524
const password_hash = Buffer.from(SHA512(password));

packages/bitcore-node/src/modules/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import _ from 'lodash';
2-
31
import logger from '../logger';
42
import { ChainStateProvider } from '../providers/chain-state';
53
import { Libs } from '../providers/libs';

packages/bitcore-node/src/modules/ripple/models/transaction.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { ObjectID } from 'bson';
2-
import * as _ from 'lodash';
32
import { LoggifyClass } from '../../../decorators/Loggify';
43
import logger from '../../../logger';
54
import { MongoBound } from '../../../models/base';

packages/bitcore-node/test/integration/ethereum/csp.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ObjectId } from 'bson';
22
import { expect } from 'chai';
33
import { Request, Response } from 'express-serve-static-core';
4-
import _ from 'lodash';
54
import * as sinon from 'sinon';
65
import { Transform, Writable } from 'stream';
76
import Web3 from 'web3';

packages/bitcore-node/test/integration/matic/csp.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { ObjectId } from 'bson';
22
import { expect } from 'chai';
33
import { Request, Response } from 'express-serve-static-core';
4-
import _ from 'lodash';
54
import * as sinon from 'sinon';
65
import { Transform, Writable } from 'stream';
76
import Web3 from 'web3';

packages/bitcore-node/test/verification/db-verify-headers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env node
22

3-
import * as _ from 'lodash';
43
import { IBlock } from '../../src/types/Block';
54
import { BitcoinBlockStorage } from '../../src/models/block';
65
import { Modules } from '../../src/modules';

packages/bitcore-wallet-service/src/bcmonitor/bcmonitor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env node
2-
import _ from 'lodash';
32
import config from '../config';
43
import { BlockchainMonitor } from '../lib/blockchainmonitor';
54
import logger from '../lib/logger';

packages/bitcore-wallet-service/src/externalServices/changelly.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as crypto from 'crypto';
2-
import * as _ from 'lodash';
32
import * as request from 'request';
43
import config from '../config';
54
import { ClientError } from '../lib/errors/clienterror';

packages/bitcore-wallet-service/src/externalServices/moonpay.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as _ from 'lodash';
21
import * as request from 'request';
32
import config from '../config';
43
import { ClientError } from '../lib/errors/clienterror';

packages/bitcore-wallet-service/src/externalServices/oneInch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
Constants as ConstantsCWC,
33
} from 'crypto-wallet-core';
4-
import * as _ from 'lodash';
54
import * as request from 'request';
65
import config from '../config';
76
import { Defaults } from '../lib/common/defaults';

0 commit comments

Comments
 (0)