Skip to content

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

Merged
renovate[bot] merged 2 commits intomasterfrom
renovate/cpy-13.x
Feb 6, 2026
Merged

chore(deps): update dependency cpy to v13#1161
renovate[bot] merged 2 commits intomasterfrom
renovate/cpy-13.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 5, 2026

This PR contains the following updates:

Package Change Age Confidence
cpy 12.1.013.0.0 age confidence

Release Notes

sindresorhus/cpy (cpy)

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 enabled auto-merge (squash) February 5, 2026 08:37
@renovate renovate bot force-pushed the renovate/cpy-13.x branch from 5555873 to c998df4 Compare February 5, 2026 21:58
@renovate renovate bot force-pushed the renovate/cpy-13.x branch from c998df4 to 943ddf6 Compare February 6, 2026 22:23
@renovate renovate bot merged commit be62f5e into master Feb 6, 2026
11 checks passed
@renovate renovate bot deleted the renovate/cpy-13.x branch February 6, 2026 22:43
@github-actions
Copy link

github-actions bot commented Feb 7, 2026

🎉 This PR is included in version 12.0.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

1 participant