Skip to content

Commit

Permalink
refactor: Replace lodash.set with set-value (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhassan1 committed Mar 2, 2022
1 parent ff11497 commit 3edf0e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const BbPromise = require('bluebird');
const fse = require('fs-extra');
const glob = require('glob-all');
const get = require('lodash.get');
const set = require('lodash.set');
const set = require('set-value');
const path = require('path');
const JSZip = require('jszip');
const { writeZip, zipFile } = require('./zipTree');
Expand Down
2 changes: 1 addition & 1 deletion lib/pip.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fse = require('fs-extra');
const rimraf = require('rimraf');
const path = require('path');
const get = require('lodash.get');
const set = require('lodash.set');
const set = require('set-value');
const spawn = require('child-process-ext/spawn');
const { quote } = require('shell-quote');
const { buildImage, getBindPath, getDockerUid } = require('./docker');
Expand Down
2 changes: 1 addition & 1 deletion lib/zip.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fse = require('fs-extra');
const path = require('path');
const get = require('lodash.get');
const set = require('lodash.set');
const set = require('set-value');
const uniqBy = require('lodash.uniqby');
const BbPromise = require('bluebird');
const JSZip = require('jszip');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
"is-wsl": "^2.2.0",
"jszip": "^3.7.1",
"lodash.get": "^4.4.2",
"lodash.set": "^4.3.2",
"lodash.uniqby": "^4.7.0",
"lodash.values": "^4.3.0",
"rimraf": "^3.0.2",
"set-value": "^4.1.0",
"sha256-file": "1.0.0",
"shell-quote": "^1.7.3"
},
Expand Down

0 comments on commit 3edf0e0

Please sign in to comment.