Destructure Lodash requires

This commit is contained in:
Daniel Gasienica 2018-04-02 15:08:53 -04:00
parent b7b6195cfc
commit d9be6a0f94
13 changed files with 46 additions and 37 deletions

View file

@ -4,7 +4,7 @@
// and using promises. Revisit use of `idb` dependency as it might cover
// this functionality.
const isObject = require('lodash/isObject');
const { isObject } = require('lodash');
exports.open = (name, version) => {