Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump safe-stable-stringify from 1.1.0 to 2.3.1 #141

Merged
merged 1 commit into from
Feb 12, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2022

Bumps safe-stable-stringify from 1.1.0 to 2.3.1.

Release notes

Sourced from safe-stable-stringify's releases.

v2.3.1

  • Fix invalid regexp group error in browsers or environments that do not support the negative lookbehind regular expression assertion.

v2.3.0

  • Accept the Error constructor as circularValue option to throw on circular references as the regular JSON.stringify would:
import { configure } from 'safe-stable-stringify'
const object = {}
object.circular = object;
const stringify = configure({ circularValue: TypeError })
stringify(object)
// TypeError: Converting circular structure to JSON

  • Fixed escaping wrong surrogates. Only lone surrogates are now escaped.

v2.2.0

  • Reduce module size by removing the test and benchmark files from the published package
  • Accept undefined as circularValue 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]}'

v2.1.0

  • Added maximumBreadth option to limit stringification at a specific object or array "width" (number of properties / values)
  • Added maximumDepth option to limit stringification at a specific nesting depth
  • Implemented the well formed stringify proposal that is now part of the spec
  • Fixed maximum spacer length (10)
  • Fixed TypeScript definition
  • Fixed duplicated array replacer values serialized more than once

v2.0.0

  • [BREAKING] Convert BigInt to number by default instead of ignoring these values If you wish to ignore these values similar to earlier versions, just use the new bigint option and set it to false.
  • [BREAKING] Support ESM
  • [BREAKING] Requires ES6
  • Optional BigInt support

... (truncated)

Changelog

Sourced from safe-stable-stringify's changelog.

v2.3.1

  • Fix invalid regexp group error in browsers or environments that do not support the negative lookbehind regular expression assertion.

v2.3.0

  • Accept the Error constructor as circularValue option to throw on circular references as the regular JSON.stringify would:
import { configure } from 'safe-stable-stringify'
const object = {}
object.circular = object;
const stringify = configure({ circularValue: TypeError })
stringify(object)
// TypeError: Converting circular structure to JSON

  • Fixed escaping wrong surrogates. Only lone surrogates are now escaped.

v2.2.0

  • Reduce module size by removing the test and benchmark files from the published package
  • Accept undefined as circularValue 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]}'

v2.1.0

  • Added maximumBreadth option to limit stringification at a specific object or array "width" (number of properties / values)
  • Added maximumDepth option to limit stringification at a specific nesting depth
  • Implemented the well formed stringify proposal that is now part of the spec
  • Fixed maximum spacer length (10)
  • Fixed TypeScript definition
  • Fixed duplicated array replacer values serialized more than once

v2.0.0

  • [BREAKING] Convert BigInt to number by default instead of ignoring these values

... (truncated)

Commits
  • 78891ff fix: make sure environments without negative lookbehind work
  • 6b11e3a v2.3.0
  • 44b72a2 Add support to throw on circular values and fix surrogate pairs
  • 4db216f v2.2.0
  • 66394bd feature: add .npmignore file to only include relevant files
  • f150de0 docs: add circularValue set to undefined example and improve readme
  • 7472f80 feature: accept undefined as circularValue option
  • d9d4db5 v2.1.0
  • 0713e80 Merge pull request #22: v2.1.0
  • 6e295ff feature: implement well formed JSON.stringify behavior
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 5, 2022
Bumps [safe-stable-stringify](https://github.com/BridgeAR/safe-stable-stringify) from 1.1.0 to 2.3.1.
- [Release notes](https://github.com/BridgeAR/safe-stable-stringify/releases)
- [Changelog](https://github.com/BridgeAR/safe-stable-stringify/blob/main/CHANGELOG.md)
- [Commits](BridgeAR/safe-stable-stringify@v1.1.0...v2.3.1)

---
updated-dependencies:
- dependency-name: safe-stable-stringify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/safe-stable-stringify-2.3.1 branch from 34b9ada to 1c0433e Compare February 11, 2022 16:37
@DABH DABH merged commit e0d2b5e into master Feb 12, 2022
@DABH DABH deleted the dependabot/npm_and_yarn/safe-stable-stringify-2.3.1 branch February 12, 2022 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant