Update to Immer 8

Summary: Per title, the primary change is that Immer 8 will also freeze automatically in _production_ builds as well.

Reviewed By: nikoant

Differential Revision: D25052621

fbshipit-source-id: 1cb0b083aae82992b57c4a6e9dca0a8bebe903ec
This commit is contained in:
Michel Weststrate
2020-11-18 08:49:30 -08:00
committed by Facebook GitHub Bot
parent 601849e74a
commit 375a612dff
3 changed files with 7 additions and 7 deletions

View File

@@ -32,7 +32,7 @@
"flipper-plugin": "0.66.0",
"flipper-plugin-lib": "0.66.0",
"fs-extra": "^9.0.1",
"immer": "^6.0.0",
"immer": "^8.0.0",
"immutable": "^4.0.0-rc.12",
"invariant": "^2.2.2",
"lodash": "^4.17.19",

View File

@@ -11,6 +11,7 @@
"dependencies": {
"@emotion/css": "^11.0.0",
"@emotion/react": "^11.1.1",
"immer": "^8.0.0",
"react-element-to-jsx-string": "^14.3.2"
},
"devDependencies": {
@@ -21,8 +22,7 @@
"@ant-design/icons": "^4.2.2",
"@testing-library/dom": "^7.26.3",
"@testing-library/react": "^11.1.0",
"antd": "^4.8.0",
"immer": "^7.0.5"
"antd": "^4.8.0"
},
"scripts": {
"reset": "rimraf lib *.tsbuildinfo",

View File

@@ -6913,10 +6913,10 @@ immediate@~3.0.5:
resolved "https://registry.yarnpkg.com/immediate/-/immediate-3.0.6.tgz#9db1dbd0faf8de6fbe0f5dd5e56bb606280de69b"
integrity sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=
immer@^6.0.0:
version "6.0.9"
resolved "https://registry.yarnpkg.com/immer/-/immer-6.0.9.tgz#b9dd69b8e69b3a12391e87db1e3ff535d1b26485"
integrity sha512-SyCYnAuiRf67Lvk0VkwFvwtDoEiCMjeamnHvRfnVDyc7re1/rQrNxuL+jJ7lA3WvdC4uznrvbmm+clJ9+XXatg==
immer@^8.0.0:
version "8.0.0"
resolved "https://registry.yarnpkg.com/immer/-/immer-8.0.0.tgz#08763549ba9dd7d5e2eb4bec504a8315bd9440c2"
integrity sha512-jm87NNBAIG4fHwouilCHIecFXp5rMGkiFrAuhVO685UnMAlOneEAnOyzPt8OnP47TC11q/E7vpzZe0WvwepFTg==
immutable@^4.0.0-rc.12:
version "4.0.0-rc.12"