vercel 54.14.2 → 54.14.5
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-PKT6ULVJ.js → add-5Z2AAQMM.js} +4 -4
- package/dist/chunks/{chunk-G3NXHUFT.js → chunk-25XEQWUS.js} +1 -1
- package/dist/chunks/{chunk-JISJDGJF.js → chunk-2GOVUIMY.js} +1 -1
- package/dist/chunks/{chunk-Z3X747P6.js → chunk-2N7NBUQX.js} +1 -1
- package/dist/chunks/{chunk-IPWWE7PB.js → chunk-45S2Y3TD.js} +1 -1
- package/dist/chunks/{chunk-2XEEOHHH.js → chunk-6ABEFMPX.js} +1 -1
- package/dist/chunks/{chunk-4BFK3C7V.js → chunk-6H2YVMJJ.js} +1 -1
- package/dist/chunks/{chunk-O7RJHL34.js → chunk-6R3YPU76.js} +203 -6
- package/dist/chunks/chunk-BRQ6PX3U.js +593 -0
- package/dist/chunks/{chunk-3BR246Y6.js → chunk-EBIX223X.js} +2 -11
- package/dist/chunks/{chunk-2HN6DLIY.js → chunk-ETVOM3IR.js} +1 -1
- package/dist/chunks/{chunk-372SHB43.js → chunk-IXTKPQYW.js} +3 -3
- package/dist/chunks/{chunk-FEYVO2US.js → chunk-JLLN34XF.js} +90 -32
- package/dist/chunks/{chunk-O4V7CMVO.js → chunk-KSSRTKN4.js} +7 -5
- package/dist/chunks/{chunk-2ZSXQQXI.js → chunk-MOVGWTDQ.js} +8 -18
- package/dist/chunks/{chunk-SDZ5ICZL.js → chunk-PSG6ZBGQ.js} +1 -1
- package/dist/chunks/{chunk-FLW73SZ3.js → chunk-PXJA4KXE.js} +2 -2
- package/dist/chunks/{chunk-YLGMXYFG.js → chunk-R5MIXAJF.js} +2 -2
- package/dist/chunks/{chunk-J7BMPRCU.js → chunk-X23JL3ZL.js} +1 -1
- package/dist/chunks/{chunk-ILJH44MK.js → chunk-YE3C5CUX.js} +1 -1
- package/dist/chunks/{chunk-LQR3CHMH.js → chunk-YIAUEFUY.js} +211 -787
- package/dist/chunks/{chunk-OHIZ4SVU.js → chunk-ZR4XADWC.js} +15 -3
- package/dist/chunks/{compile-vercel-config-3LV7J3IZ.js → compile-vercel-config-UMUHH55E.js} +1 -1
- package/dist/chunks/{delete-GFW6Y6TZ.js → delete-NO2U3UGV.js} +2 -2
- package/dist/chunks/{disable-PGRAS2ZL.js → disable-AGDDHVKZ.js} +2 -2
- package/dist/chunks/{discard-S6N5Q4G5.js → discard-Q5HML52L.js} +2 -2
- package/dist/chunks/{edit-TICKX4ZV.js → edit-HSHJAKHM.js} +3 -3
- package/dist/chunks/{enable-L3BYWN6S.js → enable-YMJAXOGA.js} +2 -2
- package/dist/chunks/{export-NXS33U5T.js → export-RCACOTPE.js} +2 -2
- package/dist/chunks/{inspect-OOI5JN3Y.js → inspect-OJHOQHD2.js} +3 -3
- package/dist/chunks/{list-77WL6463.js → list-LLUDMAWA.js} +3 -3
- package/dist/chunks/{list-6EHRL2D4.js → list-R7V2P6TM.js} +2 -2
- package/dist/chunks/{ls-PBSOEXFG.js → ls-KAI6V7SU.js} +4 -4
- package/dist/chunks/{publish-CU2THVYW.js → publish-KCYVRDAT.js} +2 -2
- package/dist/chunks/{query-HEATRYAK.js → query-MBJLAQRX.js} +3 -3
- package/dist/chunks/{reorder-IQVKSM3H.js → reorder-C5BJWFJM.js} +2 -2
- package/dist/chunks/{restore-RDEOBGAS.js → restore-F63NO7XP.js} +2 -2
- package/dist/chunks/{rm-MCSGTU4J.js → rm-HT7YO3JX.js} +4 -4
- package/dist/chunks/{rule-inspect-3YK2XSL3.js → rule-inspect-IHEUI5JT.js} +4 -4
- package/dist/chunks/{rules-F4MRDDHM.js → rules-ZUBTVSNC.js} +6 -6
- package/dist/chunks/{schema-65C5EBJ7.js → schema-VAQSZY2H.js} +3 -3
- package/dist/chunks/{update-XB4WSRGY.js → update-BS5FBLIP.js} +4 -4
- package/dist/commands/build/index.js +53 -29
- package/dist/commands/deploy/index.js +12 -11
- package/dist/commands/dev/index.js +69 -22
- package/dist/commands/env/index.js +8 -6
- package/dist/commands/link/index.js +8 -15
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +621 -101
- package/dist/index.js +9 -9
- package/dist/version.mjs +1 -1
- package/package.json +15 -15
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-2GOVUIMY.js";
|
|
13
|
+
import "./chunk-PXJA4KXE.js";
|
|
14
14
|
import "./chunk-D7MGZH35.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
AGENT_REASON
|
|
23
23
|
} from "./chunk-LJ5WXXG6.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-25XEQWUS.js";
|
|
25
|
+
import "./chunk-YIAUEFUY.js";
|
|
26
26
|
import "./chunk-HIYWSGI7.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
metricsCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YE3C5CUX.js";
|
|
10
10
|
import {
|
|
11
11
|
routesCommand
|
|
12
12
|
} from "./chunk-IB56QKCM.js";
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PSG6ZBGQ.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YIAUEFUY.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
deploymentOption,
|
|
@@ -4498,9 +4498,6 @@ var flagsCommand = {
|
|
|
4498
4498
|
name: "flags",
|
|
4499
4499
|
aliases: [],
|
|
4500
4500
|
description: "Manage feature flags for a Vercel project",
|
|
4501
|
-
// Hidden during initial rollout. Will be unhidden once the feature is
|
|
4502
|
-
// generally available and public documentation is published.
|
|
4503
|
-
hidden: true,
|
|
4504
4501
|
arguments: [],
|
|
4505
4502
|
subcommands: [
|
|
4506
4503
|
listSubcommand10,
|
|
@@ -8491,6 +8488,202 @@ var getSubcommand3 = {
|
|
|
8491
8488
|
],
|
|
8492
8489
|
examples: []
|
|
8493
8490
|
};
|
|
8491
|
+
var signedTokenSubcommand = {
|
|
8492
|
+
name: "signed-token",
|
|
8493
|
+
aliases: [],
|
|
8494
|
+
description: "Issue a short-lived signed token for Blob operations",
|
|
8495
|
+
arguments: [],
|
|
8496
|
+
options: [
|
|
8497
|
+
{
|
|
8498
|
+
name: "pathname",
|
|
8499
|
+
shorthand: "p",
|
|
8500
|
+
type: String,
|
|
8501
|
+
deprecated: false,
|
|
8502
|
+
description: 'Pathname scope for the token. Defaults to "*" when omitted',
|
|
8503
|
+
argument: "STRING"
|
|
8504
|
+
},
|
|
8505
|
+
{
|
|
8506
|
+
name: "operation",
|
|
8507
|
+
shorthand: "o",
|
|
8508
|
+
type: [String],
|
|
8509
|
+
deprecated: false,
|
|
8510
|
+
description: "Allowed operation(s): get, head, put, delete (repeatable)",
|
|
8511
|
+
argument: "OPERATION",
|
|
8512
|
+
choices: ["get", "head", "put", "delete"]
|
|
8513
|
+
},
|
|
8514
|
+
{
|
|
8515
|
+
name: "valid-until",
|
|
8516
|
+
shorthand: null,
|
|
8517
|
+
type: Number,
|
|
8518
|
+
deprecated: false,
|
|
8519
|
+
description: "Absolute expiration time as Unix timestamp in milliseconds (mutually exclusive with --valid-for)",
|
|
8520
|
+
argument: "TIMESTAMP_MS"
|
|
8521
|
+
},
|
|
8522
|
+
{
|
|
8523
|
+
name: "valid-for",
|
|
8524
|
+
shorthand: null,
|
|
8525
|
+
type: String,
|
|
8526
|
+
deprecated: false,
|
|
8527
|
+
description: "Relative duration before expiration (for example: 15m, 1h, 7d; mutually exclusive with --valid-until)",
|
|
8528
|
+
argument: "DURATION"
|
|
8529
|
+
},
|
|
8530
|
+
{
|
|
8531
|
+
name: "allowed-content-type",
|
|
8532
|
+
shorthand: null,
|
|
8533
|
+
type: [String],
|
|
8534
|
+
deprecated: false,
|
|
8535
|
+
description: "Allowed content type(s) for put operations (repeatable, supports wildcards)",
|
|
8536
|
+
argument: "MIME_TYPE"
|
|
8537
|
+
},
|
|
8538
|
+
{
|
|
8539
|
+
name: "maximum-size-in-bytes",
|
|
8540
|
+
shorthand: null,
|
|
8541
|
+
type: Number,
|
|
8542
|
+
deprecated: false,
|
|
8543
|
+
description: "Maximum upload size in bytes for put operations (max: 5TB)",
|
|
8544
|
+
argument: "BYTES"
|
|
8545
|
+
},
|
|
8546
|
+
{
|
|
8547
|
+
name: "json",
|
|
8548
|
+
shorthand: null,
|
|
8549
|
+
type: Boolean,
|
|
8550
|
+
deprecated: false,
|
|
8551
|
+
description: "Output signed token payload as JSON"
|
|
8552
|
+
}
|
|
8553
|
+
],
|
|
8554
|
+
examples: [
|
|
8555
|
+
{
|
|
8556
|
+
name: "Issue a signed token for reads",
|
|
8557
|
+
value: "vercel blob signed-token --pathname media/photo.jpg --operation get"
|
|
8558
|
+
},
|
|
8559
|
+
{
|
|
8560
|
+
name: "Issue a signed token for uploads with constraints",
|
|
8561
|
+
value: "vercel blob signed-token --pathname uploads/* --operation put --allowed-content-type image/* --maximum-size-in-bytes 10485760"
|
|
8562
|
+
}
|
|
8563
|
+
]
|
|
8564
|
+
};
|
|
8565
|
+
var presignSubcommand = {
|
|
8566
|
+
name: "presign",
|
|
8567
|
+
aliases: [],
|
|
8568
|
+
description: "Generate a presigned URL for Blob operations",
|
|
8569
|
+
arguments: [
|
|
8570
|
+
{
|
|
8571
|
+
name: "pathname",
|
|
8572
|
+
required: true
|
|
8573
|
+
}
|
|
8574
|
+
],
|
|
8575
|
+
options: [
|
|
8576
|
+
accessOption,
|
|
8577
|
+
{
|
|
8578
|
+
name: "operation",
|
|
8579
|
+
shorthand: "o",
|
|
8580
|
+
type: String,
|
|
8581
|
+
deprecated: false,
|
|
8582
|
+
description: "Operation for the presigned URL: get, head, put, or delete (default: get)",
|
|
8583
|
+
argument: "OPERATION",
|
|
8584
|
+
choices: ["get", "head", "put", "delete"]
|
|
8585
|
+
},
|
|
8586
|
+
{
|
|
8587
|
+
name: "delegation-token",
|
|
8588
|
+
shorthand: null,
|
|
8589
|
+
type: String,
|
|
8590
|
+
deprecated: false,
|
|
8591
|
+
description: "Delegation token from `vercel blob signed-token` (must be used with --client-signing-token)",
|
|
8592
|
+
argument: "STRING"
|
|
8593
|
+
},
|
|
8594
|
+
{
|
|
8595
|
+
name: "client-signing-token",
|
|
8596
|
+
shorthand: null,
|
|
8597
|
+
type: String,
|
|
8598
|
+
deprecated: false,
|
|
8599
|
+
description: "Signing secret/token from `vercel blob signed-token` (must be used with --delegation-token)",
|
|
8600
|
+
argument: "STRING"
|
|
8601
|
+
},
|
|
8602
|
+
{
|
|
8603
|
+
name: "valid-until",
|
|
8604
|
+
shorthand: null,
|
|
8605
|
+
type: Number,
|
|
8606
|
+
deprecated: false,
|
|
8607
|
+
description: "Absolute expiration time as Unix timestamp in milliseconds (mutually exclusive with --valid-for)",
|
|
8608
|
+
argument: "TIMESTAMP_MS"
|
|
8609
|
+
},
|
|
8610
|
+
{
|
|
8611
|
+
name: "valid-for",
|
|
8612
|
+
shorthand: null,
|
|
8613
|
+
type: String,
|
|
8614
|
+
deprecated: false,
|
|
8615
|
+
description: "Relative duration before expiration (for example: 15m, 1h, 7d; mutually exclusive with --valid-until)",
|
|
8616
|
+
argument: "DURATION"
|
|
8617
|
+
},
|
|
8618
|
+
{
|
|
8619
|
+
name: "if-match",
|
|
8620
|
+
shorthand: null,
|
|
8621
|
+
type: String,
|
|
8622
|
+
deprecated: false,
|
|
8623
|
+
description: "If-Match constraint for put or delete operations",
|
|
8624
|
+
argument: "STRING"
|
|
8625
|
+
},
|
|
8626
|
+
{
|
|
8627
|
+
name: "allow-overwrite",
|
|
8628
|
+
shorthand: null,
|
|
8629
|
+
type: Boolean,
|
|
8630
|
+
deprecated: false,
|
|
8631
|
+
description: "Allow overwriting existing blobs (put only)"
|
|
8632
|
+
},
|
|
8633
|
+
{
|
|
8634
|
+
name: "add-random-suffix",
|
|
8635
|
+
shorthand: null,
|
|
8636
|
+
type: Boolean,
|
|
8637
|
+
deprecated: false,
|
|
8638
|
+
description: "Add a random suffix to the pathname (put only)"
|
|
8639
|
+
},
|
|
8640
|
+
{
|
|
8641
|
+
name: "cache-control-max-age",
|
|
8642
|
+
shorthand: null,
|
|
8643
|
+
type: Number,
|
|
8644
|
+
deprecated: false,
|
|
8645
|
+
description: "Cache-Control max-age in seconds (put only)",
|
|
8646
|
+
argument: "SECONDS"
|
|
8647
|
+
},
|
|
8648
|
+
{
|
|
8649
|
+
name: "allowed-content-type",
|
|
8650
|
+
shorthand: null,
|
|
8651
|
+
type: [String],
|
|
8652
|
+
deprecated: false,
|
|
8653
|
+
description: "Allowed content type(s) for uploads (put only, repeatable)",
|
|
8654
|
+
argument: "MIME_TYPE"
|
|
8655
|
+
},
|
|
8656
|
+
{
|
|
8657
|
+
name: "maximum-size-in-bytes",
|
|
8658
|
+
shorthand: null,
|
|
8659
|
+
type: Number,
|
|
8660
|
+
deprecated: false,
|
|
8661
|
+
description: "Maximum upload size in bytes (put only, max: 5TB)",
|
|
8662
|
+
argument: "BYTES"
|
|
8663
|
+
},
|
|
8664
|
+
{
|
|
8665
|
+
name: "json",
|
|
8666
|
+
shorthand: null,
|
|
8667
|
+
type: Boolean,
|
|
8668
|
+
deprecated: false,
|
|
8669
|
+
description: "Output presign result as JSON"
|
|
8670
|
+
}
|
|
8671
|
+
],
|
|
8672
|
+
examples: [
|
|
8673
|
+
{
|
|
8674
|
+
name: "Generate a presigned GET URL",
|
|
8675
|
+
value: "vercel blob presign media/photo.jpg --access public"
|
|
8676
|
+
},
|
|
8677
|
+
{
|
|
8678
|
+
name: "Generate a presigned PUT URL with upload constraints",
|
|
8679
|
+
value: "vercel blob presign uploads/image.jpg --access private --operation put --allowed-content-type image/* --maximum-size-in-bytes 10485760"
|
|
8680
|
+
},
|
|
8681
|
+
{
|
|
8682
|
+
name: "Generate a presigned URL from existing signed-token output",
|
|
8683
|
+
value: "vercel blob presign uploads/image.jpg --access private --operation put --delegation-token <delegationToken> --client-signing-token <clientSigningToken>"
|
|
8684
|
+
}
|
|
8685
|
+
]
|
|
8686
|
+
};
|
|
8494
8687
|
var createStoreSubcommand = {
|
|
8495
8688
|
name: "create-store",
|
|
8496
8689
|
aliases: [],
|
|
@@ -8613,6 +8806,8 @@ var blobCommand = {
|
|
|
8613
8806
|
getSubcommand3,
|
|
8614
8807
|
delSubcommand,
|
|
8615
8808
|
copySubcommand,
|
|
8809
|
+
signedTokenSubcommand,
|
|
8810
|
+
presignSubcommand,
|
|
8616
8811
|
createStoreSubcommand,
|
|
8617
8812
|
deleteStoreSubcommand,
|
|
8618
8813
|
getStoreInfoSubcommand,
|
|
@@ -9083,6 +9278,8 @@ export {
|
|
|
9083
9278
|
delSubcommand,
|
|
9084
9279
|
copySubcommand,
|
|
9085
9280
|
getSubcommand3,
|
|
9281
|
+
signedTokenSubcommand,
|
|
9282
|
+
presignSubcommand,
|
|
9086
9283
|
createStoreSubcommand,
|
|
9087
9284
|
deleteStoreSubcommand,
|
|
9088
9285
|
emptyStoreSubcommand,
|