Skip to content

Commit

Permalink
Merge pull request #17 from dangowans/main
Browse files Browse the repository at this point in the history
Replace "lodash.*" with "lodash/*" and a single dependency
  • Loading branch information
pimterry authored Apr 3, 2024
2 parents 92494bc + 8069f4c commit 0a7d1cc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var path = require('path'),
pick = require('lodash.pick'),
pick = require('lodash/pick'),
configModule = require('./lib/config'),
detect = require('./lib/detect'),
run = require('./lib/run'),
Expand Down
2 changes: 1 addition & 1 deletion lib/browsers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Created by mitch on 2/29/16.
*/
var omit = require('lodash.omit');
var omit = require('lodash/omit');

var browserDefinitions = {
chrome: {
Expand Down
2 changes: 1 addition & 1 deletion lib/detect.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var spawn = require('child_process').spawn;
var winDetect = require('win-detect-browsers');
var darwin = require('./darwin');
var assign = require('lodash.assign');
var assign = require('lodash/assign');
var Browsers = require('./browsers');
var browsers = new Browsers();

Expand Down
2 changes: 1 addition & 1 deletion lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var os = require('os');
var fs = require('fs');
var path = require('path');
var uid = require('uid').uid;
var assign = require('lodash.assign');
var assign = require('lodash/assign');
var Instance = require('./instance');
var setups = {};

Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"dependencies": {
"@httptoolkit/osx-find-executable": "^2.0.1",
"headless": "^1.0.0",
"lodash.assign": "^4.0.9",
"lodash.omit": "^4.3.0",
"lodash.pick": "^4.2.1",
"lodash": "^4.17.21",
"mkdirp": "^0.5.0",
"osenv": "^0.1.0",
"rimraf": "^2.6.1",
Expand Down

0 comments on commit 0a7d1cc

Please sign in to comment.