[Snyk] Upgrade mri from 1.1.0 to 1.2.0 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade mri from 1.1.0 to 1.2.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: mri
Features
Thank you to @ shiftkey and @ j-f1 who previously wrote/maintained
@ types/mri
🙇Chores
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).
Chores
"module"
package entry: dda3343src
directory withbundt
: 81d65b6devDependency
versions: fcb0555, b0b8f8ePatches
Thank you @ andrewiggins for reporting!
Chores
forEach
with for-loops: 9863715Patches
default
has boolean value (#8): 94f8c09Thank you @ marvinhagemeister for reporting
Chores
mri@1.1.1
for benchmark comparisonPatches
So, there was a slight breaking change... Immediately fixed, thanks to @ ascorbic for reporting! 😅
null
value withinoptions.default
object (#7)Chores
Performance!
The core of
mri
has been maintained – improved, in fact – but I applied my learnings over the last 12 months. Sincemri
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)
Patches
General fixes that match
minimist
behavior:opts.default
keys withinunknown
check (#4)Number
cast before moving value into_
arrayBoolean
values &String
castingChores
minimist
Patches
0
) as a flag value (#3, #6): e3f239dThanks @ victor0801x!
Chores
prettier
&husky
deps: b2b2b05No longer pretty 💔
Minor Changes
options.unknown
feature: b553719unknown
tests fromminimist
: f8c437eCommit messages
Package name: mri
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs