Skip to content

refactor: Bump fast-xml-parser from 5.11.1 to 5.12.1 - #3188

Merged
mtrezza merged 1 commit into
parse-community:alphafrom
mtrezza:refactor/fast-xml-parser-5.12.1
Dec 3, 2026
Merged

mtrezza merged 1 commit into
parse-community:alphafrom
mtrezza:refactor/fast-xml-parser-5.12.1

Conversation

@mtrezza

@mtrezza mtrezza commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Closes #3181

Bumps the transitive development dependency fast-xml-parser from 5.11.1 to 5.12.1 in the lock file. This resolves the low-severity advisory GHSA-474x-hrwr-fgx4 (quadratic CPU consumption scanning unterminated stop-node tags; vulnerable <= 5.11.2, patched in 5.12.0). fast-xml-parser is only required by @google-cloud/storage (^5.3.4), via parse-server > @parse/push-adapter > firebase-admin, and is not part of the production dependency tree.

The bot PR targets 5.12.0. This PR uses 5.12.1, the latest version in the parent's ^5.3.4 range, which only adds performance improvements and a fast-xml-builder patch on top of 5.12.0.

Changes

Sub-dependency updates in the lock file (used only by fast-xml-parser and fast-xml-builder):

  • @nodable/entities 3.0.0 → 3.1.0
  • fast-xml-builder 1.3.1 → 1.3.2
  • is-unsafe 2.0.2 → 2.0.3
  • strnum 2.4.2 → 2.5.1
  • xml-naming 0.3.0 → 0.3.1

Breaking Changes

None

Code Changes Required

None — the upgrade is a drop-in replacement.

Summary by CodeRabbit

  • Chores
    • Updated several underlying packages to newer versions.

@parse-github-assistant

Copy link
Copy Markdown

🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review.

Tip

  • Keep pull requests small. Large PRs will be rejected. Break complex features into smaller, incremental PRs.
  • Use Test Driven Development. Write failing tests before implementing functionality. Ensure tests pass.
  • Group code into logical blocks. Add a short comment before each block to explain its purpose.
  • We offer conceptual guidance. Coding is up to you. PRs must be merge-ready for human review.
  • Our review focuses on concept, not quality. PRs with code issues will be rejected. Use an AI agent.
  • Human review time is precious. Avoid review ping-pong. Inspect and test your AI-generated code.

Note

Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect.

Caution

Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The lockfile advances fast-xml-parser from 5.11.1 to 5.12.1. It updates recorded versions and dependency ranges for related packages.

Changes: XML parser dependencies

Layer / File(s) Summary
Parser and dependency versions
package-lock.json
The lockfile advances fast-xml-parser, @nodable/entities, fast-xml-builder, is-unsafe, strnum, and xml-naming. It updates the recorded dependency ranges for fast-xml-parser; the path-expression-matcher range is unchanged.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Merge Risk: Minimal · up to 0ab2c

This lockfile update moves a development-only XML parser dependency to a patched version and is not expected to change runtime behavior. No merge-blocking risk was identified.

Pre-merge checks: Passed 6

Check name Status Explanation
Title check Passed The title begins with the allowed prefix "refactor:" and the first letter after the prefix is capitalized ("Bump"). It accurately describes the change, which bumps fast-xml-parser from 5.11.1 to 5.12.…
Description check Passed The description follows the repository template's sections in substance. It covers the issue ("Closes #3181") and the approach (what is bumped, why, and the sub-dependency changes), and it notes that …
Linked Issues check Passed [#3181] The only coding requirement is to upgrade fast-xml-parser from 5.11.1 to 5.12.1. The whole-PR summary shows package-lock.json changes that set fast-xml-parser to 5.12.1 in both the `node…
Out of Scope Changes check Passed The reviewed change set covers only package-lock.json, with +44/-44 lines. Every change is a version or dependency-range update tied to the fast-xml-parser 5.12.1 upgrade. The summary reports no c…
Security Check Passed Summary: The reviewed range changes one file, package-lock.json (+44/-44). The diff contains no source code, scripts, or configuration changes. It only changes version, resolved URL, and integrity fie…
Engage In Review Feedback Passed The check passes because no review feedback exists to engage with or to ignore. The supplied review context states that no CodeRabbit review threads were returned. The current review produced zero act…
Full details: Title check

Explanation

The title begins with the allowed prefix "refactor:" and the first letter after the prefix is capitalized ("Bump"). It accurately describes the change, which bumps fast-xml-parser from 5.11.1 to 5.12.1 in the lock file. Although a dependency bump is arguably a fix or chore rather than a refactor, the configured requirements only check the prefix and casing, and both are met.

Full details: Description check

Explanation

The description follows the repository template's sections in substance. It covers the issue ("Closes #3181") and the approach (what is bumped, why, and the sub-dependency changes), and it notes that there are no breaking changes. The template's Tasks checklist (add tests, add documentation changes) is not addressed. The author does not state whether tests were added or whether documentation changes are needed, and the template's license and security links are not included. These are minor gaps for a lockfile-only dependency bump.

Full details: Linked Issues check

Explanation

[#3181] The only coding requirement is to upgrade fast-xml-parser from 5.11.1 to 5.12.1. The whole-PR summary shows package-lock.json changes that set fast-xml-parser to 5.12.1 in both the node_modules package entries and the package records. The same change set updates the sub-dependencies that the issue does not name: @nodable/entities 3.1.0, fast-xml-builder 1.3.2, is-unsafe 2.0.3, strnum 2.5.1, and xml-naming 0.3.1. The issue requests no code changes, no tests, and no other behavior. The issue's non-coding content, such as the release notes, is background only. I did not read the lockfile hunks directly. The summary is specific enough to establish the version change. The conclusion depends on that summary being accurate.

Full details: Out of Scope Changes check

Explanation

The reviewed change set covers only package-lock.json, with +44/-44 lines. Every change is a version or dependency-range update tied to the fast-xml-parser 5.12.1 upgrade. The summary reports no changes to exported or public declarations and no source code changes. The PR description states the sub-dependency updates are used only by fast-xml-parser and fast-xml-builder. These updates support the requested upgrade, so they are in scope. I did not read the lockfile hunks directly. This conclusion relies on the whole-PR summary.

Full details: Security Check

Explanation

Summary: The reviewed range changes one file, package-lock.json (+44/-44). The diff contains no source code, scripts, or configuration changes. It only changes version, resolved URL, and integrity fields for six packages in the fast-xml-parser dependency tree: - fast-xml-parser 5.11.1 → 5.12.1 - fast-xml-builder 1.3.1 → 1.3.2 - @nodable/entities 3.0.0 → 3.1.0 - is-unsafe 2.0.2 → 2.0.3 - strnum 2.4.2 → 2.5.1 - xml-naming 0.3.0 → 0.3.1 Each changed entry keeps a sha512 integrity hash and a registry.npmjs.org resolved URL. The package is marked "dev": true and "optional": true. The PR description states that the package is not in the production tree. The description also states that the bump addresses GHSA-474x-hrwr-fgx4, a ReDoS-style quadratic CPU issue in stop-node handling, fixed in 5.12.0. I could not check that advisory against an external source in this run. The version direction matches the stated fix. No changed code path introduces an injection, unsafe deserialization, secret exposure, or auth change. Limits: I did not verify the integrity hashes against the npm registry. This does not change the result, because the check covers code patterns in the changes and this diff adds none.

Full details: Engage In Review Feedback

Explanation

The check passes because no review feedback exists to engage with or to ignore. The supplied review context states that no CodeRabbit review threads were returned. The current review produced zero actionable findings. No comment was resolved, dismissed, or left unanswered, so the failure condition does not apply. Scope of the result: this PR is a single lockfile bump of fast-xml-parser from 5.11.1 to 5.12.1, with sub-dependency updates. The contributor's description is the only written discussion. The check concerns review feedback, and none was posted. This verdict relies on the supplied review metadata. I did not inspect the diff, because the check does not depend on code content. Primary PR: parse-community/Parse-SDK-JS #3188, base alpha, head refactor/fast-xml-parser-5.12.1, author mtrezza. Limit: if earlier review comments exist outside the returned context, they are not covered by this verdict. The supplied context says it "does not establish whether earlier posted review comments are absent or resolved."

Resolution

None required. If earlier review threads exist and were resolved without a reply or a commit, reopen them and reply before resolving. That step is outside the supplied context.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 91f92301-dc21-4c27-bbc8-ccda829d4920
Commits

Reviewing files that changed from the base of the PR and between fc44dbc and 0ab2c10.

Files selected for processing: 1

  • package-lock.json

Included review availability: This review used your included allowance. 3 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@codecov

codecov Bot commented Dec 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.98%. Comparing base (fc44dbc) to head (0ab2c10).

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha    #3188   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files          64       64           
  Lines        6339     6339           
  Branches     1538     1522   -16     
=======================================
  Hits         6338     6338           
  Misses          1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mtrezza
mtrezza merged commit 64d2ff5 into parse-community:alpha Dec 3, 2026
14 checks passed
@mtrezza
mtrezza deleted the refactor/fast-xml-parser-5.12.1 branch December 3, 2026 12:58
@parseplatformorg

Copy link
Copy Markdown
Contributor

🎉 This change has been released in version 8.7.1-alpha.1

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:released-alpha Released as alpha version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants