Skip to content

Commit 6478cfa

Browse files
committed
🐛 Put immutable back in explicit dependencies, for now
React Native uses v3.7.6, which prints loads of warnings about deprecated `iterable.length`. Their version also fails snapshot tests because of the size of the items in `ListViewDataSource`.
1 parent 5320b38 commit 6478cfa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@
4646
"homepage": "https://github.com/cooperka/react-native-immutable-list-view#readme",
4747
"peerDependencies": {
4848
"react": ">=15.1",
49-
"react-native": ">=0.28",
50-
"immutable": ">=3.5"
49+
"react-native": ">=0.28"
5150
},
5251
"dependencies": {
52+
"immutable": ">=3.8"
5353
},
5454
"devDependencies": {
5555
"babel-cli": "~6.22.2",

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2221,14 +2221,14 @@ image-size@^0.3.5:
22212221
version "0.3.5"
22222222
resolved "https://registry.yarnpkg.com/image-size/-/image-size-0.3.5.tgz#83240eab2fb5b00b04aab8c74b0471e9cba7ad8c"
22232223

2224+
immutable@>=3.8:
2225+
version "3.8.1"
2226+
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.1.tgz#200807f11ab0f72710ea485542de088075f68cd2"
2227+
22242228
immutable@~3.7.6:
22252229
version "3.7.6"
22262230
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.7.6.tgz#13b4d3cb12befa15482a26fe1b2ebae640071e4b"
22272231

2228-
immutable@~3.8.1:
2229-
version "3.8.1"
2230-
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.1.tgz#200807f11ab0f72710ea485542de088075f68cd2"
2231-
22322232
imurmurhash@^0.1.4:
22332233
version "0.1.4"
22342234
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"

0 commit comments

Comments
 (0)