vercel 53.1.1 → 53.3.0
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/chunks/{add-UAZIKU22.js → add-PGPQCMJK.js} +9 -9
- package/dist/chunks/{chunk-5B27ZNJB.js → chunk-25WI74GM.js} +7 -7
- package/dist/chunks/{chunk-C7FXVPAA.js → chunk-2TNGZL25.js} +2 -2
- package/dist/chunks/{chunk-T2DVW5BM.js → chunk-3GJFG6GX.js} +4 -4
- package/dist/chunks/{chunk-4Q5VS23S.js → chunk-3NSIZGHP.js} +3 -3
- package/dist/chunks/{chunk-QIHIANBF.js → chunk-3XU5UGVN.js} +1 -0
- package/dist/chunks/{chunk-NFAQ5Q3Z.js → chunk-3YDXZRSZ.js} +2 -2
- package/dist/chunks/{chunk-KFFW6MSL.js → chunk-4L73BR7G.js} +11 -12
- package/dist/chunks/{chunk-HMM7V4AU.js → chunk-4LDQIDKG.js} +2 -2
- package/dist/chunks/{chunk-4Z7KJQGN.js → chunk-4OEA5ILS.js} +0 -1
- package/dist/chunks/{chunk-WMD7Y6HT.js → chunk-4VJ3GTBX.js} +1 -1
- package/dist/chunks/{chunk-KOCX7HWE.js → chunk-7EJTBI6M.js} +11 -11
- package/dist/chunks/{chunk-VQSAZO3U.js → chunk-7Z5XFBB4.js} +140 -86
- package/dist/chunks/{chunk-5GMV7WTU.js → chunk-AAPG3P4D.js} +9 -11
- package/dist/chunks/{chunk-WS4HI35O.js → chunk-AORK3I3E.js} +1 -1
- package/dist/chunks/{chunk-IABMY4Q3.js → chunk-AXQNAI65.js} +1 -1
- package/dist/chunks/{chunk-XZ7CVBQ4.js → chunk-EBEBY45K.js} +11 -1
- package/dist/chunks/{chunk-LN5ZMLBU.js → chunk-GCKUEAUE.js} +2 -2
- package/dist/chunks/{chunk-JNOMOD7R.js → chunk-GQLARSTH.js} +1 -1
- package/dist/chunks/{chunk-JDKASMB2.js → chunk-H57DZL5B.js} +3 -3
- package/dist/chunks/{chunk-NCUOSZ6X.js → chunk-HAJ2XRTQ.js} +2 -2
- package/dist/chunks/{chunk-AES77UB7.js → chunk-HJVSVCAZ.js} +59 -14
- package/dist/chunks/{chunk-3LRN4Q7G.js → chunk-IS56OO2J.js} +3 -3
- package/dist/chunks/{chunk-SPXTKMOV.js → chunk-JJ36CB7A.js} +722 -938
- package/dist/chunks/{chunk-P3H4MP5H.js → chunk-JZLADLMF.js} +2 -2
- package/dist/chunks/{chunk-ABDTA3V2.js → chunk-KSIISCB2.js} +1 -1
- package/dist/chunks/{chunk-VS4O4MKY.js → chunk-MUBKPS2Z.js} +1 -1
- package/dist/chunks/{chunk-DFUTSURK.js → chunk-NF7HK5MP.js} +2 -2
- package/dist/chunks/{chunk-77JGNI4Z.js → chunk-NIOGCTVR.js} +2 -2
- package/dist/chunks/{chunk-5EDL2IVB.js → chunk-ONYQGA2O.js} +2 -2
- package/dist/chunks/{chunk-EYQEF55O.js → chunk-PR72OE3G.js} +4 -3
- package/dist/chunks/{chunk-IEKDY4FP.js → chunk-QGLS47RE.js} +1 -1
- package/dist/chunks/{chunk-BAAZFRLH.js → chunk-QV34LTI7.js} +420 -108
- package/dist/chunks/{chunk-YIK5Y7MI.js → chunk-RI23R2QO.js} +4 -4
- package/dist/chunks/{chunk-LDFOVKJS.js → chunk-RYUPBGRO.js} +34 -45
- package/dist/chunks/{chunk-3P3YBOCQ.js → chunk-SOSCFYOT.js} +2 -2
- package/dist/chunks/{chunk-JPVQD2PJ.js → chunk-TR6DYQV6.js} +1 -1
- package/dist/chunks/{chunk-JCLLQ23G.js → chunk-WOWCXMTU.js} +1 -1
- package/dist/chunks/{chunk-MSJX3VKI.js → chunk-X7KU44KR.js} +1 -1
- package/dist/chunks/{chunk-GDOCMDCB.js → chunk-XYYGNWMQ.js} +4 -4
- package/dist/chunks/{compile-vercel-config-BUURMPDD.js → compile-vercel-config-H4BUE5BZ.js} +5 -5
- package/dist/chunks/{delete-GBLJYO3T.js → delete-HVWVDBQF.js} +7 -7
- package/dist/chunks/{disable-QFE5TGWG.js → disable-CMBQPZ7L.js} +7 -7
- package/dist/chunks/{discard-IPPO7M2N.js → discard-ZDNWUYLY.js} +7 -7
- package/dist/chunks/{edit-KQD3MEZA.js → edit-YJYM3EKS.js} +9 -9
- package/dist/chunks/{enable-JBL4DMGJ.js → enable-ITE7U5C4.js} +7 -7
- package/dist/chunks/{export-KLWZUAYD.js → export-VVN33IBK.js} +7 -7
- package/dist/chunks/{inspect-TWW2XBDE.js → inspect-I7ILS3E2.js} +9 -9
- package/dist/chunks/{list-WJGLZ5ES.js → list-6PZO3UIZ.js} +7 -7
- package/dist/chunks/{list-UM77B7WK.js → list-BWIEHOTA.js} +10 -10
- package/dist/chunks/{ls-WVHDFPT3.js → ls-LZZFID76.js} +9 -9
- package/dist/chunks/{publish-45SAIZE4.js → publish-NULVZ7RB.js} +7 -7
- package/dist/chunks/{query-VH2TS6IS.js → query-BGI3AVJA.js} +9 -9
- package/dist/chunks/{reorder-NYENR2XY.js → reorder-G66QSKTR.js} +7 -7
- package/dist/chunks/{restore-H2VIG7KZ.js → restore-LHDVXFOH.js} +7 -7
- package/dist/chunks/{rm-RQEP4KMK.js → rm-DTAOTWXD.js} +9 -9
- package/dist/chunks/{routes-KDWN24QA.js → routes-2YVMQEPC.js} +2 -2
- package/dist/chunks/{rule-inspect-GR3RMO2J.js → rule-inspect-AOITFBTB.js} +9 -9
- package/dist/chunks/{rules-EOBQZE3T.js → rules-IW3XGCNA.js} +8 -8
- package/dist/chunks/{schema-OOGMY2SS.js → schema-2VCQ2MAA.js} +10 -10
- package/dist/chunks/{types-FAFL42RV.js → types-7VDI75PV.js} +4 -4
- package/dist/chunks/{update-VLOWX7UQ.js → update-L3DZ5STE.js} +9 -9
- package/dist/commands/build/index.js +21 -26
- package/dist/commands/deploy/index.js +87 -34
- package/dist/commands/dev/index.js +15 -15
- package/dist/commands/env/index.js +19 -19
- package/dist/commands/link/index.js +26 -22
- package/dist/commands/list/index.js +11 -11
- package/dist/commands-bulk.js +397 -214
- package/dist/help.js +1 -1
- package/dist/index.js +299 -49
- package/dist/version.mjs +1 -1
- package/package.json +27 -30
|
@@ -9,35 +9,35 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-2TNGZL25.js";
|
|
13
|
+
import "./chunk-RI23R2QO.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
17
17
|
} from "./chunk-XPKWKPWA.js";
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-JZLADLMF.js";
|
|
21
|
+
import "./chunk-PR72OE3G.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
24
|
} from "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-JJ36CB7A.js";
|
|
26
|
+
import "./chunk-4OEA5ILS.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
29
29
|
outputAgentError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AXQNAI65.js";
|
|
31
31
|
import "./chunk-CO5D46AG.js";
|
|
32
32
|
import {
|
|
33
33
|
getFlagsSpecification,
|
|
34
34
|
parseArguments,
|
|
35
35
|
printError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GQLARSTH.js";
|
|
37
37
|
import {
|
|
38
38
|
isAPIError,
|
|
39
39
|
packageName
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EBEBY45K.js";
|
|
41
41
|
import {
|
|
42
42
|
output_manager_default
|
|
43
43
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,27 +6,27 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TR6DYQV6.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3GJFG6GX.js";
|
|
13
13
|
import {
|
|
14
14
|
autoInstallVercelPlugin,
|
|
15
15
|
pullCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RYUPBGRO.js";
|
|
17
17
|
import {
|
|
18
18
|
help
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IS56OO2J.js";
|
|
20
20
|
import {
|
|
21
21
|
VERCEL_DIR,
|
|
22
22
|
VERCEL_DIR_PROJECT,
|
|
23
23
|
envPullCommandLogic,
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JJ36CB7A.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4OEA5ILS.js";
|
|
30
30
|
import {
|
|
31
31
|
stamp_default
|
|
32
32
|
} from "./chunk-CO5D46AG.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
getFlagsSpecification,
|
|
35
35
|
parseArguments,
|
|
36
36
|
printError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-GQLARSTH.js";
|
|
38
38
|
import {
|
|
39
39
|
emoji,
|
|
40
40
|
output_manager_default,
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveAlertsScope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RI23R2QO.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
buildCommandWithGlobalFlags,
|
|
20
20
|
outputAgentError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AXQNAI65.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/alerts/rules/parse-scope.ts
|
|
24
24
|
async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
|
|
@@ -6,20 +6,20 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QV34LTI7.js";
|
|
10
10
|
import {
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
param,
|
|
13
13
|
resolveProjectCwd
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JJ36CB7A.js";
|
|
15
15
|
import {
|
|
16
16
|
buildCommandWithYes,
|
|
17
17
|
outputActionRequired
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AXQNAI65.js";
|
|
19
19
|
import {
|
|
20
20
|
getCommandName,
|
|
21
21
|
getCommandNamePlain
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EBEBY45K.js";
|
|
23
23
|
import {
|
|
24
24
|
output_manager_default
|
|
25
25
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
rulesAggregateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JZLADLMF.js";
|
|
10
10
|
import {
|
|
11
11
|
formatOption,
|
|
12
12
|
limitOption
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GQLARSTH.js";
|
|
14
14
|
import {
|
|
15
15
|
packageName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EBEBY45K.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/alerts/command.ts
|
|
19
19
|
var listSubcommand = {
|
|
@@ -67,6 +67,7 @@ var help = () => `
|
|
|
67
67
|
deploy-hooks [cmd] Manage deploy hooks for Git-triggered builds
|
|
68
68
|
dns [name] Manages your DNS records
|
|
69
69
|
domains [name] Manages your domain names
|
|
70
|
+
firewall [cmd] Manages Vercel Firewall configuration and custom rules
|
|
70
71
|
httpstat path Visualize HTTP timing statistics for deployments
|
|
71
72
|
logs [url] Displays the logs for a deployment
|
|
72
73
|
metrics <metric> Queries observability metrics for your project or team
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_lib
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JJ36CB7A.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EBEBY45K.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM
|
|
15
15
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -7,26 +7,27 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
isVercelTomlEnabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JJ36CB7A.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
parseArguments
|
|
13
|
+
} from "./chunk-GQLARSTH.js";
|
|
14
14
|
import {
|
|
15
15
|
ConflictingConfigFiles,
|
|
16
|
+
DeprecatedNowJson,
|
|
16
17
|
InvalidLocalConfig
|
|
17
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EBEBY45K.js";
|
|
18
19
|
|
|
19
20
|
// src/util/config/local-path.ts
|
|
20
21
|
import path from "path";
|
|
21
22
|
import { existsSync } from "fs";
|
|
22
23
|
function getLocalPathConfig(prefix) {
|
|
23
|
-
const argv =
|
|
24
|
-
const customPath = argv["--local-config"];
|
|
24
|
+
const argv = parseArguments(process.argv.slice(2), {}, { permissive: true });
|
|
25
|
+
const customPath = argv.flags["--local-config"];
|
|
25
26
|
if (customPath) {
|
|
26
27
|
if (typeof customPath !== "string") {
|
|
27
28
|
throw new InvalidLocalConfig(customPath);
|
|
28
29
|
}
|
|
29
|
-
return path.resolve(
|
|
30
|
+
return path.resolve(process.cwd(), customPath);
|
|
30
31
|
}
|
|
31
32
|
const vercelConfigPath = path.join(prefix, "vercel.json");
|
|
32
33
|
const vercelTomlPath = path.join(prefix, "vercel.toml");
|
|
@@ -39,8 +40,9 @@ function getLocalPathConfig(prefix) {
|
|
|
39
40
|
foundConfigs.push(vercelConfigPath);
|
|
40
41
|
if (vercelTomlExists)
|
|
41
42
|
foundConfigs.push(vercelTomlPath);
|
|
42
|
-
if (nowConfigExists)
|
|
43
|
-
|
|
43
|
+
if (nowConfigExists) {
|
|
44
|
+
throw new DeprecatedNowJson(nowConfigPath);
|
|
45
|
+
}
|
|
44
46
|
if (foundConfigs.length > 1) {
|
|
45
47
|
throw new ConflictingConfigFiles(foundConfigs);
|
|
46
48
|
}
|
|
@@ -49,9 +51,6 @@ function getLocalPathConfig(prefix) {
|
|
|
49
51
|
if (compiledConfigExists) {
|
|
50
52
|
return compiledConfigPath;
|
|
51
53
|
}
|
|
52
|
-
if (nowConfigExists) {
|
|
53
|
-
return nowConfigPath;
|
|
54
|
-
}
|
|
55
54
|
return vercelConfigPath;
|
|
56
55
|
}
|
|
57
56
|
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
yesOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GQLARSTH.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EBEBY45K.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/routes/command.ts
|
|
15
15
|
var listSubcommand = {
|
|
@@ -9,33 +9,33 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7Z5XFBB4.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LOS7HHU3.js";
|
|
16
16
|
import {
|
|
17
17
|
getDeployment,
|
|
18
18
|
mapCertError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-X7KU44KR.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HJVSVCAZ.js";
|
|
23
23
|
import {
|
|
24
24
|
getScope
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PR72OE3G.js";
|
|
26
26
|
import {
|
|
27
27
|
ua_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WOWCXMTU.js";
|
|
29
29
|
import {
|
|
30
30
|
showPluginTipIfNeeded
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RYUPBGRO.js";
|
|
32
32
|
import {
|
|
33
33
|
getProjectByNameOrId,
|
|
34
34
|
param,
|
|
35
35
|
require_dist as require_dist3,
|
|
36
36
|
require_lib3 as require_lib,
|
|
37
37
|
require_pluralize
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-JJ36CB7A.js";
|
|
39
39
|
import {
|
|
40
40
|
require_ms,
|
|
41
41
|
stamp_default
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
require_strip_ansi,
|
|
45
45
|
responseError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-GQLARSTH.js";
|
|
47
47
|
import {
|
|
48
48
|
APIError,
|
|
49
49
|
BuildError,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
getCommandName,
|
|
62
62
|
isAPIError,
|
|
63
63
|
require_bytes
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-EBEBY45K.js";
|
|
65
65
|
import {
|
|
66
66
|
emoji,
|
|
67
67
|
eraseLines,
|
|
@@ -5147,7 +5147,7 @@ function isDeploying(readyState) {
|
|
|
5147
5147
|
}
|
|
5148
5148
|
|
|
5149
5149
|
// src/util/deploy/print-deployment-status.ts
|
|
5150
|
-
async function printDeploymentStatus({
|
|
5150
|
+
async function printDeploymentStatus(client, {
|
|
5151
5151
|
readyState,
|
|
5152
5152
|
aliasError,
|
|
5153
5153
|
indications,
|
|
@@ -5203,7 +5203,7 @@ async function printDeploymentStatus({
|
|
|
5203
5203
|
].filter(Boolean)
|
|
5204
5204
|
);
|
|
5205
5205
|
}
|
|
5206
|
-
await showPluginTipIfNeeded();
|
|
5206
|
+
await showPluginTipIfNeeded(client);
|
|
5207
5207
|
return 0;
|
|
5208
5208
|
}
|
|
5209
5209
|
|