Skip to content
Myr

Fixed #75, don't use Symbols if not available

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 1962840 · Browse files · 2 files+10 added−1 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+10 added−1 removed

  • other:+10 added−1 removed

2 files+10 added−1 removed

modified:src/common.js+4 added-1 removed
modified:changelog.md+6 added
2 unmodified lines
3### 0.8.245* Fixed: TS typings were no longer exposed67### 0.8.289* Several general improvements: if an instances of an object are in the tree they will now be one instance in the resulting tree as well, also in the ES5 impl10* Always freeze data that is newly added to the draft11* Fixed [#75](https://github.com/mweststrate/immer/issues/75), don't use Symbols if not available.1213### 0.8.11415* Fixed [#66](https://github.com/mweststrate/immer/pull/66), assigning an already frozen object to a state threw resulting in exceptions being thrown as Immer unnecessarily tried to rewrite them.16
79 unmodified lines