Skip to content

fix(deps): update dependency copy-to-clipboard to v4#2077

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/copy-to-clipboard-4.x
Closed

fix(deps): update dependency copy-to-clipboard to v4#2077
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/copy-to-clipboard-4.x

Conversation

@renovate

@renovate renovate Bot commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
copy-to-clipboard ^3.3.3^4.0.0 age adoption passing confidence

Release Notes

sudodoki/copy-to-clipboard (copy-to-clipboard)

v4.0.2

Compare Source

compare changes

🩹 Fixes
  • Make sure execCommand works in fullscreen (#​158)
🏡 Chore
  • Bump axios from 1.14.0 to 1.15.2 (#​155)
  • Bump follow-redirects from 1.15.11 to 1.16.0 (#​157)
  • Bump basic-ftp from 5.2.0 to 5.3.0 (#​156)
❤️ Contributors

v4.0.1

Compare Source

compare changes

🏡 Chore
  • Fix copy in modal for execCommand fallback (#​151)
  • Add changelog (#​153)
✅ Tests
  • Add e2e scenario for modal tests (#​152)
❤️ Contributors

v4.0.0

Compare Source

compare changes

⚠️ Breaking Changes
  • copy() is now async — returns Promise<boolean> instead of boolean. All call sites must be updated to await copy(...) or .then(...).
  • IE11 support dropped — window.clipboardData and all IE-specific code paths removed.
  • window.prompt() fallback is now opt-in — pass options.fallbackToPrompt: true to restore. Off by default.
  • Build output moved to dist/ — direct require('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() with ClipboardItem for rich text / HTML copying when options.format or options.onCopy is set.
  • options.format — set a custom MIME type (e.g. 'text/html') to copy formatted content; text/plain is always included alongside it.
  • options.onCopy — callback receives a ClipboardItem on the async path (return a replacement to override) or a DataTransfer on the execCommand fallback path.
  • options.fallbackToPrompt — opt-in window.prompt() fallback for non-secure contexts.
  • Dual ESM / CJS package via tsup: dist/index.mjs, dist/index.cjs, dist/index.global.js (IIFE), with a proper exports field and sideEffects: false.
  • TypeScript declarations for both ESM (index.d.mts) and CJS (index.d.ts) consumers.
  • Multi-browser local test suite with Nightwatch v3: Chrome, Firefox, Edge, and Safari — plus LambdaTest cloud CI for all four browsers.
  • Platform detection uses navigator.userAgentData?.platform with a userAgent regex fallback (fixes #​123).
  • console.warn emitted in debug mode when falling back from a non-secure context.
❤️ Contributors

Configuration

📅 Schedule: (in timezone Europe/London)

  • Branch creation
    • At any time (no schedule defined)
  • 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 ok-to-test labels Apr 25, 2026
@cert-manager-prow cert-manager-prow Bot added the dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. label Apr 25, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign erikgb for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 25, 2026
@netlify

netlify Bot commented Apr 25, 2026

Copy link
Copy Markdown

Deploy Preview for cert-manager ready!

Name Link
🔨 Latest commit 26700ce
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/6a2a905b0fdd0a000818e1d2
😎 Deploy Preview https://deploy-preview-2077--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate renovate Bot force-pushed the renovate/copy-to-clipboard-4.x branch 2 times, most recently from 4ac04e4 to 9b297d8 Compare April 29, 2026 17:55
@renovate renovate Bot force-pushed the renovate/copy-to-clipboard-4.x branch from 9b297d8 to 43c4e77 Compare May 12, 2026 14:12
@erikgb erikgb requested a review from Copilot May 14, 2026 10:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the copy-to-clipboard dependency from v3 to v4, including the package lockfile resolution.

Changes:

  • Bumps copy-to-clipboard in package.json to ^4.0.0.
  • Updates package-lock.json to resolve copy-to-clipboard to 4.0.2.
  • Removes the no-longer-used transitive toggle-selection package from the lockfile.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Updates the direct dependency version for copy-to-clipboard.
package-lock.json Updates the locked package metadata and removes the previous transitive dependency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"classnames": "2.5.1",
"compare-versions": "6.1.1",
"copy-to-clipboard": "^3.3.3",
"copy-to-clipboard": "^4.0.0",
@renovate renovate Bot force-pushed the renovate/copy-to-clipboard-4.x branch from 43c4e77 to bb195e5 Compare May 18, 2026 14:02
@renovate renovate Bot force-pushed the renovate/copy-to-clipboard-4.x branch 2 times, most recently from 2627c49 to b7cb360 Compare June 1, 2026 14:35
Signed-off-by: Renovate Bot <renovate-bot@users.noreply.github.com>
@renovate renovate Bot force-pushed the renovate/copy-to-clipboard-4.x branch from b7cb360 to 26700ce Compare June 11, 2026 10:39
@wallrj-cyberark

Copy link
Copy Markdown
Member

I'm inclined to close this. The copy-paste icons work fine in my browser. And this doesn't seem to be a security update. So seems safest to leave as-is:
image

https://cert-manager.io/docs/tutorials/getting-started-with-cert-manager-on-google-kubernetes-engine-using-lets-encrypt-for-ingress-ssl/

@renovate

renovate Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/copy-to-clipboard-4.x branch June 12, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. dependencies Pull requests that update a dependency file ok-to-test size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants