NewYour coding agent can read the release notes before it upgrades.Set up the MCP server β
npm
npm, #1889 most downloaded on npm
Quickly scan for CLI flags and arguments
Latest stable
1.2.0
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
10 years old
10 releases Β· first in 2017
Drag across the ruler to compare, or tap a release to open it.
Include TypeScript definitions directly: 48e877c _Thank you to @shiftkey and @j-f1 who previously wrote/maintained @types/mri_ :bow:
@types/mri :bow:Migrate from TravisCI to GitHub Actions (#16): 908bbfd Thank you @maraisr
Update benchmark candidates' versions; save results: ca8baaa Everything is pinned to the latest version (as of this release).
Add "module" package entry: dda3343
"module" package entry: dda3343src directory with bundt: 81d65b6devDependency versions: fcb0555, b0b8f8eYour coding agent can read these notes before it upgrades. Set up the MCP server β
Ensure default value types cascade to aliases (#10): 5437ea5 _Thank you @andrewiggins for reporting!_
forEach with for-loops: 9863715Fixed parsing of flags when its default has boolean value (#8): 94f8c09 _Thank you @marvinhagemeister for reporting_
default has boolean value (#8): 94f8c09
Thank you @marvinhagemeister for reportingmri@1.1.1 for benchmark comparison_So, there was a slight breaking change... Immediately fixed, thanks to @ascorbic for reporting!_ π
So, there was a slight breaking change... Immediately fixed, thanks to @ascorbic for reporting! π
null value within options.default object (#7)β¦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!_
0) as a flag value (#3, #6): e3f239d
Thanks @victor0801x!prettier & husky deps: b2b2b05
No longer pretty πAdded options.unknown feature: b553719
options.unknown feature: b553719unknown tests from minimist: f8c437eNothing published for this version
Nothing published for this version
One column per quarter.