Update immer to the latest version � (#853)
Summary: ## The dependency [immer](https://github.com/immerjs/immer) was updated from `5.3.6` to `6.0.0`. This version is **not covered** by your **current version range**. If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update. --- **Publisher:** [aleclarson](https://www.npmjs.com/~aleclarson) **License:** MIT <details> <summary>Release Notes for v6.0.0</summary> <h1><a href="https://urls.greenkeeper.io/immerjs/immer/compare/v5.3.6...v6.0.0">6.0.0</a> (2020-03-03)</h1> <ul> <li>Merge pull request <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="566542863" data-permission-text="Title is private" data-url="https://github.com/immerjs/immer/issues/536" data-hovercard-type="pull_request" data-hovercard-url="/immerjs/immer/pull/536/hovercard" href="https://urls.greenkeeper.io/immerjs/immer/pull/536">https://github.com/facebook/flipper/issues/536</a> from immerjs/multi-bundle (<a href="0d87fc88e8">0d87fc8</a>), closes <a href="https://urls.greenkeeper.io/immerjs/immer/issues/536" data-hovercard-type="pull_request" data-hovercard-url="/immerjs/immer/pull/536/hovercard">https://github.com/facebook/flipper/issues/536</a></li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li>Support for ES5, patches and Map/Set collections has to be <em>explicitly</em> enable now: <a href="https://immerjs.github.io/immer/docs/installation" rel="nofollow">https://immerjs.github.io/immer/docs/installation</a></li> <li>Custom serialization hooks are no longer supported</li> </ul> <p>feat: Adding large data sets to a draft has been optimized (in case autofreeze is disabled)</p> </details> <details> <summary>Commits</summary> <p>The new version differs by 41 commits.</p> <ul> <li><a href="0d87fc88e8"><code>0d87fc8</code></a> <code>Merge pull request https://github.com/facebook/flipper/issues/536 from immerjs/multi-bundle</code></li> <li><a href="d676e61b63"><code>d676e61</code></a> <code>removed notes file</code></li> <li><a href="3cfd62103b"><code>3cfd621</code></a> <code>backported new API's</code></li> <li><a href="0d7f883067"><code>0d7f883</code></a> <code>Merge pull request https://github.com/facebook/flipper/issues/541 from phryneas/typesversions-compat</code></li> <li><a href="f215409d2e"><code>f215409</code></a> <code>Merge branch 'multi-bundle' into typesversions-compat</code></li> <li><a href="5f86272a3a"><code>5f86272</code></a> <code>Fixed entry point</code></li> <li><a href="b94c34fc81"><code>b94c34f</code></a> <code>Merge pull request https://github.com/facebook/flipper/issues/544 from delanni/patch-1</code></li> <li><a href="30e0f54d30"><code>30e0f54</code></a> <code>Add section about using classes with immer</code></li> <li><a href="e6c3f13479"><code>e6c3f13</code></a> <code>stricter compression</code></li> <li><a href="7a38af91d2"><code>7a38af9</code></a> <code>unclassed scope</code></li> <li><a href="cb3b9d6839"><code>cb3b9d6</code></a> <code>Processed some todo's</code></li> <li><a href="895e0cc9f8"><code>895e0cc</code></a> <code>Updated docs</code></li> <li><a href="edb1cad865"><code>edb1cad</code></a> <code>Renamed utils dir</code></li> <li><a href="db1652018a"><code>db16520</code></a> <code>Tests for plugins</code></li> <li><a href="ab49edc11c"><code>ab49edc</code></a> <code>Moving files into folders</code></li> </ul> <p>There are 41 commits in total.</p> <p>See the <a href="21c1597f17...0d87fc88e8">full diff</a></p> </details> --- <details> <summary>FAQ and help</summary> There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new). </details> --- Your [Greenkeeper](https://greenkeeper.io) bot 🌴 Pull Request resolved: https://github.com/facebook/flipper/pull/853 Reviewed By: passy Differential Revision: D20303311 Pulled By: mweststrate fbshipit-source-id: ba6ab68246144c858490fbffca8bcff641b930ad
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f544d95953
commit
a8dc2a8d48
@@ -177,7 +177,7 @@
|
||||
"fb-watchman": "^2.0.0",
|
||||
"flipper-doctor": "^0.7.0",
|
||||
"fs-extra": "^8.0.1",
|
||||
"immer": "^5.3.5",
|
||||
"immer": "^6.0.0",
|
||||
"immutable": "^4.0.0-rc.12",
|
||||
"invariant": "^2.2.2",
|
||||
"line-replace": "^1.0.2",
|
||||
|
||||
@@ -33,10 +33,13 @@ import {store} from './store';
|
||||
import {registerRecordingHooks} from './utils/pluginStateRecorder';
|
||||
import {cache} from 'emotion';
|
||||
import {CacheProvider} from '@emotion/core';
|
||||
import {enableMapSet} from 'immer';
|
||||
|
||||
const logger = initLogger(store);
|
||||
const bugReporter = new BugReporter(logger, store);
|
||||
|
||||
enableMapSet();
|
||||
|
||||
GK.init();
|
||||
|
||||
const AppFrame = () => {
|
||||
|
||||
@@ -8,3 +8,5 @@
|
||||
*/
|
||||
|
||||
global.fetch = require('jest-fetch-mock');
|
||||
|
||||
require('immer').enableMapSet();
|
||||
|
||||
@@ -5561,10 +5561,10 @@ ignore@^5.1.1:
|
||||
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf"
|
||||
integrity sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==
|
||||
|
||||
immer@^5.3.5:
|
||||
version "5.3.5"
|
||||
resolved "https://registry.yarnpkg.com/immer/-/immer-5.3.5.tgz#6af4e1b74957b7d7ff9de6e170f59fa8e93e7462"
|
||||
integrity sha512-bX74RWLu00PmYdyUnxjqSaszr/qPgO72okXU+CSAD+LIZOe7sgeva/bUn4Rn4wVoSg9wbsBXmU+TPEOKeaXO9g==
|
||||
immer@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/immer/-/immer-6.0.0.tgz#39cf65c7720c6ec4bdbd9ced0960b8ff126f3cd6"
|
||||
integrity sha512-vqOfnW3+VEV6vVxniMLPxTI+tEz1w7POYwOE1okOfnOS9Zl/mCObxino2lxiDC5l9o4NdWy+Rkxk9Em6ThBZBA==
|
||||
|
||||
immutable@^4.0.0-rc.12:
|
||||
version "4.0.0-rc.12"
|
||||
|
||||
Reference in New Issue
Block a user