Skip to content

chore: update dependencies across the project for improved compatibility and performance#51

Merged
tianyingchun merged 2 commits intohyperse-io:mainfrom
ShunquanWang:feat/upt-swc
Jan 7, 2026
Merged

chore: update dependencies across the project for improved compatibility and performance#51
tianyingchun merged 2 commits intohyperse-io:mainfrom
ShunquanWang:feat/upt-swc

Conversation

@ShunquanWang
Copy link
Copy Markdown
Contributor

@ShunquanWang ShunquanWang commented Jan 7, 2026

Summary by CodeRabbit

Release Notes

  • Chores
    • Updated development and build dependencies across the project, including testing frameworks, linting tools, and type definitions
    • Upgraded SWC toolchain and related build dependencies
    • Updated React and UI packages to newer versions for improved compatibility and performance

✏️ Tip: You can customize this high-level summary in your review settings.

…ity and performance; includes version upgrades for multiple packages and adjustments to package.json files
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jan 7, 2026

📝 Walkthrough

Walkthrough

This PR performs a coordinated dependency upgrade across the entire monorepo. Changes include SWC ecosystem updates in Cargo.toml (removing legacy versions and adding new crates), consistent devDependency bumps for tooling across all package.json files, React ecosystem updates in example projects, and a corresponding changeset documenting the patch-level releases. No code logic modifications.

Changes

Cohort / File(s) Summary
Changeset & Workspace Root
.changeset/blue-lies-argue.md, Cargo.toml, package.json
Changeset entry documents patch version bumps for @hyperse/* packages. Cargo.toml replaces legacy SWC crates with updated ecosystem versions, adds tracing-subscriber and pathdiff to workspace dependencies, and enables/disables default-features selectively. Root package.json updates devDependencies: changesets, commitlint, eslint, rimraf, and @hyperse/eslint-config-hyperse.
Example Projects
examples/example-nextjs/package.json, examples/example-rspack/package.json, examples/example-webpack/package.json
Consistent updates to React ecosystem (@heroui/react, framer-motion, react, react-dom, tailwind-merge), build tooling (@rspack/*, @swc/helpers), TypeScript types, and dev tools (autoprefixer, rimraf, tailwindcss, webpack plugins).
Core Inspector Packages
packages/inspector-babel-plugin/package.json, packages/inspector-common/package.json, packages/inspector-component/package.json, packages/inspector-middleware/package.json, packages/inspector/package.json, packages/next-inspector/package.json
DevDependency updates across all packages: eslint-config-hyperse, @types/node, @vitest/*, eslint, rimraf, vitest. Inspector-component updates styled-components dependency (6.1.19 → 6.2.0) and tightens peerDependencies for React. Next-inspector updates peer dependencies for next (≥16.0.1 → ≥16.1.1) and react (≥19.2.0 → ≥19.2.3). Inspector-middleware updates express (5.1.0 → 5.2.1).
SWC Plugin
crates/inspector-swc-plugin/package.json
Updates devDependencies: @swc/core (~1.14.0 → ~1.15.8), @swc/wasm-web, @types/node, vitest, @vitest/ui, @vitest/coverage-istanbul, vite-tsconfig-paths (5.1.4 → 6.0.3), and related tooling.
Website
website/package.json
Minor updates to React, React DOM, Tailwind CSS, and dev tooling (changesets, commitlint, eslint, vitest, lint-staged).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Poem

🐰 Hopping through versions so bright,
Cargo and npm take flight,
SWC grows newer with each release,
Testing tools upgraded with ease,
Our warren's dependencies align just right! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main objective of the changeset: a comprehensive dependency update across multiple files and packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

❤️ Share

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

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 6

🤖 Fix all issues with AI agents
In @packages/inspector-component/package.json:
- Around line 57-58: The devDependencies for the React packages ("react" and
"react-dom") are pinned to ^19.2.0 but the peerDependencies require >=19.2.3;
update the devDependencies entries for "react" and "react-dom" to a version
range that satisfies the peerDependencies (e.g., ^19.2.3 or >=19.2.3) or
alternatively relax the peerDependencies to match the devDependencies—ensure the
"react" and "react-dom" entries in both devDependencies and peerDependencies are
consistent so tests run with versions that satisfy consumer installs.
- Line 67: The dependency "styled-components": "^6.2.0" in
packages/inspector-component/package.json is invalid; change it to the latest
published compatible version by updating the dependency string to "^6.1.19" (or
replace with the intended released version if you meant an unreleased tag), then
run your package manager's install/lockfile update to ensure dependency
resolution succeeds and React 19 compatibility is preserved.

In @packages/inspector/package.json:
- Around line 55-56: The React dependency versions are mismatched: "react" is
^19.1.0 while "react-dom" is ^19.2.3; update the package.json so both "react"
and "react-dom" use the same version (pick a single semver like ^19.2.3 or align
both to ^19.1.0), then reinstall dependencies (npm/yarn/pnpm install) and run
the project build/tests to verify no runtime or build issues; ensure you update
any lockfile and commit the changed package.json and lockfile.
- Around line 47-60: The package.json lists invalid or possibly unpublished
dependency versions; verify and correct the versions for
@hyperse/eslint-config-hyperse (replace 1.5.0 with the published 1.4.7 or the
correct published version) and confirm the correct published versions for
@vitest/coverage-istanbul and @vitest/ui (ensure they match npm registry
entries, e.g., adjust from 4.0.16 to the registry’s published version such as
3.2.4 if that is correct), then update the dependency entries
"@hyperse/eslint-config-hyperse", "@vitest/coverage-istanbul", and "@vitest/ui"
in package.json accordingly and run npm install to validate.

In @packages/next-inspector/package.json:
- Around line 68-80: The package.json has mismatched React versions:
devDependency "react" is ^19.2.0 while "react-dom" and the package's peer
dependency require >=19.2.3; update the devDependency entry for "react" to match
"react-dom" (e.g., ^19.2.3) so both devDependencies and peerDependencies align,
or alternatively downgrade "react-dom" to the same ^19.2.0—ensure the "react"
and "react-dom" entries and the peerDependency for "react" all use the identical
version range.

In @website/package.json:
- Around line 64-81: Run npm audit in the website project to inspect transitive
vulnerabilities for the listed devDependencies (notably @changesets/cli and its
transitive deps like tmp and js-yaml); if audit reports advisories, remediate by
updating the affected package versions, adding packageManager
overrides/resolutions for the vulnerable transitive packages, or replacing the
offending dependency (e.g., bump @changesets/cli or pin safer tmp/js-yaml
versions). Re-run npm audit to confirm fixes and update package.json
(dependencies/devDependencies or overrides/resolutions) accordingly, then commit
the changes.
📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 87915dc and afa360c.

⛔ Files ignored due to path filters (2)
  • Cargo.lock is excluded by !**/*.lock
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (14)
  • .changeset/blue-lies-argue.md
  • Cargo.toml
  • crates/inspector-swc-plugin/package.json
  • examples/example-nextjs/package.json
  • examples/example-rspack/package.json
  • examples/example-webpack/package.json
  • package.json
  • packages/inspector-babel-plugin/package.json
  • packages/inspector-common/package.json
  • packages/inspector-component/package.json
  • packages/inspector-middleware/package.json
  • packages/inspector/package.json
  • packages/next-inspector/package.json
  • website/package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: deploy (20.x)
  • GitHub Check: test (20.x)
🔇 Additional comments (18)
.changeset/blue-lies-argue.md (1)

1-12: LGTM!

The changeset is properly formatted and correctly documents the patch-level releases for all affected packages. The description clearly communicates the purpose of the dependency updates.

website/package.json (1)

58-60: LGTM!

React and React-DOM versions are properly aligned at 19.2.3, ensuring compatibility.

packages/inspector-babel-plugin/package.json (2)

64-65: LGTM!

React and React-DOM versions are properly aligned at 19.2.3, ensuring compatibility.


55-68: All devDependency versions are valid and secure. All 14 packages exist in the npm registry and have no known security vulnerabilities.

examples/example-rspack/package.json (2)

42-57: Consistent devDependency updates across build tooling.

The Rspack, SWC, and TypeScript tooling updates are well-coordinated. The @types/node major version bump to 25.x is consistent with other packages in this PR.


22-35: No action required. The React 19.2.3 and Tailwind CSS 4 updates are compatible with the codebase. All Tailwind classes used (flex, gap-, p-, text-, grid-cols-, etc.) are standard utilities compatible with both v3 and v4. React 19 patterns are properly implemented with createRoot and hooks. No breaking syntax was detected.

examples/example-nextjs/package.json (2)

46-62: DevDependency updates align with ecosystem changes.

The devDependency updates for Rspack, SWC, Tailwind, and TypeScript tooling are consistent with the broader monorepo upgrade strategy.


23-38: Next.js 16.1.1 is a confirmed stable release (December 22, 2025).

No Tailwind CSS v3 deprecated syntax detected in the codebase. However, be aware of breaking changes introduced in Next.js 16.1 compared to 16.0.1:

  • middleware.tsproxy.ts file rename and export semantics
  • Route APIs (params, searchParams, cookies, headers) now require async handling
  • Image config changes (removed next/legacy/image, deprecated images.domains)
  • revalidateTag() API requires new cache-life argument
  • Removed: next lint command and AMP support
  • Parallel routes may require explicit default files

Verify that the codebase does not rely on these changed APIs, or update them if necessary.

packages/inspector-common/package.json (1)

47-57: Coordinated devDependency updates across the monorepo.

The devDependency version bumps are consistent with the broader dependency upgrade strategy. The @types/node major version bump to 25.x and React 19.2.3 updates align with changes in other packages.

package.json (1)

58-69: Root-level tooling updates support monorepo workflow.

The workspace-level devDependency updates for changesets, commitlint, ESLint, and related tooling are well-coordinated and align with the project-wide dependency upgrade strategy.

packages/inspector-middleware/package.json (2)

58-58: Express 5.2.1 is backwards-compatible with 5.1.0 — safe to update.

The upgrade to 5.2.1 is a safe, backwards-compatible minor version bump. v5.2.1 actually reverts an erroneous breaking change introduced in v5.2.0; neither version introduces new breaking changes relative to 5.1.0. Standard testing of the application and any middleware depending on internal APIs is recommended.


46-54: Verify @types/node v25.0.3 compatibility in TypeScript compilation.

@types/node has been bumped from 24.10.0 to 25.0.3, a major version change that introduces breaking type changes (new/removed globals, finalized experimental APIs, stricter overloads). With the project's strict TypeScript settings (noImplicitAny: true), ensure the codebase compiles successfully and any API/type incompatibilities are resolved.

Cargo.toml (2)

18-19: LGTM: New workspace dependencies added.

The additions of tracing-subscriber and pathdiff are straightforward utility crates with no apparent compatibility concerns.


25-46: Clarify verification requirements for SWC ecosystem version updates.

This PR includes major version bumps across the SWC ecosystem (swc 52.0.0, swc_core 54.0.0, etc.) with consistent default-features = false settings. The @swc/core ~1.15.8 in devDependencies is for the Wasm plugin build/test pipeline and is compatible with swc_core 54.0.0 under SWC's post-1.15.0 plugin compatibility scheme; this is not a runtime dependency concern.

To verify the upgrade is sound:

  1. Build verification: Run cargo build --release -p inspector_swc_plugin --target wasm32-wasip1 locally to confirm no compilation errors with the updated versions
  2. Breaking changes: Consult the SWC GitHub releases/changelog and the SWC version-selection docs for AST, Span, and API changes in swc v52.0.0 and swc_core 54.0.0
  3. Feature flags: Verify that default-features = false does not disable required functionality by checking if the enabled features (e.g., parallel_rayon for swc_core) are correctly specified

The versions appear properly aligned for a Wasm plugin architecture, but compile-time verification is needed to rule out API breakage.

examples/example-webpack/package.json (2)

22-35: LGTM: Dependencies updated consistently.

React and React-dom versions are properly aligned at ^19.2.3, and other dependency updates appear appropriate for a coordinated upgrade.


42-63: No action required—example code is already Tailwind v4 compatible.

The package.json upgrade to Tailwind CSS 4.1.18 and @tailwindcss/postcss 4.1.18 is correct. The example's index.css already uses the new @import 'tailwindcss' syntax instead of deprecated @tailwind directives. No deprecated v3 syntax (opacity utilities, old important modifier position, or bracket CSS variable syntax) is present in the codebase. The webpack plugins (css-minimizer-webpack-plugin, html-webpack-plugin, terser-webpack-plugin) are all compatible with webpack 5.104.1. No updates needed.

Likely an incorrect or invalid review comment.

packages/next-inspector/package.json (1)

92-93: No verification needed—16.0.1 to 16.1.1 is a minor fix release with no breaking changes.

The bump from >=16.0.1 to >=16.1.1 introduces only bugfixes, Turbopack improvements, and stability enhancements. There are no new breaking API changes in this range, so existing plugin behavior will be unaffected.

crates/inspector-swc-plugin/package.json (1)

46-58: @swc/core version incompatibility and vite-tsconfig-paths v6 migration required.

The two updates have confirmed compatibility issues:

  1. @swc/core ~1.15.8 is incompatible with Cargo.toml versions: @swc/core@1.15.8 is built against swc_core v47.x, not v52.0.0 or v54.0.0 as specified in Cargo.toml. This creates a version mismatch between the npm package and Rust crate dependencies. Verify that this doesn't cause AST or plugin compatibility issues, or select an @swc/core version that matches swc_core 52.x.

  2. vite-tsconfig-paths v6.0.0 requires migration: This major version introduces breaking changes including new on-demand tsconfig discovery (projectDiscovery: "lazy" option) and automatic tsconfig reloads. Verify that vite.config has been updated with new plugin options and that the config is in ESM format (vite.config.mjs/.mts).

Comment on lines 57 to 58
"react": "^19.2.0",
"react-dom": "^19.2.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Align devDependencies with peerDependencies for React packages.

The devDependencies specify ^19.2.0 for both React and React-DOM, but peerDependencies require >=19.2.3. This mismatch means the package could be tested with versions 19.2.0-19.2.2 that don't satisfy the peer dependency requirement, potentially causing installation failures for consumers.

🔧 Proposed fix
     "react": "^19.2.0",
     "react-dom": "^19.2.0",
+    "react": "^19.2.3",
+    "react-dom": "^19.2.3",

Or alternatively, adjust peerDependencies to match the actual compatibility:

-    "react": ">=19.2.3",
-    "react-dom": ">=19.2.3"
+    "react": ">=19.2.0",
+    "react-dom": ">=19.2.0"

Also applies to: 70-71

🤖 Prompt for AI Agents
In @packages/inspector-component/package.json around lines 57 - 58, The
devDependencies for the React packages ("react" and "react-dom") are pinned to
^19.2.0 but the peerDependencies require >=19.2.3; update the devDependencies
entries for "react" and "react-dom" to a version range that satisfies the
peerDependencies (e.g., ^19.2.3 or >=19.2.3) or alternatively relax the
peerDependencies to match the devDependencies—ensure the "react" and "react-dom"
entries in both devDependencies and peerDependencies are consistent so tests run
with versions that satisfy consumer installs.

"@floating-ui/core": "^1.7.3",
"@hyperse/inspector-common": "workspace:*",
"styled-components": "^6.1.19"
"styled-components": "^6.2.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

styled-components 6.2.0 React 19 compatibility

💡 Result:

Short answer: There is no published styled-components 6.2.0 as of today; React‑19 compatibility was addressed in the 6.x line (a “fix react 19 compatibility” appears in the v6.1.x releases), so use v6.1.18+ (or the latest 6.1.x) and, if you hit peer-dependency install errors with React 19, install with npm --legacy-peer-deps or --force while waiting for packages to update. [1][2]

Sources:

  • styled-components releases (shows 6.1.x changelog including “fix react 19 compatibility” and latest 6.1.19). [1]
  • discussion/notes about peer-dependency errors with React 19 and common workarounds (--legacy-peer-deps / --force). [2]

styled-components version ^6.2.0 does not exist. The latest published version is 6.1.19. This version specification will cause dependency resolution to fail. Update to ^6.1.19 or check if this is intended for an unreleased version. React 19 compatibility was addressed in the 6.1.x line.

🤖 Prompt for AI Agents
In @packages/inspector-component/package.json at line 67, The dependency
"styled-components": "^6.2.0" in packages/inspector-component/package.json is
invalid; change it to the latest published compatible version by updating the
dependency string to "^6.1.19" (or replace with the intended released version if
you meant an unreleased tag), then run your package manager's install/lockfile
update to ensure dependency resolution succeeds and React 19 compatibility is
preserved.

Comment on lines +47 to +60
"@hyperse/eslint-config-hyperse": "^1.5.0",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@vitest/coverage-istanbul": "^4.0.16",
"@vitest/ui": "^4.0.16",
"eslint": "^9.39.2",
"jsdom": "^27.4.0",
"npm-run-all": "^4.1.5",
"react": "^19.1.0",
"react-dom": "^19.2.0",
"rimraf": "^6.1.0",
"tsup": "^8.5.0",
"react-dom": "^19.2.3",
"rimraf": "^6.1.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.7"
"vitest": "^4.0.16"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify all dependencies from the package.json snippet

packages=(
  "@hyperse/eslint-config-hyperse@1.5.0"
  "@types/node@25.0.3"
  "@types/react@19.2.7"
  "@vitest/coverage-istanbul@4.0.16"
  "@vitest/ui@4.0.16"
  "eslint@9.39.2"
  "jsdom@27.4.0"
  "npm-run-all@4.1.5"
  "react@19.1.0"
  "react-dom@19.2.3"
  "rimraf@6.1.2"
  "tsup@8.5.1"
  "typescript@5.9.3"
  "vitest@4.0.16"
)

echo "=== Verifying dependency versions exist on npm ==="
failed=0
for pkg in "${packages[@]}"; do
  if npm view "$pkg" version >/dev/null 2>&1; then
    echo "$pkg"
  else
    echo "$pkg - NOT FOUND"
    ((failed++))
  fi
done

echo ""
echo "=== Checking for security vulnerabilities ==="
# Create a temporary package.json to check vulnerabilities
cat > /tmp/test-package.json << 'EOF'
{
  "devDependencies": {
    "@hyperse/eslint-config-hyperse": "^1.5.0",
    "@types/node": "^25.0.3",
    "@types/react": "^19.2.7",
    "@vitest/coverage-istanbul": "^4.0.16",
    "@vitest/ui": "^4.0.16",
    "eslint": "^9.39.2",
    "jsdom": "^27.4.0",
    "npm-run-all": "^4.1.5",
    "react": "^19.1.0",
    "react-dom": "^19.2.3",
    "rimraf": "^6.1.2",
    "tsup": "^8.5.1",
    "typescript": "^5.9.3",
    "vitest": "^4.0.16"
  }
}
EOF

# Try running npm audit on this test file
npm audit --json < /tmp/test-package.json 2>/dev/null | python3 << 'PYTHON'
import sys, json
try:
    data = json.load(sys.stdin)
    vuln_count = data.get('metadata', {}).get('vulnerabilities', {}).get('total', 0)
    if vuln_count > 0:
        print(f"Found {vuln_count} vulnerabilities")
        for pkg_name, pkg_info in data.get('vulnerabilities', {}).items():
            print(f"  - {pkg_name}: {pkg_info}")
    else:
        print("No vulnerabilities found")
except:
    print("Could not parse audit results")
PYTHON

exit $failed

Repository: hyperse-io/code-inspector

Length of output: 155


🏁 Script executed:

#!/bin/bash
# Check for lock files that may contain the actual resolved versions
echo "=== Checking for lock files ==="
fd -e "lock" -e "lock.json" -e "lock.yaml" packages/inspector/ 2>/dev/null | head -20

echo ""
echo "=== Checking package.json location and content ==="
cat -n packages/inspector/package.json | grep -A 20 "devDependencies"

Repository: hyperse-io/code-inspector

Length of output: 932


🌐 Web query:

react@19.1.0 npm package release date

💡 Result:

React 19.1.0 was released on March 28, 2025. [1][2]

Sources:

  • VersionLog release history for React 19.0 branch. [1]
  • React CHANGELOG (mirror) showing "19.1.0 (March 28, 2025)". [2]

🌐 Web query:

typescript@5.9.3 npm package release

💡 Result:

typescript@5.9.3 is published on npm — published at 2025-09-30 (package published by typescript-bot). [1][2]

Sources:

  • independ.org npm metadata for typescript (published at 2025-09-30). [1]
  • Yarn/npm package listing showing latest tag = 5.9.3. [2]

🌐 Web query:

vitest@4.0.16 npm package version

💡 Result:

Yes — vitest v4.0.16 is published on npm (release v4.0.16). [1][2][3]

Sources:

  • Release notes listing v4.0.16 (Dec 16, 2025). [1]
  • Snyk package page showing latest version 4.0.16. [2]
  • npm/package analysis showing version 4.0.16. [3]

🌐 Web query:

eslint@9.39.2 npm release

💡 Result:

ESLint v9.39.2 was released as a patch update on December 12, 2025. [1][2]

Sources:

  • ESLint release notes. [1]
  • Snyk / package metadata showing latest version 9.39.2. [2]

🌐 Web query:

jsdom@27.4.0 npm release

💡 Result:

jsdom@27.4.0 has been published and is the current latest release on npm. [1][2]

Sources:
[1] jsDocs package page for jsdom (shows v27.4.0).
[2] Snyk package page for jsdom (lists latest version 27.4.0).


🌐 Web query:

@types/node@25.0.3 npm release

💡 Result:

Yes — @types/node version 25.0.3 has been published. Install with:
npm install --save-dev @types/node@25.0.3

Sources: [Release history showing 25.0.3 (Dec 16, 2025)] [1]; Snyk package info listing latest 25.0.3. [2]

Sources
[1] https://releasealert.dev/npmjs/%40types/node
[2] https://security.snyk.io/package/npm/%40types%2Fnode


🌐 Web query:

rimraf@6.1.2 npm release

💡 Result:

rimraf@6.1.2 is the current latest release (published Nov 19, 2025). Install with: npm install rimraf@6.1.2. [1][2][3]

Sources:

  • Yarn package page (lists 6.1.2 — Nov 19, 2025). [1]
  • jsDocs npm metadata (rimraf v6.1.2, published ~1 month ago). [2]
  • Socket / package overview (shows 6.1.2 as latest). [3]

🌐 Web query:

@types/react@19.2.7 npm release

💡 Result:

Yes — @types/react version 19.2.7 is published. Install with:
npm install @types/react@19.2.7. [1][2]

Sources:
[1] jsdocs listing for @types/react v19.2.7.
[2] Snyk package page showing latest 19.2.7.


🌐 Web query:

react-dom@19.2.3 npm release

💡 Result:

react-dom@19.2.3 was published on December 11, 2025 (npm). It is part of the Dec 11, 2025 patch releases that include fixes for React Server Components (security patch). [1][2]

Sources:
[1] npm release listing for react-dom (release date Dec 11, 2025).
[2] Facebook/React security advisory listing patched versions (includes 19.2.3).


🌐 Web query:

tsup@8.5.1 npm release

💡 Result:

tsup@8.5.1 was released (published Mar 3, 2025) — it’s the current latest npm version and fixes an XSS/DOM‑clobbering issue (upgrade recommended). [1][2][3]

Sources:

  • jsDelivr package listing (v8.5.1). [1]
  • Socket/npm metadata showing v8.5.1 as latest. [2]
  • Snyk vulnerability report / advisory (CVE, published Mar 3, 2025; recommends upgrading to ≥8.5.1). [3]

🌐 Web query:

npm-run-all@4.1.5 npm release

💡 Result:

npm-run-all v4.1.5 — released (tag v4.1.5) with a bugfix switching ps-tree to pidtree. See the GitHub release notes and the npm package page for details. [1][2]

Sources:
[1] mysticatea/npm-run-all — GitHub Releases (v4.1.5). (github.com)
[2] npm-run-all package page on npm (version 4.1.5). (npmjs.com)

Citations:


🌐 Web query:

@vitest/coverage-istanbul@4.0.16 npm release

💡 Result:

I found references to @vitest/coverage-istanbul version 4.0.16 on jsDelivr and Vitest release notes, but the npm package page currently lists version 3.2.4 as the published version. Sources: jsDelivr (shows 4.0.16) [1], Vitest release notes (v4.0.16) [2], npm package page (shows 3.2.4 as latest) [3].

References

  1. jsDelivr package page for @vitest/coverage-istanbul.
  2. Vitest v4.0.16 release notes summary.
  3. npm package page for @vitest/coverage-istanbul (shows version 3.2.4).

🌐 Web query:

@hyperse/eslint-config-hyperse@1.5.0 npm release

💡 Result:

I couldn't find a published @hyperse/eslint-config-hyperse@1.5.0 on npm. The official npm page lists 1.4.7 (last published recently) [1]; other package trackers show 1.4.8 as the latest published version [2][3]. If you want to double-check locally, run: npm view @hyperse/eslint-config-hyperse versions.

Sources:

  • npm package page (shows v1.4.7). [1]
  • Socket.dev package history (shows v1.4.8 as latest). [2]
  • jsDelivr package info (shows v1.4.7). [3]

🌐 Web query:

@vitest/ui@4.0.16 npm published version

💡 Result:

I found conflicting records:

  • Snyk / Security pages show @vitest/ui latest version 4.0.16. [1]
  • The npmjs.com package page currently lists 3.2.4 as the published version. [2]

If you want me to confirm the registry truth (npm registry metadata), I can query the npm registry API and return the exact published dist-tags and time stamps.


Correct @hyperse/eslint-config-hyperse version; verify @vitest packages.

@hyperse/eslint-config-hyperse@1.5.0 does not appear to exist on npm—the latest published version is 1.4.7. Additionally, @vitest/coverage-istanbul@4.0.16 and @vitest/ui@4.0.16 have conflicting publication data across sources (npm registry shows 3.2.4 as latest, but other sources reference 4.0.16); verify these versions directly on npm to ensure they are published. Most other dependencies (react, typescript, eslint, jsdom, rimraf, @types packages) are valid and publicly available.

🤖 Prompt for AI Agents
In @packages/inspector/package.json around lines 47 - 60, The package.json lists
invalid or possibly unpublished dependency versions; verify and correct the
versions for @hyperse/eslint-config-hyperse (replace 1.5.0 with the published
1.4.7 or the correct published version) and confirm the correct published
versions for @vitest/coverage-istanbul and @vitest/ui (ensure they match npm
registry entries, e.g., adjust from 4.0.16 to the registry’s published version
such as 3.2.4 if that is correct), then update the dependency entries
"@hyperse/eslint-config-hyperse", "@vitest/coverage-istanbul", and "@vitest/ui"
in package.json accordingly and run npm install to validate.

Comment on lines 55 to +56
"react": "^19.1.0",
"react-dom": "^19.2.0",
"rimraf": "^6.1.0",
"tsup": "^8.5.0",
"react-dom": "^19.2.3",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Align React and React-DOM versions.

React is at ^19.1.0 while React-DOM is at ^19.2.3. These packages should typically be aligned to the same version to avoid potential runtime incompatibilities.

🔧 Proposed fix
-    "react": "^19.1.0",
-    "react-dom": "^19.2.3",
+    "react": "^19.2.3",
+    "react-dom": "^19.2.3",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"react": "^19.1.0",
"react-dom": "^19.2.0",
"rimraf": "^6.1.0",
"tsup": "^8.5.0",
"react-dom": "^19.2.3",
"react": "^19.2.3",
"react-dom": "^19.2.3",
🤖 Prompt for AI Agents
In @packages/inspector/package.json around lines 55 - 56, The React dependency
versions are mismatched: "react" is ^19.1.0 while "react-dom" is ^19.2.3; update
the package.json so both "react" and "react-dom" use the same version (pick a
single semver like ^19.2.3 or align both to ^19.1.0), then reinstall
dependencies (npm/yarn/pnpm install) and run the project build/tests to verify
no runtime or build issues; ensure you update any lockfile and commit the
changed package.json and lockfile.

Comment on lines +68 to +80
"@hyperse/eslint-config-hyperse": "^1.5.0",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@vitest/coverage-istanbul": "^4.0.16",
"@vitest/ui": "^4.0.16",
"eslint": "^9.39.2",
"next": "^16.0.1",
"npm-run-all": "^4.1.5",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"rimraf": "^6.1.0",
"react-dom": "^19.2.3",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"vitest": "^4.0.7"
"vitest": "^4.0.16"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

React and React-dom version mismatch needs correction.

There's an inconsistency in the React ecosystem versions:

  • Line 76: react: ^19.2.0 (unchanged)
  • Line 77: react-dom: ^19.2.3 (updated)
  • Line 93: Peer dependency requires react: >=19.2.3

This creates two problems:

  1. The devDependency react version doesn't satisfy the package's own peer dependency requirement
  2. React and React-dom versions should match to avoid potential compatibility issues
🔧 Proposed fix
     "@hyperse/eslint-config-hyperse": "^1.5.0",
     "@types/node": "^25.0.3",
     "@types/react": "^19.2.7",
     "@vitest/coverage-istanbul": "^4.0.16",
     "@vitest/ui": "^4.0.16",
     "eslint": "^9.39.2",
     "next": "^16.0.1",
     "npm-run-all": "^4.1.5",
-    "react": "^19.2.0",
+    "react": "^19.2.3",
     "react-dom": "^19.2.3",
     "rimraf": "^6.1.2",
     "typescript": "^5.9.3",
     "vitest": "^4.0.16"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@hyperse/eslint-config-hyperse": "^1.5.0",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@vitest/coverage-istanbul": "^4.0.16",
"@vitest/ui": "^4.0.16",
"eslint": "^9.39.2",
"next": "^16.0.1",
"npm-run-all": "^4.1.5",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"rimraf": "^6.1.0",
"react-dom": "^19.2.3",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"vitest": "^4.0.7"
"vitest": "^4.0.16"
"@hyperse/eslint-config-hyperse": "^1.5.0",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@vitest/coverage-istanbul": "^4.0.16",
"@vitest/ui": "^4.0.16",
"eslint": "^9.39.2",
"next": "^16.0.1",
"npm-run-all": "^4.1.5",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"rimraf": "^6.1.2",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
🤖 Prompt for AI Agents
In @packages/next-inspector/package.json around lines 68 - 80, The package.json
has mismatched React versions: devDependency "react" is ^19.2.0 while
"react-dom" and the package's peer dependency require >=19.2.3; update the
devDependency entry for "react" to match "react-dom" (e.g., ^19.2.3) so both
devDependencies and peerDependencies align, or alternatively downgrade
"react-dom" to the same ^19.2.0—ensure the "react" and "react-dom" entries and
the peerDependency for "react" all use the identical version range.

Comment on lines +64 to +81
"@changesets/changelog-github": "0.5.2",
"@changesets/cli": "2.29.8",
"@commitlint/cli": "20.3.0",
"@commitlint/config-conventional": "20.3.0",
"@docusaurus/module-type-aliases": "3.9.2",
"@hyperse/eslint-config-hyperse": "^1.4.8",
"@tailwindcss/postcss": "^4.1.17",
"@tsconfig/docusaurus": "^2.0.5",
"@types/node": "^24.10.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@hyperse/eslint-config-hyperse": "^1.5.0",
"@tailwindcss/postcss": "^4.1.18",
"@tsconfig/docusaurus": "^2.0.7",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"commitizen": "4.3.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "^9.39.1",
"eslint": "^9.39.2",
"husky": "9.1.7",
"lint-staged": "16.2.6",
"lint-staged": "16.2.7",
"typescript": "5.9.3",
"vitest": "^4.0.7"
"vitest": "^4.0.16"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify devDependency versions and check for security advisories

packages=(
  "@changesets/changelog-github@0.5.2"
  "@changesets/cli@2.29.8"
  "@commitlint/cli@20.3.0"
  "@commitlint/config-conventional@20.3.0"
  "@docusaurus/module-type-aliases@3.9.2"
  "@hyperse/eslint-config-hyperse@1.5.0"
  "@tailwindcss/postcss@4.1.18"
  "@tsconfig/docusaurus@2.0.7"
  "@types/node@25.0.3"
  "@types/react@19.2.7"
  "@types/react-dom@19.2.3"
  "commitizen@4.3.1"
  "cz-conventional-changelog@3.3.0"
  "eslint@9.39.2"
  "husky@9.1.7"
  "lint-staged@16.2.7"
  "typescript@5.9.3"
  "vitest@4.0.16"
)

echo "Verifying package versions exist on npm..."
failed=0
success=0

for pkg in "${packages[@]}"; do
  name="${pkg%@*}"
  version="${pkg##*@}"
  
  # Check if version exists on npm
  if npm view "$name@$version" version >/dev/null 2>&1; then
    ((success++))
    echo "$name@$version"
  else
    ((failed++))
    echo "$name@$version NOT FOUND"
  fi
done

echo ""
echo "Summary: $success found, $failed not found"

Repository: hyperse-io/code-inspector

Length of output: 617


🌐 Web query:

npm security vulnerabilities @changesets/cli @commitlint/cli eslint typescript vitest 2024 2025

💡 Result:

Summary (2024–2025) for the packages you listed:

  • Vitest — Remote code execution (CSWSH) vulnerability disclosed Feb 4, 2025 (CVE-2025-24964). Patched in vitest versions 1.6.1, 2.1.9 and 3.0.5; upgrade if you use the API/server feature. [1][2]

  • eslint / @eslint/plugin-kit — ReDoS vulnerability (CVE-2024-21539) affecting @eslint/plugin-kit < 0.2.3 disclosed Nov 2024; fixed upstream. Also note the July 2025 supply‑chain compromise of eslint-config-prettier (CVE-2025-54313) where malicious install scripts were published to npm; affected versions were deprecated/removed. Review installs on Windows and CI. [3][4][5]

  • @changesets/cli — No widely‑published direct CVE for the package itself in 2024–2025, but maintainers/projects reported transitive dependency issues (e.g., vulnerable tmp/js-yaml versions used indirectly) and community security advisories; check your installed version and audit transitive deps (upgrade @changesets/* and affected deps). [6][7]

  • @commitlint/cli — Public vulnerability scanners (Snyk) show no direct known vulnerabilities for @commitlint/cli in this period; still run dependency audits and keep versions current. [8]

  • TypeScript — No major official CVE for the TypeScript compiler/runtime in 2024–2025 found in major vulnerability databases; however, the npm ecosystem saw malicious/typosquatted packages impersonating TypeScript (supply‑chain/typosquat risks). Use the official typescript package from npmjs.org and audit installs. [9]

Recommendations (concise)

  • Run npm audit / Snyk / your dependency scanner and update to the fixed versions listed in advisories.
  • Inspect developer Windows machines and CI if you installed affected eslint-config-prettier versions.
  • Patch/upgrade vitest to the patched versions if you enable the API/server.
  • Regularly audit transitive dependencies (dependabot, Renovate, or SCA tool).

Sources

  1. NVD / Vitest CVE-2025-24964 and related advisories. [turn2search0][turn2search9]
  2. INCIBE / Wiz / CVE-2025-24964 details. [turn2search1][turn2search6]
  3. NVD / CVE-2024-21539 (@eslint/plugin-kit). [turn0search3]
  4. NVD / CVE-2025-54313 (eslint-config-prettier supply‑chain compromise). [turn0search5]
  5. Community writeups about eslint-config-prettier compromise (analysis/blog). [turn0search4]
  6. changesets GitHub issues re: transitive tmp / js-yaml advisories and dependency flags. [turn1search0][turn1search2]
  7. Snyk / package pages for @changesets/cli (no direct vulns reported; transitive concerns noted by users). [turn1search5][turn1search6]
  8. Snyk package page for @commitlint/cli (no direct vulnerabilities reported). [turn0search6]
  9. Reports about typosquatted/malicious npm packages impersonating TypeScript and ecosystem supply‑chain risks. [turn2search10]

If you want, I can run an audit against specific versions you use (provide package.json or the installed versions) and list exact affected versions and remediation commands.


Run npm audit to verify transitive dependencies are secure.

All specified devDependency versions exist on npm and direct packages are generally secure. However, transitive dependencies require audit—particularly @changesets/cli, which has known transitive vulnerabilities (tmp, js-yaml). Run npm audit to check the full dependency tree and address any flagged advisories. Note: vitest@^4.0.16 is unaffected by CVE-2025-24964 (which impacts versions before 1.6.1); eslint@^9.39.2 has no direct CVEs in this range.

🤖 Prompt for AI Agents
In @website/package.json around lines 64 - 81, Run npm audit in the website
project to inspect transitive vulnerabilities for the listed devDependencies
(notably @changesets/cli and its transitive deps like tmp and js-yaml); if audit
reports advisories, remediate by updating the affected package versions, adding
packageManager overrides/resolutions for the vulnerable transitive packages, or
replacing the offending dependency (e.g., bump @changesets/cli or pin safer
tmp/js-yaml versions). Re-run npm audit to confirm fixes and update package.json
(dependencies/devDependencies or overrides/resolutions) accordingly, then commit
the changes.

@tianyingchun tianyingchun merged commit d7dd44b into hyperse-io:main Jan 7, 2026
6 of 7 checks passed
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