NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #212 most downloaded on npm
Make a function mimic another one
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.6 years
Most releases are documented
notes for 5 of 8 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
9 releases · first in 2016
Rename package from mimic-fn to mimic-function 1692df8
This package is now pure ESM. Please read this .
One column per quarter.
Improve React Native compatibility ( #41 ) 260d6e3
Copy inherited properties of the original function.
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)Refactor TypeScript definition to CommonJS compatible export ( #20 ) 0c3d690
Require Node.js 6 ( #9 ) 7751dc7
Breaking:
Enhancements:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →