Skip to content

Commit

Permalink
fix(lodash): just use plain lodash and import
Browse files Browse the repository at this point in the history
same
  • Loading branch information
vvo committed Nov 30, 2015
1 parent dcc88ba commit 062b3fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import isPlainObject from 'is-plain-object';
import stringify from 'stringify-object';
import sortobject from 'sortobject';
import traverse from 'traverse';
import fill from 'lodash.fill';
import fill from 'lodash/array/fill';

export default function reactElementToJSXString(ReactElement) {
return toJSXString({ReactElement});
Expand Down
14 changes: 4 additions & 10 deletions npm-shrinkwrap.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"dependencies": {
"collapse-white-space": "^1.0.0",
"is-plain-object": "^2.0.1",
"lodash": "^3.10.1",
"react-addons-test-utils": "^0.14.2",
"sortobject": "^1.0.0",
"stringify-object": "^2.3.1",
Expand Down

0 comments on commit 062b3fe

Please sign in to comment.