Skip to content

Commit a0980c6

Browse files
author
Pat Keller
committed
Replace full lodash install with specific lodash modules
1 parent fee0882 commit a0980c6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-checkbox-tree",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "A simple and elegant checkbox tree for React.",
55
"author": "Jake Zatecky",
66
"license": "MIT",
@@ -86,7 +86,8 @@
8686
},
8787
"dependencies": {
8888
"classnames": "^2.2.5",
89-
"lodash": "^4.17.10",
89+
"lodash.isequal": "^4.5.0",
90+
"lodash.memoize": "^4.1.2",
9091
"nanoid": "^3.0.0",
9192
"prop-types": "^15.5.8"
9293
}

src/js/CheckboxTree.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import classNames from 'classnames';
2-
import isEqual from 'lodash/isEqual';
3-
import memoize from 'lodash/memoize';
2+
import isEqual from 'lodash.isequal';
3+
import memoize from 'lodash.memoize';
44
import { nanoid } from 'nanoid';
55
import PropTypes from 'prop-types';
66
import React from 'react';

0 commit comments

Comments
 (0)