NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1889 most downloaded on npm
Quickly scan for CLI flags and arguments
Last release 5 years ago
no release in 18 months
Ships fairly regularly
a new release about every 9 months
Most releases are documented
notes for 8 of 10 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
10 releases · first in 2017
Include TypeScript definitions directly: 48e877c Thank you to @shiftkey and @j-f1 who previously wrote/maintained @types/mri 🙇
Add "module" package entry: dda3343
One column per quarter.
Ensure default value types cascade to aliases ( #10 ): 5437ea5 Thank you @andrewiggins for reporting!
Fixed parsing of flags when its default has boolean value ( #8 ): 94f8c09 Thank you @marvinhagemeister for reporting
default has boolean value (#8): 94f8c09mri@1.1.1 for benchmark comparisonSo, there was a slight breaking change... Immediately fixed, thanks to @ascorbic for reporting! 😅
…the 70% performance gain while maintaining no breaking changes ~! 🙌
The core of mri has been maintained – improved, in fact – but I applied my learnings over the last 12 months. Since mri was (one of) my first performance-oriented libraries, I am very pleased with the 70% performance gain while maintaining no breaking changes~! 🙌
# Node v10.13.0
minimist x 324,469 ops/sec ±1.20% (96 runs sampled)
mri (prev) x 917,360 ops/sec ±1.22% (95 runs sampled)
mri x 1,611,167 ops/sec ±0.22% (96 runs sampled)
nopt x 920,029 ops/sec ±1.13% (97 runs sampled)
yargs-parser x 39,542 ops/sec ±1.14% (95 runs sampled)
General fixes that match minimist behavior:
opts.default keys within unknown check (#4)Number cast before moving value into _ arrayBoolean values & String castingminimistSupport zero ( 0 ) as a flag value ( #3 , #6 ): e3f239d Thanks @victor0801x!
Added options.unknown feature: b553719
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 →