Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: Fallback to graceful-fs@4 if graceful-fs@3 is unsupported #1762

Closed
wants to merge 1 commit into from

Conversation

MylesBorins
Copy link

This uses a vinyl-fs@0.3 version coupled with graceful-fs@4 as a
fallback for the regular combination of vinyl-fs@0.3 and graceful-fs@3,
so that gulp@3 doesn't break on newer Node.js versions where
graceful-fs@3 is unsupported.

Current setups and Node.js versions (6.x and below) are not affected.

Alternative approach to #1760

This uses a vinyl-fs@0.3 version coupled with graceful-fs@4 as a
fallback for the regular combination of vinyl-fs@0.3 and graceful-fs@3,
so that gulp@3 doesn't break on newer Node.js versions where
graceful-fs@3 is unsupported.

Current setups and Node.js versions (6.x and below) are not affected.
@phated
Copy link
Member

phated commented Aug 18, 2016

I think this is the wrong approach. I know you want to attempt to handle this transparently but it would change the semantics of the runtime without any way to know. Let's continue discussion but I'm going to close so it doesn't accidentally get merged.

@phated phated closed this Aug 18, 2016
@MylesBorins
Copy link
Author

@phated would you be open to a cli flag?

gulp --node-compat?

@phated
Copy link
Member

phated commented Aug 18, 2016

Not really. We don't support forcing certain flags (yet) which makes that clumsy to use. So far I like the separate module idea but I need to think on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants