vercel 34.1.3 → 34.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +19 -21
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -52648,8 +52648,8 @@ var GA_TRACKING_ID, SENTRY_DSN;
|
|
52648
52648
|
var init_constants = __esm({
|
52649
52649
|
"src/util/constants.ts"() {
|
52650
52650
|
"use strict";
|
52651
|
-
GA_TRACKING_ID =
|
52652
|
-
SENTRY_DSN =
|
52651
|
+
GA_TRACKING_ID = void 0;
|
52652
|
+
SENTRY_DSN = void 0;
|
52653
52653
|
}
|
52654
52654
|
});
|
52655
52655
|
|
@@ -113662,7 +113662,7 @@ var init_command2 = __esm({
|
|
113662
113662
|
description: "Automatically open each URL in the browser",
|
113663
113663
|
argument: "URL",
|
113664
113664
|
shorthand: "o",
|
113665
|
-
type:
|
113665
|
+
type: Boolean,
|
113666
113666
|
deprecated: false
|
113667
113667
|
},
|
113668
113668
|
{
|
@@ -113709,33 +113709,29 @@ async function bisect(client2) {
|
|
113709
113709
|
const { output: output2 } = client2;
|
113710
113710
|
const scope = await getScope(client2);
|
113711
113711
|
const { contextName } = scope;
|
113712
|
-
|
113713
|
-
|
113714
|
-
|
113715
|
-
|
113716
|
-
|
113717
|
-
|
113718
|
-
|
113719
|
-
|
113720
|
-
|
113721
|
-
"--run": String,
|
113722
|
-
"-r": "--run"
|
113723
|
-
});
|
113724
|
-
if (argv2["--help"]) {
|
113712
|
+
let parsedArgs = null;
|
113713
|
+
const flagsSpecification = getFlagsSpecification(bisectCommand.options);
|
113714
|
+
try {
|
113715
|
+
parsedArgs = parseArguments(client2.argv.slice(2), flagsSpecification);
|
113716
|
+
} catch (error4) {
|
113717
|
+
handleError(error4);
|
113718
|
+
return 1;
|
113719
|
+
}
|
113720
|
+
if (parsedArgs.flags["--help"]) {
|
113725
113721
|
output2.print(help2(bisectCommand, { columns: client2.stderr.columns }));
|
113726
113722
|
return 2;
|
113727
113723
|
}
|
113728
|
-
let bad =
|
113724
|
+
let bad = parsedArgs.flags["--bad"] || await client2.input.text({
|
113729
113725
|
message: `Specify a URL where the bug occurs:`,
|
113730
113726
|
validate: (val) => val ? true : "A URL must be provided"
|
113731
113727
|
});
|
113732
|
-
let good =
|
113728
|
+
let good = parsedArgs.flags["--good"] || await client2.input.text({
|
113733
113729
|
message: `Specify a URL where the bug does not occur:`,
|
113734
113730
|
validate: (val) => val ? true : "A URL must be provided"
|
113735
113731
|
});
|
113736
|
-
let subpath =
|
113737
|
-
let run2 =
|
113738
|
-
const openEnabled =
|
113732
|
+
let subpath = parsedArgs.flags["--path"] || "";
|
113733
|
+
let run2 = parsedArgs.flags["--run"] || "";
|
113734
|
+
const openEnabled = parsedArgs.flags["--open"] || false;
|
113739
113735
|
if (run2) {
|
113740
113736
|
run2 = (0, import_path10.resolve)(run2);
|
113741
113737
|
}
|
@@ -113984,6 +113980,8 @@ var init_bisect = __esm({
|
|
113984
113980
|
init_get_deployment();
|
113985
113981
|
init_help();
|
113986
113982
|
init_command2();
|
113983
|
+
init_get_flags_specification();
|
113984
|
+
init_handle_error();
|
113987
113985
|
}
|
113988
113986
|
});
|
113989
113987
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "34.1.
|
3
|
+
"version": "34.1.4",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"@vercel/fun": "1.1.0",
|
26
26
|
"@vercel/go": "3.1.1",
|
27
27
|
"@vercel/hydrogen": "1.0.2",
|
28
|
-
"@vercel/next": "4.2.
|
28
|
+
"@vercel/next": "4.2.4",
|
29
29
|
"@vercel/node": "3.0.27",
|
30
30
|
"@vercel/python": "4.2.0",
|
31
31
|
"@vercel/redwood": "2.0.8",
|