explore
explore copied to clipboard
chore(deps): bump json from 2.16.0 to 2.17.1 in the dependencies group
Bumps the dependencies group with 1 update: json.
Updates json from 2.16.0 to 2.17.1
Release notes
Sourced from json's releases.
v2.17.0
What's Changed
- Improve
JSON.loadandJSON.unsafe_loadto allow passing options as second argument.- Fix the parser to no longer ignore invalid escapes in strings. Only
\",\\,\b,\f,\n,\r,\tand\uare valid JSON escapes.- Fixed
JSON::Coderto use the depth it was initialized with.- On TruffleRuby, fix the generator to not call
to_jsonon the return value ofas_jsonforFloat::NAN.- Fixed handling of
state.depth: whento_jsonchangesstate.depthbut does not restore it, it is reset automatically to its initial value. In particular, when aNestingErroris raised,depthis no longer equal tomax_nestingafter the call to generate, and is reset to its initial value. Similarly whento_jsonraises an exception.Full Changelog: https://github.com/ruby/json/compare/v2.16.0...v2.17.0
Changelog
Sourced from json's changelog.
2025-12-04 (2.17.1)
- Fix a regression in parsing of unicode surogate pairs (
\uXX\uXX) that could cause an invalid string to be returned.2025-12-03 (2.17.0)
- Improve
JSON.loadandJSON.unsafe_loadto allow passing options as second argument.- Fix the parser to no longer ignore invalid escapes in strings. Only
\",\\,\b,\f,\n,\r,\tand\uare valid JSON escapes.- Fixed
JSON::Coderto use the depth it was initialized with.- On TruffleRuby, fix the generator to not call
to_jsonon the return value ofas_jsonforFloat::NAN.- Fixed handling of
state.depth: whento_jsonchangesstate.depthbut does not restore it, it is reset automatically to its initial value. In particular, when aNestingErroris raised,depthis no longer equal tomax_nestingafter the call to generate, and is reset to its initial value. Similarly whento_jsonraises an exception.
Commits
e5e4fd5Release 2.17.10fce370Fix a regression in parsing of unicode surogate pairs4bdb2d1Release 2.17.0ccca602Fix handling of depth7b62facFix duplicated test_unsafe_load_with_options test casee0257b9Reproduce C ext behavior of ignoring mutated depth in arrays386b36fTest and restore behavior around to_json changing depthc54de70ImproveJSON.loadandJSON.unsafe_loadto allow passing options as second...65d62dcMerge pull request #909 from nobu/macro_args8fb7279Fix macro arguments- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) -
@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) -
@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) -
@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency -
@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions