MZ (Modernize node.js) is a Node.js helper library that modernizes Node’s core APIs to current ECMAScript specifications, especially by wrapping parts of Node’s API. It provides promise-based versions of common modules like child_process, crypto, dns, fs, readline, and zlib, so you can use async functions cleanly with Node’s core APIs.
Project status
- The source normalize/mz appears to be in maintenance mode or effectively dormant, with the last upstream push dated 2020-12-11, and the most recent tagged updates in the provided history from 2017-09-13 (2.7.0) and earlier.
- The apparent update cadence is low, with updates in 2016-11-22 (2.6.0), 2016-11-04 (2.5.0), and 2017-09-13 (2.7.0), suggesting long intervals between meaningful changes.
AI summary generated Today
Recent updates
2.7.0
9/13/2017Release 2.7.0 updates the library version, tweaks CI and documentation, and modifies the set of fs functions that are wrapped and exposed via thenify-all. The code diff suggests a primary functional change: adding support for fs.copyFile when it exists in the runtime.
2.6.0
11/22/2016Release 2.6.0 updates the package version and extends the exposed filesystem API surface. The only functional code change visible in the diff is adding support for fdatasync to the fs API wrapper.
Features2.5.0
11/4/2016Release 2.5.0 was published on 2016-11-04, but no release notes were provided by the publisher. As a result, there is no actionable information here about new features, bug fixes, security updates, breaking changes, or migration requirements.
2.4.0
3/24/2016Release 2.4.0 primarily adds support for fs.truncate. The provided release notes are empty, so the actual change is only visible from the code diff, which updates the fs API surface to include truncate.
Features2.3.1
2/1/2016Release 2.3.1 is a small maintenance update. The provided release notes contain no documented changes, but the code diff shows a dependency change and a package version bump.
2.3.0
1/30/2016Release 2.3.0 makes a packaging level change to how the library provides Promises, switching from `native-or-bluebird` to `any-promise`. It also updates documentation and dependency versions (including test/dev tooling) to align with the new promise engine approach.
BreakingFeatures2.2.0
1/24/2016Release 2.2.0 adds a new top-level entry point file (index.js) that re-exports the package submodules (fs, dns, zlib, crypto, readline, child_process). It also updates CI to test additional Node versions and adjusts the README guidance around promises support in Node 4+.
Featuresv2.1.0
10/15/2015v2.1.0 introduces support for the Node.js readline module. It adds a new wrapper (readline.js) that provides a Promise-based form of Interface.question and enhances completer handling to support sync, callback-style, and Promise-returning completers.
Features2.0.0
5/25/2015This release (2.0.0) makes the library support Node style callbacks in addition to promise-based usage across several wrapped core modules (fs, child_process, crypto, dns, zlib). The diff also updates CI configuration and rewrites fs.exists to provide both callback and promise behaviors.
Features1.3.0
2/11/2015Release 1.3.0 was published on 2015-02-11, but no release notes were provided by the publisher. As a result, no developer-impacting changes, breaking changes, or fixes can be confidently identified from the release text.