Releases: meszaros-lajos-gyorgy/minimist-lite
Releases · meszaros-lajos-gyorgy/minimist-lite
v2.2.1
Now we have the prepare
entry on package.json
, which allow this Git repository to be used as a dependency. More on this here.
How to replace minimist
with minimist-lite
in transitive dependencies
with NPM v8+
You will use the Git URLs as dependencies feature. Note that this requires git
- add this entry in your
package.json
:
"overrides": {
"minimist": "git+https://github.com/meszaros-lajos-gyorgy/minimist-lite#semver:^2.2.1"
}
rm -f package-lock.json
npm install
- Check out the result:
grep name node_modules/minimist/package.json
. Should showminimist-lite
instead
with Yarn v1
You will use the resolutions
feature along with the npm
protocol.
- add this entry in your
package.json
:
"resolutions": {
"minimist": "npm:minimist-lite@^2.2.1"
}
yarn install
- Check out the result:
grep name node_modules/minimist/package.json
. Should showminimist-lite
instead
v2.2.0
Update readme and add more examples (from @rsp and @sirbrillig)
Optimizing logical expression (from @marijaselakovic)
Add test for describing how the multiple boolean arguments are handled (from @allevo)
The release now also exposes the type definitions file and has sourcemap
- various small improvements and cleanups
v2.1.0
What's Changed
- Added array support using colon in args by @bogusfocused in #9
- Fixed bug:
opts.stopEarly
should not swallow--
by @blakeembrey #7 esbuild
have been introduced to the project, so refactoring / modernizing can be started
New Contributors
- @bogusfocused made their first contribution in #9
Full Changelog: v2.0.1...v2.1.0
v2.0.1
Added fix by https://github.com/dimabru which converts numbers larger then what JS can handle to strings. (fixes #5)