@vercel/static-build 23.0.0 → 24.0.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 +4 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -32492,11 +32492,13 @@ var require_detect_builders = __commonJS({
32492
32492
  var import_build_utils22 = require("@vercel/build-utils");
32493
32493
  var import_fs5 = __toESM2(require("fs"));
32494
32494
  var import_build_utils5 = require("@vercel/build-utils");
32495
- var import_python_analysis = require_dist5();
32496
32495
  async function isPythonEntrypoint(fsPath) {
32496
+ const {
32497
+ findAppOrHandler
32498
+ } = require_dist5();
32497
32499
  try {
32498
32500
  const content = await import_fs5.default.promises.readFile(fsPath, "utf-8");
32499
- return await (0, import_python_analysis.findAppOrHandler)(content) !== null;
32501
+ return await findAppOrHandler(content) !== null;
32500
32502
  } catch (err) {
32501
32503
  (0, import_build_utils5.debug)(`Failed to check Python entrypoint: ${err}`);
32502
32504
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "23.0.0",
3
+ "version": "24.0.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -16,10 +16,10 @@
16
16
  "ts-morph": "12.0.0",
17
17
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
18
18
  "@vercel/static-config": "3.4.4",
19
- "@vercel/gatsby-plugin-vercel-builder": "2.2.77"
19
+ "@vercel/gatsby-plugin-vercel-builder": "2.2.79"
20
20
  },
21
21
  "peerDependencies": {
22
- "@vercel/build-utils": "14.23.0"
22
+ "@vercel/build-utils": "15.0.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/aws-lambda": "8.10.64",
@@ -41,10 +41,10 @@
41
41
  "tree-kill": "1.2.2",
42
42
  "vitest": "4.1.10",
43
43
  "@vercel/error-utils": "2.2.1",
44
- "@vercel/build-utils": "14.23.0",
44
+ "@vercel/build-utils": "15.0.1",
45
+ "@vercel/fs-detectors": "7.10.2",
45
46
  "@vercel/frameworks": "3.35.0",
46
- "@vercel/routing-utils": "6.6.0",
47
- "@vercel/fs-detectors": "7.10.0"
47
+ "@vercel/routing-utils": "6.6.0"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "node ../../utils/build-builder.mjs",