Skip to content

Commit d7663f7

Browse files
authored
Merge pull request #181 from tusbar/lodash
Use real lodash instead of custom `lodash.*` builds
2 parents b2a11f2 + 6547e3b commit d7663f7

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"url": "https://github.com/jerairrest/react-chartjs-2/issues"
1616
},
1717
"dependencies": {
18-
"lodash.find": "^4.6.0",
19-
"lodash.isequal": "^4.4.0",
18+
"lodash": "^4.17.4",
2019
"prop-types": "^15.5.8"
2120
},
2221
"devDependencies": {

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react';
22
import PropTypes from 'prop-types';
33
import Chart from 'chart.js';
4-
import isEqual from 'lodash.isequal';
5-
import find from 'lodash.find';
4+
import isEqual from 'lodash/isEqual';
5+
import find from 'lodash/find';
66

77

88
class ChartComponent extends React.Component {

yarn.lock

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4601,10 +4601,6 @@ lodash.filter@^4.4.0:
46014601
version "4.6.0"
46024602
resolved "https://registry.yarnpkg.com/lodash.filter/-/lodash.filter-4.6.0.tgz#668b1d4981603ae1cc5a6fa760143e480b4c4ace"
46034603

4604-
lodash.find@^4.6.0:
4605-
version "4.6.0"
4606-
resolved "https://registry.yarnpkg.com/lodash.find/-/lodash.find-4.6.0.tgz#cb0704d47ab71789ffa0de8b97dd926fb88b13b1"
4607-
46084604
lodash.flatten@^4.2.0:
46094605
version "4.4.0"
46104606
resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f"
@@ -4621,10 +4617,6 @@ lodash.isarray@^3.0.0:
46214617
version "3.0.4"
46224618
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
46234619

4624-
lodash.isequal@^4.4.0:
4625-
version "4.5.0"
4626-
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
4627-
46284620
lodash.isplainobject@^3.0.0:
46294621
version "3.2.0"
46304622
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-3.2.0.tgz#9a8238ae16b200432960cd7346512d0123fbf4c5"

0 commit comments

Comments
 (0)