js

javascript-stringify

Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`

Showing:

18 Versions

2.1.0

Changed

  • Remove deprecated new Buffer() (#41) 83a1f3d
  • Maintain key order when restoring references (#33) 1d32d25

https://github.com/blakeembrey/javascript-stringify/compare/v2.0.1...v2.1.0

2.0.1

Fixed

  • Object function properties should call next()

Added

  • Add BigInt support

2.0.0

Huge thanks to @rhendric for the contribution and work put in to make a simple JavaScript function parser to support ES methods toString() on all node.js versions.

Changed

1.6.0

Changed

  • Add support for stringifying Error, Map and Set instances

1.5.0

Added

  • Add a new option to skip undefined property values

1.4.0

Added

1.3.0

Added

  • Enable an option to restore references using an IIFE
  • Only restore references to function and object types

Fixed

1.2.0

Added

  • New options object with maxDepth stringify support

1.1.2

Fixed

  • Fix circular array references

1.1.1

Fixed

  • Write circular array elements as undefined
  • Support for buffer stringify on node 6

1.1.0

Fixed

  • Support for ES2015 Symbols in stringify output

1.0.2

Changed

  • Add .d.ts file for typings

1.0.1

Fixed

  • Stringify buffer objects

1.0.0

0.0.4

0.0.3

0.0.2

0.0.1