Skip to content

Releases: sindresorhus/onetime

v7.0.0

05 Nov 20:42
Compare
Choose a tag to compare

Breaking

v6.0.0...v7.0.0

v6.0.0

08 Apr 13:48
Compare
Choose a tag to compare

Breaking

v5.1.2...v6.0.0

v5.1.2

09 Aug 20:29
Compare
Choose a tag to compare

v5.1.1...v5.1.2

v5.1.1

02 Aug 10:29
Compare
Choose a tag to compare
  • Documentation fixes

v5.1.0...v5.1.1

v5.1.0

02 Apr 02:40
Compare
Choose a tag to compare
  • Refactor TypeScript definition to CommonJS compatible export (#7) 0116edf

v5.0.0...v5.1.0

v5.0.0

08 Mar 05:59
Compare
Choose a tag to compare

Breaking:

  • Make the callCount method be attached to the default export in TypeScript instead of being a named export. 895a013
    This is a major version to adhere to semver, but in reality most people will not be affected by this. Only those who use TypeScript and the callCount() method.

v4.0.0...v5.0.0

v4.0.0

01 Mar 09:15
Compare
Choose a tag to compare

Breaking:

  • Make .callCount() throw an error if it receives a function not wrapped by onetime 6a7c112

Other:

v3.0.0...v4.0.0

v3.0.0

20 Jan 15:38
Compare
Choose a tag to compare

Breaking:

Other:

  • Add method for getting call count of a function (#5) 1e9bbae