Skip to content

fix(storybook): upgrade transitive brace-expansion to 5.0.8 - #3093

Merged
kwakayama merged 3 commits into
mainfrom
fix/storybook-brace-expansion-5.0.8
Jul 25, 2026
Merged

fix(storybook): upgrade transitive brace-expansion to 5.0.8#3093
kwakayama merged 3 commits into
mainfrom
fix/storybook-brace-expansion-5.0.8

Conversation

@kojiwakayama

Copy link
Copy Markdown
Contributor

Summary

  • update the Storybook-owned npm lockfile from brace-expansion 5.0.7 to 5.0.8
  • close the advisory in the dependency graph that root deno.lock cannot control
  • reserve framework version 0.1.1142

Validation

  • npm ls brace-expansion --package-lock-only resolves 5.0.8 through Storybook, react-docgen, glob, and minimatch
  • npm audit --package-lock-only --audit-level=moderate reports 0 vulnerabilities
  • npm install --package-lock-only --ignore-scripts --dry-run reports up to date
  • pre-push format, lint, typecheck, and 2,661 unit tests / 21,603 steps passed

Release ordering

Draft until lower reserved releases through 0.1.1141 land. This PR must not merge ahead of #3091 and #3092.

Storybook installs from a dedicated npm lockfile, so the root Deno lock upgrade does not protect that dependency graph. Refresh only the vulnerable transitive brace-expansion artifact selected by minimatch.

Constraint: Storybook dependency installation is isolated from the repository root deno.lock.

Rejected: Rely on the root brace-expansion upgrade | It cannot affect npm --prefix storybook installs.

Confidence: high

Scope-risk: narrow

Reversibility: clean

Directive: Audit Storybook through storybook/package-lock.json independently of root Deno dependencies.

Tested: npm ls brace-expansion --package-lock-only; npm audit --package-lock-only --audit-level=moderate; npm install --package-lock-only --ignore-scripts --dry-run; git diff --check

Not-tested: Full Storybook browser build
Copilot AI review requested due to automatic review settings July 25, 2026 04:02
@kojiwakayama

Copy link
Copy Markdown
Contributor Author

CI dependency note: the root NPM Dependency Audit failure is inherited from current main and is fixed on #3077, whose exact head passes the same audit. This draft separately fixes Storybook's own package-lock graph; npm audit against that lock reports zero vulnerabilities. It will be rebased after #3077 lands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Storybook-owned npm lockfile to pick up the patched brace-expansion@5.0.8 transitive dependency (closing an advisory that the root deno.lock cannot affect), and bumps the framework version to 0.1.1142 to reserve the release.

Changes:

  • Bump storybook/package-lock.json transitive brace-expansion from 5.0.7 to 5.0.8.
  • Update the framework version constant to 0.1.1142.
  • Update deno.json package version to 0.1.1142.

Verification

  • Not run in this review environment.
  • Suggested next step (as already done per PR description): npm audit --package-lock-only --audit-level=moderate and the repo pre-push checks.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
storybook/package-lock.json Updates transitive brace-expansion resolution to 5.0.8 under the Storybook lockfile.
src/utils/version-constant.ts Bumps exported VERSION constant to 0.1.1142 to match the release reservation.
deno.json Bumps package "version" to 0.1.1142 to stay in sync with the shared constant.
Files not reviewed (1)
  • storybook/package-lock.json: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kojiwakayama

Copy link
Copy Markdown
Contributor Author

@codex review

Please review exact head 9c2d8b9. The version reservation is intentional; focus on lockfile integrity and security scope.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9c2d8b94ba

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread storybook/package-lock.json
Merge current origin/main into the Storybook brace-expansion branch so the PR carries the landed root audit repair while preserving the reserved 0.1.1142 release version and Storybook-owned package-lock fix.

Constraint: PR #3093 must be refreshed by merge, not rebase or force push.

Constraint: Version ordering remains reserved at 0.1.1142 despite origin/main carrying 0.1.1133.

Rejected: Rebase the PR branch | history rewrite was explicitly out of scope.

Rejected: Take origin/main version values | would drop the requested release reservation.

Confidence: high

Scope-risk: moderate

Reversibility: clean

Directive: Audit root Deno npm dependencies with deno task audit and Storybook dependencies through storybook/package-lock.json independently.

Tested: npm audit --package-lock-only --audit-level=moderate (storybook); npm audit --audit-level=moderate (root, confirmed inapplicable without root npm lock); deno task audit; deno task storybook:check; git diff --cached --check; deno task verify:quick

Not-tested: Full deno task verify with complete unit/e2e suite locally; rely on refreshed PR CI for full matrix.
Copilot AI review requested due to automatic review settings July 25, 2026 07:28
@kojiwakayama

Copy link
Copy Markdown
Contributor Author

@codex review\n\nPlease review refreshed head 282428d after merging origin/main b2046b2. Focus on the Storybook package-lock brace-expansion update and preservation of version 0.1.1142.

@kojiwakayama

Copy link
Copy Markdown
Contributor Author

@copilot review\n\nPlease review refreshed head 282428d after merging origin/main b2046b2. Focus on the Storybook package-lock brace-expansion update and preservation of version 0.1.1142.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • storybook/package-lock.json: Generated file

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 282428d640

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Merge current origin/main into PR #3093 without changing the PR-owned Storybook brace-expansion lock repair. The version conflicts were resolved to keep the reserved 0.1.1142 release value while accepting main's root dependency and security state unchanged.

Constraint: PR #3093 must be refreshed by merge, not rebase or force push.

Constraint: Preserve Storybook package-lock brace-expansion 5.0.8 and the reserved 0.1.1142 release version.

Rejected: Take origin/main version 0.1.1136 | would drop the reserved PR release version.

Rejected: Keep generated deno.lock drift from verification | it changed unrelated dependency metadata outside this PR's scope.

Confidence: high

Scope-risk: moderate

Reversibility: clean

Directive: Keep root Deno dependency pins and Storybook npm lock auditing independent for this branch.

Tested: npm audit --package-lock-only --audit-level=moderate in storybook; deno task audit; deno task storybook:check; deno fmt --check deno.json src/utils/version-constant.ts storybook/package-lock.json; deno task fmt:check; deno task lint; deno task typecheck; deno task verify:quick; deno check --frozen --lock=deno.lock public entrypoints; git diff --check

Not-tested: Full deno task verify locally; root npm audit is inapplicable because this repo has no root npm lockfile.
Copilot AI review requested due to automatic review settings July 25, 2026 08:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • storybook/package-lock.json: Generated file

@kwakayama
kwakayama marked this pull request as ready for review July 25, 2026 08:59
@kwakayama
kwakayama self-requested a review as a code owner July 25, 2026 08:59
@kwakayama
kwakayama enabled auto-merge July 25, 2026 09:00
@kwakayama
kwakayama added this pull request to the merge queue Jul 25, 2026
Merged via the queue into main with commit 2eeda3b Jul 25, 2026
31 checks passed
@kwakayama
kwakayama deleted the fix/storybook-brace-expansion-5.0.8 branch July 25, 2026 09:08
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.

3 participants