vercel 54.15.0 → 54.16.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-6XHROCMP.js → add-ODBKI7EV.js} +5 -5
- package/dist/chunks/{chunk-AWD3IGXU.js → chunk-3NR6OYDV.js} +1 -1
- package/dist/chunks/{chunk-OQD4G5FW.js → chunk-76QQSALN.js} +3 -3
- package/dist/chunks/{chunk-3RIVJWW5.js → chunk-7CTLNKAS.js} +48 -9
- package/dist/chunks/{chunk-OEYKL4IY.js → chunk-BGQPLZFA.js} +6 -6
- package/dist/chunks/{chunk-DCN3SOR6.js → chunk-BIHRICRM.js} +2 -2
- package/dist/chunks/{chunk-6SL223IW.js → chunk-FBYYZKN3.js} +4 -1
- package/dist/chunks/{chunk-TLVKY7WL.js → chunk-HL5ZRVF2.js} +6 -6
- package/dist/chunks/{chunk-WGH26RJV.js → chunk-HXAMK45D.js} +2 -2
- package/dist/chunks/{chunk-SFPJ3VR7.js → chunk-INFYZRHS.js} +286 -76
- package/dist/chunks/{chunk-PMUUPCDL.js → chunk-JFA4NUXP.js} +1 -1
- package/dist/chunks/{chunk-LABX5FSJ.js → chunk-KJMSI2CT.js} +1 -1
- package/dist/chunks/{chunk-EAEEBPMD.js → chunk-LJXYGWOY.js} +11 -3
- package/dist/chunks/{chunk-AG6TBL6C.js → chunk-MSWXRAHA.js} +1 -1
- package/dist/chunks/{chunk-HSXUEJ4T.js → chunk-NVITPK2U.js} +1 -1
- package/dist/chunks/{chunk-RHXSECUF.js → chunk-O6YJBWWC.js} +1 -1
- package/dist/chunks/{chunk-LOPPFUV3.js → chunk-Q4ZRBN2A.js} +1 -1
- package/dist/chunks/{chunk-HIYWSGI7.js → chunk-Q77ALSXR.js} +3 -0
- package/dist/chunks/{chunk-6TPH3ZBU.js → chunk-RCUMYP4L.js} +4 -4
- package/dist/chunks/{chunk-574PHXNT.js → chunk-U2NYO6GP.js} +1 -1
- package/dist/chunks/{chunk-6A62YUBE.js → chunk-UI2T3GI4.js} +2 -2
- package/dist/chunks/{chunk-UZD3DM6V.js → chunk-ULNWA6GY.js} +1 -1
- package/dist/chunks/{chunk-CENOYXK3.js → chunk-VLQBXXOQ.js} +2 -2
- package/dist/chunks/{compile-vercel-config-ATU3UBFK.js → compile-vercel-config-7THB6MTJ.js} +2 -2
- package/dist/chunks/{delete-WIN4UHQY.js → delete-USWDARFF.js} +3 -3
- package/dist/chunks/{disable-24KUO3TS.js → disable-K6B26MC2.js} +3 -3
- package/dist/chunks/{discard-B6ATZCPD.js → discard-2T7HZCGR.js} +3 -3
- package/dist/chunks/{edit-DIYIVLFQ.js → edit-2CC2WAO4.js} +5 -5
- package/dist/chunks/{enable-BF7NKTV7.js → enable-KEZA6F4T.js} +3 -3
- package/dist/chunks/{export-HHONDN7V.js → export-PE2T4HYP.js} +3 -3
- package/dist/chunks/{inspect-GSYKUMK5.js → inspect-TQSHD4MH.js} +4 -4
- package/dist/chunks/{list-OSJGB5AE.js → list-AU6URG3E.js} +4 -4
- package/dist/chunks/{list-PZ4DRWLO.js → list-IDTF5TWY.js} +3 -3
- package/dist/chunks/{ls-QBCHGSIC.js → ls-XOAWRTNQ.js} +5 -5
- package/dist/chunks/{publish-QYPZQ66O.js → publish-G42C77TP.js} +3 -3
- package/dist/chunks/{query-BDMX4CF6.js → query-YTBD7YLX.js} +3 -3
- package/dist/chunks/{reorder-YDTGTTJB.js → reorder-BDOOUURL.js} +3 -3
- package/dist/chunks/{restore-LXO2ZBAF.js → restore-ENUHC25O.js} +3 -3
- package/dist/chunks/{rm-3L7FVCDA.js → rm-ALWF3NBL.js} +5 -5
- package/dist/chunks/{routes-YEU33SON.js → routes-KUTLDFIF.js} +2 -2
- package/dist/chunks/{rule-inspect-T57QBYJR.js → rule-inspect-BV6MC7PG.js} +5 -5
- package/dist/chunks/{rules-E5DTNMFG.js → rules-IGG7M2AC.js} +6 -6
- package/dist/chunks/{schema-VYVJ4GYP.js → schema-ZYJOJIGL.js} +3 -3
- package/dist/chunks/{update-LT3LZVEZ.js → update-I3WE3IQJ.js} +5 -5
- package/dist/commands/build/index.js +18 -18
- package/dist/commands/deploy/index.js +12 -12
- package/dist/commands/dev/index.js +670 -100
- package/dist/commands/env/index.js +6 -6
- package/dist/commands/link/index.js +47 -13
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +88 -45
- package/dist/index.js +46 -42
- package/dist/version.mjs +1 -1
- package/package.json +20 -19
package/dist/index.js
CHANGED
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
require_ci_info,
|
|
19
19
|
setAutoUpdate,
|
|
20
20
|
tryOpenApiFallback
|
|
21
|
-
} from "./chunks/chunk-
|
|
21
|
+
} from "./chunks/chunk-HL5ZRVF2.js";
|
|
22
22
|
import {
|
|
23
23
|
getUpdateCommand
|
|
24
|
-
} from "./chunks/chunk-
|
|
24
|
+
} from "./chunks/chunk-HXAMK45D.js";
|
|
25
25
|
import {
|
|
26
26
|
Client,
|
|
27
27
|
getAuthConfigFilePath,
|
|
@@ -30,14 +30,14 @@ import {
|
|
|
30
30
|
readAuthConfigFile,
|
|
31
31
|
readConfigFile,
|
|
32
32
|
writeToConfigFile
|
|
33
|
-
} from "./chunks/chunk-
|
|
33
|
+
} from "./chunks/chunk-LJXYGWOY.js";
|
|
34
34
|
import {
|
|
35
35
|
highlight
|
|
36
36
|
} from "./chunks/chunk-V5P25P7F.js";
|
|
37
37
|
import {
|
|
38
38
|
commandNames,
|
|
39
39
|
commands
|
|
40
|
-
} from "./chunks/chunk-
|
|
40
|
+
} from "./chunks/chunk-VLQBXXOQ.js";
|
|
41
41
|
import "./chunks/chunk-YE3C5CUX.js";
|
|
42
42
|
import "./chunks/chunk-IB56QKCM.js";
|
|
43
43
|
import "./chunks/chunk-DPS62LHL.js";
|
|
@@ -48,12 +48,12 @@ import "./chunks/chunk-IJJOI63T.js";
|
|
|
48
48
|
import {
|
|
49
49
|
require_semver
|
|
50
50
|
} from "./chunks/chunk-IB5L4LKZ.js";
|
|
51
|
-
import "./chunks/chunk-
|
|
52
|
-
import "./chunks/chunk-
|
|
51
|
+
import "./chunks/chunk-ULNWA6GY.js";
|
|
52
|
+
import "./chunks/chunk-KJMSI2CT.js";
|
|
53
53
|
import {
|
|
54
54
|
getScope
|
|
55
|
-
} from "./chunks/chunk-
|
|
56
|
-
import "./chunks/chunk-
|
|
55
|
+
} from "./chunks/chunk-FBYYZKN3.js";
|
|
56
|
+
import "./chunks/chunk-3NR6OYDV.js";
|
|
57
57
|
import {
|
|
58
58
|
getLinkFromDir,
|
|
59
59
|
getTeams,
|
|
@@ -64,12 +64,12 @@ import {
|
|
|
64
64
|
readJSONFile,
|
|
65
65
|
require_dist as require_dist2,
|
|
66
66
|
require_lib
|
|
67
|
-
} from "./chunks/chunk-
|
|
67
|
+
} from "./chunks/chunk-INFYZRHS.js";
|
|
68
68
|
import {
|
|
69
69
|
TelemetryClient,
|
|
70
70
|
TelemetryEventStore,
|
|
71
71
|
isNativeBinaryInstall
|
|
72
|
-
} from "./chunks/chunk-
|
|
72
|
+
} from "./chunks/chunk-Q77ALSXR.js";
|
|
73
73
|
import "./chunks/chunk-NHGCQRK5.js";
|
|
74
74
|
import "./chunks/chunk-N2T234LO.js";
|
|
75
75
|
import "./chunks/chunk-GGP5R3FU.js";
|
|
@@ -1828,45 +1828,49 @@ var main = async () => {
|
|
|
1828
1828
|
trackAgenticErrorTelemetry(err);
|
|
1829
1829
|
return finishWithExitCode(1);
|
|
1830
1830
|
}
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
link: "https://err.sh/vercel/scope-not-accessible"
|
|
1846
|
-
});
|
|
1847
|
-
trackAgenticErrorTelemetry(err);
|
|
1848
|
-
return finishWithExitCode(1);
|
|
1849
|
-
}
|
|
1850
|
-
if ((0, import_error_utils3.isErrnoException)(err) && err.code === "rate_limited") {
|
|
1851
|
-
output_manager_default.prettyError({
|
|
1852
|
-
message: "Rate limited. Too many requests to the same endpoint: /teams"
|
|
1853
|
-
});
|
|
1854
|
-
trackAgenticErrorTelemetry(err);
|
|
1855
|
-
return finishWithExitCode(1);
|
|
1856
|
-
}
|
|
1857
|
-
output_manager_default.error("Not able to load teams");
|
|
1831
|
+
const scopeMatchesUserIdentity = user.id === scope || user.email === scope || user.username === scope;
|
|
1832
|
+
let teams = [];
|
|
1833
|
+
try {
|
|
1834
|
+
teams = await getTeams(client);
|
|
1835
|
+
} catch (err) {
|
|
1836
|
+
if (scopeMatchesUserIdentity) {
|
|
1837
|
+
output_manager_default.debug(
|
|
1838
|
+
`Ignoring failure to load teams; scope matches the current user's identity`
|
|
1839
|
+
);
|
|
1840
|
+
} else if ((0, import_error_utils3.isErrnoException)(err) && err.code === "not_authorized") {
|
|
1841
|
+
output_manager_default.prettyError({
|
|
1842
|
+
message: `You do not have access to the specified team`,
|
|
1843
|
+
link: "https://err.sh/vercel/scope-not-accessible"
|
|
1844
|
+
});
|
|
1858
1845
|
trackAgenticErrorTelemetry(err);
|
|
1859
1846
|
return finishWithExitCode(1);
|
|
1860
|
-
}
|
|
1861
|
-
const related = teams && teams.find((team) => team.id === scope || team.slug === scope);
|
|
1862
|
-
if (!related) {
|
|
1847
|
+
} else if ((0, import_error_utils3.isErrnoException)(err) && err.code === "rate_limited") {
|
|
1863
1848
|
output_manager_default.prettyError({
|
|
1864
|
-
message: "
|
|
1865
|
-
link: "https://err.sh/vercel/scope-not-existent"
|
|
1849
|
+
message: "Rate limited. Too many requests to the same endpoint: /teams"
|
|
1866
1850
|
});
|
|
1851
|
+
trackAgenticErrorTelemetry(err);
|
|
1852
|
+
return finishWithExitCode(1);
|
|
1853
|
+
} else {
|
|
1854
|
+
output_manager_default.error("Not able to load teams");
|
|
1855
|
+
trackAgenticErrorTelemetry(err);
|
|
1867
1856
|
return finishWithExitCode(1);
|
|
1868
1857
|
}
|
|
1858
|
+
}
|
|
1859
|
+
const related = teams && teams.find((team) => team.id === scope || team.slug === scope);
|
|
1860
|
+
if (related) {
|
|
1869
1861
|
client.config.currentTeam = related.id;
|
|
1862
|
+
} else if (scopeMatchesUserIdentity) {
|
|
1863
|
+
if (user.version === "northstar") {
|
|
1864
|
+
output_manager_default.error("You cannot set your Personal Account as the scope.");
|
|
1865
|
+
return finishWithExitCode(1);
|
|
1866
|
+
}
|
|
1867
|
+
delete client.config.currentTeam;
|
|
1868
|
+
} else {
|
|
1869
|
+
output_manager_default.prettyError({
|
|
1870
|
+
message: "The specified scope does not exist",
|
|
1871
|
+
link: "https://err.sh/vercel/scope-not-existent"
|
|
1872
|
+
});
|
|
1873
|
+
return finishWithExitCode(1);
|
|
1870
1874
|
}
|
|
1871
1875
|
}
|
|
1872
1876
|
let exitCode;
|
package/dist/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "54.
|
|
1
|
+
export const version = "54.16.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "54.
|
|
3
|
+
"version": "54.16.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,28 +34,29 @@
|
|
|
34
34
|
"sandbox": "3.1.2",
|
|
35
35
|
"smol-toml": "1.5.2",
|
|
36
36
|
"zod": "4.1.11",
|
|
37
|
-
"@vercel/backends": "0.8.
|
|
38
|
-
"@vercel/build-utils": "13.31.0",
|
|
39
|
-
"@vercel/cli-config": "0.2.0",
|
|
37
|
+
"@vercel/backends": "0.8.17",
|
|
40
38
|
"@vercel/cli-auth": "0.3.0",
|
|
39
|
+
"@vercel/container": "0.0.1",
|
|
40
|
+
"@vercel/cli-config": "0.2.0",
|
|
41
|
+
"@vercel/build-utils": "13.32.0",
|
|
41
42
|
"@vercel/detect-agent": "1.2.3",
|
|
42
|
-
"@vercel/elysia": "0.1.
|
|
43
|
-
"@vercel/express": "0.1.
|
|
44
|
-
"@vercel/
|
|
45
|
-
"@vercel/
|
|
46
|
-
"@vercel/hono": "0.2.
|
|
47
|
-
"@vercel/h3": "0.1.103",
|
|
48
|
-
"@vercel/koa": "0.1.77",
|
|
49
|
-
"@vercel/nestjs": "0.2.98",
|
|
43
|
+
"@vercel/elysia": "0.1.96",
|
|
44
|
+
"@vercel/express": "0.1.108",
|
|
45
|
+
"@vercel/go": "3.10.0",
|
|
46
|
+
"@vercel/fastify": "0.1.99",
|
|
47
|
+
"@vercel/hono": "0.2.99",
|
|
50
48
|
"@vercel/hydrogen": "1.4.0",
|
|
51
|
-
"@vercel/
|
|
52
|
-
"@vercel/
|
|
49
|
+
"@vercel/h3": "0.1.105",
|
|
50
|
+
"@vercel/koa": "0.1.79",
|
|
51
|
+
"@vercel/nestjs": "0.2.100",
|
|
52
|
+
"@vercel/node": "5.8.20",
|
|
53
|
+
"@vercel/python": "6.47.1",
|
|
53
54
|
"@vercel/redwood": "2.5.0",
|
|
54
55
|
"@vercel/remix-builder": "5.9.1",
|
|
55
|
-
"@vercel/python": "6.47.1",
|
|
56
|
-
"@vercel/ruby": "2.5.0",
|
|
57
56
|
"@vercel/rust": "1.3.0",
|
|
58
|
-
"@vercel/static-build": "2.11.
|
|
57
|
+
"@vercel/static-build": "2.11.2",
|
|
58
|
+
"@vercel/ruby": "2.5.1",
|
|
59
|
+
"@vercel/next": "4.20.0"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"@edge-runtime/node-utils": "2.3.0",
|
|
@@ -181,10 +182,10 @@
|
|
|
181
182
|
"@vercel-internals/constants": "1.0.4",
|
|
182
183
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
183
184
|
"@vercel-internals/types": "3.0.6",
|
|
184
|
-
"@vercel/client": "17.
|
|
185
|
+
"@vercel/client": "17.6.0",
|
|
185
186
|
"@vercel/error-utils": "2.2.0",
|
|
186
187
|
"@vercel/frameworks": "3.29.1",
|
|
187
|
-
"@vercel/fs-detectors": "6.
|
|
188
|
+
"@vercel/fs-detectors": "6.10.0",
|
|
188
189
|
"@vercel/routing-utils": "6.3.1"
|
|
189
190
|
},
|
|
190
191
|
"scripts": {
|