Skip to content

chore(deps): update dependency cpy to v13#471

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/cpy-13.x
Open

chore(deps): update dependency cpy to v13#471
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/cpy-13.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 23, 2026

This PR contains the following updates:

Package Change Age Confidence
cpy ^9.0.0^13.0.0 age confidence

Release Notes

sindresorhus/cpy (cpy)

v13.2.1

Compare Source

  • Fix negation patterns copying files outside the positive pattern 5e657e4

v13.2.0

Compare Source

  • Add ignoreExisting option 64a5d30

v13.1.0

Compare Source


v13.0.0

Compare Source

Breaking
  • Dotfiles are no longer included by default. Globs now respect the dot option (default false), so files like .hidden are skipped unless explicitly included.
    • If you relied on dotfiles being copied implicitly, either:
      1. Pass dot: true, or
      2. Add explicit dotfile patterns (for example .hidden or **/.hidden).
  • Add rename source/destination objects 3207310
    • The old single parameter rename function still works, but it will be removed in the next major version, so I recommend migrating.
    • The new two-argument form lets you safely mutate the destination while keeping it within the destination directory.
      • Old:
      await cpy("foo.js", "destination", {
      	rename(basename) {
      		return basename.replace("foo", "bar");
      	}
      });
      • New:
      await cpy("foo.js", "destination", {
      	rename(source, destination) {
      		if (source.nameWithoutExtension === "foo") {
      			destination.nameWithoutExtension = "bar";
      		}
      		// destination.name, destination.extension, or destination.path can be updated here
      	}
      });
Improvements
  • Add dryRun option 247cb9e
  • Add base option for path resolution 28175cb

v12.1.0

Compare Source


v12.0.2

Compare Source

  • Fix rename failing when destination is the same folder as origin (#​122) 6b2226b

v12.0.1

Compare Source


v12.0.0

Compare Source

Breaking
Improvements
  • Add onProgress option 79c6e3a
    • The previous cpy(…).on('progress', …) handler is deprecated
Fixes

v11.1.0

Compare Source

v11.0.1

Compare Source

v11.0.0

Compare Source

Breaking
Improvements
Maintenance
  • This package has a lot of problems and I unfortunately don't have time to fix them. I would recommend against using this package until these problems are resolved. Help welcome (see the issue tracker).

v10.1.0

Compare Source

  • Add file sourcePath and destinationPath to the progress event (#​112) 936710e

v10.0.0

Compare Source

Breaking
Fixes
  • Fix: Make rename function receive filename with extension (#​110) cdb7ed4
    • In v9, it incorrectly received a filename without extension.

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file javascript labels Feb 23, 2026
@renovate renovate bot force-pushed the renovate/cpy-13.x branch from f0bcf69 to cff836f Compare March 13, 2026 16:35
@renovate renovate bot force-pushed the renovate/cpy-13.x branch from cff836f to 46b59bb Compare April 1, 2026 16:00
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants