mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: bump commander.js version to 13 (#36426)
This commit is contained in:
parent
86c2ee6f3c
commit
04b10c56c1
@ -10,7 +10,7 @@ This project incorporates components from the projects listed below. The origina
|
|||||||
- buffer-crc32@0.2.13 (https://github.com/brianloveswords/buffer-crc32)
|
- buffer-crc32@0.2.13 (https://github.com/brianloveswords/buffer-crc32)
|
||||||
- codemirror@5.65.18 (https://github.com/codemirror/CodeMirror)
|
- codemirror@5.65.18 (https://github.com/codemirror/CodeMirror)
|
||||||
- colors@1.4.0 (https://github.com/Marak/colors.js)
|
- colors@1.4.0 (https://github.com/Marak/colors.js)
|
||||||
- commander@8.3.0 (https://github.com/tj/commander.js)
|
- commander@13.1.0 (https://github.com/tj/commander.js)
|
||||||
- concat-map@0.0.1 (https://github.com/substack/node-concat-map)
|
- concat-map@0.0.1 (https://github.com/substack/node-concat-map)
|
||||||
- debug@4.3.4 (https://github.com/debug-js/debug)
|
- debug@4.3.4 (https://github.com/debug-js/debug)
|
||||||
- debug@4.4.0 (https://github.com/debug-js/debug)
|
- debug@4.4.0 (https://github.com/debug-js/debug)
|
||||||
@ -331,7 +331,7 @@ THE SOFTWARE.
|
|||||||
=========================================
|
=========================================
|
||||||
END OF colors@1.4.0 AND INFORMATION
|
END OF colors@1.4.0 AND INFORMATION
|
||||||
|
|
||||||
%% commander@8.3.0 NOTICES AND INFORMATION BEGIN HERE
|
%% commander@13.1.0 NOTICES AND INFORMATION BEGIN HERE
|
||||||
=========================================
|
=========================================
|
||||||
(The MIT License)
|
(The MIT License)
|
||||||
|
|
||||||
@ -356,7 +356,7 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
=========================================
|
=========================================
|
||||||
END OF commander@8.3.0 AND INFORMATION
|
END OF commander@13.1.0 AND INFORMATION
|
||||||
|
|
||||||
%% concat-map@0.0.1 NOTICES AND INFORMATION BEGIN HERE
|
%% concat-map@0.0.1 NOTICES AND INFORMATION BEGIN HERE
|
||||||
=========================================
|
=========================================
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colors": "1.4.0",
|
"colors": "1.4.0",
|
||||||
"commander": "8.3.0",
|
"commander": "^13.0.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"diff": "^7.0.0",
|
"diff": "^7.0.0",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
@ -173,11 +173,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/commander": {
|
"node_modules/commander": {
|
||||||
"version": "8.3.0",
|
"version": "13.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/commander/-/commander-13.1.0.tgz",
|
||||||
"integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
|
"integrity": "sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==",
|
||||||
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 12"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/concat-map": {
|
"node_modules/concat-map": {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colors": "1.4.0",
|
"colors": "1.4.0",
|
||||||
"commander": "8.3.0",
|
"commander": "^13.0.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"diff": "^7.0.0",
|
"diff": "^7.0.0",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
|
@ -55,7 +55,9 @@ const kExternalPlaywrightTestCommands = [
|
|||||||
];
|
];
|
||||||
function addExternalPlaywrightTestCommands() {
|
function addExternalPlaywrightTestCommands() {
|
||||||
for (const [command, description] of kExternalPlaywrightTestCommands) {
|
for (const [command, description] of kExternalPlaywrightTestCommands) {
|
||||||
const playwrightTest = program.command(command).allowUnknownOption(true);
|
const playwrightTest = program.command(command)
|
||||||
|
.allowUnknownOption(true)
|
||||||
|
.allowExcessArguments(true);
|
||||||
playwrightTest.description(`${description} Available in @playwright/test package.`);
|
playwrightTest.description(`${description} Available in @playwright/test package.`);
|
||||||
playwrightTest.action(async () => {
|
playwrightTest.action(async () => {
|
||||||
printPlaywrightTestError(command);
|
printPlaywrightTestError(command);
|
||||||
|
@ -382,7 +382,7 @@ const testOptions: [string, string][] = [
|
|||||||
['--fully-parallel', `Run all tests in parallel (default: false)`],
|
['--fully-parallel', `Run all tests in parallel (default: false)`],
|
||||||
['--global-timeout <timeout>', `Maximum time this test suite can run in milliseconds (default: unlimited)`],
|
['--global-timeout <timeout>', `Maximum time this test suite can run in milliseconds (default: unlimited)`],
|
||||||
['-g, --grep <grep>', `Only run tests matching this regular expression (default: ".*")`],
|
['-g, --grep <grep>', `Only run tests matching this regular expression (default: ".*")`],
|
||||||
['-gv, --grep-invert <grep>', `Only run tests that do not match this regular expression`],
|
['--grep-invert <grep>', `Only run tests that do not match this regular expression`],
|
||||||
['--headed', `Run tests in headed browsers (default: headless)`],
|
['--headed', `Run tests in headed browsers (default: headless)`],
|
||||||
['--ignore-snapshots', `Ignore screenshot and snapshot expectations`],
|
['--ignore-snapshots', `Ignore screenshot and snapshot expectations`],
|
||||||
['--last-failed', `Only re-run the failures`],
|
['--last-failed', `Only re-run the failures`],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user