Skip to content

Commit

Permalink
Replace individual lodash packages with the main package
Browse files Browse the repository at this point in the history
The main package is the only one that seems to be getting updates.
  • Loading branch information
novemberborn committed Jun 1, 2019
1 parent a53ea15 commit 677578f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 36 deletions.
2 changes: 1 addition & 1 deletion lib/api.js
Expand Up @@ -7,7 +7,7 @@ const escapeStringRegexp = require('escape-string-regexp');
const uniqueTempDir = require('unique-temp-dir');
const isCi = require('is-ci');
const resolveCwd = require('resolve-cwd');
const debounce = require('lodash.debounce');
const debounce = require('lodash/debounce');
const Bluebird = require('bluebird');
const getPort = require('get-port');
const arrify = require('arrify');
Expand Down
2 changes: 1 addition & 1 deletion lib/concordance-options.js
Expand Up @@ -2,7 +2,7 @@
const util = require('util');
const ansiStyles = require('ansi-styles');
const stripAnsi = require('strip-ansi');
const cloneDeepWith = require('lodash.clonedeepwith');
const cloneDeepWith = require('lodash/cloneDeepWith');
const reactPlugin = require('@concordance/react');
const chalk = require('./chalk').get();

Expand Down
2 changes: 1 addition & 1 deletion lib/context-ref.js
@@ -1,5 +1,5 @@
'use strict';
const clone = require('lodash.clone');
const clone = require('lodash/clone');

class ContextRef {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion lib/run-status.js
@@ -1,6 +1,6 @@
'use strict';
const Emittery = require('emittery');
const cloneDeep = require('lodash.clonedeep');
const cloneDeep = require('lodash/cloneDeep');

class RunStatus extends Emittery {
constructor(files, parallelRuns) {
Expand Down
2 changes: 1 addition & 1 deletion lib/watcher.js
@@ -1,7 +1,7 @@
'use strict';
const nodePath = require('path');
const debug = require('debug')('ava:watcher');
const diff = require('lodash.difference');
const diff = require('lodash/difference');
const chokidar = require('chokidar');
const flatten = require('arr-flatten');
const union = require('array-union');
Expand Down
25 changes: 0 additions & 25 deletions package-lock.json

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

7 changes: 1 addition & 6 deletions package.json
Expand Up @@ -105,12 +105,7 @@
"is-observable": "^1.1.0",
"is-plain-object": "^3.0.0",
"is-promise": "^2.1.0",
"lodash.clone": "^4.5.0",
"lodash.clonedeep": "^4.5.0",
"lodash.clonedeepwith": "^4.5.0",
"lodash.debounce": "^4.0.3",
"lodash.difference": "^4.3.0",
"lodash.flatten": "^4.2.0",
"lodash": "^4.17.11",
"loud-rejection": "^2.1.0",
"make-dir": "^3.0.0",
"matcher": "^2.0.0",
Expand Down

0 comments on commit 677578f

Please sign in to comment.