Skip to content

Releases: sindresorhus/copy-text-to-clipboard

v3.2.0

05 Jul 22:02
Compare
Choose a tag to compare
  • Properly export TypeScript types in package.json (#51) dfd2874
    • They were already implicitly exported by being named index.d.ts, but this makes it proper.

v3.1.0...v3.2.0

v3.1.0

11 Mar 08:19
Compare
Choose a tag to compare
  • Validate the text parameter 6bf4093

v3.0.1...v3.1.0

v3.0.1

18 Feb 05:08
Compare
Choose a tag to compare
  • Add missing options to type declaration (#42) e93424a

v3.0.0...v3.0.1

v3.0.0

27 Jan 09:46
Compare
Choose a tag to compare

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

v2.2.0

06 Apr 12:34
Compare
Choose a tag to compare

v2.1.1

23 Sep 05:48
Compare
Choose a tag to compare
  • Return focus to previously focused element after copying (#30) bf384f6

v2.1.0...v2.1.1

v2.1.0

05 Apr 21:26
Compare
Choose a tag to compare
  • Refactor TypeScript definition to CommonJS compatible export (#26) 27ce0b6

v2.0.0...v2.1.0

v2.0.0

10 Mar 14:57
Compare
Choose a tag to compare

Breaking:

Enhancements:

v1.0.4...v2.0.0