UNPKG

leakage

Version:

Memory leak testing for node. Javascript memory footprinting using your favorite test runner.

25 lines (16 loc) 924 B
# Leakage - Changelog ## v0.4.0 - Make compatible with node 10: Use @airbnb/node-memwatch (see #27 by @alvis) ## v0.3.0 - Support for asynchronous tests: `iterate.async(iterator: Function, options: ?Object): Promise<Result>` ([#7](https://github.com/andywer/leakage/issues/7)) - Changed API: `iterate(iterations: number, iterator: Function) => iterate(iterator: Function, options: ?Object)` - Pretty much a complete rewrite of the library - Added heap footprint tests checking the library's own footprint - Requires node 6+ ## v0.2.0 - Added simple integration test and Travis CI config - Renamed `iteration()` method to `iterate` as described in the docs (kept `iteration` for b/c, though) - Supporting node 4+ (was node 6+ before) - Faster installation, since only `lib/` is published ## v0.1.0 Initial release. Working `iterate()` method, detailed error, but no support for async functions and no unit tests yet.