@vercel/python 6.47.2 → 6.47.3

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
@@ -4380,7 +4380,7 @@ var import_fs15 = __toESM(require("fs"));
4380
4380
  var import_path15 = require("path");
4381
4381
 
4382
4382
  // src/package-versions.ts
4383
- var VERCEL_RUNTIME_VERSION = "0.15.0";
4383
+ var VERCEL_RUNTIME_VERSION = "0.16.0";
4384
4384
  var VERCEL_WORKERS_VERSION = "0.0.25";
4385
4385
 
4386
4386
  // src/index.ts
@@ -9577,7 +9577,7 @@ var build = async ({
9577
9577
  if (!(0, import_build_utils19.isPythonFramework)(framework) && !service?.name) {
9578
9578
  return { resultVersion: 3, result: { output } };
9579
9579
  }
9580
- const lambdaPath = service?.name ? `_svc/${service.name}/index` : "index";
9580
+ const lambdaPath = service?.name && service.type ? `_svc/${service.name}/index` : "index";
9581
9581
  const staticFiles = djangoStatic?.cdnOutputDir ? await (0, import_build_utils19.glob)("**", { cwd: djangoStatic.cdnOutputDir }) : {};
9582
9582
  const isNonWebService = service?.name && service.type && service.type !== "web";
9583
9583
  const routes = isNonWebService ? void 0 : [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/python",
3
- "version": "6.47.2",
3
+ "version": "6.47.3",
4
4
  "main": "./dist/index.js",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
@@ -36,9 +36,9 @@
36
36
  "smol-toml": "1.5.2",
37
37
  "vitest": "2.1.4",
38
38
  "which": "3.0.0",
39
- "@vercel/error-utils": "2.2.0",
40
39
  "@vercel/build-utils": "13.32.1",
41
- "@vercel/python-runtime": "0.15.0"
40
+ "@vercel/error-utils": "2.2.0",
41
+ "@vercel/python-runtime": "0.16.0"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "node ../../utils/build-builder.mjs",