Repository navigation
Conversation
Retain Jest 29 and existing dependency ranges while removing patched Babel, Browserslist, brace-expansion and YAML advisories from the lockfile. Add bounded dependency regressions and document the remaining deepmerge advisory without forcing a breaking Jest downgrade.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Reviewer's GuideThis PR refreshes 24 development-only transitive Jest dependency records in package-lock.json, adds focused regressions for brace-expansion and js-yaml vulnerabilities, and documents the audit results and remaining deepmerge finding without changing package.json, Jest, runtime code, or deployment behavior. Sequence diagram for dependency security regression testssequenceDiagram
participant Jest
participant Test as dependency-security.test.js
participant Node
participant Brace as brace-expansion
participant YAML as js-yaml
Jest->>Test: run regression tests
Test->>Node: spawn brace expansion with heap cap and timeout
Node->>Brace: expand('{1..2..0}')
Brace-->>Node: ['1', '2']
Node-->>Test: successful bounded result
Test->>YAML: parse four empty merge-source mappings with budget 3
YAML-->>Test: budget exceeded
Test->>YAML: parse ordinary document with budget 4
YAML-->>Test: document accepted
Test-->>Jest: pass
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Evidence
Base main:
83ceac969392e7ea1948652d0b2dd6d06233ddeb.Head:
ff2cb6d988391ab31324c78c477fce40b3c13e84.Verified published tree:
0207e3c0790c0dcbe284ae9b357408c9276d94f3.Independent assistant-cloud checks:
Exact-head hosted CI 41947175892 completed successfully at 2026-11-05 01:15:04 UTC. Node 18.20.8 and Node 20.20.2 each passed locked npm ci and 70/70 Jest tests; Python 3.11.17 passed 27/27 tests. All three checkout logs identify merge ref
05d89283087a8967bbb6b02837722eb44ec865cb, whose parents are the exact head and unchanged base above and whose tree equals the published head tree. This is verified merge-ref CI, not a claim that jobs checked out the bare head. GitHub warns that the existing checkout/setup actions use the forced Node 24 action runtime; the application-test versions above are confirmed separately in their logs.Security result and boundaries
Current npm 11.9.0 audit changes from 49 affected package entries (34 low, 2 moderate, 13 high) across 16 distinct advisory URLs to 6 low entries with one distinct advisory. These counts include propagated dependency effects and are not counts of demonstrated project exploits. npm audit --omit=dev reports zero findings.
Deepmerge GHSA-gcqx-w48m-w2h4 remains under jest-config. No patched deepmerge version is published; npm proposes a breaking downgrade to Jest 25.1.0. This PR does not force that downgrade, suppress the finding, or claim the development toolchain is fully clean.
These are development-toolchain fixes. No npm runtime dependency, RPG Maker plugin code, Python installer, workflow, permission, credential, merge, deployment or release is changed. Existing installer Draft #5 is independent and untouched.
Research, advisory links, checks and reproducible commands.
Summary by Sourcery
Refresh the Jest development dependency lockfile to address known transitive vulnerabilities while preserving the existing Jest version and production dependency surface.
Bug Fixes:
Enhancements:
Documentation:
Tests:
Summary by cubic
Refreshes the Jest development lockfile to replace vulnerable transitive packages (Babel, browserslist, brace-expansion, js-yaml) with patched versions within their existing ranges, keeping
jest@29.7.0andpackage.jsonunchanged. Adds two regression tests that catch re-introduction of the patched issues, and documents the audit snapshot; one low-severitydeepmergeadvisory remains because no patched release exists.Verification
npm ciand all 70 Jest tests pass on Node 24; the new tests fail against the original lockfile as expected.package-lock.jsonand adds test/documentation files.Written for commit ff2cb6d. Summary will update on new commits.