Skip to content

Commit 921c805

Browse files
authored
fix: crypto-js crashing React Native (#1218)
Closes: #1201 Moves crypto-js to optionalDependencies
1 parent b2848a5 commit 921c805

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"dependencies": {
3232
"@babel/runtime-corejs3": "7.11.2",
3333
"@babel/runtime": "7.11.2",
34-
"crypto-js": "4.0.0",
3534
"react-native-crypto-js": "1.0.0",
3635
"uuid": "3.4.0",
3736
"ws": "7.3.1",
@@ -75,6 +74,9 @@
7574
"regenerator-runtime": "0.13.5",
7675
"vinyl-source-stream": "2.0.0"
7776
},
77+
"optionalDependencies": {
78+
"crypto-js": "4.0.0"
79+
},
7880
"scripts": {
7981
"build": "node build_releases.js",
8082
"release": "node build_releases.js && npm publish",

0 commit comments

Comments
 (0)