Comments (3)
I would vote on keeping the original behavior just to not introduce a breaking change, but having an option to control that is definitely a good idea.
from minimist-lite.
I do agree with this comment
Implicit coercing for the rest arguments is not a good default and should be off by default.
Thus we can add this new option using false
by default, and then changing it to true
in the next major relase.
from minimist-lite.
I believe this will fix this other issue: https://github.com/substack/minimist/issues/112
$ node example/parse.js 002e1234
{ _: [ Infinity ] }
from minimist-lite.
Related Issues (17)
- BUG: function unknown called for non-options
- Parsing a twitter snowflake changes it HOT 1
- Whitelist published files HOT 1
- Seems parse error for this case HOT 2
- Auto converting hex values to numbers HOT 2
- Proposal: Adding option for longer arguments names HOT 3
- BUG: `opts.stopEarly` should not swallow `--` HOT 3
- document "--no-XXX" handling HOT 3
- merge minimist PR #113
- TypeScript Definitions Not Included in Package HOT 1
- Automate publishing on NPM registry using GitHub Actions. And add CI workflow HOT 3
- Release 2.2.0 HOT 2
- patch high vunerability on transitive development dependency
- New Feature : Allow for array in flag options
- Enable Dependabot security updates HOT 1
- minimist is no longer abandoned. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minimist-lite.