@vercel/static-build 19.0.0 → 20.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 +2 -6
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -37614,7 +37614,6 @@ var require_entrypoint = __commonJS({
37614
37614
  });
37615
37615
  module2.exports = __toCommonJS2(entrypoint_exports);
37616
37616
  var import_path7 = require("path");
37617
- var import_constants = require_constants2();
37618
37617
  var PYTHON_MODULE_ATTR_RE = /^([A-Za-z_][\w]*(?:\.[A-Za-z_][\w]*)*):([A-Za-z_][\w]*)$/;
37619
37618
  function parsePyModuleAttrEntrypoint(entrypoint) {
37620
37619
  const match = PYTHON_MODULE_ATTR_RE.exec(entrypoint);
@@ -37628,12 +37627,9 @@ var require_entrypoint = __commonJS({
37628
37627
  filePath: modulePart.replace(/\./g, "/") + ".py"
37629
37628
  };
37630
37629
  }
37631
- var CONTAINER_ENTRYPOINT_BASENAMES = new Set(
37632
- import_constants.CONTAINER_ENTRYPOINT_CANDIDATES.map((name) => name.toLowerCase())
37633
- );
37634
37630
  function isDockerfileEntrypoint(entrypoint) {
37635
- return CONTAINER_ENTRYPOINT_BASENAMES.has(
37636
- import_path7.posix.basename(entrypoint).toLowerCase()
37631
+ return /^(docker|container)file(\..+)?$/i.test(
37632
+ import_path7.posix.basename(entrypoint)
37637
37633
  );
37638
37634
  }
37639
37635
  function stripTrailingSlash(p) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "19.0.0",
3
+ "version": "20.0.1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -14,12 +14,12 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "ts-morph": "12.0.0",
17
- "@vercel/gatsby-plugin-vercel-builder": "2.2.69",
18
- "@vercel/static-config": "3.4.4",
19
- "@vercel/gatsby-plugin-vercel-analytics": "1.0.12"
17
+ "@vercel/gatsby-plugin-vercel-analytics": "1.0.12",
18
+ "@vercel/gatsby-plugin-vercel-builder": "2.2.71",
19
+ "@vercel/static-config": "3.4.4"
20
20
  },
21
21
  "peerDependencies": {
22
- "@vercel/build-utils": "14.19.0"
22
+ "@vercel/build-utils": "14.20.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/aws-lambda": "8.10.64",
@@ -40,11 +40,11 @@
40
40
  "semver": "7.5.2",
41
41
  "tree-kill": "1.2.2",
42
42
  "vitest": "4.1.10",
43
- "@vercel/build-utils": "14.19.0",
43
+ "@vercel/build-utils": "14.20.1",
44
+ "@vercel/error-utils": "2.2.1",
44
45
  "@vercel/frameworks": "3.35.0",
45
46
  "@vercel/routing-utils": "6.6.0",
46
- "@vercel/fs-detectors": "7.9.4",
47
- "@vercel/error-utils": "2.2.1"
47
+ "@vercel/fs-detectors": "7.9.6"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "node ../../utils/build-builder.mjs",