diff --git a/package.json b/package.json index b74397fc..8c99687d 100644 --- a/package.json +++ b/package.json @@ -32,12 +32,14 @@ }, "peerDependencies": { "history": "^4.7.2", - "immutable": "^3.8.1 || ^4.0.0-rc.1", "lodash.isequalwith": "^4.4.0", "react": "^16.4.0", "react-redux": "^6.0.0 || ^7.1.0", "react-router": "^4.3.1 || ^5.0.0", - "redux": "^3.6.0 || ^4.0.0", + "redux": "^3.6.0 || ^4.0.0" + }, + "optionalDependencies": { + "immutable": "^3.8.1 || ^4.0.0-rc.1", "seamless-immutable": "^7.1.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index c4a0da8d..de51bb58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3589,7 +3589,7 @@ immutable@^3.8.1: resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3" integrity sha1-wkOZUUVbs5kT2vKBN28VMOEErfM= -immutable@^4.0.0-rc.12: +"immutable@^3.8.1 || ^4.0.0-rc.1": version "4.0.0-rc.12" resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0-rc.12.tgz#ca59a7e4c19ae8d9bf74a97bdf0f6e2f2a5d0217" integrity sha512-0M2XxkZLx/mi3t8NVwIm1g8nHoEmM9p9UBl/G9k4+hm0kBgOVdMV/B3CY5dQ8qG8qc80NN4gDV4HQv6FTJ5q7A==