Skip to content

chore(deps): fix npm audit vulnerabilities#2666

Open
mofojed wants to merge 4 commits intodeephaven:mainfrom
mofojed:20260501-npm-audit
Open

chore(deps): fix npm audit vulnerabilities#2666
mofojed wants to merge 4 commits intodeephaven:mainfrom
mofojed:20260501-npm-audit

Conversation

@mofojed
Copy link
Copy Markdown
Member

@mofojed mofojed commented May 1, 2026

  • Bump nanoid to ^5.1.9 across packages
  • Bump vite to ^7.0.0 and sass to ^1.70.0
  • Bump jest-environment-jsdom to ^30.0.0
  • Bump pouchdb-browser and pouchdb-find to ^9.0.0
  • Add overrides for transitive jsdom, uuid, and nx-related vulns
    (brace-expansion, follow-redirects, yaml)

- Bump nanoid to ^5.1.9 across packages
- Bump vite to ^7.0.0 and sass to ^1.70.0
- Bump jest-environment-jsdom to ^30.0.0
- Bump pouchdb-browser and pouchdb-find to ^9.0.0
- Add overrides for transitive jsdom, uuid, and nx-related vulns
  (brace-expansion, follow-redirects, yaml)
@mofojed mofojed requested a review from a team May 1, 2026 17:42
@mofojed mofojed self-assigned this May 1, 2026
@mofojed mofojed requested review from dgodinez-dh and removed request for a team May 1, 2026 17:42
mofojed added 2 commits May 1, 2026 16:11
- Pin @react-spectrum/* and @spectrum-icons/* sub-packages via npm overrides
  to prevent duplicate @adobe/react-spectrum installs (fixes 'No root
  provider found' error in TabPanels test)
- Update color tests to expect rgb() format (jsdom 26 normalizes named
  colors)
- Replace direct window.location.search assignment with
  window.history.pushState (jsdom 26 makes location read-only)
- Update TimeInput backspace test expectation for jsdom 26 behavior
- Remove ColorUtils.isDark invalid color test (jsdom 26 normalizes empty
  to rgba(0, 0, 0, 0) instead of empty string)
@mofojed mofojed requested review from vbabich and removed request for dgodinez-dh May 1, 2026 21:12
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.78%. Comparing base (c5426ec) to head (d376a06).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2666      +/-   ##
==========================================
- Coverage   49.79%   49.78%   -0.01%     
==========================================
  Files         774      774              
  Lines       43901    43917      +16     
  Branches    11125    11129       +4     
==========================================
+ Hits        21860    21864       +4     
- Misses      22023    22035      +12     
  Partials       18       18              
Flag Coverage Δ
unit 49.78% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

Comment thread package.json Outdated
},
"jsdom": "^26.1.0",
"uuid": "^14.0.0",
"@react-spectrum/accordion": "3.0.9",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

That's a lot of react-spectrum overrides. What are they for, and when can we delete them?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yea now that they're locked into the package-lock.json, don't think I need to keep the explicit overrides in here... removing.

@mofojed mofojed requested a review from vbabich May 4, 2026 13:41
@vbabich
Copy link
Copy Markdown
Collaborator

vbabich commented May 5, 2026

Typecheck is failing on this PR

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.

2 participants