# What changed in copy-to-clipboard

> 2 changes in copy-to-clipboard 4 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/copy-to-clipboard/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## copy-to-clipboard 4

### Fixes and other changes

- Fixed execCommand so it works in fullscreen. (4.0.2) — [release notes](https://github.com/sudodoki/copy-to-clipboard/releases/tag/v4.0.2)
- Fixes copying in a modal when the execCommand fallback is used. (4.0.1) — [release notes](https://github.com/sudodoki/copy-to-clipboard/releases/tag/v4.0.1)
