Skip to content

v3.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 27 Jan 09:46
· 9 commits to main since this release

Breaking

  • This package is now pure ESM
    • This means you need to use import copy from 'copy-text-to-clipboard' instead of const 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.

v2.2.0...v3.0.0