Skip to content

Commit c9fcdab

Browse files
authored
Merge pull request #154 from graingert/remove-deprecated-lodash-isarray
remove deprecated lodash.isarray
2 parents 2b7e490 + a1d3c42 commit c9fcdab

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"dependencies": {
5454
"invariant": "^2.2.2",
5555
"lodash.curry": "^4.1.1",
56-
"lodash.isarray": "^4.0.0",
5756
"lodash.isfunction": "^3.0.8",
5857
"lodash.isobject": "^3.0.2",
5958
"lodash.isplainobject": "^4.0.6",

rollup.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ if (env === 'es' || env === 'cjs') {
1515
config.external = [
1616
'invariant',
1717
'lodash.curry',
18-
'lodash.isarray',
1918
'lodash.isfunction',
2019
'lodash.isobject',
2120
'lodash.isplainobject',

src/components/ngRedux.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import {createStore, applyMiddleware, compose, combineReducers} from 'redux';
44
import digestMiddleware from './digestMiddleware';
55

66
import curry from 'lodash.curry';
7-
import isArray from 'lodash.isarray';
87
import isFunction from 'lodash.isfunction';
98
import map from 'lodash.map';
109

10+
const isArray = Array.isArray;
11+
1112
const typeIs = curry((type, val) => typeof val === type);
1213
const isObject = typeIs('object');
1314
const isString = typeIs('string');

yarn.lock

-4
Original file line numberDiff line numberDiff line change
@@ -1508,10 +1508,6 @@ lodash.isarray@^3.0.0:
15081508
version "3.0.4"
15091509
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
15101510

1511-
lodash.isarray@^4.0.0:
1512-
version "4.0.0"
1513-
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-4.0.0.tgz#2aca496b28c4ca6d726715313590c02e6ea34403"
1514-
15151511
lodash.isfunction@^3.0.8:
15161512
version "3.0.8"
15171513
resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-3.0.8.tgz#4db709fc81bc4a8fd7127a458a5346c5cdce2c6b"

0 commit comments

Comments
 (0)