Sha256: 1335afdbf4478a9a55507ef8b3e363278ba4daf8077255def89b70c2dda5fc4d

Contents?: true

Size: 734 Bytes

Versions: 141

Compression:

Stored size: 734 Bytes

Contents

## Unreleased
- Fixes stringify to only take ancestors into account when checking
  circularity.  
  It previously assumed every visited object was circular which led to [false
  positives][issue9].  
  Uses the tiny serializer I wrote for [Must.js][must] a year and a half ago.
- Fixes calling the `replacer` function in the proper context (`thisArg`).
- Fixes calling the `cycleReplacer` function in the proper context (`thisArg`).
- Speeds serializing by a factor of
  Big-O(h-my-god-it-linearly-searched-every-object) it had ever seen. Searching
  only the ancestors for a circular references speeds up things considerably.

[must]: https://github.com/moll/js-must
[issue9]: https://github.com/isaacs/json-stringify-safe/issues/9

Version data entries

141 entries across 132 versions & 25 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/json-stringify-safe/CHANGELOG.md
disco_app-0.18.0 test/dummy/node_modules/json-stringify-safe/CHANGELOG.md
disco_app-0.18.2 test/dummy/node_modules/json-stringify-safe/CHANGELOG.md
tang-0.2.1 spec/tang_app/node_modules/json-stringify-safe/CHANGELOG.md
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/json-stringify-safe/CHANGELOG.md
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/json-stringify-safe/CHANGELOG.md
ruby2js-4.0.4 lib/tasks/testrails/node_modules/json-stringify-safe/CHANGELOG.md
ruby2js-4.0.3 lib/tasks/testrails/node_modules/json-stringify-safe/CHANGELOG.md
tang-0.2.0 spec/tang_app/node_modules/json-stringify-safe/CHANGELOG.md
tang-0.1.0 spec/tang_app/node_modules/json-stringify-safe/CHANGELOG.md
tang-0.0.9 spec/tang_app/node_modules/json-stringify-safe/CHANGELOG.md
enju_library-0.3.8 spec/dummy/node_modules/json-stringify-safe/CHANGELOG.md
ilog-0.4.1 node_modules/json-stringify-safe/CHANGELOG.md
ilog-0.4.0 node_modules/json-stringify-safe/CHANGELOG.md
ilog-0.3.3 node_modules/json-stringify-safe/CHANGELOG.md
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/json-stringify-safe/CHANGELOG.md
jester-data-8.0.0 node_modules/json-stringify-safe/CHANGELOG.md
ezii-os-5.2.1 node_modules/json-stringify-safe/CHANGELOG.md
ezii-os-2.0.1 node_modules/json-stringify-safe/CHANGELOG.md
ezii-os-1.1.0 node_modules/json-stringify-safe/CHANGELOG.md