Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

immer

Create the next immutable state by mutating the current one
Collective - Host: opensource - https://opencollective.com/immer - Website: https://immerjs.github.io/immer/ - Code: https://github.com/immerjs/immer

Docs WIP

github.com/immerjs/immer - 12298be95b13061fb57d1ddbe6ae7fdcde805099 authored over 5 years ago by Michel Weststrate <[email protected]>
WIP

github.com/immerjs/immer - 79ec1971d32eb2dc771d3bb84f6d427e37be1d94 authored over 5 years ago by Michel Weststrate <[email protected]>
docusuarus init

github.com/immerjs/immer - b1e2217af15c5743a706410f7abf6c183b2f7c90 authored over 5 years ago by Michel Weststrate <[email protected]>
feat: In development mode, any new value stored in a tree will be deeply frozen.

BREAKING CHANGE: any value returned from produce will be deeply frozen in DEV, even when it wasn...

github.com/immerjs/immer - cb1c6dd8a33073aaa0a4d881c94ec7ab1c1be7f6 authored over 5 years ago by Michel Weststrate <[email protected]>
BREAKING CHANGE: In development mode, any new value stored in a tree will be deeply frozen

This introduces a new side effect, where any data returned for a producer will be frozen. See #41...

github.com/immerjs/immer - fc41507b84a52764fe62501596b3c851e0c586a9 authored over 5 years ago by Michel Weststrate <[email protected]>
BREAKING CHANGE: In development mode, any new value stored in a tree will be deeply frozen. Fixes #412 #363 #260 #230 #313 #229

Fixes #412 #363 #260 #230 #313 #229

github.com/immerjs/immer - 9fa2581ace672ca82cb7627528f5df9f7ab145b4 authored over 5 years ago by Michel Weststrate <[email protected]>
Processed review comments

github.com/immerjs/immer - 9064d26aaaa4e6d5cc447b1b140f4c891286e813 authored over 5 years ago by Michel Weststrate <[email protected]>
Merge pull request #415 from jsdevtom/feat/setting-length-array-makes-delete

feat: Prefer using `remove` patches over changing the `length` property when shortening arrays

github.com/immerjs/immer - ac61b8d95b21b2b4167bd9b4e8359712a210606c authored over 5 years ago by Michel Weststrate <[email protected]>
Implemented deepFreeze functionality, *anything draftable* returned from a produce will now be deeply frozen

github.com/immerjs/immer - 7fd3ef38cf4047eb33a51a897e9ec1af13f36cfc authored over 5 years ago by Michel Weststrate <[email protected]>
Merge pull request #418 from steven-mercatante/patch-1

Fix typo in readme.md

github.com/immerjs/immer - 71454c2a3f4ae997a904385782c27ccdbf16463f authored over 5 years ago by Michel Weststrate <[email protected]>
Fix typo in readme.md

s/temporarily/temporary

github.com/immerjs/immer - 4561963f87795239985e5946cab3ac25742894d7 authored over 5 years ago by Steven Mercatante <[email protected]>
updated tests

github.com/immerjs/immer - 8aa4da345fe7810740036f1140f21ee362f6ddf5 authored over 5 years ago by Michel Weststrate <[email protected]>
chore: fix travis deploy (?)

github.com/immerjs/immer - f2a79c70805710d026df728e9cb719b586b8f7ab authored over 5 years ago by Michel Weststrate <[email protected]>
chore: don't assign 'bug' label automatically for new issues

github.com/immerjs/immer - a791bff29829769fe23a60828ae3b25574f5c242 authored over 5 years ago by Michel Weststrate <[email protected]>
Fix: made sure non-plain & non-draftable objects are not cloned when applying patches

github.com/immerjs/immer - 99de8833db4443fc50f5e0718e42cd4c4389354d authored over 5 years ago by Michel Weststrate <[email protected]>
fix: ensure that patches are reusable. Fixes #411

github.com/immerjs/immer - af3a59df950506c8f7f34ede6a7bbd9169805ca2 authored over 5 years ago by Michel Weststrate <[email protected]>
feat: Always use remove command in generateArrayPatches()

Fixes #208

github.com/immerjs/immer - d4833348df85a713c5eee229e81410fc7893d1b4 authored over 5 years ago by jsdevtom <[email protected]>
fix: ensure patches are reusable

github.com/immerjs/immer - 49b2e7bc654c3f2b79babfbef9e51fc27a505567 authored over 5 years ago by Shuumatsu <[email protected]>
fix: ensure patches are reusable

github.com/immerjs/immer - c2e69d9ea9c7d4a50abe502cd0be805b74732cab authored over 5 years ago by Shuumatsu <[email protected]>
Merge pull request #402 from immerjs/produce-with-patches

feat: introduced produceWithPatches. Implements #400

github.com/immerjs/immer - a16dedad9ce68ff996105b1b7393b0e0b52a45db authored over 5 years ago by Michel Weststrate <[email protected]>
feat: introduced produceWithPatches. Implements #400

github.com/immerjs/immer - 86be737d8502aeb351296afe28ceb3e506a3a2ec authored over 5 years ago by Michel Weststrate <[email protected]>
docs: add opensource award

github.com/immerjs/immer - 615ca6f99d7ca90b25051ea1a3073b4aca0d9b72 authored over 5 years ago by Michel Weststrate <[email protected]>
fix: don't unnecessary modify draft if replaying patches results in a new state anyway

github.com/immerjs/immer - 96f2b2e58e31e7380fb2e46a543d4b094d7001a4 authored over 5 years ago by Michel Weststrate <[email protected]>
fix: If a property is added, then deleted, don't produce a patch

github.com/immerjs/immer - 7cd2dc1acceb69c00fc2dbd10ce8fae1085eb6c5 authored over 5 years ago by Michel Weststrate <[email protected]>
Merge pull request #397 from snapwich/patch-1

Include import statement in `original` example

github.com/immerjs/immer - a46b9e7b97a433e92d31d7852554b108f07e46f5 authored over 5 years ago by Michel Weststrate <[email protected]>
Added funding file

github.com/immerjs/immer - d51ac214d276e19aa84f0ff02f6c805e8888a17b authored over 5 years ago by Michel Weststrate <[email protected]>
Include import statement in `original` example

github.com/immerjs/immer - 79369f2a413977210ca7b22fe871857a74e44c3c authored over 5 years ago by Rich Snapp <[email protected]>
style: use tabs

Tabs allow for custom indentation per user

github.com/immerjs/immer - a9c0fd02c7575cfa6e61563e50a51ccc71949d9d authored over 5 years ago by use-tabs <https://github.com/aleclarson/use-tabs>
docs: immer-reducer works with React useReducer hook too (#391)

github.com/immerjs/immer - 39b1050b0652a2002cbb345272239912c781f6d2 authored over 5 years ago by Esa-Matti Suuronen <[email protected]>
fix(build): add unpkg and jsdelivr fields to package.json (#384)

github.com/immerjs/immer - fa1f5e60b560a4c5fe2da4ffcbcaaae98632c473 authored over 5 years ago by Tom MacWright <[email protected]>
docs: add redux-immer to "Cool things built with immer" (#383)

github.com/immerjs/immer - f247d60dbb852a9b4a1fe6797614ec693c0cbbbf authored over 5 years ago by Salvatore Ravidà <[email protected]>
4.0.0-beta.0

github.com/immerjs/immer - 13eab80844703d7ac765fbeb0029b01f04c19768 authored over 5 years ago by Alec Larson <[email protected]>
refactor: rename "source" helper to "latest"

github.com/immerjs/immer - eba300fc60f8e5f7020cb01973f73b8ea95dca97 authored over 5 years ago by Alec Larson <[email protected]>
refactor: avoid unnecessary function wrapper

github.com/immerjs/immer - 1f5806c21fd98a8755640606afe40e12fe7f80d1 authored over 5 years ago by Alec Larson <[email protected]>
docs: remove warning

github.com/immerjs/immer - 594d6379473886a2969c5a4d2fd359168c589e47 authored over 5 years ago by Alec Larson <[email protected]>
nit: minor refactoring

github.com/immerjs/immer - a2c475493e80a25b4291e461075c94c977b55af4 authored over 5 years ago by Alec Larson <[email protected]>
refactor: "get" trap for Maps

github.com/immerjs/immer - ddf5dbbebdb5ad28a7b13600d933c3426e674d42 authored over 5 years ago by Alec Larson <[email protected]>
refactor: helper functions

github.com/immerjs/immer - b6b542d23adc961e2b9d43c39c8450b373e85a5b authored over 5 years ago by Alec Larson <[email protected]>
test: remove defuseProxies helper

github.com/immerjs/immer - 221d6017ff1c79036ff7d27bebbe3bfc6cbddfa9 authored over 5 years ago by Alec Larson <[email protected]>
feat: `onCopy` for `Sets`

github.com/immerjs/immer - e56ad54b22abcb2f31969c2abb753655741a4a3c authored over 5 years ago by keenondrums <[email protected]>
feat: `onAssign` for `Sets`

github.com/immerjs/immer - aa24f65b925d30ac23b32d63406df3c60b3d9a2b authored over 5 years ago by keenondrums <[email protected]>
feat: `onCopy` for `Maps`

github.com/immerjs/immer - 8de78f23be40e92363df7bcb43fa90ce568a88bc authored over 5 years ago by keenondrums <[email protected]>
feat: `onDelete` for `Maps`

github.com/immerjs/immer - 1ca49ef614aefde865a215b9ab64f28afd05a55f authored over 5 years ago by keenondrums <[email protected]>
feat: `onAssign` for `Maps`

github.com/immerjs/immer - eaea1b02b757733167d54092db9928f18f9e94bb authored over 5 years ago by keenondrums <[email protected]>
docs: add a migration guide for 4.0

github.com/immerjs/immer - 00fb26a15249ada5b2c74566c19a49861c67d5fe authored over 5 years ago by keenondrums <[email protected]>
docs: add a note about patch serialization for Maps

github.com/immerjs/immer - c34ff3ec46217f6ab8bbedd183fd715c1e057bc6 authored over 5 years ago by keenondrums <[email protected]>
feat: add support of non-primitive keys for `Maps`

github.com/immerjs/immer - 6501ec524f0a95b92299d5fae083374a96ad7e2b authored over 5 years ago by keenondrums <[email protected]>
docs: fix example code formatting (#373)

github.com/immerjs/immer - 65b9d087af35ed187a10081e329237e06d84ab11 authored over 5 years ago by bsky <[email protected]>
fix: ensure Symbol.for exists before calling it (#366)

For IE11 compatibility

Closes #365

github.com/immerjs/immer - c8ecbad52a71aa834f8735c79c8fa56c9c55c4dd authored over 5 years ago by Fabrizio Catitti <[email protected]>
Added test reproducing #356

github.com/immerjs/immer - 4443cace6c23d14536955ce5b2aec92c8c76cacc authored over 5 years ago by Michel Weststrate <[email protected]>
refactor: makeTrapsForGetters function

github.com/immerjs/immer - 5093fd0ee2e9280d942eb94db2fe6d968ff1c60d authored over 5 years ago by Alec Larson <[email protected]>
docs: es6 map support

github.com/immerjs/immer - 6255a58660b016d89b47482de9eaac029d90d688 authored over 5 years ago by Alec Larson <[email protected]>
refactor: traps for Maps and Sets

github.com/immerjs/immer - dd82d8986e2b21357ebfb34a75146de562af9ec9 authored over 5 years ago by keenondrums <[email protected]>
nit: merge isMap and isSet checks

github.com/immerjs/immer - 4164f0dee166e88f132d450b872cda259ff8dda8 authored over 5 years ago by Alec Larson <[email protected]>
refactor: markChanged function

github.com/immerjs/immer - 5857d63460c5ce965372fb0b7955e30d55975f64 authored over 5 years ago by Alec Larson <[email protected]>
fix: add more traps for Maps and Sets

These traps ensure the underlying state is never touched by the user.

github.com/immerjs/immer - 930b4ab27a0df923f220d53af870d5e9060b4421 authored over 5 years ago by Andrey Goncharov <[email protected]>
fix: Map.prototype.set should return a draft

github.com/immerjs/immer - 700120102f90956315ae44e0e012efa6f91a443a authored over 5 years ago by Andrey Goncharov <[email protected]>
refactor: simplify mapGetters.keys

github.com/immerjs/immer - 3298a77d59c861e44c404d9aba19e5354aa09307 authored over 5 years ago by Alec Larson <[email protected]>
fix: remove "function*" syntax

github.com/immerjs/immer - 08d88b83a66c63bb83faae991bc7658d0dae7166 authored over 5 years ago by Alec Larson <[email protected]>
fix: add Map getter for DRAFT_STATE, make isEnumerable more resilient

github.com/immerjs/immer - 7bbec0a42e6fc3b41c5ddaa765f61c44576c0b25 authored over 5 years ago by keenondrums <[email protected]>
nit: ensure isEnumerable returns a boolean

github.com/immerjs/immer - 53d0cdfbd9024955e5c0be4cb8ddcba76277c32d authored over 5 years ago by Alec Larson <[email protected]>
nit: argument names

github.com/immerjs/immer - a674a78ffb926ff481fe0a2163adfb78b2b062a1 authored over 5 years ago by Alec Larson <[email protected]>
feat: `Set` drafts

Support for patch listeners included

BREAKING CHANGE: `Set` objects are now drafted

github.com/immerjs/immer - 4355b6311b85997a8cc0c3a5c49ba71be99cc8bd authored over 5 years ago by Andrey Goncharov <[email protected]>
chore: reorganize src/proxy.js

github.com/immerjs/immer - 3163a7d5c9846aa413a7a56f994e21918811f575 authored over 5 years ago by Alec Larson <[email protected]>
feat: `Map` drafts and patches

Includes support for:
- mutable drafts in `produce` callbacks
- patch listeners

BREAKING CHANGE...

github.com/immerjs/immer - 30db0f3f6b99f9ce9fa4ee859844e07da6b945ac authored over 5 years ago by keenondrums <[email protected]>
fix: revert Map support

See here: https://github.com/immerjs/immer/pull/353

github.com/immerjs/immer - 47529d31909607fd741488cccab24cda5f16c9f5 authored over 5 years ago by Alec Larson <[email protected]>
docs: fix size badge

github.com/immerjs/immer - b3a9aab6d7bd49394e2c2a82f4f621598bc2d5ee authored over 5 years ago by Alec Larson <[email protected]>
nit: argument names

github.com/immerjs/immer - 946cf90a0a321022b376c947b8b794c2e67a9f04 authored over 5 years ago by Alec Larson <[email protected]>
fix: remove "function*" syntax

github.com/immerjs/immer - 6a359e1dd56b4486ff6c03884051bee18fd27c63 authored over 5 years ago by Alec Larson <[email protected]>
fix: add Map getter for DRAFT_STATE, make isEnumerable more resilient

github.com/immerjs/immer - 5c728a4a5e01b087e0d5ffa35e71ac3af689e0d4 authored over 5 years ago by keenondrums <[email protected]>
fix: Map.prototype.set should return a draft

github.com/immerjs/immer - cef5859fc2861f8dfaf0c7a63deb93579dcf478d authored over 5 years ago by Andrey Goncharov <[email protected]>
nit: ensure isEnumerable returns a boolean

github.com/immerjs/immer - b967bab63b1d7423830069deb5aea5f517b89e75 authored over 5 years ago by Alec Larson <[email protected]>
chore: reorganize src/proxy.js

github.com/immerjs/immer - e809ffc5b1aee9af4a1bcad2461f62e9598e4528 authored over 5 years ago by Alec Larson <[email protected]>
refactor: simplify mapGetters.keys

github.com/immerjs/immer - bbaa6dc8fe8a40f6feec5d43669ecb0d34637e99 authored over 5 years ago by Alec Larson <[email protected]>
feat: `Map` support

Includes support for:
- mutable drafts in `produce` callbacks
- patch listeners

Note: Do not us...

github.com/immerjs/immer - 8276a6c3192d10e2fe33e8871c6b9c2f4c833a09 authored over 5 years ago by keenondrums <[email protected]>
docs: es6 map support

github.com/immerjs/immer - 1cb564acdf5dd341842c407e7325b6ecfa8f7ccd authored over 5 years ago by Alec Larson <[email protected]>
docs: Fixed some badges

github.com/immerjs/immer - 41919699347caca7d61139f57597f9c88c4d515f authored over 5 years ago by Michel Weststrate <[email protected]>
docs: add migration guide for v3

github.com/immerjs/immer - a437755eb010961c6d67a78cf1b04c8374edae01 authored over 5 years ago by Alec Larson <[email protected]>
test(ts): stop testing latest typescript

And fix a test case

github.com/immerjs/immer - 487e3d770306d66f455015fd24b0ab26dd65487a authored over 5 years ago by Michel Weststrate <[email protected]>
test(ts): use spec.ts

github.com/immerjs/immer - b5abaed537814d7fb9b2b7b3e9be39fddad7fb23 authored over 5 years ago by Alec Larson <[email protected]>
refactor(ts): simplify IProduce type tests

github.com/immerjs/immer - bce282d5d64b5017457be194d9bedee5b9fcce71 authored over 5 years ago by Alec Larson <[email protected]>
refactor(ts): curriedProduce function

github.com/immerjs/immer - 1282f04c5aa972eb93ee5e6cd76356ac5af36741 authored over 5 years ago by Alec Larson <[email protected]>
refactor(ts): tweak IProduce type

github.com/immerjs/immer - 8925080ec84c3e6621b3876bbdf5a8020e64223c authored over 5 years ago by Alec Larson <[email protected]>
docs: Readme fixes

github.com/immerjs/immer - 980474acec6fe8769413baa10aafacd31eeba2e5 authored over 5 years ago by Michel Weststrate <[email protected]>
docs: remove install size badge

github.com/immerjs/immer - 7820eee1b5a0b22b89ba03ebcdd2c22627c19193 authored over 5 years ago by Michel Weststrate <[email protected]>
feat: Dropped node 6 support

BREAKING CHANGE

github.com/immerjs/immer - eecc773923f2a97038e4c94c288e855a8ab3e978 authored over 5 years ago by Michel Weststrate <[email protected]>
feat: `this` in recipe is no longer the draft, but unbound

BREAKING CHANGE

github.com/immerjs/immer - 3f402988b93d596e0b559b9e5801c064c889d7ff authored over 5 years ago by Michel Weststrate <[email protected]>
chore: processed review comment from #348

github.com/immerjs/immer - 907785131acf21e1a06ae2414e6ac7a498f2f302 authored over 5 years ago by Michel Weststrate <[email protected]>
feat: Immer now has it's own Github org, `immerjs`

github.com/immerjs/immer - 17d69c3b81e760bb617019b1bac10343d3a35283 authored over 5 years ago by Michel Weststrate <[email protected]>
chore(ts): Clean up `this` from typings

github.com/immerjs/immer - dfb66aebebc58171aba297a53ff15bc9ab08cf96 authored over 5 years ago by Michel Weststrate <[email protected]>
docs: Update readme

github.com/immerjs/immer - fe2473f8dcfc68e83690e1f2db45aa1f70d80a9a authored over 5 years ago by Michel Weststrate <[email protected]>
test(ts): fix type assertions

github.com/immerjs/immer - 52a34bd9f8e9f62ce94ff5e1f91211fb104899c1 authored over 5 years ago by Michel Weststrate <[email protected]>
chore: prettier 1.17

github.com/immerjs/immer - 71f7bbeb3e6f9ec28012f34c1429e41274e36d12 authored over 5 years ago by Michel Weststrate <[email protected]>
feat(ts): improve curried producers

The type signature for curried producers now accepts a widened version of the expected base state.

github.com/immerjs/immer - 3cb0fb3344d61870b9825fe25d4074045733250e authored over 5 years ago by Michel Weststrate <[email protected]>
test(ts): some more test cases

github.com/immerjs/immer - 6624aa8bbcb8a5bb59bc99068e7681cd9b81f1df authored over 5 years ago by Michel Weststrate <[email protected]>
feat(ts): Improve type inference based on the first arg of the recipe function

github.com/immerjs/immer - acf8a57ed9e1c8c41c759d104acac8d29559f2e2 authored over 5 years ago by Michel Weststrate <[email protected]>
refactor(ts): Simpler draft / immutable implementation

github.com/immerjs/immer - 7e971b66421a121101ecf5b8affa948de4b35e48 authored over 5 years ago by Michel Weststrate <[email protected]>
feat(ts): Support typescript 3.4

BREAKING CHANGE: [email protected] is now the minimum required version

github.com/immerjs/immer - 2868065a93b6d38bd5af41f6edee038e72e67123 authored over 5 years ago by Alec Larson <[email protected]>
chore: Revert "ci: avoid [email protected] for now"

This reverts commit e592b5c5732a52ae0cdcbf900cda0bde14c540f2.

github.com/immerjs/immer - df68c23744e86ddba156b3bca2a1c639b8a6e89a authored over 5 years ago by Alec Larson <[email protected]>
fix(ts): Immutable<T> / read-only arrays in TS 3.4+

github.com/immerjs/immer - 2c27133d45729667b4871ea4db835589a6b9cba3 authored over 5 years ago by Alec Larson <[email protected]>