chore(deps): update dependency copy-to-clipboard to v4#2944
Open
renovate[bot] wants to merge 1 commit intodevelopfrom
Open
chore(deps): update dependency copy-to-clipboard to v4#2944renovate[bot] wants to merge 1 commit intodevelopfrom
renovate[bot] wants to merge 1 commit intodevelopfrom
Conversation
seerr
|
||||||||||||||||||||||||||||
| Project |
seerr
|
| Branch Review |
renovate/copy-to-clipboard-4.x
|
| Run status |
|
| Run duration | 02m 20s |
| Commit |
|
| Committer | renovate[bot] |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
32
|
| View all changes introduced in this branch ↗︎ | |
806d2b7 to
15c2e4d
Compare
gauthier-th
previously approved these changes
Apr 27, 2026
15c2e4d to
ad12f92
Compare
gauthier-th
approved these changes
Apr 29, 2026
ad12f92 to
22c343d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.3→4.0.0Release Notes
sudodoki/copy-to-clipboard (copy-to-clipboard)
v4.0.0Compare Source
compare changes
copy()is now async — returnsPromise<boolean>instead ofboolean. All call sites must be updated toawait copy(...)or.then(...).window.clipboardDataand all IE-specific code paths removed.window.prompt()fallback is now opt-in — passoptions.fallbackToPrompt: trueto restore. Off by default.dist/— directrequire('copy-to-clipboard/index.js')imports will break; use the package name only.🚀 Enhancements
navigator.clipboard.writeText()is now the default copy path in secure contexts (HTTPS /localhost).navigator.clipboard.write()withClipboardItemfor rich text / HTML copying whenoptions.formatoroptions.onCopyis set.options.format— set a custom MIME type (e.g.'text/html') to copy formatted content;text/plainis always included alongside it.options.onCopy— callback receives aClipboardItemon the async path (return a replacement to override) or aDataTransferon the execCommand fallback path.options.fallbackToPrompt— opt-inwindow.prompt()fallback for non-secure contexts.tsup:dist/index.mjs,dist/index.cjs,dist/index.global.js(IIFE), with a properexportsfield andsideEffects: false.index.d.mts) and CJS (index.d.ts) consumers.navigator.userAgentData?.platformwith a userAgent regex fallback (fixes #123).console.warnemitted in debug mode when falling back from a non-secure context.❤️ Contributors
Configuration
📅 Schedule: (in timezone UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.