@vercel/static-build 2.9.10 → 2.9.11

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 +8 -0
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -24676,6 +24676,14 @@ var require_detect_builders = __commonJS({
24676
24676
  return null;
24677
24677
  }
24678
24678
  }
24679
+ const nodeExtensions = [".js", ".mjs", ".ts", ".tsx"];
24680
+ if (process.env.VERCEL_NODE_FILTER_ENTRYPOINTS === "1" && nodeExtensions.some((ext) => fileName.endsWith(ext)) && options.workPath) {
24681
+ const fsPath = (0, import_path7.join)(options.workPath, fileName);
24682
+ const isEntrypoint = await (0, import_build_utils5.isNodeEntrypoint)({ fsPath });
24683
+ if (!isEntrypoint) {
24684
+ return null;
24685
+ }
24686
+ }
24679
24687
  const match = apiMatches.find(({ src = "**" }) => {
24680
24688
  return src === fileName || (0, import_minimatch.default)(fileName, src);
24681
24689
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "2.9.10",
3
+ "version": "2.9.11",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -14,8 +14,8 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "ts-morph": "12.0.0",
17
+ "@vercel/gatsby-plugin-vercel-builder": "2.1.11",
17
18
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
18
- "@vercel/gatsby-plugin-vercel-builder": "2.1.10",
19
19
  "@vercel/static-config": "3.2.0"
20
20
  },
21
21
  "devDependencies": {
@@ -38,9 +38,9 @@
38
38
  "rc9": "1.2.0",
39
39
  "semver": "7.5.2",
40
40
  "tree-kill": "1.2.2",
41
- "@vercel/build-utils": "13.14.0",
41
+ "@vercel/build-utils": "13.14.1",
42
42
  "@vercel/frameworks": "3.24.0",
43
- "@vercel/fs-detectors": "5.15.0",
43
+ "@vercel/fs-detectors": "5.15.1",
44
44
  "@vercel/routing-utils": "6.1.1",
45
45
  "@vercel/error-utils": "2.0.3"
46
46
  },