diff --git a/bin/pa11y.js b/bin/pa11y.js index 4a7e165d..0cd7674b 100755 --- a/bin/pa11y.js +++ b/bin/pa11y.js @@ -104,6 +104,7 @@ function configureProgram() { collectOptions, [] ) + .allowExcessArguments() .parse(process.argv); program.url = program.args[0]; } diff --git a/package-lock.json b/package-lock.json index eeb68298..73256a13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "axe-core": "^4.10.2", "bfj": "^9.1.1", - "commander": "^12.1.0", + "commander": "^13.0.0", "envinfo": "^7.14.0", "html_codesniffer": "^2.5.1", "kleur": "^4.1.5", @@ -934,9 +934,9 @@ "license": "MIT" }, "node_modules/commander": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz", - "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-13.0.0.tgz", + "integrity": "sha512-oPYleIY8wmTVzkvQq10AEok6YcTC4sRUBl8F9gVuwchGVUCTbl/vhLTaQqutuuySYOsu8YTgV+OxKc/8Yvx+mQ==", "license": "MIT", "engines": { "node": ">=18" diff --git a/package.json b/package.json index 2203fa44..1bf3b189 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "dependencies": { "axe-core": "^4.10.2", "bfj": "^9.1.1", - "commander": "^12.1.0", + "commander": "^13.0.0", "envinfo": "^7.14.0", "html_codesniffer": "^2.5.1", "kleur": "^4.1.5",