vercel-cli 48.0.2__py3-none-any.whl → 48.0.3__py3-none-any.whl
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.
Potentially problematic release.
This version of vercel-cli might be problematic. Click here for more details.
- vercel_cli/vendor/dist/index.js +197 -10
- vercel_cli/vendor/package.json +1 -1
- {vercel_cli-48.0.2.dist-info → vercel_cli-48.0.3.dist-info}/METADATA +1 -1
- {vercel_cli-48.0.2.dist-info → vercel_cli-48.0.3.dist-info}/RECORD +6 -6
- {vercel_cli-48.0.2.dist-info → vercel_cli-48.0.3.dist-info}/WHEEL +0 -0
- {vercel_cli-48.0.2.dist-info → vercel_cli-48.0.3.dist-info}/entry_points.txt +0 -0
vercel_cli/vendor/dist/index.js
CHANGED
|
@@ -44762,7 +44762,7 @@ var login_exports = {};
|
|
|
44762
44762
|
__export3(login_exports, {
|
|
44763
44763
|
default: () => login2
|
|
44764
44764
|
});
|
|
44765
|
-
async function login2(client2,
|
|
44765
|
+
async function login2(client2, options) {
|
|
44766
44766
|
let parsedArgs = null;
|
|
44767
44767
|
const flagsSpecification = getFlagsSpecification(loginCommand.options);
|
|
44768
44768
|
const telemetry2 = new LoginTelemetryClient({
|
|
@@ -44771,21 +44771,23 @@ async function login2(client2, shouldWarnObsoleteOptions = false) {
|
|
|
44771
44771
|
}
|
|
44772
44772
|
});
|
|
44773
44773
|
try {
|
|
44774
|
-
|
|
44774
|
+
if (options.shouldParseArgs) {
|
|
44775
|
+
parsedArgs = parseArguments(client2.argv.slice(2), flagsSpecification);
|
|
44776
|
+
}
|
|
44775
44777
|
} catch (error3) {
|
|
44776
44778
|
printError(error3);
|
|
44777
44779
|
return 1;
|
|
44778
44780
|
}
|
|
44779
|
-
if (parsedArgs
|
|
44781
|
+
if (parsedArgs?.flags["--help"]) {
|
|
44780
44782
|
telemetry2.trackCliFlagHelp("login");
|
|
44781
44783
|
output_manager_default.print(help(loginCommand, { columns: client2.stderr.columns }));
|
|
44782
44784
|
return 0;
|
|
44783
44785
|
}
|
|
44784
|
-
if (parsedArgs
|
|
44786
|
+
if (parsedArgs?.flags["--token"]) {
|
|
44785
44787
|
output_manager_default.error('`--token` may not be used with the "login" command');
|
|
44786
44788
|
return 2;
|
|
44787
44789
|
}
|
|
44788
|
-
if (
|
|
44790
|
+
if (options.shouldParseArgs && parsedArgs) {
|
|
44789
44791
|
const obsoleteFlags = Object.keys(parsedArgs.flags).filter((flag) => {
|
|
44790
44792
|
const flagKey = flag.replace("--", "");
|
|
44791
44793
|
const option = loginCommand.options.find((o) => o.name === flagKey);
|
|
@@ -44913,7 +44915,7 @@ async function prompt(client2, error3, ssoUserId) {
|
|
|
44913
44915
|
const slug = error3?.scope || error3?.teamId || await readInput(client2, "Enter your Team slug:");
|
|
44914
44916
|
return await doSamlLogin(client2, slug, ssoUserId);
|
|
44915
44917
|
}
|
|
44916
|
-
return await login2(client2);
|
|
44918
|
+
return await login2(client2, { shouldParseArgs: false });
|
|
44917
44919
|
}
|
|
44918
44920
|
async function readInput(client2, message2) {
|
|
44919
44921
|
let input;
|
|
@@ -45092,7 +45094,7 @@ var init_oauth2 = __esm({
|
|
|
45092
45094
|
async function doSamlLogin(client2, teamIdOrSlug, ssoUserId) {
|
|
45093
45095
|
if (!client2.authConfig.refreshToken) {
|
|
45094
45096
|
output_manager_default.log("Token is outdated, please log in again.");
|
|
45095
|
-
const exitCode2 = await login2(
|
|
45097
|
+
const exitCode2 = await login2(client2, { shouldParseArgs: false });
|
|
45096
45098
|
if (exitCode2 !== 0)
|
|
45097
45099
|
return exitCode2;
|
|
45098
45100
|
}
|
|
@@ -116863,6 +116865,191 @@ var require_frameworks = __commonJS2({
|
|
|
116863
116865
|
dependency: "express",
|
|
116864
116866
|
getOutputDirName: async () => "public"
|
|
116865
116867
|
},
|
|
116868
|
+
{
|
|
116869
|
+
name: "h3",
|
|
116870
|
+
slug: "h3",
|
|
116871
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/h3.svg",
|
|
116872
|
+
tagline: "Universal, Tiny, and Fast Servers",
|
|
116873
|
+
description: "H(TTP) server framework built on top of web standards for high performance and composability.",
|
|
116874
|
+
website: "https://h3.dev/",
|
|
116875
|
+
useRuntime: { src: "index.js", use: "@vercel/h3" },
|
|
116876
|
+
defaultRoutes: [
|
|
116877
|
+
{
|
|
116878
|
+
handle: "filesystem"
|
|
116879
|
+
},
|
|
116880
|
+
{
|
|
116881
|
+
src: "/(.*)",
|
|
116882
|
+
dest: "/"
|
|
116883
|
+
}
|
|
116884
|
+
],
|
|
116885
|
+
detectors: {
|
|
116886
|
+
every: [{ matchPackage: "h3" }],
|
|
116887
|
+
some: [
|
|
116888
|
+
{
|
|
116889
|
+
path: "app.cjs",
|
|
116890
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116891
|
+
},
|
|
116892
|
+
{
|
|
116893
|
+
path: "app.js",
|
|
116894
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116895
|
+
},
|
|
116896
|
+
{
|
|
116897
|
+
path: "app.mjs",
|
|
116898
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116899
|
+
},
|
|
116900
|
+
{
|
|
116901
|
+
path: "app.mts",
|
|
116902
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116903
|
+
},
|
|
116904
|
+
{
|
|
116905
|
+
path: "app.ts",
|
|
116906
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116907
|
+
},
|
|
116908
|
+
{
|
|
116909
|
+
path: "app.cts",
|
|
116910
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116911
|
+
},
|
|
116912
|
+
{
|
|
116913
|
+
path: "index.cjs",
|
|
116914
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116915
|
+
},
|
|
116916
|
+
{
|
|
116917
|
+
path: "index.js",
|
|
116918
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116919
|
+
},
|
|
116920
|
+
{
|
|
116921
|
+
path: "index.mjs",
|
|
116922
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116923
|
+
},
|
|
116924
|
+
{
|
|
116925
|
+
path: "index.mts",
|
|
116926
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116927
|
+
},
|
|
116928
|
+
{
|
|
116929
|
+
path: "index.ts",
|
|
116930
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116931
|
+
},
|
|
116932
|
+
{
|
|
116933
|
+
path: "index.cts",
|
|
116934
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116935
|
+
},
|
|
116936
|
+
{
|
|
116937
|
+
path: "server.cjs",
|
|
116938
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116939
|
+
},
|
|
116940
|
+
{
|
|
116941
|
+
path: "server.js",
|
|
116942
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116943
|
+
},
|
|
116944
|
+
{
|
|
116945
|
+
path: "server.mjs",
|
|
116946
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116947
|
+
},
|
|
116948
|
+
{
|
|
116949
|
+
path: "server.mts",
|
|
116950
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116951
|
+
},
|
|
116952
|
+
{
|
|
116953
|
+
path: "server.ts",
|
|
116954
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116955
|
+
},
|
|
116956
|
+
{
|
|
116957
|
+
path: "server.cts",
|
|
116958
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116959
|
+
},
|
|
116960
|
+
{
|
|
116961
|
+
path: "src/index.cjs",
|
|
116962
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116963
|
+
},
|
|
116964
|
+
{
|
|
116965
|
+
path: "src/index.js",
|
|
116966
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116967
|
+
},
|
|
116968
|
+
{
|
|
116969
|
+
path: "src/index.mjs",
|
|
116970
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116971
|
+
},
|
|
116972
|
+
{
|
|
116973
|
+
path: "src/index.mts",
|
|
116974
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116975
|
+
},
|
|
116976
|
+
{
|
|
116977
|
+
path: "src/index.ts",
|
|
116978
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116979
|
+
},
|
|
116980
|
+
{
|
|
116981
|
+
path: "src/index.cts",
|
|
116982
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116983
|
+
},
|
|
116984
|
+
{
|
|
116985
|
+
path: "src/app.cjs",
|
|
116986
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116987
|
+
},
|
|
116988
|
+
{
|
|
116989
|
+
path: "src/app.js",
|
|
116990
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116991
|
+
},
|
|
116992
|
+
{
|
|
116993
|
+
path: "src/app.mjs",
|
|
116994
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116995
|
+
},
|
|
116996
|
+
{
|
|
116997
|
+
path: "src/app.mts",
|
|
116998
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
116999
|
+
},
|
|
117000
|
+
{
|
|
117001
|
+
path: "src/app.ts",
|
|
117002
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117003
|
+
},
|
|
117004
|
+
{
|
|
117005
|
+
path: "src/app.cts",
|
|
117006
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117007
|
+
},
|
|
117008
|
+
{
|
|
117009
|
+
path: "src/server.cjs",
|
|
117010
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117011
|
+
},
|
|
117012
|
+
{
|
|
117013
|
+
path: "src/server.js",
|
|
117014
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117015
|
+
},
|
|
117016
|
+
{
|
|
117017
|
+
path: "src/server.mjs",
|
|
117018
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117019
|
+
},
|
|
117020
|
+
{
|
|
117021
|
+
path: "src/server.mts",
|
|
117022
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117023
|
+
},
|
|
117024
|
+
{
|
|
117025
|
+
path: "src/server.ts",
|
|
117026
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117027
|
+
},
|
|
117028
|
+
{
|
|
117029
|
+
path: "src/server.cts",
|
|
117030
|
+
matchContent: `(?:from|require|import)\\s*(?:\\(\\s*)?["']h3["']\\s*(?:\\))?`
|
|
117031
|
+
}
|
|
117032
|
+
]
|
|
117033
|
+
},
|
|
117034
|
+
settings: {
|
|
117035
|
+
installCommand: {
|
|
117036
|
+
placeholder: "`yarn install`, `pnpm install`, `npm install`, or `bun install`"
|
|
117037
|
+
},
|
|
117038
|
+
buildCommand: {
|
|
117039
|
+
placeholder: "None",
|
|
117040
|
+
value: null
|
|
117041
|
+
},
|
|
117042
|
+
devCommand: {
|
|
117043
|
+
placeholder: "None",
|
|
117044
|
+
value: null
|
|
117045
|
+
},
|
|
117046
|
+
outputDirectory: {
|
|
117047
|
+
value: "N/A"
|
|
117048
|
+
}
|
|
117049
|
+
},
|
|
117050
|
+
dependency: "h3",
|
|
117051
|
+
getOutputDirName: async () => "public"
|
|
117052
|
+
},
|
|
116866
117053
|
{
|
|
116867
117054
|
name: "xmcp",
|
|
116868
117055
|
slug: "xmcp",
|
|
@@ -167895,7 +168082,7 @@ async function getBuildMatches(vercelConfig, cwd, devServer, fileList) {
|
|
|
167895
168082
|
if (src[0] === "/") {
|
|
167896
168083
|
src = src.substring(1);
|
|
167897
168084
|
}
|
|
167898
|
-
if (buildConfig.config?.framework === "hono" || buildConfig.config?.framework === "express") {
|
|
168085
|
+
if (buildConfig.config?.framework === "hono" || buildConfig.config?.framework === "express" || buildConfig.config?.framework === "h3") {
|
|
167899
168086
|
src = "package.json";
|
|
167900
168087
|
}
|
|
167901
168088
|
const mapToEntrypoint = /* @__PURE__ */ new Map();
|
|
@@ -185543,7 +185730,7 @@ var main17 = async () => {
|
|
|
185543
185730
|
if (isTTY2) {
|
|
185544
185731
|
output_manager_default.log(`No existing credentials found. Please log in:`);
|
|
185545
185732
|
try {
|
|
185546
|
-
const result = await login2(client);
|
|
185733
|
+
const result = await login2(client, { shouldParseArgs: false });
|
|
185547
185734
|
if (result !== 0)
|
|
185548
185735
|
return result;
|
|
185549
185736
|
} catch (error3) {
|
|
@@ -185778,7 +185965,7 @@ var main17 = async () => {
|
|
|
185778
185965
|
break;
|
|
185779
185966
|
case "login":
|
|
185780
185967
|
telemetry2.trackCliCommandLogin(userSuppliedSubCommand);
|
|
185781
|
-
func = (c) => (init_login2(), __toCommonJS3(login_exports)).default(c, true);
|
|
185968
|
+
func = (c) => (init_login2(), __toCommonJS3(login_exports)).default(c, { shouldParseArgs: true });
|
|
185782
185969
|
break;
|
|
185783
185970
|
case "logout":
|
|
185784
185971
|
telemetry2.trackCliCommandLogout(userSuppliedSubCommand);
|
vercel_cli/vendor/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vercel-cli
|
|
3
|
-
Version: 48.0.
|
|
3
|
+
Version: 48.0.3
|
|
4
4
|
Summary: Vercel CLI packaged for Python (bundled Node.js, vendored npm)
|
|
5
5
|
Project-URL: Homepage, https://github.com/nuage-studio/vercel-cli-python
|
|
6
6
|
Project-URL: Repository, https://github.com/nuage-studio/vercel-cli-python
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
vercel_cli/vendor/LICENSE,sha256=sHDXe_ssUqHdaZbeDOX2TEmgylXIibFjqWPd9csAHuI,11343
|
|
2
2
|
vercel_cli/vendor/README.md,sha256=2ZrJzd7x21xlpsOZ9QKG6478zbXb8-3YN8cPyzPxZNk,1799
|
|
3
|
-
vercel_cli/vendor/package.json,sha256=
|
|
3
|
+
vercel_cli/vendor/package.json,sha256=yIqMRFue6--d178JhM7cGj-IdkY7AWCuwp5fjL6cCNg,1261
|
|
4
4
|
vercel_cli/vendor/dist/VERCEL_DIR_README.txt,sha256=9dHtD1AyrhKJMfRkWbX6oa9jGfwt-z56X-VKhL-T29Y,520
|
|
5
5
|
vercel_cli/vendor/dist/builder-worker.js,sha256=RgutTXJcurRisV2NtlruuPDtCBOi8eHSGCo3n4GcCIM,1969
|
|
6
6
|
vercel_cli/vendor/dist/get-latest-worker.js,sha256=w7nK8nQtlYad_SKuFQGw_sg7_bb-p0uHOf1MYiwrUNs,7964
|
|
7
|
-
vercel_cli/vendor/dist/index.js,sha256=
|
|
7
|
+
vercel_cli/vendor/dist/index.js,sha256=uYO3jRffo2gQIFoRpmeDwWD-GWSWZfetkFMb1ohtaJo,8866566
|
|
8
8
|
vercel_cli/vendor/dist/vc.js,sha256=AAC4u6uwjpO0KfFVuLRs5YWXjW4aMCkgSj_45hR3W8k,340
|
|
9
9
|
vercel_cli/vendor/node_modules/.package-lock.json,sha256=gfpJC3qtwTs1Lur0Dgt3ptrO4UwbX6YkqzhrKQgjY6o,1002
|
|
10
10
|
vercel_cli/vendor/node_modules/@vercel/build-utils/CHANGELOG.md,sha256=ji-V7NgIUH1Fj-lmUh0LmIxhS6bq_0TW7xFH0e9yiF8,18051
|
|
@@ -97,7 +97,7 @@ vercel_cli/vendor/node_modules/@vercel/python/LICENSE,sha256=sHDXe_ssUqHdaZbeDOX
|
|
|
97
97
|
vercel_cli/vendor/node_modules/@vercel/python/package.json,sha256=7FIHqqKqng5jeEOZWZP516OdmJTyS4OM-r5Mhb8mSCo,1044
|
|
98
98
|
vercel_cli/vendor/node_modules/@vercel/python/vc_init.py,sha256=A7949hQi18B9yqPkTr1bepToi7nKRh_yRP7GwmsI-Ww,28201
|
|
99
99
|
vercel_cli/vendor/node_modules/@vercel/python/dist/index.js,sha256=G5daDqyPBQM_vPQGZC-OrHdYt3aKOuVUwvPKqeETjSU,107035
|
|
100
|
-
vercel_cli-48.0.
|
|
101
|
-
vercel_cli-48.0.
|
|
102
|
-
vercel_cli-48.0.
|
|
103
|
-
vercel_cli-48.0.
|
|
100
|
+
vercel_cli-48.0.3.dist-info/METADATA,sha256=j9pToyHLeQlOXrVhbpEOwNtSWANKDqmENb1d-N-gF_U,7085
|
|
101
|
+
vercel_cli-48.0.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
102
|
+
vercel_cli-48.0.3.dist-info/entry_points.txt,sha256=3iHkg20gi2BZorK1g5UlyZY3tN5E1vJX6PX5-ibn9fI,83
|
|
103
|
+
vercel_cli-48.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|