v2.2.0
- Reduce module size by removing the test and benchmark files from the published package
- Accept
undefined
ascircularValue
option to remove circular properties from the serialized output:
import { configure } from 'safe-stable-stringify'
const object = { array: [] }
object.circular = object;
object.array.push(object)
configure({ circularValue: undefined })(object)
// '{"array":[null]}'