Skip to content

Commit

Permalink
docs(readme): update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Feb 5, 2023
1 parent 18042a7 commit ed7c7d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ In this basic example, the changes to the draft are 'mutative' within the draft
- enableAutoFreeze - `boolean`, the default is false.

> Enable autoFreeze, and return frozen state.
> Enable autoFreeze, and return frozen state, and enable circular reference checking only in `development` mode.
- mark - `(target) => ('mutable'|'immutable'|function)`
> Set a mark to determine if the value is mutable or if an instance is an immutable, and it can also return a shallow copy function(AutoFreeze and Patches should both be disabled).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mutative",
"version": "0.4.1",
"version": "0.4.2",
"description": "A JavaScript library for efficient creation of immutable state",
"main": "dist/index.js",
"module": "dist/mutative.esm.js",
Expand Down

0 comments on commit ed7c7d1

Please sign in to comment.