Socket
Socket
Sign inDemoInstall

fast-stringify

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-stringify - npm Package Versions

2.0.0

Diff

Changelog

Source

2.0.0

  • Rewritten in TypeScript
  • Better reference key identification

BREAKING CHANGES

  • CommonJS builds no longer need .default (const stringify = require('fast-stringify');)
  • Reference keys on circular objects now reflect the key structure leading to the object
planttheidea
published 1.1.2 •

Changelog

Source

1.1.2

  • Update documentation to explain the purpose of the library and its relationship to JSON.stringify
  • Add typeof value === 'object' check to only cache objects for faster iteration
  • Improve internal indexOf lookup for faster cache comparisons
planttheidea
published 1.1.1 •

Changelog

Source

1.1.1

  • Upgrade to use Babel 7 for transformations
planttheidea
published 1.1.0 •

Changelog

Source

1.1.0

  • Add ESM support for NodeJS with separate .mjs extension exports
planttheidea
published 1.0.4 •

Changelog

Source

1.0.4

  • Reduce runtime function checks
planttheidea
published 1.0.3 •

Changelog

Source

1.0.3

  • Abandon use of WeakSet for caching, instead using more consistent and flexible Array cache with custom modifier methods
planttheidea
published 1.0.2 •

Changelog

Source

1.0.2

  • Fix issue where directly nested objects like window were throwing circular errors when nested in a parent object
planttheidea
published 1.0.1 •

Changelog

Source

1.0.1

  • Fix repeated reference issue (#2)
planttheidea
published 1.0.0 •

Changelog

Source

1.0.0

  • Initial release
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc