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

chore(deps): bump safe-stable-stringify from 2.4.3 to 2.5.0 #2049

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2024

Bumps safe-stable-stringify from 2.4.3 to 2.5.0.

Release notes

Sourced from safe-stable-stringify's releases.

v2.5.0

  • Accept Array#sort(comparator) comparator method as deterministic option value to use that comparator for sorting object keys.
import { configure } from 'safe-stable-stringify'
const object = {
a: 1,
b: 2,
c: 3,
}
const stringify = configure({
deterministic: (a, b) => b.localeCompare(a)
})
stringify(object)
// '{"c": 3,"b":2,"a":1}'

  • Very minor performance optimization.

Thanks to @​flobernd, @​cesco69 and @​prisis to contribute to this release!

Changelog

Sourced from safe-stable-stringify's changelog.

v2.5.0

  • Accept Array#sort(comparator) comparator method as deterministic option value to use that comparator for sorting object keys.
import { configure } from 'safe-stable-stringify'
const object = {
a: 1,
b: 2,
c: 3,
}
const stringify = configure({
deterministic: (a, b) => b.localeCompare(a)
})
stringify(object)
// '{"c":3,"b":2,"a":1}'

  • Very minor performance optimization.

Thanks to @​flobernd, @​cesco69 and @​prisis to contribute to this release!

Commits
  • a850d28 v2.5.0
  • ff9126d doc: update CHANGELOG.md for v2.5.0
  • d2e996d refactor: reduce code size and improve performance
  • 3e16978 ci: test Node.js v22 instead of v21
  • 38afd20 doc: add comparator description
  • 9a988d0 feat: accept comparator function as deterministic option (#49)
  • 7b7ec1b Update index.js
  • 46f2449 bench: fix array creation in benchmark
  • 9244319 ci: add Node.js 20.x and 21.x to the tests
  • 752b9e9 test: fix test suite for Node.js <= 11
  • See full diff 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [safe-stable-stringify](https://github.com/BridgeAR/safe-stable-stringify) from 2.4.3 to 2.5.0.
- [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@v2.4.3...v2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Update one or more dependencies version javascript Pull requests that update Javascript code labels Aug 25, 2024
@github-actions github-actions bot merged commit dd9fd3b into next Aug 25, 2024
2 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/safe-stable-stringify-2.5.0 branch August 25, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants