Skip to content

refactor: Bump brace-expansion from 1.1.11 to 1.1.21 and 2.0.1 to 2.1.7 - #227

Merged
mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:refactor/brace-expansion-1.1.21
Oct 24, 2026
Merged

mtrezza merged 1 commit into
parse-community:masterfrom
mtrezza:refactor/brace-expansion-1.1.21

Conversation

@mtrezza

@mtrezza mtrezza commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Closes #222

Updates the transitive dev dependency brace-expansion in package-lock.json:

Lock entry Parent Before After
node_modules/brace-expansion minimatch@3.1.5 (used by eslint, nyc, codecov) 1.1.11 1.1.21
node_modules/glob/node_modules/brace-expansion minimatch@5.1.9 (mocha > glob@8.1.0) 2.0.1 2.1.7
node_modules/mocha/node_modules/brace-expansion minimatch@5.1.9 (mocha) 2.0.1 2.1.7

This resolves Dependabot alerts 211 and 161 (1.x line) and 200 and 159 (2.x line). The brace-expansion@5.0.6 copy bundled inside npm (pulled in by @semantic-release/npm) can't be updated through the lock file, so alerts 162 and 215 stay open.

Changes

1.x line (1.1.11 to 1.1.21):

2.x line (2.0.1 to 2.1.7), same fixes backported:

Other entries are chores: publishing config, formatting, ignoring .claude in the npm package, and a lock file update.

Breaking Changes

None for regular input. The API is unchanged and the new options are optional. Two edge cases behave differently:

  • The new default limits apply only to pathological input: more than 100,000 results, more than 4,000,000 characters in total, nesting deeper than 1000 levels, or more than 1000 {a},b} rewrites.
  • Since 1.1.14 and 2.1.0, empty results produced after the {a},b} rewrite are dropped, e.g. {1},} returns ["1}"] instead of ["1}", ""].

This repository can't reach either case: its own patterns contain no braces, and nyc's default exclude patterns expand identically on the old and new versions. A differential comparison of about 260,000 patterns between the old and new versions found no other output differences. The 1.x line keeps its legacy ${ handling.

Code Changes Required

None, the upgrade is a drop-in replacement. minimatch 3.1.5 and 5.1.9 call only expand(pattern), and only for patterns that contain a brace set. The project's own patterns (test/**/*.js for mocha, ./ for eslint) contain no braces, and nyc's default exclude patterns use small brace sets far below the limits.

@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 Oct 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 54 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

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: 1d1d5ca3-f113-4648-b8c7-8f532358b8a0
Commits

Reviewing files that changed from the base of the PR and between 14c3974 and a8a27f0.

Files selected for processing: 1
  • package-lock.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.87%. Comparing base (14c3974) to head (a8a27f0).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #227   +/-   ##
=======================================
  Coverage   95.87%   95.87%           
=======================================
  Files          23       23           
  Lines         849      849           
=======================================
  Hits          814      814           
  Misses         35       35           

☔ 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 fbdc137 into parse-community:master Oct 24, 2026
8 checks passed
@mtrezza
mtrezza deleted the refactor/brace-expansion-1.1.21 branch October 24, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant