Skip to content

chore(deps): update dependency copy-to-clipboard to v4#1861

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/copy-to-clipboard-4.x
Open

chore(deps): update dependency copy-to-clipboard to v4#1861
renovate[bot] wants to merge 1 commit intomainfrom
renovate/copy-to-clipboard-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 25, 2026

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 America/Los_Angeles)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

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

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 requested a review from a team as a code owner April 25, 2026 17:49
@relativeci
Copy link
Copy Markdown

relativeci Bot commented Apr 25, 2026

#2040 Bundle Size — 2.01MiB (+0.05%).

38ad41c(current) vs a0e8aba main#2032(baseline)

Warning

Bundle contains 16 duplicate packages – View duplicate packages

Bundle metrics  Change 4 changes Regression 1 regression Improvement 1 improvement
                 Current
#2040
     Baseline
#2032
Regression  Initial JS 1.73MiB(+0.06%) 1.73MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 78.88% 0%
No change  Chunks 5 5
No change  Assets 237 237
Change  Modules 1528(-0.07%) 1529
No change  Duplicate Modules 134 134
No change  Duplicate Code 5.69% 5.69%
Improvement  Packages 179(-0.56%) 180
No change  Duplicate Packages 12 12
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#2040
     Baseline
#2032
Regression  JS 1.73MiB (+0.06%) 1.73MiB
No change  Other 251.83KiB 251.83KiB
No change  IMG 35.85KiB 35.85KiB
No change  HTML 857B 857B

Bundle analysis reportBranch renovate/copy-to-clipboard-4.xProject dashboard


Generated by RelativeCIDocumentationReport issue

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 25, 2026

npm i https://pkg.pr.new/apollo-client-devtools@1861
npm i https://pkg.pr.new/@apollo/client-devtools-vscode@1861

commit: 38ad41c

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants