Skip to content

Releases: meszaros-lajos-gyorgy/minimist-lite

v2.2.1

22 Mar 03:01
Compare
Choose a tag to compare

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

  1. add this entry in your package.json:
"overrides": {
  "minimist": "git+https://github.com/meszaros-lajos-gyorgy/minimist-lite#semver:^2.2.1"
}
  1. rm -f package-lock.json
  2. npm install
  3. Check out the result: grep name node_modules/minimist/package.json. Should show minimist-lite instead
with Yarn v1

You will use the resolutions feature along with the npm protocol.

  1. add this entry in your package.json:
"resolutions": {
  "minimist": "npm:minimist-lite@^2.2.1"
}
  1. yarn install
  2. Check out the result: grep name node_modules/minimist/package.json. Should show minimist-lite instead

v2.2.0

01 Feb 14:59
Compare
Choose a tag to compare

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

21 Jan 17:58
Compare
Choose a tag to compare

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

Full Changelog: v2.0.1...v2.1.0

v2.0.1

10 Jan 13:04
Compare
Choose a tag to compare

Added fix by https://github.com/dimabru which converts numbers larger then what JS can handle to strings. (fixes #5)