Skip to content

chore(deps-dev): bump vite-plugin-static-copy from 3.2.0 to 4.0.0#181

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/vite-plugin-static-copy-4.0.0
Open

chore(deps-dev): bump vite-plugin-static-copy from 3.2.0 to 4.0.0#181
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/main/vite-plugin-static-copy-4.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 30, 2026

Bumps vite-plugin-static-copy from 3.2.0 to 4.0.0.

Release notes

Sourced from vite-plugin-static-copy's releases.

vite-plugin-static-copy@4.0.0

Major Changes

  • #235 b2edc86 Thanks @​sapphi-red! - Simplify glob behavior and always preserve directory structure.

    Breaking changes:

    • Only files are matched. Glob patterns no longer match directory entries. Previously, matching a directory would recursively copy it via fs.cp, which caused files to be copied twice when using ** patterns.
    • Directory patterns are auto-expanded. src: 'assets' now automatically expands to match all files inside the directory, using tinyglobby's built-in expandDirectories option. No migration needed for this pattern alone.
    • structured option removed. Directory structure is now always preserved in the output. The structured option has been removed entirely. Use rename: { stripBase: true } to flatten output paths when needed.
  • #237 6129008 Thanks @​sapphi-red! - Drop support for Vite 5

  • #238 9766e42 Thanks @​sapphi-red! - Drop support for Node 18, 20, 21, 23. The new support range is ^22.0.0 || >= 24.0.0.

vite-plugin-static-copy@3.4.0

Minor Changes

  • #233 f665a15 Thanks @​sapphi-red! - Add { stripBase: number } object form to the rename option. This strips the given number of leading directory segments from the matched path, avoiding the need for manual ../ traversals in a rename function.

    This is useful when copying files from deep paths like node_modules/my-lib/dist/**/* with structured: true, where the full directory structure would otherwise be preserved in the output. Instead of writing a rename function that manually returns ../ traversals to flatten unwanted nesting, you can use rename: { stripBase: N } to declaratively strip the leading segments.

vite-plugin-static-copy@3.3.0

Minor Changes

Changelog

Sourced from vite-plugin-static-copy's changelog.

4.0.0

Major Changes

  • #235 b2edc86 Thanks @​sapphi-red! - Simplify glob behavior and always preserve directory structure.

    Breaking changes:

    • Only files are matched. Glob patterns no longer match directory entries. Previously, matching a directory would recursively copy it via fs.cp, which caused files to be copied twice when using ** patterns.
    • Directory patterns are auto-expanded. src: 'assets' now automatically expands to match all files inside the directory, using tinyglobby's built-in expandDirectories option. No migration needed for this pattern alone.
    • structured option removed. Directory structure is now always preserved in the output. The structured option has been removed entirely. Use rename: { stripBase: true } to flatten output paths when needed.
  • #237 6129008 Thanks @​sapphi-red! - Drop support for Vite 5

  • #238 9766e42 Thanks @​sapphi-red! - Drop support for Node 18, 20, 21, 23. The new support range is ^22.0.0 || >= 24.0.0.

3.4.0

Minor Changes

  • #233 f665a15 Thanks @​sapphi-red! - Add { stripBase: number } object form to the rename option. This strips the given number of leading directory segments from the matched path, avoiding the need for manual ../ traversals in a rename function.

    This is useful when copying files from deep paths like node_modules/my-lib/dist/**/* with structured: true, where the full directory structure would otherwise be preserved in the output. Instead of writing a rename function that manually returns ../ traversals to flatten unwanted nesting, you can use rename: { stripBase: N } to declaratively strip the leading segments.

3.3.0

Minor Changes

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 30, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 30, 2026

🤖 CI Summary

Job Status
Unit Tests ✅ success
Lint ✅ success
Build ✅ success
E2E Tests ✅ success

📦 Bundle Size

Main JS: 40KB

📋 What to do if tests fail?
  • Unit Tests: Check the test output in the Actions tab
  • Lint: Run npm run lint locally
  • E2E Tests: Check Playwright report artifacts
  • Skipped jobs: Path filters detected no relevant changes

Updated: 2026-04-08T02:46:55.603Z

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/main/vite-plugin-static-copy-4.0.0 branch 2 times, most recently from 9feb0a7 to 63ce706 Compare April 8, 2026 01:54
Bumps [vite-plugin-static-copy](https://github.com/sapphi-red/vite-plugin-static-copy) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/sapphi-red/vite-plugin-static-copy/releases)
- [Changelog](https://github.com/sapphi-red/vite-plugin-static-copy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sapphi-red/vite-plugin-static-copy/compare/vite-plugin-static-copy@3.2.0...vite-plugin-static-copy@4.0.0)

---
updated-dependencies:
- dependency-name: vite-plugin-static-copy
  dependency-version: 4.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/main/vite-plugin-static-copy-4.0.0 branch from 63ce706 to cc70409 Compare April 8, 2026 02:33
@jtn0123
Copy link
Copy Markdown
Owner

jtn0123 commented Apr 8, 2026

Review needed: v4.0.0 drops Vite 5 support (fine, we're on Vite 8), drops Node 18/20/21/23 (requires ^22 || >=24), and changes glob behavior (always preserves directory structure, removes structured option). Leaving open — worth merging once CI confirms Node 22+ runners.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

⚠️ SonarCloud Analysis

Quality Gate Coverage Bugs Vulnerabilities Code Smells Duplications

Quality Gate: UNKNOWN

New Code

Metric Value
🐛 Bugs N/A
🔓 Vulnerabilities N/A
🔥 Security Hotspots N/A
🧹 Code Smells N/A
📊 Coverage N/A
📋 Duplication N/A
🕐 New Debt N/A

Ratings

Reliability Security Maintainability
Grade N/A N/A N/A

Overall Project

Metric Value
📊 Coverage N/A
🕐 Technical Debt N/A
📏 Lines of Code N/A
🐛 Bugs N/A
🔓 Vulnerabilities N/A
🧹 Code Smells N/A
📋 Duplication N/A

View full analysis on SonarCloud


SonarCloud · a07227e · 2026-04-08 02:47:25 UTC

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

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant