Ecosyste.ms: OpenCollective

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

github.com/immerjs/immer

Create the next immutable state by mutating the current one
https://github.com/immerjs/immer

Docs WIP

12298be95b13061fb57d1ddbe6ae7fdcde805099 authored over 5 years ago
WIP

79ec1971d32eb2dc771d3bb84f6d427e37be1d94 authored over 5 years ago
docusuarus init

b1e2217af15c5743a706410f7abf6c183b2f7c90 authored over 5 years ago
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...

cb1c6dd8a33073aaa0a4d881c94ec7ab1c1be7f6 authored over 5 years ago
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...

fc41507b84a52764fe62501596b3c851e0c586a9 authored over 5 years ago
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

9fa2581ace672ca82cb7627528f5df9f7ab145b4 authored over 5 years ago
Processed review comments

9064d26aaaa4e6d5cc447b1b140f4c891286e813 authored over 5 years ago
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

ac61b8d95b21b2b4167bd9b4e8359712a210606c authored over 5 years ago
Implemented deepFreeze functionality, *anything draftable* returned from a produce will now be deeply frozen

7fd3ef38cf4047eb33a51a897e9ec1af13f36cfc authored over 5 years ago
Merge pull request #418 from steven-mercatante/patch-1

Fix typo in readme.md

71454c2a3f4ae997a904385782c27ccdbf16463f authored over 5 years ago
Fix typo in readme.md

s/temporarily/temporary

4561963f87795239985e5946cab3ac25742894d7 authored over 5 years ago
updated tests

8aa4da345fe7810740036f1140f21ee362f6ddf5 authored over 5 years ago
chore: fix travis deploy (?)

f2a79c70805710d026df728e9cb719b586b8f7ab authored over 5 years ago
chore: don't assign 'bug' label automatically for new issues

a791bff29829769fe23a60828ae3b25574f5c242 authored over 5 years ago
Fix: made sure non-plain & non-draftable objects are not cloned when applying patches

99de8833db4443fc50f5e0718e42cd4c4389354d authored over 5 years ago
fix: ensure that patches are reusable. Fixes #411

af3a59df950506c8f7f34ede6a7bbd9169805ca2 authored over 5 years ago
feat: Always use remove command in generateArrayPatches()

Fixes #208

d4833348df85a713c5eee229e81410fc7893d1b4 authored over 5 years ago
fix: ensure patches are reusable

49b2e7bc654c3f2b79babfbef9e51fc27a505567 authored over 5 years ago
fix: ensure patches are reusable

c2e69d9ea9c7d4a50abe502cd0be805b74732cab authored over 5 years ago
Merge pull request #402 from immerjs/produce-with-patches

feat: introduced produceWithPatches. Implements #400

a16dedad9ce68ff996105b1b7393b0e0b52a45db authored over 5 years ago
feat: introduced produceWithPatches. Implements #400

86be737d8502aeb351296afe28ceb3e506a3a2ec authored over 5 years ago
docs: add opensource award

615ca6f99d7ca90b25051ea1a3073b4aca0d9b72 authored over 5 years ago
fix: don't unnecessary modify draft if replaying patches results in a new state anyway

96f2b2e58e31e7380fb2e46a543d4b094d7001a4 authored over 5 years ago
fix: If a property is added, then deleted, don't produce a patch

7cd2dc1acceb69c00fc2dbd10ce8fae1085eb6c5 authored over 5 years ago
Merge pull request #397 from snapwich/patch-1

Include import statement in `original` example

a46b9e7b97a433e92d31d7852554b108f07e46f5 authored over 5 years ago
Added funding file

d51ac214d276e19aa84f0ff02f6c805e8888a17b authored over 5 years ago
Include import statement in `original` example

79369f2a413977210ca7b22fe871857a74e44c3c authored over 5 years ago
style: use tabs

Tabs allow for custom indentation per user

a9c0fd02c7575cfa6e61563e50a51ccc71949d9d authored over 5 years ago
docs: immer-reducer works with React useReducer hook too (#391)

39b1050b0652a2002cbb345272239912c781f6d2 authored over 5 years ago
fix(build): add unpkg and jsdelivr fields to package.json (#384)

fa1f5e60b560a4c5fe2da4ffcbcaaae98632c473 authored over 5 years ago
docs: add redux-immer to "Cool things built with immer" (#383)

f247d60dbb852a9b4a1fe6797614ec693c0cbbbf authored over 5 years ago
4.0.0-beta.0

13eab80844703d7ac765fbeb0029b01f04c19768 authored over 5 years ago
refactor: rename "source" helper to "latest"

eba300fc60f8e5f7020cb01973f73b8ea95dca97 authored over 5 years ago
refactor: avoid unnecessary function wrapper

1f5806c21fd98a8755640606afe40e12fe7f80d1 authored over 5 years ago
docs: remove warning

594d6379473886a2969c5a4d2fd359168c589e47 authored over 5 years ago
nit: minor refactoring

a2c475493e80a25b4291e461075c94c977b55af4 authored over 5 years ago
refactor: "get" trap for Maps

ddf5dbbebdb5ad28a7b13600d933c3426e674d42 authored over 5 years ago
refactor: helper functions

b6b542d23adc961e2b9d43c39c8450b373e85a5b authored over 5 years ago
test: remove defuseProxies helper

221d6017ff1c79036ff7d27bebbe3bfc6cbddfa9 authored over 5 years ago
feat: `onCopy` for `Sets`

e56ad54b22abcb2f31969c2abb753655741a4a3c authored over 5 years ago
feat: `onAssign` for `Sets`

aa24f65b925d30ac23b32d63406df3c60b3d9a2b authored over 5 years ago
feat: `onCopy` for `Maps`

8de78f23be40e92363df7bcb43fa90ce568a88bc authored over 5 years ago
feat: `onDelete` for `Maps`

1ca49ef614aefde865a215b9ab64f28afd05a55f authored over 5 years ago
feat: `onAssign` for `Maps`

eaea1b02b757733167d54092db9928f18f9e94bb authored over 5 years ago
docs: add a migration guide for 4.0

00fb26a15249ada5b2c74566c19a49861c67d5fe authored over 5 years ago
docs: add a note about patch serialization for Maps

c34ff3ec46217f6ab8bbedd183fd715c1e057bc6 authored over 5 years ago
feat: add support of non-primitive keys for `Maps`

6501ec524f0a95b92299d5fae083374a96ad7e2b authored over 5 years ago
docs: fix example code formatting (#373)

65b9d087af35ed187a10081e329237e06d84ab11 authored over 5 years ago
fix: ensure Symbol.for exists before calling it (#366)

For IE11 compatibility

Closes #365

c8ecbad52a71aa834f8735c79c8fa56c9c55c4dd authored over 5 years ago
Added test reproducing #356

4443cace6c23d14536955ce5b2aec92c8c76cacc authored almost 6 years ago
refactor: makeTrapsForGetters function

5093fd0ee2e9280d942eb94db2fe6d968ff1c60d authored almost 6 years ago
docs: es6 map support

6255a58660b016d89b47482de9eaac029d90d688 authored almost 6 years ago
refactor: traps for Maps and Sets

dd82d8986e2b21357ebfb34a75146de562af9ec9 authored almost 6 years ago
nit: merge isMap and isSet checks

4164f0dee166e88f132d450b872cda259ff8dda8 authored almost 6 years ago
refactor: markChanged function

5857d63460c5ce965372fb0b7955e30d55975f64 authored almost 6 years ago
fix: add more traps for Maps and Sets

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

930b4ab27a0df923f220d53af870d5e9060b4421 authored almost 6 years ago
fix: Map.prototype.set should return a draft

700120102f90956315ae44e0e012efa6f91a443a authored almost 6 years ago
refactor: simplify mapGetters.keys

3298a77d59c861e44c404d9aba19e5354aa09307 authored almost 6 years ago
fix: remove "function*" syntax

08d88b83a66c63bb83faae991bc7658d0dae7166 authored almost 6 years ago
fix: add Map getter for DRAFT_STATE, make isEnumerable more resilient

7bbec0a42e6fc3b41c5ddaa765f61c44576c0b25 authored almost 6 years ago
nit: ensure isEnumerable returns a boolean

53d0cdfbd9024955e5c0be4cb8ddcba76277c32d authored almost 6 years ago
nit: argument names

a674a78ffb926ff481fe0a2163adfb78b2b062a1 authored almost 6 years ago
feat: `Set` drafts

Support for patch listeners included

BREAKING CHANGE: `Set` objects are now drafted

4355b6311b85997a8cc0c3a5c49ba71be99cc8bd authored almost 6 years ago
chore: reorganize src/proxy.js

3163a7d5c9846aa413a7a56f994e21918811f575 authored almost 6 years ago
feat: `Map` drafts and patches

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

BREAKING CHANGE...

30db0f3f6b99f9ce9fa4ee859844e07da6b945ac authored almost 6 years ago
fix: revert Map support

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

47529d31909607fd741488cccab24cda5f16c9f5 authored almost 6 years ago
docs: fix size badge

b3a9aab6d7bd49394e2c2a82f4f621598bc2d5ee authored almost 6 years ago
nit: argument names

946cf90a0a321022b376c947b8b794c2e67a9f04 authored almost 6 years ago
fix: remove "function*" syntax

6a359e1dd56b4486ff6c03884051bee18fd27c63 authored almost 6 years ago
fix: add Map getter for DRAFT_STATE, make isEnumerable more resilient

5c728a4a5e01b087e0d5ffa35e71ac3af689e0d4 authored almost 6 years ago
fix: Map.prototype.set should return a draft

cef5859fc2861f8dfaf0c7a63deb93579dcf478d authored almost 6 years ago
nit: ensure isEnumerable returns a boolean

b967bab63b1d7423830069deb5aea5f517b89e75 authored almost 6 years ago
chore: reorganize src/proxy.js

e809ffc5b1aee9af4a1bcad2461f62e9598e4528 authored almost 6 years ago
refactor: simplify mapGetters.keys

bbaa6dc8fe8a40f6feec5d43669ecb0d34637e99 authored almost 6 years ago
feat: `Map` support

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

Note: Do not us...

8276a6c3192d10e2fe33e8871c6b9c2f4c833a09 authored almost 6 years ago
docs: es6 map support

1cb564acdf5dd341842c407e7325b6ecfa8f7ccd authored almost 6 years ago
docs: Fixed some badges

41919699347caca7d61139f57597f9c88c4d515f authored almost 6 years ago
docs: add migration guide for v3

a437755eb010961c6d67a78cf1b04c8374edae01 authored almost 6 years ago
test(ts): stop testing latest typescript

And fix a test case

487e3d770306d66f455015fd24b0ab26dd65487a authored almost 6 years ago
test(ts): use spec.ts

b5abaed537814d7fb9b2b7b3e9be39fddad7fb23 authored almost 6 years ago
refactor(ts): simplify IProduce type tests

bce282d5d64b5017457be194d9bedee5b9fcce71 authored almost 6 years ago
refactor(ts): curriedProduce function

1282f04c5aa972eb93ee5e6cd76356ac5af36741 authored almost 6 years ago
refactor(ts): tweak IProduce type

8925080ec84c3e6621b3876bbdf5a8020e64223c authored almost 6 years ago
docs: Readme fixes

980474acec6fe8769413baa10aafacd31eeba2e5 authored almost 6 years ago
docs: remove install size badge

7820eee1b5a0b22b89ba03ebcdd2c22627c19193 authored almost 6 years ago
feat: Dropped node 6 support

BREAKING CHANGE

eecc773923f2a97038e4c94c288e855a8ab3e978 authored almost 6 years ago
feat: `this` in recipe is no longer the draft, but unbound

BREAKING CHANGE

3f402988b93d596e0b559b9e5801c064c889d7ff authored almost 6 years ago
chore: processed review comment from #348

907785131acf21e1a06ae2414e6ac7a498f2f302 authored almost 6 years ago
feat: Immer now has it's own Github org, `immerjs`

17d69c3b81e760bb617019b1bac10343d3a35283 authored almost 6 years ago
chore(ts): Clean up `this` from typings

dfb66aebebc58171aba297a53ff15bc9ab08cf96 authored almost 6 years ago
docs: Update readme

fe2473f8dcfc68e83690e1f2db45aa1f70d80a9a authored almost 6 years ago
test(ts): fix type assertions

52a34bd9f8e9f62ce94ff5e1f91211fb104899c1 authored almost 6 years ago
chore: prettier 1.17

71f7bbeb3e6f9ec28012f34c1429e41274e36d12 authored almost 6 years ago
feat(ts): improve curried producers

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

3cb0fb3344d61870b9825fe25d4074045733250e authored almost 6 years ago
test(ts): some more test cases

6624aa8bbcb8a5bb59bc99068e7681cd9b81f1df authored almost 6 years ago
feat(ts): Improve type inference based on the first arg of the recipe function

acf8a57ed9e1c8c41c759d104acac8d29559f2e2 authored almost 6 years ago
refactor(ts): Simpler draft / immutable implementation

7e971b66421a121101ecf5b8affa948de4b35e48 authored almost 6 years ago
feat(ts): Support typescript 3.4

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

2868065a93b6d38bd5af41f6edee038e72e67123 authored almost 6 years ago
chore: Revert "ci: avoid [email protected] for now"

This reverts commit e592b5c5732a52ae0cdcbf900cda0bde14c540f2.

df68c23744e86ddba156b3bca2a1c639b8a6e89a authored almost 6 years ago
fix(ts): Immutable<T> / read-only arrays in TS 3.4+

2c27133d45729667b4871ea4db835589a6b9cba3 authored almost 6 years ago