@vercel/fs-detectors 5.4.9 → 5.4.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.
@@ -69,7 +69,10 @@ class DetectorFilesystem {
69
69
  }
70
70
  }
71
71
  if (options?.potentialFiles) {
72
- const filesThatDoNotExist = options.potentialFiles.filter(
72
+ const filesInReaddirDir = options.potentialFiles.filter(
73
+ (path) => (0, import_path.basename)(path) === path
74
+ );
75
+ const filesThatDoNotExist = filesInReaddirDir.filter(
73
76
  (path) => !directoryFiles.has(path)
74
77
  );
75
78
  for (const filePath of filesThatDoNotExist) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/fs-detectors",
3
- "version": "5.4.9",
3
+ "version": "5.4.11",
4
4
  "description": "Vercel filesystem detectors",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
17
  "@vercel/error-utils": "2.0.3",
18
- "@vercel/frameworks": "3.7.3",
18
+ "@vercel/frameworks": "3.7.5",
19
19
  "@vercel/routing-utils": "5.1.1",
20
20
  "glob": "8.0.3",
21
21
  "js-yaml": "4.1.0",
@@ -30,7 +30,7 @@
30
30
  "@types/minimatch": "3.0.5",
31
31
  "@types/node": "14.18.33",
32
32
  "@types/semver": "7.3.10",
33
- "@vercel/build-utils": "10.6.7",
33
+ "@vercel/build-utils": "11.0.0",
34
34
  "jest-junit": "16.0.0",
35
35
  "typescript": "4.9.5"
36
36
  },