Skip to content

Commit e867e6b

Browse files
pkeller3Pat Kellerjakezatecky
authored
Replace full lodash install with specific lodash modules (#478)
Co-authored-by: Pat Keller <[email protected]> Co-authored-by: Jake Zatecky <[email protected]>
1 parent d8c3eb1 commit e867e6b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@
9999
},
100100
"dependencies": {
101101
"classnames": "^2.2.5",
102-
"lodash": "^4.17.10",
102+
"lodash.isequal": "^4.5.0",
103+
"lodash.memoize": "^4.1.2",
103104
"prop-types": "^15.5.8"
104105
}
105106
}

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 PropTypes from 'prop-types';
55
import React from 'react';
66

0 commit comments

Comments
 (0)