globby
Advanced tools
Comparing version 13.1.0 to 13.1.1
import fs from 'node:fs'; | ||
import nodePath from 'node:path'; | ||
import merge2 from 'merge2'; | ||
@@ -87,4 +88,5 @@ import fastGlob from 'fast-glob'; | ||
const path = fastGlobResult.path || fastGlobResult; | ||
const seenOrIgnored = seen.has(path) || (isIgnored && isIgnored(path)); | ||
seen.add(path); | ||
const pathKey = nodePath.normalize(path); | ||
const seenOrIgnored = seen.has(pathKey) || (isIgnored && isIgnored(path)); | ||
seen.add(pathKey); | ||
return !seenOrIgnored; | ||
@@ -91,0 +93,0 @@ }; |
{ | ||
"name": "globby", | ||
"version": "13.1.0", | ||
"version": "13.1.1", | ||
"description": "User-friendly glob matching", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
24789
424