Skip to content

Commit

Permalink
Don't take all of lodash as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mqp committed Jul 17, 2018
1 parent caad5c0 commit 4a230a8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"classnames": "^2.2.5",
"copy-to-clipboard": "^3.0.8",
"copy-webpack-plugin": "^4.5.1",
"deepmerge": "^2.1.1",
"detect-browser": "^2.1.0",
"device-detect": "^1.0.7",
"event-target-shim": "^3.0.1",
Expand Down Expand Up @@ -79,7 +80,6 @@
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.1.0",
"htmlhint": "^0.9.13",
"lodash": "^4.17.5",
"node-sass": "^4.7.2",
"prettier": "^1.7.0",
"rimraf": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion src/storage/store.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Validator } from "jsonschema";
import merge from "lodash/merge";
import merge from "deepmerge";

const LOCAL_STORE_KEY = "___hubs_store";
const STORE_STATE_CACHE_KEY = Symbol();
Expand Down
6 changes: 5 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2501,6 +2501,10 @@ deep-is@~0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"

deepmerge@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.1.1.tgz#e862b4e45ea0555072bf51e7fd0d9845170ae768"

define-properties@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94"
Expand Down Expand Up @@ -5023,7 +5027,7 @@ [email protected]:
version "3.7.0"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.7.0.tgz#3678bd8ab995057c07ade836ed2ef087da811d45"

lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.17.5, lodash@^4.2.0, lodash@~4.17.4:
lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.2, lodash@^4.17.3, lodash@^4.2.0, lodash@~4.17.4:
version "4.17.5"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"

Expand Down

0 comments on commit 4a230a8

Please sign in to comment.