From ed7c7d154ee3157de90d6fa04a09fa81ebb776ef Mon Sep 17 00:00:00 2001 From: unadlib Date: Mon, 6 Feb 2023 00:54:26 +0800 Subject: [PATCH] docs(readme): update readme --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b97e9c66..c6e4183d 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index fcb9f7cb..6978aa1b 100644 --- a/package.json +++ b/package.json @@ -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",