-
-
Notifications
You must be signed in to change notification settings - Fork 440
CLI: allow excess arguments for htmlhint #1837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,7 @@ | |
| }, | ||
| "dependencies": { | ||
| "async": "3.2.6", | ||
| "commander": "11.1.0", | ||
| "commander": "14.0.3", | ||
| "glob": "^13.0.6", | ||
| "is-glob": "^4.0.3", | ||
| "node-sarif-builder": "4.0.0", | ||
|
|
@@ -74,9 +74,9 @@ | |
| "jest": "^30.3.0", | ||
| "parse-glob": "3.0.4", | ||
| "prettier": "3.8.1", | ||
| "rimraf": "^5.0.0", | ||
| "rimraf": "^6.1.3", | ||
| "rollup": "4.59.1", | ||
| "typescript": "5.4.5" | ||
| "typescript": "5.9.3" | ||
|
Comment on lines
76
to
+79
|
||
| }, | ||
| "engines": { | ||
| "node": ">=20" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,7 @@ function map(val: string) { | |
| } | ||
|
|
||
| const program = new Command() | ||
| program.allowExcessArguments(true) | ||
|
||
|
|
||
| program.on('--help', () => { | ||
| console.log(' Examples:') | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commanderis bumped from 11.x to 14.x as part of this change. Since this is a runtime dependency for the published CLI, a major-version upgrade can introduce unrelated breaking behavior; consider either keeping the existing major version (ifallowExcessArgumentsis available there) or splitting thecommanderupgrade into a dedicated PR with explicit compatibility/testing notes.