Bump json from 2.20.0 to 2.21.2 in /docs #20
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #20"
general
weight: 0.35
lehors
Bumps json from 2.20.0 to 2.21.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/ruby/json/releases">json's releases</a>.</em></p>
<blockquote>
<h2>v2.21.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix a use-after-free bug in <code>JSON::ResumableParser</code>. [GHSA-9hj4-r449-hfvc].</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/json/compare/v2.21.1...v2.21.2">https://github.com/ruby/json/compare/v2.21.1...v2.21.2</a></p>
<h2>v2.21.0</h2>
<h2>What's Changed</h2>
<ul>
<li><code>JSON.generate</code> now accept a <code>sort_keys</code> option, which takes either a boolean or a block.</li>
<li>Added <code>#empty?</code> and <code>#partial_value?</code> methods on <code>JSON::ResumableParser</code>.</li>
<li>Numerous correctness and performance fixes for <code>JSON::ResumableParser</code>.</li>
<li>Avoid triggering Ruby's <code>float out of range</code> warning when parsing out of range numbers.</li>
<li>Declare C types with Ruby 4.1 <code>RUBY_TYPED_THREAD_SAFE_FREE</code>.</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/ruby/json/compare/v2.20.0...v2.21.0">https://github.com/ruby/json/compare/v2.20.0...v2.21.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/ruby/json/blob/master/CHANGES.md">json's changelog</a>.</em></p>
<blockquote>
<h3>2026-07-31 (2.21.2)</h3>
<ul>
<li>Fix a use-after-free bug in <code>JSON::ResumableParser</code>. [GHSA-9hj4-r449-hfvc][CVE-2026-71847].</li>
</ul>
<h3>2026-07-13 (2.21.1)</h3>
<ul>
<li>Fix a compilation issue on Window and Microsoft Visual C++.</li>
</ul>
<h3>2026-07-12 (2.21.0)</h3>
<ul>
<li><code>JSON.generate</code> now accept a <code>sort_keys</code> option, which takes either a boolean or a block.</li>
<li>Added <code>#empty?</code> and <code>#partial_value?</code> methods on <code>JSON::ResumableParser</code>.</li>
<li>Numerous correctness and performance fixes for <code>JSON::ResumableParser</code>.</li>
<li>Avoid triggering Ruby's <code>float out of range</code> warning when parsing out of range numbers.</li>
<li>Declare C types with Ruby 4.1 <code>RUBY_TYPED_THREAD_SAFE_FREE</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/ruby/json/commit/5a32e4367ca5976f62af12887a09685b7109b054"><code>5a32e43</code></a> Release 2.21.2</li>
<li><a href="https://github.com/ruby/json/commit/2c332bfe2bfb0e754da07e2a0310ef106bf46482"><code>2c332bf</code></a> Also don't compute ResumableParser cursor position for warning</li>
<li><a href="https://github.com/ruby/json/commit/5499aa54a46a8e399e2568e6569b504f0f0e2a41"><code>5499aa5</code></a> Improve max_nesting documentation</li>
<li><a href="https://github.com/ruby/json/commit/499d9bcf22e6a9183f7b765446a458a57ca127ae"><code>499d9bc</code></a> Fix the parser benchmark bytes report</li>
<li><a href="https://github.com/ruby/json/commit/f5fc2454fdf518a3ef7a024ed0d946587f94bd00"><code>f5fc245</code></a> Pass '-mno-outline' to the compiler (if supported) to prevent function outlin...</li>
<li><a href="https://github.com/ruby/json/commit/fd61def38b9bb859fee7eec8e7d3143600e5b347"><code>fd61def</code></a> Release 2.21.1</li>
<li><a href="https://github.com/ruby/json/commit/db70b1432157d1c01b556c1367babe72a6a1fe21"><code>db70b14</code></a> Rely on Ruby's HAVE_BUILTIN___BUILTIN_CLZLL</li>
<li><a href="https://github.com/ruby/json/commit/9be0e8ed39c29f08ad9c72eabdb8aa0851bfa990"><code>9be0e8e</code></a> Release 2.21.0</li>
<li><a href="https://github.com/ruby/json/commit/d1299d42ac3042f6756af7673ab4ca76178f2d65"><code>d1299d4</code></a> Avoid re-decoding an incomplete number on every ResumableParser chunk</li>
<li><a href="https://github.com/ruby/json/commit/cc010c46889c8516a9a357336b262ce35779985f"><code>cc010c4</code></a> Fix ResumableParser losing tokens before a feed-boundary suspension</li>
<li>Additional commits viewable in <a href="https://github.com/ruby/json/compare/v2.20.0...v2.21.2">compare view</a></li>
</ul>
</details>
<br />

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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
</details>