Skip to content

build(deps): update development dependencies and peer dependencies - #1263

Closed
repowarden-app[bot] wants to merge 1 commit into
masterfrom
repowarden/deps-root-1780909828413
Closed

build(deps): update development dependencies and peer dependencies#1263
repowarden-app[bot] wants to merge 1 commit into
masterfrom
repowarden/deps-root-1780909828413

Conversation

@repowarden-app

@repowarden-app repowarden-app Bot commented Jun 8, 2026

Copy link
Copy Markdown

Summary

This PR updates 9 development and peer dependencies, including significant updates to TypeScript, SWC tooling, type definitions, and the Plyr library. All updates are either minor or patch versions.

Changes

Build Tools & Compilers

  • @swc/core: 1.3.42 → 1.15.41 (minor)
  • @swc/jest: 0.2.24 → 0.2.39 (patch)
  • tsdown: 0.2.0 → 0.22.3 (minor)

TypeScript & Type Definitions

  • typescript: 5.0.4 → 5.9.3 (minor)
  • typescript-eslint: 8.41.0 → 8.61.1 (minor)
  • @types/react: 18.0.28 → 18.3.31 (minor)
  • eslint-import-resolver-typescript: 4.4.4 → 4.4.5 (patch)

Testing

  • @testing-library/jest-dom: 5.16.5 → 5.17.0 (minor)

Peer Dependencies

  • plyr: 3.7.7 → 3.8.4 (minor)

Risk Assessment

Risk Level: Medium

  • TypeScript 5.9.3: Includes new language features and stricter type checking that may require code adjustments
  • Plyr 3.8.4: As a peer dependency in a library, this update should be tested for API compatibility
  • @swc/core major jump: 1.3.x → 1.15.x is a significant version increase that may affect compilation behavior
  • tsdown: 0.2.0 → 0.22.3 represents substantial evolution of the bundler

Action Items

Configuration Review

  • Review tsconfig.json for any deprecated options or new recommended settings for TypeScript 5.9
  • Verify eslint.config.js (flat format) works correctly with typescript-eslint 8.61.1
  • Check if any new TypeScript strict checks need addressing

Testing Recommendations

As this is a library, thorough testing across all target environments is critical:

  • Run full test suite (npm test)
  • Verify type definitions compile without errors (tsc --noEmit)
  • Test against all target Node.js LTS versions: 18, 20, 22
  • Build the library and verify output (npm run build)
  • Test in a consuming React application with both React 17 and 18
  • Verify Plyr 3.8.4 compatibility with existing component API
  • Check for any TypeScript compilation warnings or new strict mode errors
  • Validate ESLint rules still work as expected
  • Consider testing the built package with npm pack and installing in a sample project

Peer Dependency Considerations

⚠️ Important: Since Plyr is updated from 3.7.7 → 3.8.4, verify that:

  • The peer dependency range in package.json is still appropriate
  • Any breaking changes in Plyr 3.8.x are accounted for
  • Documentation is updated if needed

Related PRs

After merging this PR, the following Dependabot PRs can likely be closed as they may contain overlapping updates:


🤖 Generated by RepoWarden

Available Commands

Comment on this PR with any of the following:

  • @repowarden-app rebase — Rebase this PR onto the base branch
  • @repowarden-app fix-tests — Analyze CI failures and push a fix
  • @repowarden-app resolve-comments — Address review feedback and push updates

RepoWarden Checklist

  • Dependencies updated
  • Lock file regenerated
  • CI passing
  • Ready to merge

💸 Estimated time saved: ~30 min (≈ £25 of engineering time) — based on internal benchmarks for deps update tasks.


Security Vulnerabilities Resolved

  • 🟡 brace-expansion: Fix available: yes — severity: moderate
  • 🔴 defu: Fix available: yes — severity: high
  • 🔴 minimatch: Fix available: yes — severity: high
  • 🔴 picomatch: Fix available: yes — severity: high

New Vulnerabilities Introduced

Warning: The following new vulnerabilities were detected after upgrading:

  • brace-expansion: Fix available: yes — severity: moderate
  • minimatch: Fix available: yes — severity: high
  • picomatch: Fix available: yes — severity: high

Remaining vulnerabilities: 20


Supply Chain Safety Report

Skipped (unsafe):

  • @swc/core@1.15.41 (npm)
    • ⚠️ Package has postinstall script(s) that run during installation.
    • ⚠️ Package name "@swc/core" is very similar to popular package "jose" (edit distance: 2). Verify this is the intended package.
  • eslint-import-resolver-typescript@4.4.5 (npm)
    • 🚨 Package maintainer changed recently: "jounqin" -> "GitHub Actions" (version 4.4.5 published 2026-06-01).

Warnings (upgraded with caution):

  • @swc/jest@0.2.39 (npm)
    • ⚠️ Package name "@swc/jest" is very similar to popular package "next" (edit distance: 2). Verify this is the intended package.
  • @types/react@18.3.31 (npm)
    • ⚠️ Package name "@types/react" is very similar to popular package "preact" (edit distance: 1). Verify this is the intended package.

Supply chain safety: The following packages were skipped due to safety concerns:

  • @swc/core@1.15.41: Package has postinstall script(s) that run during installation.; Package name "@swc/core" is very similar to popular package "jose" (edit distance: 2). Verify this is the intended package.
  • eslint-import-resolver-typescript@4.4.5: Package maintainer changed recently: "jounqin" -> "GitHub Actions" (version 4.4.5 published 2026-06-01).

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@socket-security

socket-security Bot commented Jun 8, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​typescript-eslint/​parser@​8.41.0 ⏵ 8.61.110010071 +198100
Updatedtypescript-eslint@​8.41.0 ⏵ 8.61.110010074 +198100
Updated@​types/​react@​18.3.24 ⏵ 18.3.311001007995 -1100
Updated@​typescript-eslint/​eslint-plugin@​8.41.0 ⏵ 8.61.188 -1010080 +198100
Addedplyr@​3.8.49910010083100
Updatedtsdown@​0.2.17 ⏵ 0.22.398 +2710088 +1297 +3100
Updatedtypescript@​5.9.2 ⏵ 5.9.310010090 +19790

View full report

@socket-security

socket-security Bot commented Jun 8, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @emnapi/runtime is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/tsdown@0.22.3npm/eslint-import-resolver-typescript@4.4.4npm/@emnapi/runtime@1.11.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@emnapi/runtime@1.11.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm @typescript-eslint/eslint-plugin is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/@typescript-eslint/eslint-plugin@8.61.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@typescript-eslint/eslint-plugin@8.61.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Co-Authored-By: repowarden[bot] <bot@repowarden.dev>
@repowarden-app repowarden-app Bot changed the title build(deps): update development dependencies and tooling build(deps): update development dependencies and peer dependencies Jun 22, 2026
@repowarden-app
repowarden-app Bot force-pushed the repowarden/deps-root-1780909828413 branch from 7dbf577 to b5c12de Compare June 22, 2026 09:13
@repowarden-app

Copy link
Copy Markdown
Author

This PR has been open for 14 days without being merged, so I'm closing it.

If there was an issue with these changes, please reply with feedback so I can improve!

— RepoWarden

@repowarden-app repowarden-app Bot closed this Jun 23, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants