Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,9 @@ stringify(circular, ['a', 'b'], 2)
Circular values and bigint values throw as well in case either option is not
explicitly defined. Sets and Maps are not detected as well as Symbol keys!
**Default:** `false`
<<<<<<< HEAD
* `safe` {boolean} If `true`, calls to .toJSON() and replacers that throw will
return the error message in place of the object instead of throwing.
**Default:** `false`
=======
* `safe` {boolean} If `true`, calls to .toJSON(), getters, and replacers that
throw will return the error message in place of the object instead of
throwing. **Default:** `false`
>>>>>>> fa728c4 (fix: implement safe option for toJSON and make other accesses safe)
* Returns: {function} A stringify function with the options applied.

```js
Expand Down