@vercel/python 6.0.8 → 6.1.1

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -3589,7 +3589,7 @@ var startDevServer = async (opts) => {
3589
3589
  const searched = framework === "fastapi" ? FASTAPI_CANDIDATE_ENTRYPOINTS.join(", ") : FLASK_CANDIDATE_ENTRYPOINTS.join(", ");
3590
3590
  throw new import_build_utils6.NowBuildError({
3591
3591
  code: "PYTHON_ENTRYPOINT_NOT_FOUND",
3592
- message: `No ${framework} entrypoint found. Define a valid application entrypoint in one of the following locations: ${searched} or add an 'app' script in pyproject.toml.`,
3592
+ message: `No ${framework} entrypoint found. Add an 'app' script in pyproject.toml or define an entrypoint in one of: ${searched}.`,
3593
3593
  link: `https://vercel.com/docs/frameworks/backend/${framework?.toLowerCase()}#exporting-the-${framework?.toLowerCase()}-application`,
3594
3594
  action: "Learn More"
3595
3595
  });
@@ -4062,7 +4062,7 @@ var build = async ({
4062
4062
  const searchedList = framework === "fastapi" ? FASTAPI_CANDIDATE_ENTRYPOINTS.join(", ") : FLASK_CANDIDATE_ENTRYPOINTS.join(", ");
4063
4063
  throw new import_build_utils8.NowBuildError({
4064
4064
  code: `${framework.toUpperCase()}_ENTRYPOINT_NOT_FOUND`,
4065
- message: `No ${framework} entrypoint found. Define a valid application entrypoint in one of the following locations: ${searchedList} or add an 'app' script in pyproject.toml.`,
4065
+ message: `No ${framework} entrypoint found. Add an 'app' script in pyproject.toml or define an entrypoint in one of: ${searchedList}.`,
4066
4066
  link: `https://vercel.com/docs/frameworks/backend/${framework}#exporting-the-${framework}-application`,
4067
4067
  action: "Learn More"
4068
4068
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/python",
3
- "version": "6.0.8",
3
+ "version": "6.1.1",
4
4
  "main": "./dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
@@ -21,12 +21,12 @@
21
21
  "@types/jest": "27.4.1",
22
22
  "@types/node": "14.18.33",
23
23
  "@types/which": "3.0.0",
24
- "@vercel/build-utils": "13.1.1",
25
24
  "cross-env": "7.0.3",
26
25
  "execa": "^1.0.0",
27
26
  "fs-extra": "11.1.1",
28
27
  "jest-junit": "16.0.0",
29
- "which": "3.0.0"
28
+ "which": "3.0.0",
29
+ "@vercel/build-utils": "13.2.3"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "node ../../utils/build-builder.mjs",