vercel 43.3.0 → 44.0.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/index.js +242 -5
- package/package.json +7 -7
package/dist/index.js
CHANGED
@@ -31901,9 +31901,16 @@ var init_command5 = __esm({
|
|
31901
31901
|
name: "logs",
|
31902
31902
|
shorthand: "l",
|
31903
31903
|
type: Boolean,
|
31904
|
-
deprecated:
|
31904
|
+
deprecated: true,
|
31905
31905
|
description: "Print the build logs"
|
31906
31906
|
},
|
31907
|
+
{
|
31908
|
+
name: "no-logs",
|
31909
|
+
shorthand: null,
|
31910
|
+
type: Boolean,
|
31911
|
+
deprecated: false,
|
31912
|
+
description: "Do not print the build logs"
|
31913
|
+
},
|
31907
31914
|
{
|
31908
31915
|
name: "name",
|
31909
31916
|
shorthand: "n",
|
@@ -46705,7 +46712,7 @@ var require_package = __commonJS2({
|
|
46705
46712
|
"../client/package.json"(exports2, module2) {
|
46706
46713
|
module2.exports = {
|
46707
46714
|
name: "@vercel/client",
|
46708
|
-
version: "15.3.
|
46715
|
+
version: "15.3.6",
|
46709
46716
|
main: "dist/index.js",
|
46710
46717
|
typings: "dist/index.d.ts",
|
46711
46718
|
homepage: "https://vercel.com",
|
@@ -46747,7 +46754,7 @@ var require_package = __commonJS2({
|
|
46747
46754
|
"@vercel/build-utils": "10.6.1",
|
46748
46755
|
"@vercel/error-utils": "2.0.3",
|
46749
46756
|
"@vercel/microfrontends": "1.2.2",
|
46750
|
-
"@vercel/routing-utils": "5.0.
|
46757
|
+
"@vercel/routing-utils": "5.0.8",
|
46751
46758
|
"async-retry": "1.2.3",
|
46752
46759
|
"async-sema": "3.0.0",
|
46753
46760
|
"fs-extra": "8.0.1",
|
@@ -115438,6 +115445,7 @@ var require_frameworks = __commonJS2({
|
|
115438
115445
|
website: "https://nuxtjs.org",
|
115439
115446
|
sort: 2,
|
115440
115447
|
envPrefix: "NUXT_ENV_",
|
115448
|
+
supersedes: ["nitro"],
|
115441
115449
|
detectors: {
|
115442
115450
|
some: [
|
115443
115451
|
{
|
@@ -116098,6 +116106,35 @@ var require_frameworks = __commonJS2({
|
|
116098
116106
|
},
|
116099
116107
|
getOutputDirName: async () => "storybook-static"
|
116100
116108
|
},
|
116109
|
+
{
|
116110
|
+
name: "Nitro",
|
116111
|
+
slug: "nitro",
|
116112
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/nitro.svg",
|
116113
|
+
demo: "https://nitro-template.vercel.app",
|
116114
|
+
tagline: "Nitro is a next generation server toolkit.",
|
116115
|
+
description: "Nitro lets you create web servers that run on multiple platforms.",
|
116116
|
+
website: "https://nitro.build/",
|
116117
|
+
detectors: {
|
116118
|
+
every: [{ matchPackage: "nitropack" }]
|
116119
|
+
},
|
116120
|
+
settings: {
|
116121
|
+
installCommand: {
|
116122
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
116123
|
+
},
|
116124
|
+
buildCommand: {
|
116125
|
+
placeholder: "`npm run build` or `nitro build`",
|
116126
|
+
value: "nitro build"
|
116127
|
+
},
|
116128
|
+
devCommand: {
|
116129
|
+
value: "nitro dev"
|
116130
|
+
},
|
116131
|
+
outputDirectory: {
|
116132
|
+
value: "dist"
|
116133
|
+
}
|
116134
|
+
},
|
116135
|
+
dependency: "nitropack",
|
116136
|
+
getOutputDirName: () => Promise
|
116137
|
+
},
|
116101
116138
|
{
|
116102
116139
|
name: "Other",
|
116103
116140
|
slug: null,
|
@@ -131215,6 +131252,195 @@ var require_schemas = __commonJS2({
|
|
131215
131252
|
]
|
131216
131253
|
}
|
131217
131254
|
};
|
131255
|
+
var transformsSchema = {
|
131256
|
+
description: "A list of transform rules to adjust the query parameters of a request or HTTP headers of request or response",
|
131257
|
+
type: "array",
|
131258
|
+
minItems: 1,
|
131259
|
+
items: {
|
131260
|
+
type: "object",
|
131261
|
+
additionalProperties: false,
|
131262
|
+
required: ["type", "op", "target"],
|
131263
|
+
properties: {
|
131264
|
+
type: {
|
131265
|
+
description: "The scope of the transform to apply",
|
131266
|
+
type: "string",
|
131267
|
+
enum: ["request.headers", "request.query", "response.headers"]
|
131268
|
+
},
|
131269
|
+
op: {
|
131270
|
+
description: "The operation to perform on the target",
|
131271
|
+
type: "string",
|
131272
|
+
enum: ["append", "set", "delete"]
|
131273
|
+
},
|
131274
|
+
target: {
|
131275
|
+
description: "The target of the transform",
|
131276
|
+
type: "object",
|
131277
|
+
required: ["key"],
|
131278
|
+
properties: {
|
131279
|
+
// re is not supported for transforms. Once supported, replace target.key with matchableValueSchema
|
131280
|
+
key: {
|
131281
|
+
description: "A value to match against. Can be a string or a condition operation object (without regex support)",
|
131282
|
+
anyOf: [
|
131283
|
+
{
|
131284
|
+
description: "A valid header name (letters, numbers, hyphens, underscores)",
|
131285
|
+
type: "string",
|
131286
|
+
maxLength: 4096
|
131287
|
+
},
|
131288
|
+
{
|
131289
|
+
description: "A condition operation object",
|
131290
|
+
type: "object",
|
131291
|
+
additionalProperties: false,
|
131292
|
+
minProperties: 1,
|
131293
|
+
properties: {
|
131294
|
+
eq: {
|
131295
|
+
description: "Equal to",
|
131296
|
+
anyOf: [
|
131297
|
+
{
|
131298
|
+
type: "string",
|
131299
|
+
maxLength: 4096
|
131300
|
+
},
|
131301
|
+
{
|
131302
|
+
type: "number"
|
131303
|
+
}
|
131304
|
+
]
|
131305
|
+
},
|
131306
|
+
neq: {
|
131307
|
+
description: "Not equal",
|
131308
|
+
type: "string",
|
131309
|
+
maxLength: 4096
|
131310
|
+
},
|
131311
|
+
inc: {
|
131312
|
+
description: "In array",
|
131313
|
+
type: "array",
|
131314
|
+
items: {
|
131315
|
+
type: "string",
|
131316
|
+
maxLength: 4096
|
131317
|
+
}
|
131318
|
+
},
|
131319
|
+
ninc: {
|
131320
|
+
description: "Not in array",
|
131321
|
+
type: "array",
|
131322
|
+
items: {
|
131323
|
+
type: "string",
|
131324
|
+
maxLength: 4096
|
131325
|
+
}
|
131326
|
+
},
|
131327
|
+
pre: {
|
131328
|
+
description: "Starts with",
|
131329
|
+
type: "string",
|
131330
|
+
maxLength: 4096
|
131331
|
+
},
|
131332
|
+
suf: {
|
131333
|
+
description: "Ends with",
|
131334
|
+
type: "string",
|
131335
|
+
maxLength: 4096
|
131336
|
+
},
|
131337
|
+
gt: {
|
131338
|
+
description: "Greater than",
|
131339
|
+
type: "number"
|
131340
|
+
},
|
131341
|
+
gte: {
|
131342
|
+
description: "Greater than or equal to",
|
131343
|
+
type: "number"
|
131344
|
+
},
|
131345
|
+
lt: {
|
131346
|
+
description: "Less than",
|
131347
|
+
type: "number"
|
131348
|
+
},
|
131349
|
+
lte: {
|
131350
|
+
description: "Less than or equal to",
|
131351
|
+
type: "number"
|
131352
|
+
}
|
131353
|
+
}
|
131354
|
+
}
|
131355
|
+
]
|
131356
|
+
}
|
131357
|
+
}
|
131358
|
+
},
|
131359
|
+
args: {
|
131360
|
+
description: "The arguments to the operation",
|
131361
|
+
anyOf: [
|
131362
|
+
{
|
131363
|
+
type: "string",
|
131364
|
+
maxLength: 4096
|
131365
|
+
},
|
131366
|
+
{
|
131367
|
+
type: "array",
|
131368
|
+
minItems: 1,
|
131369
|
+
items: {
|
131370
|
+
type: "string",
|
131371
|
+
maxLength: 4096
|
131372
|
+
}
|
131373
|
+
}
|
131374
|
+
]
|
131375
|
+
}
|
131376
|
+
},
|
131377
|
+
allOf: [
|
131378
|
+
{
|
131379
|
+
if: {
|
131380
|
+
properties: {
|
131381
|
+
op: {
|
131382
|
+
enum: ["append", "set"]
|
131383
|
+
}
|
131384
|
+
}
|
131385
|
+
},
|
131386
|
+
then: {
|
131387
|
+
required: ["args"]
|
131388
|
+
}
|
131389
|
+
},
|
131390
|
+
{
|
131391
|
+
if: {
|
131392
|
+
allOf: [
|
131393
|
+
{
|
131394
|
+
properties: {
|
131395
|
+
type: {
|
131396
|
+
enum: ["request.headers", "response.headers"]
|
131397
|
+
}
|
131398
|
+
}
|
131399
|
+
},
|
131400
|
+
{
|
131401
|
+
properties: {
|
131402
|
+
op: {
|
131403
|
+
enum: ["set", "append"]
|
131404
|
+
}
|
131405
|
+
}
|
131406
|
+
}
|
131407
|
+
]
|
131408
|
+
},
|
131409
|
+
then: {
|
131410
|
+
properties: {
|
131411
|
+
target: {
|
131412
|
+
properties: {
|
131413
|
+
key: {
|
131414
|
+
if: {
|
131415
|
+
type: "string"
|
131416
|
+
},
|
131417
|
+
then: {
|
131418
|
+
pattern: "^[a-zA-Z0-9_-]+$"
|
131419
|
+
}
|
131420
|
+
}
|
131421
|
+
}
|
131422
|
+
},
|
131423
|
+
args: {
|
131424
|
+
anyOf: [
|
131425
|
+
{
|
131426
|
+
type: "string",
|
131427
|
+
pattern: "^[a-zA-Z0-9_ :;.,\"'?!(){}\\[\\]@<>=+*#$&`|~\\^%/-]+$"
|
131428
|
+
},
|
131429
|
+
{
|
131430
|
+
type: "array",
|
131431
|
+
items: {
|
131432
|
+
type: "string",
|
131433
|
+
pattern: "^[a-zA-Z0-9_ :;.,\"'?!(){}\\[\\]@<>=+*#$&`|~\\^%/-]+$"
|
131434
|
+
}
|
131435
|
+
}
|
131436
|
+
]
|
131437
|
+
}
|
131438
|
+
}
|
131439
|
+
}
|
131440
|
+
}
|
131441
|
+
]
|
131442
|
+
}
|
131443
|
+
};
|
131218
131444
|
var routesSchema2 = {
|
131219
131445
|
type: "array",
|
131220
131446
|
maxItems: 2048,
|
@@ -131327,7 +131553,8 @@ var require_schemas = __commonJS2({
|
|
131327
131553
|
},
|
131328
131554
|
has: hasSchema,
|
131329
131555
|
missing: hasSchema,
|
131330
|
-
mitigate: mitigateSchema
|
131556
|
+
mitigate: mitigateSchema,
|
131557
|
+
transforms: transformsSchema
|
131331
131558
|
}
|
131332
131559
|
},
|
131333
131560
|
{
|
@@ -148204,6 +148431,11 @@ var init_deploy = __esm({
|
|
148204
148431
|
this.trackCliFlag("logs");
|
148205
148432
|
}
|
148206
148433
|
}
|
148434
|
+
trackCliFlagNoLogs(flag) {
|
148435
|
+
if (flag) {
|
148436
|
+
this.trackCliFlag("no-logs");
|
148437
|
+
}
|
148438
|
+
}
|
148207
148439
|
trackCliFlagNoClipboard(flag) {
|
148208
148440
|
if (flag) {
|
148209
148441
|
this.trackCliFlag("no-clipboard");
|
@@ -148385,6 +148617,7 @@ var init_deploy2 = __esm({
|
|
148385
148617
|
);
|
148386
148618
|
telemetryClient.trackCliFlagPublic(parsedArguments.flags["--public"]);
|
148387
148619
|
telemetryClient.trackCliFlagLogs(parsedArguments.flags["--logs"]);
|
148620
|
+
telemetryClient.trackCliFlagNoLogs(parsedArguments.flags["--no-logs"]);
|
148388
148621
|
telemetryClient.trackCliFlagForce(parsedArguments.flags["--force"]);
|
148389
148622
|
telemetryClient.trackCliFlagWithCache(
|
148390
148623
|
parsedArguments.flags["--with-cache"]
|
@@ -148394,6 +148627,9 @@ var init_deploy2 = __esm({
|
|
148394
148627
|
output_manager_default.warn("`--confirm` is deprecated, please use `--yes` instead");
|
148395
148628
|
parsedArguments.flags["--yes"] = parsedArguments.flags["--confirm"];
|
148396
148629
|
}
|
148630
|
+
if ("--logs" in parsedArguments.flags) {
|
148631
|
+
output_manager_default.warn("`--logs` is deprecated and now the default behavior.");
|
148632
|
+
}
|
148397
148633
|
} catch (error4) {
|
148398
148634
|
printError(error4);
|
148399
148635
|
return 1;
|
@@ -148648,6 +148884,7 @@ var init_deploy2 = __esm({
|
|
148648
148884
|
const deployStamp = stamp_default();
|
148649
148885
|
let deployment = null;
|
148650
148886
|
const noWait = !!parsedArguments.flags["--no-wait"];
|
148887
|
+
const withLogs = "--no-logs" in parsedArguments.flags ? false : true;
|
148651
148888
|
const localConfigurationOverrides = pickOverrides(localConfig);
|
148652
148889
|
const name = project.name;
|
148653
148890
|
if (!name) {
|
@@ -148683,7 +148920,7 @@ var init_deploy2 = __esm({
|
|
148683
148920
|
target,
|
148684
148921
|
skipAutoDetectionConfirmation: autoConfirm,
|
148685
148922
|
noWait,
|
148686
|
-
withLogs
|
148923
|
+
withLogs,
|
148687
148924
|
autoAssignCustomDomains
|
148688
148925
|
};
|
148689
148926
|
if (!localConfig.builds || localConfig.builds.length === 0) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "
|
3
|
+
"version": "44.0.0",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -78,11 +78,11 @@
|
|
78
78
|
"@types/which": "3.0.0",
|
79
79
|
"@types/write-json-file": "2.2.1",
|
80
80
|
"@types/yauzl-promise": "2.1.0",
|
81
|
-
"@vercel/client": "15.3.
|
81
|
+
"@vercel/client": "15.3.6",
|
82
82
|
"@vercel/error-utils": "2.0.3",
|
83
|
-
"@vercel/frameworks": "3.
|
84
|
-
"@vercel/fs-detectors": "5.4.
|
85
|
-
"@vercel/routing-utils": "5.0.
|
83
|
+
"@vercel/frameworks": "3.7.0",
|
84
|
+
"@vercel/fs-detectors": "5.4.5",
|
85
|
+
"@vercel/routing-utils": "5.0.8",
|
86
86
|
"@vitest/expect": "2.1.3",
|
87
87
|
"ajv": "6.12.3",
|
88
88
|
"alpha-sort": "2.0.1",
|
@@ -160,9 +160,9 @@
|
|
160
160
|
"write-json-file": "2.2.0",
|
161
161
|
"xdg-app-paths": "5.1.0",
|
162
162
|
"yauzl-promise": "2.1.3",
|
163
|
+
"@vercel-internals/constants": "1.0.4",
|
163
164
|
"@vercel-internals/get-package-json": "1.0.0",
|
164
|
-
"@vercel-internals/types": "3.0.6"
|
165
|
-
"@vercel-internals/constants": "1.0.4"
|
165
|
+
"@vercel-internals/types": "3.0.6"
|
166
166
|
},
|
167
167
|
"scripts": {
|
168
168
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|