Comments (6)
nvm, it may well have been a change in mock-fs but I went ahead and bumped the use
package in snapdragon and published 0.8.2 with that change. You will need to reinstall everything and to make sure NPM uses that version you'll also need to delete package-lock.json files.
from fast-glob.
Hello, @shannonmoeller,
Thanks for reporting!
For me this is looks like a bug inside mock-fs
or micromatch
.
An error occurs on this line:
fast-glob/src/utils/pattern.ts
Line 115 in d9f1ac6
So, inside micromatch
we have a this line:
Yeap! Bingo! The snapdragon
package which is used in the micromatch
package uses an older version of use
.
from fast-glob.
mock-fs
Given this, maybe I'll try it using a version of mock-fs before v4 and see if that works. If it does, it seems like something that should be resolved in that package. If not I will update the use
package in snapdragon 0.8.x, but I'd rather not do that if it's caused by a bug in mock-fs.
from fast-glob.
@jonschlinkert, thanks for the help! I really appreciate it 🌮
We can update the snapdragon
package to the new version inside nanomatch
? I've already started doing this. Maybe there's some reason not to do it?
from fast-glob.
Wow, you guys were fast. Thanks!
from fast-glob.
Confirming this update fixed the issue. Thanks again!
from fast-glob.
Related Issues (20)
- The `fixtures/{first,}/*` pattern returns incorrect results HOT 2
- Release v3.3.0 [xx.06.2023] HOT 1
- Provide `glob`, `globSync` and `globSteam` aliases HOT 1
- `glob` method errors in the latest release HOT 1
- TypeError: patterns.reduce is not a function HOT 10
- Breaking changes in v3.3.0 HOT 1
- Type definitions erroneously disallow passing an explicitly readonly array of strings HOT 1
- Use `os.availableParallelism` instead of `os.cpus().length` when available HOT 1
- Merging DEFAULT_FILE_SYSTEM_ADAPTER to fs HOT 4
- Regression in v3.3.1 HOT 3
- Case sensitive file paths are returned as potentially the wrong case when using WSL with window's paths HOT 1
- Inconsistent File Format Handling Between Windows and POSIX in fast-glob HOT 7
- Unable to match correctly HOT 1
- fast glob ramdisk issue
- [doc] what is the behaviour of passing an array of patterns?
- Allow abort glob progress
- In Node.js v20.11.0, it's not possible to match directories containing emojis.
- Directory globs with and without trailing slash in ignore patterns have different results
- No results returned if the file is a socket HOT 1
- [QUESTION] - Awilix.fast-glob Fails to Autoload Modules in Tests with TypeScript Setup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-glob.