Bot releases are hidden (Show)
.toString
descriptors (#51) d4d3e62https://github.com/sindresorhus/mimic-function/compare/v5.0.0...v5.0.1
mimic-fn
to mimic-function
1692df8https://github.com/sindresorhus/mimic-fn/compare/v4.0.0...v5.0.0
https://github.com/sindresorhus/mimic-fn/compare/v3.1.0...v4.0.0
https://github.com/sindresorhus/mimic-fn/compare/v3.0.0...v3.1.0
length
property. (#23)module.exports.default
. (#26) If you used to do require('mimic-fn').default
, you should now use require('mimic-fn')
directly.String(wrapper)
now mimics String(originalFunction)
. A comment is prepended to indicate the original function has been wrapped. (#32)ignoreNonConfigurable
to ignore the wrapper function's non-configurable properties instead of throwing an error. This defaults to false
. (#33, #34, #35)prototype
such as classes, constructor functions and arrow functions. (#31, #36)https://github.com/sindresorhus/mimic-fn/compare/v2.0.0...v2.1.0
Breaking:
Enhancements:
https://github.com/sindresorhus/mimic-fn/compare/v1.2.0...v2.0.0