-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Comparing changes
Open a pull request
base repository: tj/commander.js
base: v5.1.0
head repository: tj/commander.js
compare: v6.0.0
Commits on May 10, 2020
-
Update dependencies and drop node 8 from testing (#1263)
* Update depenencies * Drop node 8 from tests
Configuration menu - View commit details
-
Copy full SHA for 790553d - Browse repository at this point
Copy the full SHA 790553dView commit details
Commits on May 14, 2020
-
Replace indexOf with includes (#1264)
* Replace indexOf with includes Changed the relevant if statement to an early return. * Modify to "StartsWith" to correspond to "indexOf === 0"
Configuration menu - View commit details
-
Copy full SHA for 168ff5b - Browse repository at this point
Copy the full SHA 168ff5bView commit details
Commits on May 26, 2020
-
Support options with only a short flag (#1256)
* Support short flag alone * Weaken option parsing for backwards compatibility * Have .version allow short only flag * Add tests for lone short and long flags
Configuration menu - View commit details
-
Copy full SHA for a31bb3f - Browse repository at this point
Copy the full SHA a31bb3fView commit details
Commits on May 29, 2020
-
Co-authored-by: Phillip Clark <phillip@flitbit.com>
Configuration menu - View commit details
-
Copy full SHA for 24118fe - Browse repository at this point
Copy the full SHA 24118feView commit details
Commits on May 30, 2020
-
Merge pull request #1269 from shadowspawn/feature/fix-typos
Fix some typos
Configuration menu - View commit details
-
Copy full SHA for 4a7148a - Browse repository at this point
Copy the full SHA 4a7148aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3798334 - Browse repository at this point
Copy the full SHA 3798334View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9a6109 - Browse repository at this point
Copy the full SHA e9a6109View commit details
Commits on Jun 1, 2020
-
Add support for variadic options (#1250)
* First cut at variadic option implementation * Rework variadic regexp - remove ellipsis for symmetry with .arguments - require word character before dots * Add tests for variadic options * Add test on non-variadic pattern * Rethink interation of variadic and coercion function * Fix typos * Raise ecmaVersion to eliminate some false positive errors in example files * Improve variadic option with optional value, zero or more values * Reorder comparison to match previous test * Use consistent test names * Add example and README for variadic option * Fix typo
Configuration menu - View commit details
-
Copy full SHA for 913389f - Browse repository at this point
Copy the full SHA 913389fView commit details -
* Make all the examples executable * Add shebang to all examples * Remove use of global export as program in examples * Move .parse onto separate line in examples * Modify example to more closely match README * Reference example files where available (and remove require to keep length similar) * Remove example file which is not showing much, and covered in other files * Remove example file which is not showing much, and covered in other files * Add comment on point of file
Configuration menu - View commit details
-
Copy full SHA for 6cad30a - Browse repository at this point
Copy the full SHA 6cad30aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0576033 - Browse repository at this point
Copy the full SHA 0576033View commit details
Commits on Jun 15, 2020
-
Throw for likely option name problems (#1275)
* Make a start on warning for option name clashes with Command properties * Use correct property name for lookup * Shift clash detection into routine, still WIP * Prevent false positive clashes when negated option * Add tests for option name clashes * Refine advice
Configuration menu - View commit details
-
Copy full SHA for 42f61ca - Browse repository at this point
Copy the full SHA 42f61caView commit details
Commits on Jun 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fc36472 - Browse repository at this point
Copy the full SHA fc36472View commit details
Commits on Jun 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for faac4d9 - Browse repository at this point
Copy the full SHA faac4d9View commit details
Commits on Jun 22, 2020
-
Feature/update dependencies (#1286)
* Update dependencies * Refresh package-lock.json with clean install
Configuration menu - View commit details
-
Copy full SHA for ca2256e - Browse repository at this point
Copy the full SHA ca2256eView commit details
Commits on Jul 4, 2020
-
Optimize Chinese readme typesetting (#1289)
* optimize Chinese typesetting add whitespace between Chinese and half-width characters (alphabetical letters, numerical digits and symbols) for good readability * Fix toc
Configuration menu - View commit details
-
Copy full SHA for 09c103d - Browse repository at this point
Copy the full SHA 09c103dView commit details
Commits on Jul 8, 2020
-
Update supported versions (#1297)
- update SECURITY - archive old CHANGELOG versions - update README
Configuration menu - View commit details
-
Copy full SHA for fdf6ee9 - Browse repository at this point
Copy the full SHA fdf6ee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3628571 - Browse repository at this point
Copy the full SHA 3628571View commit details
Commits on Jul 14, 2020
-
* doc: add Chinese translation for 6.x readme * doc: improve Chinese translation * doc: add esm document
Configuration menu - View commit details
-
Copy full SHA for 601f2de - Browse repository at this point
Copy the full SHA 601f2deView commit details
Commits on Jul 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3c85087 - Browse repository at this point
Copy the full SHA 3c85087View commit details
Commits on Jul 19, 2020
-
Add regression test for #1301 (#1304)
Co-author: snitin315@gmail.com
Configuration menu - View commit details
-
Copy full SHA for 531a0fd - Browse repository at this point
Copy the full SHA 531a0fdView commit details -
Update dependencies except eslint (#1303)
* Bump version for release * Update dependencies except eslint
Configuration menu - View commit details
-
Copy full SHA for 394caef - Browse repository at this point
Copy the full SHA 394caefView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7b179a - Browse repository at this point
Copy the full SHA d7b179aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5a5e7b - Browse repository at this point
Copy the full SHA c5a5e7bView commit details
There are no files selected for viewing