Code Monkey home page Code Monkey logo

Comments (5)

erikkemperman avatar erikkemperman commented on July 16, 2024 2

It wouldn't matter much if the call to glob-stream is in vinyl-prepare or vinyl-fs, it seems to me -- the point is that peers of vinyl-fs could use glob-stream (if they wanted to) and easily support asterisk patterns and so on in a way that is automatically analogous to vinyl-fs.

from glob-stream.

erikkemperman avatar erikkemperman commented on July 16, 2024

Turns out I've basically been evaluating glob 7.0.6, having npm linked it in my glob-stream, and transitively in my vinyl-fs and vinyl-prepare projects.

For what it's worth, all tests pass in glob-stream (master) and vinyl-fs (master) and with the vinyl-fs / vinyl-prepare split as well.

Haven't seen explicit release notes, but from the README I guess the most significant change is negated patterns with !, support for which was deprecated in glob 5 and removed in 6, favouring the ignore option to do the same.

If that is the extent of potential annoyance of upgrading glob, is it already too much?

from glob-stream.

phated avatar phated commented on July 16, 2024

I'm working on a branch that switches to the ignore option and upgrades to 7.x - This will land in the next major. Thanks for following up though.

from glob-stream.

erikkemperman avatar erikkemperman commented on July 16, 2024

Excellent!

I've hatched an evil scheme that might allow glob-stream to be leveraged even when implementing e.g. a virtual or remote filesystem adapter.

I think that'd be nice because otherwise custom adapters would have to do their own globbing, or just not support glob patterns, period.

A PR is pending on node-glob, here. I think it's pretty solid... But I haven't heard back and it might not amount to anything.

If it were accepted, though, it'd help if the glob-stream dependency were easily made up to date!

from glob-stream.

phated avatar phated commented on July 16, 2024

Interesting. I still don't think vinyl-prepare should deal with globbing, reading, etc but let's see where the node-glob PR goes.

from glob-stream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.