All Versions
7
Latest Version
Avg Release Cycle
229 days
Latest Release
458 days ago

Changelog History

  • v3.1.0 Changes

    July 24, 2020
    • ๐Ÿ‘Œ Improve React Native compatibility (#41) 260d6e3

    v3.0.0...v3.1.0

  • v3.0.0 Changes

    June 13, 2019

    ๐Ÿ’ฅ Breaking changes

    • Copy inherited properties of the original function. (#30)
    • Do not copy the length property. (#23)
    • โฌ‡๏ธ Drop support for Node 6. (#25)
    • โœ‚ Remove module.exports.default. (#26) If you used to do require('mimic-fn').default, you should now use require('mimic-fn') directly.

    ๐Ÿ”‹ Features

    • String(wrapper) now mimics String(originalFunction). A comment is prepended to indicate the original function has been wrapped. (#32)
    • โž• Add boolean option ignoreNonConfigurable to ignore the wrapper function's non-configurable properties instead of throwing an error. This defaults to false. (#33, #34, #35)
    • ๐Ÿ‘ Allow functions with different prototype such as classes, constructor functions and arrow functions. (#31, #36)

    Design

    • โž• Add a logo. (#37)

    Maintainers

    • โž• Add @ehmicky as an additional maintainer.
  • v2.1.0 Changes

    March 31, 2019
    • โ™ป๏ธ Refactor TypeScript definition to CommonJS compatible export (#20) 0c3d690

    v2.0.0...v2.1.0

  • v2.0.0 Changes

    March 07, 2019

    ๐Ÿ’ฅ Breaking:

    โœจ Enhancements:

    v1.2.0...v2.0.0

  • v1.2.0

    February 02, 2018
  • v1.1.0

    November 01, 2016
  • v1.0.0

    October 19, 2016