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
package/dist/help.js
CHANGED
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
help
|
|
9
|
-
} from "./chunks/chunk-
|
|
9
|
+
} from "./chunks/chunk-3XU5UGVN.js";
|
|
10
10
|
import "./chunks/chunk-S7KYDPEM.js";
|
|
11
11
|
import "./chunks/chunk-TZ2YI2VH.js";
|
|
12
12
|
export {
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunks/chunk-2HSQ7YUK.js";
|
|
10
10
|
import {
|
|
11
11
|
help
|
|
12
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-3XU5UGVN.js";
|
|
13
13
|
import {
|
|
14
14
|
box,
|
|
15
15
|
did_you_mean_default,
|
|
@@ -17,78 +17,77 @@ import {
|
|
|
17
17
|
login,
|
|
18
18
|
matchesCliApiTag,
|
|
19
19
|
tryOpenApiFallback
|
|
20
|
-
} from "./chunks/chunk-
|
|
20
|
+
} from "./chunks/chunk-AAPG3P4D.js";
|
|
21
21
|
import {
|
|
22
22
|
getUpdateCommand
|
|
23
|
-
} from "./chunks/chunk-
|
|
23
|
+
} from "./chunks/chunk-3YDXZRSZ.js";
|
|
24
24
|
import {
|
|
25
25
|
Client,
|
|
26
26
|
getAuthConfigFilePath,
|
|
27
27
|
getConfigFilePath,
|
|
28
|
+
getGlobalPathConfig,
|
|
28
29
|
readAuthConfigFile,
|
|
29
30
|
readConfigFile,
|
|
30
31
|
writeToAuthConfigFile,
|
|
31
32
|
writeToConfigFile
|
|
32
|
-
} from "./chunks/chunk-
|
|
33
|
+
} from "./chunks/chunk-7Z5XFBB4.js";
|
|
33
34
|
import {
|
|
34
35
|
highlight
|
|
35
36
|
} from "./chunks/chunk-V5P25P7F.js";
|
|
36
37
|
import {
|
|
37
38
|
commandNames,
|
|
38
39
|
commands
|
|
39
|
-
} from "./chunks/chunk-
|
|
40
|
-
import "./chunks/chunk-
|
|
41
|
-
import "./chunks/chunk-
|
|
42
|
-
import "./chunks/chunk-
|
|
43
|
-
import "./chunks/chunk-
|
|
44
|
-
import "./chunks/chunk-
|
|
45
|
-
import "./chunks/chunk-
|
|
40
|
+
} from "./chunks/chunk-HJVSVCAZ.js";
|
|
41
|
+
import "./chunks/chunk-4LDQIDKG.js";
|
|
42
|
+
import "./chunks/chunk-NIOGCTVR.js";
|
|
43
|
+
import "./chunks/chunk-HAJ2XRTQ.js";
|
|
44
|
+
import "./chunks/chunk-GCKUEAUE.js";
|
|
45
|
+
import "./chunks/chunk-3NSIZGHP.js";
|
|
46
|
+
import "./chunks/chunk-JZLADLMF.js";
|
|
46
47
|
import {
|
|
47
48
|
getScope
|
|
48
|
-
} from "./chunks/chunk-
|
|
49
|
-
import "./chunks/chunk-
|
|
49
|
+
} from "./chunks/chunk-PR72OE3G.js";
|
|
50
|
+
import "./chunks/chunk-ONYQGA2O.js";
|
|
50
51
|
import {
|
|
51
52
|
require_semver
|
|
52
53
|
} from "./chunks/chunk-IB5L4LKZ.js";
|
|
53
|
-
import "./chunks/chunk-
|
|
54
|
+
import "./chunks/chunk-WOWCXMTU.js";
|
|
54
55
|
import {
|
|
55
56
|
require_execa,
|
|
56
57
|
require_isexe
|
|
57
|
-
} from "./chunks/chunk-
|
|
58
|
-
import "./chunks/chunk-
|
|
59
|
-
import "./chunks/chunk-
|
|
60
|
-
import "./chunks/chunk-
|
|
61
|
-
import "./chunks/chunk-
|
|
58
|
+
} from "./chunks/chunk-4VJ3GTBX.js";
|
|
59
|
+
import "./chunks/chunk-4L73BR7G.js";
|
|
60
|
+
import "./chunks/chunk-RYUPBGRO.js";
|
|
61
|
+
import "./chunks/chunk-IS56OO2J.js";
|
|
62
|
+
import "./chunks/chunk-KSIISCB2.js";
|
|
62
63
|
import {
|
|
63
64
|
getLinkFromDir,
|
|
64
65
|
getTeams,
|
|
65
66
|
getUser,
|
|
66
67
|
getVercelDirectory,
|
|
67
|
-
global_path_default,
|
|
68
68
|
humanizePath,
|
|
69
69
|
param,
|
|
70
70
|
readJSONFile,
|
|
71
71
|
require_dist as require_dist3,
|
|
72
72
|
require_lib,
|
|
73
|
-
require_lib3 as require_lib2
|
|
74
|
-
|
|
75
|
-
} from "./chunks/chunk-SPXTKMOV.js";
|
|
73
|
+
require_lib3 as require_lib2
|
|
74
|
+
} from "./chunks/chunk-JJ36CB7A.js";
|
|
76
75
|
import {
|
|
77
76
|
TelemetryClient,
|
|
78
77
|
TelemetryEventStore
|
|
79
|
-
} from "./chunks/chunk-
|
|
80
|
-
import "./chunks/chunk-
|
|
78
|
+
} from "./chunks/chunk-4OEA5ILS.js";
|
|
79
|
+
import "./chunks/chunk-AXQNAI65.js";
|
|
81
80
|
import "./chunks/chunk-CO5D46AG.js";
|
|
82
81
|
import {
|
|
83
82
|
getArgs,
|
|
84
83
|
parseArguments,
|
|
85
84
|
printError
|
|
86
|
-
} from "./chunks/chunk-
|
|
85
|
+
} from "./chunks/chunk-GQLARSTH.js";
|
|
87
86
|
import {
|
|
88
87
|
APIError,
|
|
89
88
|
CantFindConfig,
|
|
90
89
|
CantParseJSONFile,
|
|
91
|
-
|
|
90
|
+
DeprecatedNowJson,
|
|
92
91
|
WorkingDirectoryDoesNotExist,
|
|
93
92
|
cmd,
|
|
94
93
|
getCommandName,
|
|
@@ -96,7 +95,7 @@ import {
|
|
|
96
95
|
init_pkg,
|
|
97
96
|
pkg_default,
|
|
98
97
|
pkg_exports
|
|
99
|
-
} from "./chunks/chunk-
|
|
98
|
+
} from "./chunks/chunk-EBEBY45K.js";
|
|
100
99
|
import {
|
|
101
100
|
output_manager_default,
|
|
102
101
|
require_dist as require_dist2
|
|
@@ -136,6 +135,272 @@ var require_epipebomb = __commonJS2({
|
|
|
136
135
|
}
|
|
137
136
|
});
|
|
138
137
|
|
|
138
|
+
// ../../node_modules/.pnpm/os-paths@4.4.0/node_modules/os-paths/src/lib/index.js
|
|
139
|
+
var require_lib3 = __commonJS2({
|
|
140
|
+
"../../node_modules/.pnpm/os-paths@4.4.0/node_modules/os-paths/src/lib/index.js"(exports2, module2) {
|
|
141
|
+
"use strict";
|
|
142
|
+
var os = __require("os");
|
|
143
|
+
var paths = __require("path");
|
|
144
|
+
var isWinOS = /^win/i.test(process.platform);
|
|
145
|
+
function normalize_path(path2) {
|
|
146
|
+
return paths.normalize(paths.join(path2, "."));
|
|
147
|
+
}
|
|
148
|
+
var base = () => {
|
|
149
|
+
const { env } = process;
|
|
150
|
+
const object = {};
|
|
151
|
+
object.home = () => normalize_path(os.homedir ? os.homedir() : env.HOME);
|
|
152
|
+
object.temp = () => normalize_path(os.tmpdir ? os.tmpdir() : env.TMPDIR || env.TEMP || env.TMP);
|
|
153
|
+
return object;
|
|
154
|
+
};
|
|
155
|
+
var windows = () => {
|
|
156
|
+
const { env } = process;
|
|
157
|
+
const object = {};
|
|
158
|
+
object.home = () => normalize_path(
|
|
159
|
+
os.homedir ? os.homedir() : env.USERPROFILE || paths.join(env.HOMEDRIVE, env.HOMEPATH) || env.HOME
|
|
160
|
+
);
|
|
161
|
+
object.temp = () => normalize_path(
|
|
162
|
+
os.tmpdir ? os.tmpdir() : env.TEMP || env.TMP || paths.join(env.LOCALAPPDATA || env.SystemRoot || env.windir, "Temp")
|
|
163
|
+
);
|
|
164
|
+
return object;
|
|
165
|
+
};
|
|
166
|
+
var _OSPaths = class __OSPaths {
|
|
167
|
+
constructor() {
|
|
168
|
+
const OSPaths = function() {
|
|
169
|
+
return new __OSPaths();
|
|
170
|
+
};
|
|
171
|
+
this._fn = OSPaths;
|
|
172
|
+
const extension = isWinOS ? windows() : base();
|
|
173
|
+
Object.keys(extension).forEach((key) => {
|
|
174
|
+
this._fn[key] = extension[key];
|
|
175
|
+
});
|
|
176
|
+
return this._fn;
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
module2.exports = new _OSPaths();
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
// ../../node_modules/.pnpm/xdg-portable@7.3.0/node_modules/xdg-portable/src/lib/index.js
|
|
184
|
+
var require_lib4 = __commonJS2({
|
|
185
|
+
"../../node_modules/.pnpm/xdg-portable@7.3.0/node_modules/xdg-portable/src/lib/index.js"(exports2, module2) {
|
|
186
|
+
"use strict";
|
|
187
|
+
var path2 = __require("path");
|
|
188
|
+
var osPaths = require_lib3();
|
|
189
|
+
var linux = () => {
|
|
190
|
+
const object = {};
|
|
191
|
+
object.cache = () => process.env.XDG_CACHE_HOME || path2.join(osPaths.home() || osPaths.temp(), ".cache");
|
|
192
|
+
object.config = () => process.env.XDG_CONFIG_HOME || path2.join(osPaths.home() || osPaths.temp(), ".config");
|
|
193
|
+
object.data = () => process.env.XDG_DATA_HOME || path2.join(osPaths.home() || osPaths.temp(), ".local", "share");
|
|
194
|
+
object.runtime = () => process.env.XDG_RUNTIME_DIR || void 0;
|
|
195
|
+
object.state = () => process.env.XDG_STATE_HOME || path2.join(osPaths.home() || osPaths.temp(), ".local", "state");
|
|
196
|
+
return object;
|
|
197
|
+
};
|
|
198
|
+
var macos = () => {
|
|
199
|
+
const object = {};
|
|
200
|
+
object.cache = () => process.env.XDG_CACHE_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "Caches");
|
|
201
|
+
object.config = () => process.env.XDG_CONFIG_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "Preferences");
|
|
202
|
+
object.data = () => process.env.XDG_DATA_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "Application Support");
|
|
203
|
+
object.runtime = () => process.env.XDG_RUNTIME_DIR || void 0;
|
|
204
|
+
object.state = () => process.env.XDG_STATE_HOME || path2.join(path2.join(osPaths.home() || osPaths.temp(), "Library"), "State");
|
|
205
|
+
return object;
|
|
206
|
+
};
|
|
207
|
+
var windows = () => {
|
|
208
|
+
const object = {};
|
|
209
|
+
object.cache = () => {
|
|
210
|
+
const localAppData = process.env.LOCALAPPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Local");
|
|
211
|
+
return process.env.XDG_CACHE_HOME || path2.join(localAppData, "xdg.cache");
|
|
212
|
+
};
|
|
213
|
+
object.config = () => {
|
|
214
|
+
const appData = process.env.APPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Roaming");
|
|
215
|
+
return process.env.XDG_CONFIG_HOME || path2.join(appData, "xdg.config");
|
|
216
|
+
};
|
|
217
|
+
object.data = () => {
|
|
218
|
+
const appData = process.env.APPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Roaming");
|
|
219
|
+
return process.env.XDG_DATA_HOME || path2.join(appData, "xdg.data");
|
|
220
|
+
};
|
|
221
|
+
object.runtime = () => process.env.XDG_RUNTIME_DIR || void 0;
|
|
222
|
+
object.state = () => {
|
|
223
|
+
const localAppData = process.env.LOCALAPPDATA || path2.join(osPaths.home() || osPaths.temp(), "AppData", "Local");
|
|
224
|
+
return process.env.XDG_STATE_HOME || path2.join(localAppData, "xdg.state");
|
|
225
|
+
};
|
|
226
|
+
return object;
|
|
227
|
+
};
|
|
228
|
+
var _XDGPortable = () => {
|
|
229
|
+
const XDGPortable = function() {
|
|
230
|
+
return _XDGPortable();
|
|
231
|
+
};
|
|
232
|
+
let extension = {};
|
|
233
|
+
if (/^darwin$/i.test(process.platform)) {
|
|
234
|
+
extension = macos();
|
|
235
|
+
} else if (/^win/i.test(process.platform)) {
|
|
236
|
+
extension = windows();
|
|
237
|
+
} else {
|
|
238
|
+
extension = linux();
|
|
239
|
+
}
|
|
240
|
+
extension.configDirs = () => {
|
|
241
|
+
const dirs = [];
|
|
242
|
+
dirs.push(extension.config());
|
|
243
|
+
if (process.env.XDG_CONFIG_DIRS) {
|
|
244
|
+
dirs.push(...process.env.XDG_CONFIG_DIRS.split(path2.delimiter));
|
|
245
|
+
}
|
|
246
|
+
return dirs;
|
|
247
|
+
};
|
|
248
|
+
extension.dataDirs = () => {
|
|
249
|
+
const dirs = [];
|
|
250
|
+
dirs.push(extension.data());
|
|
251
|
+
if (process.env.XDG_DATA_DIRS) {
|
|
252
|
+
dirs.push(...process.env.XDG_DATA_DIRS.split(path2.delimiter));
|
|
253
|
+
}
|
|
254
|
+
return dirs;
|
|
255
|
+
};
|
|
256
|
+
Object.keys(extension).forEach((key) => {
|
|
257
|
+
XDGPortable[key] = extension[key];
|
|
258
|
+
});
|
|
259
|
+
return XDGPortable;
|
|
260
|
+
};
|
|
261
|
+
module2.exports = _XDGPortable();
|
|
262
|
+
}
|
|
263
|
+
});
|
|
264
|
+
|
|
265
|
+
// ../../node_modules/.pnpm/xdg-app-paths@5.1.0/node_modules/xdg-app-paths/index.js
|
|
266
|
+
var require_xdg_app_paths = __commonJS2({
|
|
267
|
+
"../../node_modules/.pnpm/xdg-app-paths@5.1.0/node_modules/xdg-app-paths/index.js"(exports2, module2) {
|
|
268
|
+
"use strict";
|
|
269
|
+
var path2 = __require("path");
|
|
270
|
+
var os = __require("os");
|
|
271
|
+
var xdg = require_lib4();
|
|
272
|
+
var isWinOS = /^win/i.test(process.platform);
|
|
273
|
+
function _normalizeOptions(options, isolated) {
|
|
274
|
+
options = options || {};
|
|
275
|
+
if (typeof options !== "object") {
|
|
276
|
+
options = { isolated: options };
|
|
277
|
+
}
|
|
278
|
+
options.isolated = options.isolated === void 0 || options.isolated === null ? isolated : options.isolated;
|
|
279
|
+
if (typeof options.isolated !== "boolean") {
|
|
280
|
+
throw new TypeError(`Expected boolean for "isolated" argument, got ${typeof options.isolated}`);
|
|
281
|
+
}
|
|
282
|
+
return options;
|
|
283
|
+
}
|
|
284
|
+
var base = (name, isolated) => {
|
|
285
|
+
const object = {};
|
|
286
|
+
object.cache = (options = { isolated: null }) => {
|
|
287
|
+
options = _normalizeOptions(options, isolated);
|
|
288
|
+
return path2.join(xdg.cache(), options.isolated ? name : "");
|
|
289
|
+
};
|
|
290
|
+
object.config = (options = { isolated: null }) => {
|
|
291
|
+
options = _normalizeOptions(options, isolated);
|
|
292
|
+
return path2.join(xdg.config(), options.isolated ? name : "");
|
|
293
|
+
};
|
|
294
|
+
object.data = (options = { isolated: null }) => {
|
|
295
|
+
options = _normalizeOptions(options, isolated);
|
|
296
|
+
return path2.join(xdg.data(), options.isolated ? name : "");
|
|
297
|
+
};
|
|
298
|
+
object.runtime = (options = { isolated: null }) => {
|
|
299
|
+
options = _normalizeOptions(options, isolated);
|
|
300
|
+
return xdg.runtime() ? path2.join(xdg.runtime(), options.isolated ? name : "") : void 0;
|
|
301
|
+
};
|
|
302
|
+
object.state = (options = { isolated: null }) => {
|
|
303
|
+
options = _normalizeOptions(options, isolated);
|
|
304
|
+
return path2.join(xdg.state(), options.isolated ? name : "");
|
|
305
|
+
};
|
|
306
|
+
object.configDirs = (options = { isolated: null }) => {
|
|
307
|
+
options = _normalizeOptions(options, isolated);
|
|
308
|
+
return xdg.configDirs().map((s) => path2.join(s, options.isolated ? name : ""));
|
|
309
|
+
};
|
|
310
|
+
object.dataDirs = (options = { isolated: null }) => {
|
|
311
|
+
options = _normalizeOptions(options, isolated);
|
|
312
|
+
return xdg.dataDirs().map((s) => path2.join(s, options.isolated ? name : ""));
|
|
313
|
+
};
|
|
314
|
+
return object;
|
|
315
|
+
};
|
|
316
|
+
var windows = (name, isolated) => {
|
|
317
|
+
const { env } = process;
|
|
318
|
+
const homedir = os.homedir();
|
|
319
|
+
const tmpdir = os.tmpdir();
|
|
320
|
+
const appData = env.APPDATA || path2.join(homedir || tmpdir, "AppData", "Roaming");
|
|
321
|
+
const localAppData = env.LOCALAPPDATA || path2.join(homedir || tmpdir, "AppData", "Local");
|
|
322
|
+
const object = {};
|
|
323
|
+
object.cache = (options = { isolated: null }) => {
|
|
324
|
+
options = _normalizeOptions(options, isolated);
|
|
325
|
+
return !options.isolated || env.XDG_CACHE_HOME ? path2.join(xdg.cache(), options.isolated ? name : "") : path2.join(localAppData, options.isolated ? name : "", "Cache");
|
|
326
|
+
};
|
|
327
|
+
object.config = (options = { isolated: null }) => {
|
|
328
|
+
options = _normalizeOptions(options, isolated);
|
|
329
|
+
const config2 = !options.isolated || env.XDG_CONFIG_HOME ? path2.join(xdg.config(), options.isolated ? name : "") : path2.join(appData, options.isolated ? name : "", "Config");
|
|
330
|
+
return config2;
|
|
331
|
+
};
|
|
332
|
+
object.data = (options = { isolated: null }) => {
|
|
333
|
+
options = _normalizeOptions(options, isolated);
|
|
334
|
+
const data = !options.isolated || env.XDG_DATA_HOME ? path2.join(xdg.data(), options.isolated ? name : "") : path2.join(appData, options.isolated ? name : "", "Data");
|
|
335
|
+
return data;
|
|
336
|
+
};
|
|
337
|
+
object.runtime = (options = { isolated: null }) => {
|
|
338
|
+
options = _normalizeOptions(options, isolated);
|
|
339
|
+
return xdg.runtime() ? path2.join(xdg.runtime(), options.isolated ? name : "") : void 0;
|
|
340
|
+
};
|
|
341
|
+
object.state = (options = { isolated: null }) => {
|
|
342
|
+
options = _normalizeOptions(options, isolated);
|
|
343
|
+
return !options.isolated || env.XDG_STATE_HOME ? path2.join(xdg.state(), options.isolated ? name : "") : path2.join(localAppData, options.isolated ? name : "", "State");
|
|
344
|
+
};
|
|
345
|
+
object.configDirs = (options = { isolated: null }) => {
|
|
346
|
+
options = _normalizeOptions(options, isolated);
|
|
347
|
+
const dirs = [object.config(options)];
|
|
348
|
+
if (env.XDG_CONFIG_DIRS) {
|
|
349
|
+
dirs.push(...env.XDG_CONFIG_DIRS.split(path2.delimiter).map((s) => path2.join(s, options.isolated ? name : "")));
|
|
350
|
+
}
|
|
351
|
+
return dirs;
|
|
352
|
+
};
|
|
353
|
+
object.dataDirs = (options = { isolated: null }) => {
|
|
354
|
+
options = _normalizeOptions(options, isolated);
|
|
355
|
+
const dirs = [object.data(options)];
|
|
356
|
+
if (env.XDG_DATA_DIRS) {
|
|
357
|
+
dirs.push(...env.XDG_DATA_DIRS.split(path2.delimiter).map((s) => path2.join(s, options.isolated ? name : "")));
|
|
358
|
+
}
|
|
359
|
+
return dirs;
|
|
360
|
+
};
|
|
361
|
+
return object;
|
|
362
|
+
};
|
|
363
|
+
var _XDGAppPaths = class __XDGAppPaths {
|
|
364
|
+
constructor(options = { name: null, suffix: null, isolated: true }) {
|
|
365
|
+
const XDGAppPaths2 = function(options2 = { name: null, suffix: null, isolated: true }) {
|
|
366
|
+
return new __XDGAppPaths(options2);
|
|
367
|
+
};
|
|
368
|
+
this._fn = XDGAppPaths2;
|
|
369
|
+
options = options || {};
|
|
370
|
+
if (typeof options !== "object") {
|
|
371
|
+
options = { name: options };
|
|
372
|
+
}
|
|
373
|
+
let name = options.name || "";
|
|
374
|
+
if (typeof name !== "string") {
|
|
375
|
+
throw new TypeError(`Expected string for "name" argument, got ${typeof name}`);
|
|
376
|
+
}
|
|
377
|
+
const suffix = options.suffix || "";
|
|
378
|
+
if (typeof suffix !== "string") {
|
|
379
|
+
throw new TypeError(`Expected string for "suffix" argument, got ${typeof suffix}`);
|
|
380
|
+
}
|
|
381
|
+
const isolated = options.isolated === void 0 || options.isolated === null ? true : options.isolated;
|
|
382
|
+
if (typeof isolated !== "boolean") {
|
|
383
|
+
throw new TypeError(`Expected boolean for "isolated" argument, got ${typeof isolated}`);
|
|
384
|
+
}
|
|
385
|
+
if (!name) {
|
|
386
|
+
name = path2.parse(process.pkg ? process.execPath : __require.main ? __require.main.filename : process.argv[0]).name;
|
|
387
|
+
}
|
|
388
|
+
if (suffix) {
|
|
389
|
+
name += suffix;
|
|
390
|
+
}
|
|
391
|
+
this._fn.$name = () => name;
|
|
392
|
+
this._fn.$isolated = () => isolated;
|
|
393
|
+
const extension = isWinOS ? windows(name, isolated) : base(name, isolated);
|
|
394
|
+
Object.keys(extension).forEach((key) => {
|
|
395
|
+
this._fn[key] = extension[key];
|
|
396
|
+
});
|
|
397
|
+
return this._fn;
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
module2.exports = new _XDGAppPaths();
|
|
401
|
+
}
|
|
402
|
+
});
|
|
403
|
+
|
|
139
404
|
// ../../node_modules/.pnpm/@sentry+utils@7.120.1/node_modules/@sentry/utils/cjs/is.js
|
|
140
405
|
var require_is = __commonJS2({
|
|
141
406
|
"../../node_modules/.pnpm/@sentry+utils@7.120.1/node_modules/@sentry/utils/cjs/is.js"(exports2) {
|
|
@@ -20869,7 +21134,7 @@ var init_constants = __esm({
|
|
|
20869
21134
|
});
|
|
20870
21135
|
|
|
20871
21136
|
// ../../node_modules/.pnpm/which@3.0.0/node_modules/which/lib/index.js
|
|
20872
|
-
var
|
|
21137
|
+
var require_lib5 = __commonJS2({
|
|
20873
21138
|
"../../node_modules/.pnpm/which@3.0.0/node_modules/which/lib/index.js"(exports2, module2) {
|
|
20874
21139
|
var isexe = require_isexe();
|
|
20875
21140
|
var { join: join2, delimiter, sep, posix } = __require("path");
|
|
@@ -22796,9 +23061,6 @@ async function earlyGetConfig(configFile) {
|
|
|
22796
23061
|
if (nowConfig instanceof CantParseJSONFile) {
|
|
22797
23062
|
return nowConfig;
|
|
22798
23063
|
}
|
|
22799
|
-
if (vercelConfig && nowConfig) {
|
|
22800
|
-
return new ConflictingConfigFiles([vercelFilePath, nowFilePath]);
|
|
22801
|
-
}
|
|
22802
23064
|
if (vercelConfig !== null) {
|
|
22803
23065
|
output_manager_default.debug(`Found config in file "${vercelFilePath}"`);
|
|
22804
23066
|
config = vercelConfig;
|
|
@@ -22806,29 +23068,17 @@ async function earlyGetConfig(configFile) {
|
|
|
22806
23068
|
return config;
|
|
22807
23069
|
}
|
|
22808
23070
|
if (nowConfig !== null) {
|
|
22809
|
-
|
|
22810
|
-
config = nowConfig;
|
|
22811
|
-
config[import_client.fileNameSymbol] = "now.json";
|
|
22812
|
-
return config;
|
|
23071
|
+
return new DeprecatedNowJson(nowFilePath);
|
|
22813
23072
|
}
|
|
22814
|
-
return new CantFindConfig([vercelFilePath
|
|
23073
|
+
return new CantFindConfig([vercelFilePath].map(humanizePath));
|
|
22815
23074
|
}
|
|
22816
23075
|
|
|
22817
|
-
// src/util/config/get-default.ts
|
|
22818
|
-
var defaultGlobalConfig = {
|
|
22819
|
-
"// Note": "This is your Vercel config file. For more information see the global configuration documentation.",
|
|
22820
|
-
"// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#config.json"
|
|
22821
|
-
};
|
|
22822
|
-
var defaultAuthConfig = {
|
|
22823
|
-
"// Note": "This is your Vercel credentials file. DO NOT SHARE!",
|
|
22824
|
-
"// Docs": "https://vercel.com/docs/projects/project-configuration/global-configuration#auth.json"
|
|
22825
|
-
};
|
|
22826
|
-
|
|
22827
23076
|
// src/index.ts
|
|
23077
|
+
import { defaultAuthConfig, defaultGlobalConfig } from "@vercel/cli-config";
|
|
22828
23078
|
import { Agent as HttpsAgent } from "https";
|
|
22829
23079
|
|
|
22830
23080
|
// src/util/extension/exec.ts
|
|
22831
|
-
var import_which = __toESM3(
|
|
23081
|
+
var import_which = __toESM3(require_lib5(), 1);
|
|
22832
23082
|
var import_execa = __toESM3(require_execa(), 1);
|
|
22833
23083
|
var import_async_listen = __toESM3(require_dist4(), 1);
|
|
22834
23084
|
import { dirname as dirname2 } from "path";
|
|
@@ -23509,7 +23759,7 @@ try {
|
|
|
23509
23759
|
originalError(msg);
|
|
23510
23760
|
};
|
|
23511
23761
|
}
|
|
23512
|
-
var VERCEL_DIR =
|
|
23762
|
+
var VERCEL_DIR = getGlobalPathConfig();
|
|
23513
23763
|
var VERCEL_CONFIG_PATH = getConfigFilePath();
|
|
23514
23764
|
var VERCEL_AUTH_CONFIG_PATH = getAuthConfigFilePath();
|
|
23515
23765
|
var GLOBAL_COMMANDS = /* @__PURE__ */ new Set(["help"]);
|
package/dist/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "53.
|
|
1
|
+
export const version = "53.3.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "53.
|
|
3
|
+
"version": "53.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,30 +32,31 @@
|
|
|
32
32
|
"luxon": "^3.4.0",
|
|
33
33
|
"proxy-agent": "6.4.0",
|
|
34
34
|
"sandbox": "2.5.6",
|
|
35
|
+
"zod": "4.1.11",
|
|
35
36
|
"@vercel/prepare-flags-definitions": "0.2.1",
|
|
36
|
-
"@vercel/
|
|
37
|
-
"@vercel/elysia": "0.1.73",
|
|
38
|
-
"@vercel/express": "0.1.83",
|
|
39
|
-
"@vercel/fastify": "0.1.76",
|
|
37
|
+
"@vercel/cli-config": "0.1.0",
|
|
40
38
|
"@vercel/detect-agent": "1.2.3",
|
|
39
|
+
"@vercel/build-utils": "13.22.0",
|
|
40
|
+
"@vercel/backends": "0.4.0",
|
|
41
|
+
"@vercel/elysia": "0.1.74",
|
|
42
|
+
"@vercel/express": "0.1.84",
|
|
43
|
+
"@vercel/fastify": "0.1.77",
|
|
41
44
|
"@vercel/go": "3.6.0",
|
|
42
|
-
"@vercel/h3": "0.1.
|
|
43
|
-
"@vercel/hono": "0.2.
|
|
44
|
-
"@vercel/
|
|
45
|
-
"@vercel/
|
|
46
|
-
"@vercel/nestjs": "0.2.77",
|
|
45
|
+
"@vercel/h3": "0.1.83",
|
|
46
|
+
"@vercel/hono": "0.2.77",
|
|
47
|
+
"@vercel/koa": "0.1.57",
|
|
48
|
+
"@vercel/nestjs": "0.2.78",
|
|
47
49
|
"@vercel/next": "4.17.1",
|
|
48
|
-
"@vercel/
|
|
49
|
-
"@vercel/
|
|
50
|
+
"@vercel/hydrogen": "1.3.7",
|
|
51
|
+
"@vercel/node": "5.7.16",
|
|
52
|
+
"@vercel/python": "6.39.0",
|
|
50
53
|
"@vercel/redwood": "2.4.13",
|
|
51
54
|
"@vercel/remix-builder": "5.8.1",
|
|
52
|
-
"@vercel/ruby": "2.3.2",
|
|
53
55
|
"@vercel/rust": "1.2.0",
|
|
54
|
-
"@vercel/static-build": "2.9.
|
|
55
|
-
"@vercel/
|
|
56
|
+
"@vercel/static-build": "2.9.23",
|
|
57
|
+
"@vercel/ruby": "2.3.2"
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
|
-
"@alex_neo/jest-expect-message": "1.0.5",
|
|
59
60
|
"@edge-runtime/node-utils": "2.3.0",
|
|
60
61
|
"@inquirer/checkbox": "2.2.2",
|
|
61
62
|
"@inquirer/confirm": "3.1.2",
|
|
@@ -77,8 +78,6 @@
|
|
|
77
78
|
"@types/escape-html": "0.0.20",
|
|
78
79
|
"@types/fs-extra": "9.0.13",
|
|
79
80
|
"@types/ini": "1.3.31",
|
|
80
|
-
"@types/jest": "27.4.1",
|
|
81
|
-
"@types/jest-expect-message": "1.0.3",
|
|
82
81
|
"@types/json-parse-better-errors": "1.0.0",
|
|
83
82
|
"@types/load-json-file": "2.0.7",
|
|
84
83
|
"@types/luxon": "3.6.2",
|
|
@@ -99,6 +98,8 @@
|
|
|
99
98
|
"@types/which": "3.0.0",
|
|
100
99
|
"@types/write-json-file": "2.2.1",
|
|
101
100
|
"@types/yauzl-promise": "2.1.0",
|
|
101
|
+
"@vercel/agent-eval": "^0.7.1",
|
|
102
|
+
"@vercel/sdk": "^1.19.6",
|
|
102
103
|
"@vitest/expect": "2.1.3",
|
|
103
104
|
"ajv": "6.12.3",
|
|
104
105
|
"alpha-sort": "2.0.1",
|
|
@@ -136,8 +137,6 @@
|
|
|
136
137
|
"is-port-reachable": "3.1.0",
|
|
137
138
|
"is-url": "1.2.2",
|
|
138
139
|
"jaro-winkler": "0.2.8",
|
|
139
|
-
"jest-junit": "16.0.0",
|
|
140
|
-
"jest-matcher-utils": "29.3.1",
|
|
141
140
|
"json-parse-better-errors": "1.0.2",
|
|
142
141
|
"jsonlines": "0.1.1",
|
|
143
142
|
"line-async-iterator": "3.0.0",
|
|
@@ -169,29 +168,27 @@
|
|
|
169
168
|
"tmp-promise": "1.0.3",
|
|
170
169
|
"tree-kill": "1.2.2",
|
|
171
170
|
"ts-node": "10.9.1",
|
|
171
|
+
"tsx": "^4.20.4",
|
|
172
172
|
"utility-types": "2.1.0",
|
|
173
173
|
"vite": "^5.1.6",
|
|
174
174
|
"vitest": "^2.1.3",
|
|
175
|
-
"@vercel/agent-eval": "^0.7.1",
|
|
176
|
-
"@vercel/sdk": "^1.19.6",
|
|
177
|
-
"tsx": "^4.20.4",
|
|
178
175
|
"which": "3.0.0",
|
|
179
176
|
"write-json-file": "2.2.0",
|
|
180
177
|
"xdg-app-paths": "5.1.0",
|
|
181
178
|
"yauzl-promise": "2.1.3",
|
|
182
179
|
"@vercel-internals/constants": "1.0.4",
|
|
180
|
+
"@vercel-internals/get-package-json": "1.0.0",
|
|
183
181
|
"@vercel-internals/types": "3.0.6",
|
|
182
|
+
"@vercel/frameworks": "3.25.1",
|
|
184
183
|
"@vercel/error-utils": "2.1.0",
|
|
185
|
-
"@vercel
|
|
186
|
-
"@vercel/frameworks": "3.25.0",
|
|
187
|
-
"@vercel/client": "17.4.0",
|
|
184
|
+
"@vercel/fs-detectors": "6.2.0",
|
|
188
185
|
"@vercel/routing-utils": "6.2.0",
|
|
189
|
-
"@vercel/
|
|
186
|
+
"@vercel/client": "17.4.1"
|
|
190
187
|
},
|
|
191
188
|
"scripts": {
|
|
192
|
-
"test": "
|
|
193
|
-
"vitest-run": "
|
|
194
|
-
"vitest-unit": "
|
|
189
|
+
"test": "vitest run --config ./vitest.config.mts",
|
|
190
|
+
"vitest-run": "node scripts/vitest-run.mjs",
|
|
191
|
+
"vitest-unit": "glob --absolute 'test/unit/**/*.test.ts'",
|
|
195
192
|
"test-e2e-node-all-versions": "rimraf test/fixtures/integration && pnpm test test/integration-1.test.ts test/integration-2.test.ts test/integration-3.test.ts test/integration-link-env-pull.test.ts",
|
|
196
193
|
"test-dev": "pnpm test test/dev/",
|
|
197
194
|
"coverage": "codecov",
|