Releases: sindresorhus/copy-text-to-clipboard
Releases · sindresorhus/copy-text-to-clipboard
v3.2.0
v3.1.0
- Validate the text parameter 6bf4093
v3.0.1
v3.0.0
Breaking
- This package is now pure ESM
- This means you need to use
import copy from 'copy-text-to-clipboard'
instead ofconst copy = require('copy-text-to-clipboard')
. - I would recommend moving to ESM. ESM can still import CommonJS packages, but CommonJS cannot import ESM packages synchronously.
- If you cannot move to ESM yet, don't upgrade to this version.
- This means you need to use
v2.2.0
v2.1.1
v2.1.0
v2.0.0
Breaking:
- Require Node.js 6
- It now takes advantage of some new DOM APIs:
Enhancements: