@vercel/static-build 28.0.2 → 29.0.0

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 +3 -8
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -32314,8 +32314,8 @@ var require_detect_builders = __commonJS({
32314
32314
  var __toCommonJS22 = (mod) => __copyProps22(__defProp22({}, "__esModule", { value: true }), mod);
32315
32315
  var entrypoint_exports = {};
32316
32316
  __export22(entrypoint_exports, {
32317
- getScheduleEntrypointRuntime: () => getScheduleEntrypointRuntime,
32318
32317
  isDockerfileEntrypoint: () => isDockerfileEntrypoint,
32318
+ isNodeScheduleEntrypoint: () => isNodeScheduleEntrypoint,
32319
32319
  parsePyModuleAttrEntrypoint: () => parsePyModuleAttrEntrypoint2,
32320
32320
  parsePythonScheduleModule: () => parsePythonScheduleModule,
32321
32321
  stripTrailingSlash: () => stripTrailingSlash
@@ -32327,7 +32327,6 @@ var require_detect_builders = __commonJS({
32327
32327
  var PYTHON_MODULE_RE = /^[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*$/;
32328
32328
  var SOURCE_FILE_RE = /\.(?:py|[cm]?[jt]s)$/;
32329
32329
  var NODE_SOURCE_FILE_RE = /\.(?:m?js|[cm]?ts)$/;
32330
- var DOCKERFILE_NAME_RE = /^(docker|container)file(\..+)?$/i;
32331
32330
  function parsePyModuleAttrEntrypoint2(entrypoint) {
32332
32331
  const match = PYTHON_MODULE_ATTR_RE.exec(entrypoint);
32333
32332
  if (!match)
@@ -32351,12 +32350,8 @@ var require_detect_builders = __commonJS({
32351
32350
  sourceFiles: [`${path6}/__init__.py`, `${path6}.py`]
32352
32351
  };
32353
32352
  }
32354
- function getScheduleEntrypointRuntime(entrypoint) {
32355
- if (NODE_SOURCE_FILE_RE.test(entrypoint))
32356
- return "node";
32357
- if (DOCKERFILE_NAME_RE.test(entrypoint))
32358
- return void 0;
32359
- return parsePythonScheduleModule(entrypoint) ? "python" : void 0;
32353
+ function isNodeScheduleEntrypoint(entrypoint) {
32354
+ return NODE_SOURCE_FILE_RE.test(entrypoint);
32360
32355
  }
32361
32356
  var CONTAINER_ENTRYPOINT_BASENAMES = new Set(
32362
32357
  import_constants2.CONTAINER_ENTRYPOINT_CANDIDATES.map((name) => name.toLowerCase())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "28.0.2",
3
+ "version": "29.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -15,11 +15,11 @@
15
15
  "dependencies": {
16
16
  "ts-morph": "12.0.0",
17
17
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
18
- "@vercel/gatsby-plugin-vercel-builder": "2.2.88",
18
+ "@vercel/gatsby-plugin-vercel-builder": "2.2.89",
19
19
  "@vercel/static-config": "3.4.4"
20
20
  },
21
21
  "peerDependencies": {
22
- "@vercel/build-utils": "15.4.2"
22
+ "@vercel/build-utils": "15.5.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/aws-lambda": "8.10.64",
@@ -40,10 +40,10 @@
40
40
  "semver": "7.5.2",
41
41
  "tree-kill": "1.2.2",
42
42
  "vitest": "4.1.10",
43
- "@vercel/error-utils": "2.2.1",
43
+ "@vercel/build-utils": "15.5.0",
44
44
  "@vercel/frameworks": "3.35.0",
45
- "@vercel/build-utils": "15.4.2",
46
- "@vercel/fs-detectors": "7.12.3",
45
+ "@vercel/error-utils": "2.2.1",
46
+ "@vercel/fs-detectors": "7.12.4",
47
47
  "@vercel/routing-utils": "6.6.1"
48
48
  },
49
49
  "scripts": {