Comments (11)
Need the version of glob you are using directly. If it is latest, that is quite different
from glob-stream.
I had just done an npm install glob
for testing, which installed [email protected]. Looking at [email protected], I also just installed [email protected] (per https://github.com/gulpjs/glob-stream/blob/v5.0.0/package.json), and get the same results.
from glob-stream.
@bdukes cool. Can you also test glob using the on('match')
syntax to see if it is a bug with that?
from glob-stream.
@bdukes ref https://github.com/isaacs/node-glob#events
from glob-stream.
[email protected] works fine using on('match')
from glob-stream.
@bdukes can you please create a repo for reproduction that includes files and scripts? I have some time to look at this today
from glob-stream.
I've put a repro at https://dl.dropboxusercontent.com/u/5536031/glob-stream-nocase-repro.zip
from glob-stream.
Thanks! It seems this is only happening on window's and is related to us making the glob absolute. I think I will be able to track this into the glob library
from glob-stream.
👍
from glob-stream.
The example below has the same problem as described. Looks to be a node-glob issue.
var testGlob = new glob.Glob('C:\\Users\\phated\\Downloads\\glob-stream-nocase-repro\\testing\\**\\*.glob', { nocase: true });
testGlob.on('match', function (match) {
console.log('glob matched', match);
}).on('end', function () {
console.log('done matching via glob');
})
from glob-stream.
Found the issue already opened for this over on glob: isaacs/node-glob#123
Going to close this as the bug is happening upstream and there isn't much we can do about it. You could probably poke some of the related threads. There seems to be a PR open that tries to solve it but is way out of date.
from glob-stream.
Related Issues (20)
- Update pumpify HOT 3
- [SPAM] Update glob-parent dependency to 5.1.2 or higher HOT 1
- glob-parent version vulnerability
- Bump glob-parent to resolve ReDos Vulnerability HOT 1
- Dependency vulnerability - Glob-parent HOT 1
- Switch to streamx
- Investigate fast-glob HOT 2
- Lists only 16 or less files when a glob string including no globstar. HOT 15
- BUG: UNC paths aren't resolved correctly HOT 1
- Support custom `unique` filtering through option HOT 1
- Should `create` accept a non-array ignore option HOT 2
- Docs: Note we don't pass `root` option to node-glob
- Remove path normalization? HOT 1
- Implement the streaming globber as a real Readable stream instead of a through stream HOT 2
- Base directory not copying correctly HOT 4
- Flakey tests HOT 1
- How can I use it with gulp? HOT 1
- Can't install glob-stream - ECONNRESET error HOT 1
- How to properly read chunks of all files content into a single stream? HOT 3
- npm audit returns errors. HOT 5
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 glob-stream.