vercel 50.4.3 → 50.4.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/index.js +93 -8
- package/package.json +18 -18
package/dist/index.js
CHANGED
|
@@ -35267,7 +35267,7 @@ var init_command41 = __esm({
|
|
|
35267
35267
|
storeSubcommand = {
|
|
35268
35268
|
name: "store",
|
|
35269
35269
|
aliases: [],
|
|
35270
|
-
description: "
|
|
35270
|
+
description: "Manage or create a Blob store",
|
|
35271
35271
|
arguments: [],
|
|
35272
35272
|
subcommands: [addStoreSubcommand, removeStoreSubcommand, getStoreSubcommand],
|
|
35273
35273
|
options: [],
|
|
@@ -50328,7 +50328,7 @@ var require_package = __commonJS2({
|
|
|
50328
50328
|
"../client/package.json"(exports2, module2) {
|
|
50329
50329
|
module2.exports = {
|
|
50330
50330
|
name: "@vercel/client",
|
|
50331
|
-
version: "17.2.
|
|
50331
|
+
version: "17.2.25",
|
|
50332
50332
|
main: "dist/index.js",
|
|
50333
50333
|
typings: "dist/index.d.ts",
|
|
50334
50334
|
homepage: "https://vercel.com",
|
|
@@ -79684,6 +79684,7 @@ var require_frameworks = __commonJS2({
|
|
|
79684
79684
|
tagline: "FastAPI framework, high performance, easy to learn, fast to code, ready for production",
|
|
79685
79685
|
description: "FastAPI framework, high performance, easy to learn, fast to code, ready for production",
|
|
79686
79686
|
website: "https://fastapi.tiangolo.com",
|
|
79687
|
+
supersedes: ["python"],
|
|
79687
79688
|
useRuntime: { src: "index.py", use: "@vercel/python" },
|
|
79688
79689
|
ignoreRuntimes: ["@vercel/python"],
|
|
79689
79690
|
detectors: {
|
|
@@ -79736,6 +79737,7 @@ var require_frameworks = __commonJS2({
|
|
|
79736
79737
|
tagline: "The Python micro web framework",
|
|
79737
79738
|
description: "A Flask app, ready for production",
|
|
79738
79739
|
website: "https://flask.palletsprojects.com",
|
|
79740
|
+
supersedes: ["python"],
|
|
79739
79741
|
useRuntime: { src: "index.py", use: "@vercel/python" },
|
|
79740
79742
|
ignoreRuntimes: ["@vercel/python"],
|
|
79741
79743
|
detectors: {
|
|
@@ -79790,6 +79792,7 @@ var require_frameworks = __commonJS2({
|
|
|
79790
79792
|
tagline: "The fastest way to create an HTML app",
|
|
79791
79793
|
description: "A library for writing fast and scalable Starlette-powered web applications",
|
|
79792
79794
|
website: "https://fastht.ml",
|
|
79795
|
+
supersedes: ["python"],
|
|
79793
79796
|
useRuntime: { src: "main.py", use: "@vercel/python" },
|
|
79794
79797
|
detectors: {
|
|
79795
79798
|
every: [
|
|
@@ -81387,6 +81390,56 @@ var require_frameworks = __commonJS2({
|
|
|
81387
81390
|
dependency: "xmcp",
|
|
81388
81391
|
getOutputDirName: async () => "dist"
|
|
81389
81392
|
},
|
|
81393
|
+
{
|
|
81394
|
+
name: "Python",
|
|
81395
|
+
slug: "python",
|
|
81396
|
+
experimental: true,
|
|
81397
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/python.svg",
|
|
81398
|
+
tagline: "Python is a programming language that lets you work quickly and integrate systems more effectively.",
|
|
81399
|
+
description: "A generic Python application deployed as a serverless function.",
|
|
81400
|
+
website: "https://python.org",
|
|
81401
|
+
useRuntime: { src: "index.py", use: "@vercel/python" },
|
|
81402
|
+
ignoreRuntimes: ["@vercel/python"],
|
|
81403
|
+
detectors: {
|
|
81404
|
+
some: [
|
|
81405
|
+
{
|
|
81406
|
+
path: "requirements.txt"
|
|
81407
|
+
},
|
|
81408
|
+
{
|
|
81409
|
+
path: "pyproject.toml"
|
|
81410
|
+
},
|
|
81411
|
+
{
|
|
81412
|
+
path: "Pipfile"
|
|
81413
|
+
}
|
|
81414
|
+
]
|
|
81415
|
+
},
|
|
81416
|
+
settings: {
|
|
81417
|
+
installCommand: {
|
|
81418
|
+
placeholder: "`pip install -r requirements.txt`"
|
|
81419
|
+
},
|
|
81420
|
+
buildCommand: {
|
|
81421
|
+
placeholder: "None",
|
|
81422
|
+
value: null
|
|
81423
|
+
},
|
|
81424
|
+
devCommand: {
|
|
81425
|
+
placeholder: "None",
|
|
81426
|
+
value: null
|
|
81427
|
+
},
|
|
81428
|
+
outputDirectory: {
|
|
81429
|
+
value: "N/A"
|
|
81430
|
+
}
|
|
81431
|
+
},
|
|
81432
|
+
getOutputDirName: async () => "public",
|
|
81433
|
+
defaultRoutes: [
|
|
81434
|
+
{
|
|
81435
|
+
handle: "filesystem"
|
|
81436
|
+
},
|
|
81437
|
+
{
|
|
81438
|
+
src: "/(.*)",
|
|
81439
|
+
dest: "/"
|
|
81440
|
+
}
|
|
81441
|
+
]
|
|
81442
|
+
},
|
|
81390
81443
|
{
|
|
81391
81444
|
name: "Other",
|
|
81392
81445
|
slug: null,
|
|
@@ -84406,6 +84459,23 @@ var require_detect_framework = __commonJS2({
|
|
|
84406
84459
|
});
|
|
84407
84460
|
module2.exports = __toCommonJS4(detect_framework_exports);
|
|
84408
84461
|
var import_child_process9 = __require("child_process");
|
|
84462
|
+
function shouldIncludeExperimentalFrameworks(useExperimentalFrameworks) {
|
|
84463
|
+
if (typeof useExperimentalFrameworks === "boolean") {
|
|
84464
|
+
return useExperimentalFrameworks;
|
|
84465
|
+
}
|
|
84466
|
+
const experimentalEnv = process.env.VERCEL_USE_EXPERIMENTAL_FRAMEWORKS;
|
|
84467
|
+
const isEnabled = (val) => val === "1" || typeof val === "string" && val.toLowerCase() === "true";
|
|
84468
|
+
return isEnabled(experimentalEnv);
|
|
84469
|
+
}
|
|
84470
|
+
function filterFrameworkList(frameworkList8, useExperimentalFrameworks) {
|
|
84471
|
+
if (shouldIncludeExperimentalFrameworks(useExperimentalFrameworks)) {
|
|
84472
|
+
return frameworkList8;
|
|
84473
|
+
}
|
|
84474
|
+
return frameworkList8.filter((f) => {
|
|
84475
|
+
const experimental = f.experimental;
|
|
84476
|
+
return !experimental;
|
|
84477
|
+
});
|
|
84478
|
+
}
|
|
84409
84479
|
async function matches(fs15, framework) {
|
|
84410
84480
|
const { detectors } = framework;
|
|
84411
84481
|
if (!detectors) {
|
|
@@ -84518,10 +84588,15 @@ var require_detect_framework = __commonJS2({
|
|
|
84518
84588
|
}
|
|
84519
84589
|
async function detectFramework2({
|
|
84520
84590
|
fs: fs15,
|
|
84521
|
-
frameworkList: frameworkList8
|
|
84591
|
+
frameworkList: frameworkList8,
|
|
84592
|
+
useExperimentalFrameworks
|
|
84522
84593
|
}) {
|
|
84594
|
+
const filteredList = filterFrameworkList(
|
|
84595
|
+
frameworkList8,
|
|
84596
|
+
useExperimentalFrameworks
|
|
84597
|
+
);
|
|
84523
84598
|
const result = await Promise.all(
|
|
84524
|
-
|
|
84599
|
+
filteredList.map(async (frameworkMatch) => {
|
|
84525
84600
|
if (await matches(fs15, frameworkMatch)) {
|
|
84526
84601
|
return frameworkMatch;
|
|
84527
84602
|
}
|
|
@@ -84533,10 +84608,15 @@ var require_detect_framework = __commonJS2({
|
|
|
84533
84608
|
}
|
|
84534
84609
|
async function detectFrameworks3({
|
|
84535
84610
|
fs: fs15,
|
|
84536
|
-
frameworkList: frameworkList8
|
|
84611
|
+
frameworkList: frameworkList8,
|
|
84612
|
+
useExperimentalFrameworks
|
|
84537
84613
|
}) {
|
|
84614
|
+
const filteredList = filterFrameworkList(
|
|
84615
|
+
frameworkList8,
|
|
84616
|
+
useExperimentalFrameworks
|
|
84617
|
+
);
|
|
84538
84618
|
const result = await Promise.all(
|
|
84539
|
-
|
|
84619
|
+
filteredList.map(async (frameworkMatch) => {
|
|
84540
84620
|
if (await matches(fs15, frameworkMatch)) {
|
|
84541
84621
|
return frameworkMatch;
|
|
84542
84622
|
}
|
|
@@ -84548,10 +84628,15 @@ var require_detect_framework = __commonJS2({
|
|
|
84548
84628
|
}
|
|
84549
84629
|
async function detectFrameworkRecord3({
|
|
84550
84630
|
fs: fs15,
|
|
84551
|
-
frameworkList: frameworkList8
|
|
84631
|
+
frameworkList: frameworkList8,
|
|
84632
|
+
useExperimentalFrameworks
|
|
84552
84633
|
}) {
|
|
84634
|
+
const filteredList = filterFrameworkList(
|
|
84635
|
+
frameworkList8,
|
|
84636
|
+
useExperimentalFrameworks
|
|
84637
|
+
);
|
|
84553
84638
|
const result = await Promise.all(
|
|
84554
|
-
|
|
84639
|
+
filteredList.map(async (frameworkMatch) => {
|
|
84555
84640
|
const matchResult = await matches(fs15, frameworkMatch);
|
|
84556
84641
|
if (matchResult) {
|
|
84557
84642
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vercel",
|
|
3
|
-
"version": "50.4.
|
|
3
|
+
"version": "50.4.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"form-data": "^4.0.0",
|
|
30
30
|
"jose": "5.9.6",
|
|
31
31
|
"@vercel/backends": "0.0.22",
|
|
32
|
-
"@vercel/build-utils": "13.2.
|
|
33
|
-
"@vercel/express": "0.1.28",
|
|
34
|
-
"@vercel/elysia": "0.1.21",
|
|
32
|
+
"@vercel/build-utils": "13.2.11",
|
|
35
33
|
"@vercel/detect-agent": "1.0.0",
|
|
36
|
-
"@vercel/
|
|
37
|
-
"@vercel/
|
|
38
|
-
"@vercel/
|
|
39
|
-
"@vercel/
|
|
34
|
+
"@vercel/elysia": "0.1.22",
|
|
35
|
+
"@vercel/express": "0.1.29",
|
|
36
|
+
"@vercel/fastify": "0.1.25",
|
|
37
|
+
"@vercel/go": "3.3.2",
|
|
38
|
+
"@vercel/hono": "0.2.25",
|
|
39
|
+
"@vercel/h3": "0.1.31",
|
|
40
40
|
"@vercel/hydrogen": "1.3.5",
|
|
41
|
-
"@vercel/koa": "0.1.
|
|
42
|
-
"@vercel/nestjs": "0.2.
|
|
41
|
+
"@vercel/koa": "0.1.5",
|
|
42
|
+
"@vercel/nestjs": "0.2.26",
|
|
43
43
|
"@vercel/next": "4.15.15",
|
|
44
|
-
"@vercel/node": "5.5.
|
|
44
|
+
"@vercel/node": "5.5.23",
|
|
45
45
|
"@vercel/python": "6.1.6",
|
|
46
46
|
"@vercel/redwood": "2.4.9",
|
|
47
47
|
"@vercel/remix-builder": "5.5.9",
|
|
48
48
|
"@vercel/ruby": "2.2.4",
|
|
49
49
|
"@vercel/rust": "1.0.4",
|
|
50
|
-
"@vercel/static-build": "2.8.
|
|
50
|
+
"@vercel/static-build": "2.8.23"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@alex_neo/jest-expect-message": "1.0.5",
|
|
@@ -171,14 +171,14 @@
|
|
|
171
171
|
"write-json-file": "2.2.0",
|
|
172
172
|
"xdg-app-paths": "5.1.0",
|
|
173
173
|
"yauzl-promise": "2.1.3",
|
|
174
|
+
"@vercel-internals/constants": "1.0.4",
|
|
174
175
|
"@vercel-internals/get-package-json": "1.0.0",
|
|
175
|
-
"@vercel/error-utils": "2.0.3",
|
|
176
|
-
"@vercel/client": "17.2.24",
|
|
177
176
|
"@vercel-internals/types": "3.0.6",
|
|
178
|
-
"@vercel/
|
|
179
|
-
"@vercel/
|
|
180
|
-
"@vercel/
|
|
181
|
-
"@vercel-
|
|
177
|
+
"@vercel/client": "17.2.25",
|
|
178
|
+
"@vercel/error-utils": "2.0.3",
|
|
179
|
+
"@vercel/frameworks": "3.15.6",
|
|
180
|
+
"@vercel/fs-detectors": "5.7.14",
|
|
181
|
+
"@vercel/routing-utils": "5.3.2"
|
|
182
182
|
},
|
|
183
183
|
"scripts": {
|
|
184
184
|
"test": "jest --reporters=default --reporters=jest-junit --env node --verbose --bail",
|