Fixed typo and yarn.lock
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Michel Weststrate · committed by Michel Weststrate · parent e4ca0d6 · Browse files · 2 files·+17 added−46 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+17 added−46 removed
- other:+17 added−46 removed
Provenance
- Commit
101aac2- Tree
a0ac204- Author
Michel Weststrate <mweststrate@gmail.com>- Committer
Michel Weststrate <mweststrate@gmail.com>- Parent
e4ca0d6
2 files changed+17 added−46 removed
modified:readme.md+1 added-1 removed
2 unmodified lines345677891011149 unmodified linesExpand all2 unmodified lines_Your personally assistance for creating your next immutable state_
---
Immer (German for: always) is a tiny package that allows you work with immutable state in a more convenient way.Immer (German for: always) is a tiny package that allows you to work with immutable state in a more convenient way.It is based on [_copy-on-write_](https://en.wikipedia.org/wiki/Copy-on-write) mechanism.
The basic idea is that you will apply all your changes to a _draftState_. Which is a proxy of the _currentState_, and once all your mutations are completed, immer will produce the _nextState_ based on the mutations to the draft state. This means that you can interact with your data by simply modifying it, while keeping all the benefits of immutable data.
149 unmodified linesExpand allmodified:yarn.lock+16 added-45 removed
391 unmodified lines392 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141"393 dependencies:394 babel-runtime "^6.22.0"395 396-babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1:396+babel-plugin-transform-es2015-block-scoping@^6.23.0:397 version "6.26.0"398 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f"399 dependencies:400 babel-runtime "^6.26.0"1 unmodified line402 babel-traverse "^6.26.0"403 babel-types "^6.26.0"404 lodash "^4.17.4"405 406-babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.24.1:406+babel-plugin-transform-es2015-classes@^6.23.0:407 version "6.24.1"408 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db"409 dependencies:410 babel-helper-define-map "^6.24.1"5 unmodified lines416 babel-template "^6.24.1"417 babel-traverse "^6.24.1"418 babel-types "^6.24.1"419 420-babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.24.1:420+babel-plugin-transform-es2015-computed-properties@^6.22.0:421 version "6.24.1"422 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3"423 dependencies:424 babel-runtime "^6.22.0"425 babel-template "^6.24.1"426 427-babel-plugin-transform-es2015-destructuring@^6.22.0, babel-plugin-transform-es2015-destructuring@^6.23.0:427+babel-plugin-transform-es2015-destructuring@^6.23.0:428 version "6.23.0"429 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d"430 dependencies:431 babel-runtime "^6.22.0"432 433-babel-plugin-transform-es2015-duplicate-keys@^6.22.0, babel-plugin-transform-es2015-duplicate-keys@^6.24.1:433+babel-plugin-transform-es2015-duplicate-keys@^6.22.0:434 version "6.24.1"435 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz#73eb3d310ca969e3ef9ec91c53741a6f1576423e"436 dependencies:437 babel-runtime "^6.22.0"438 babel-types "^6.24.1"439 440-babel-plugin-transform-es2015-for-of@^6.22.0, babel-plugin-transform-es2015-for-of@^6.23.0:440+babel-plugin-transform-es2015-for-of@^6.23.0:441 version "6.23.0"442 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691"443 dependencies:444 babel-runtime "^6.22.0"445 446-babel-plugin-transform-es2015-function-name@^6.22.0, babel-plugin-transform-es2015-function-name@^6.24.1:446+babel-plugin-transform-es2015-function-name@^6.22.0:447 version "6.24.1"448 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b"449 dependencies:450 babel-helper-function-name "^6.24.1"22 unmodified lines473 babel-runtime "^6.26.0"474 babel-template "^6.26.0"475 babel-types "^6.26.0"476 477-babel-plugin-transform-es2015-modules-systemjs@^6.23.0, babel-plugin-transform-es2015-modules-systemjs@^6.24.1:477+babel-plugin-transform-es2015-modules-systemjs@^6.23.0:478 version "6.24.1"479 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23"480 dependencies:481 babel-helper-hoist-variables "^6.24.1"482 babel-runtime "^6.22.0"483 babel-template "^6.24.1"484 485-babel-plugin-transform-es2015-modules-umd@^6.23.0, babel-plugin-transform-es2015-modules-umd@^6.24.1:485+babel-plugin-transform-es2015-modules-umd@^6.23.0:486 version "6.24.1"487 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz#ac997e6285cd18ed6176adb607d602344ad38468"488 dependencies:489 babel-plugin-transform-es2015-modules-amd "^6.24.1"490 babel-runtime "^6.22.0"491 babel-template "^6.24.1"492 493-babel-plugin-transform-es2015-object-super@^6.22.0, babel-plugin-transform-es2015-object-super@^6.24.1:493+babel-plugin-transform-es2015-object-super@^6.22.0:494 version "6.24.1"495 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz#24cef69ae21cb83a7f8603dad021f572eb278f8d"496 dependencies:497 babel-helper-replace-supers "^6.24.1"498 babel-runtime "^6.22.0"499 500-babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.24.1:500+babel-plugin-transform-es2015-parameters@^6.23.0:501 version "6.24.1"502 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b"503 dependencies:504 babel-helper-call-delegate "^6.24.1"2 unmodified lines507 babel-template "^6.24.1"508 babel-traverse "^6.24.1"509 babel-types "^6.24.1"510 511-babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.24.1:511+babel-plugin-transform-es2015-shorthand-properties@^6.22.0:512 version "6.24.1"513 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0"514 dependencies:515 babel-runtime "^6.22.0"4 unmodified lines520 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1"521 dependencies:522 babel-runtime "^6.22.0"523 524-babel-plugin-transform-es2015-sticky-regex@^6.22.0, babel-plugin-transform-es2015-sticky-regex@^6.24.1:524+babel-plugin-transform-es2015-sticky-regex@^6.22.0:525 version "6.24.1"526 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz#00c1cdb1aca71112cdf0cf6126c2ed6b457ccdbc"527 dependencies:528 babel-helper-regex "^6.24.1"5 unmodified lines534 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d"535 dependencies:536 babel-runtime "^6.22.0"537 538-babel-plugin-transform-es2015-typeof-symbol@^6.22.0, babel-plugin-transform-es2015-typeof-symbol@^6.23.0:538+babel-plugin-transform-es2015-typeof-symbol@^6.23.0:539 version "6.23.0"540 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372"541 dependencies:542 babel-runtime "^6.22.0"543 544-babel-plugin-transform-es2015-unicode-regex@^6.22.0, babel-plugin-transform-es2015-unicode-regex@^6.24.1:544+babel-plugin-transform-es2015-unicode-regex@^6.22.0:545 version "6.24.1"546 resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz#d38b12f42ea7323f729387f18a7c5ae1faeb35e9"547 dependencies:548 babel-helper-regex "^6.24.1"7 unmodified lines556 babel-helper-builder-binary-assignment-operator-visitor "^6.24.1"557 babel-plugin-syntax-exponentiation-operator "^6.8.0"558 babel-runtime "^6.22.0"559 560-babel-plugin-transform-regenerator@^6.22.0, babel-plugin-transform-regenerator@^6.24.1:560+babel-plugin-transform-regenerator@^6.22.0:561 version "6.26.0"562 resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f"563 dependencies:564 regenerator-transform "^0.10.0"39 unmodified lines604 browserslist "^2.1.2"605 invariant "^2.2.2"606 semver "^5.3.0"607 608-babel-preset-es2015@^6.24.1:609- version "6.24.1"610- resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz#d44050d6bc2c9feea702aaf38d727a0210538939"611- dependencies:612- babel-plugin-check-es2015-constants "^6.22.0"613- babel-plugin-transform-es2015-arrow-functions "^6.22.0"614- babel-plugin-transform-es2015-block-scoped-functions "^6.22.0"615- babel-plugin-transform-es2015-block-scoping "^6.24.1"616- babel-plugin-transform-es2015-classes "^6.24.1"617- babel-plugin-transform-es2015-computed-properties "^6.24.1"618- babel-plugin-transform-es2015-destructuring "^6.22.0"619- babel-plugin-transform-es2015-duplicate-keys "^6.24.1"620- babel-plugin-transform-es2015-for-of "^6.22.0"621- babel-plugin-transform-es2015-function-name "^6.24.1"622- babel-plugin-transform-es2015-literals "^6.22.0"623- babel-plugin-transform-es2015-modules-amd "^6.24.1"624- babel-plugin-transform-es2015-modules-commonjs "^6.24.1"625- babel-plugin-transform-es2015-modules-systemjs "^6.24.1"626- babel-plugin-transform-es2015-modules-umd "^6.24.1"627- babel-plugin-transform-es2015-object-super "^6.24.1"628- babel-plugin-transform-es2015-parameters "^6.24.1"629- babel-plugin-transform-es2015-shorthand-properties "^6.24.1"630- babel-plugin-transform-es2015-spread "^6.22.0"631- babel-plugin-transform-es2015-sticky-regex "^6.24.1"632- babel-plugin-transform-es2015-template-literals "^6.22.0"633- babel-plugin-transform-es2015-typeof-symbol "^6.22.0"634- babel-plugin-transform-es2015-unicode-regex "^6.24.1"635- babel-plugin-transform-regenerator "^6.24.1"636-608 babel-preset-jest@^22.0.3:609 version "22.0.3"610 resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-22.0.3.tgz#e2bb6f6b4a509d3ea0931f013db78c5a84856693"611 dependencies:2457 unmodified lines