Closed grunj closed 5 years ago
Issue details:
gulp-if(~2.0.1)
-> ternary-stream
-> merge-stream
-> index.js:3
(https://github.com/grncdr/merge-stream/blob/master/index.js#L3) is using es2015 syntax.
For builds on versions <6 this throws
SyntaxError: Unexpected token {
Good catch. I need to patch upgrade dependencies back down, and major bump for these dependencies. I mistakenly assumed officially supported node versions were all I needed to worry about. Fail on me.
Published 2.1.1
that reverts the dependency version bumps so it'll work on node < 6. For modern node, published 3.0.0
, and I'll update gulp-if
in a minute.
Thanks for the quick turnaround.
The latest dependency upgrade in the PR https://github.com/robrich/ternary-stream/pull/11 is breaking on Node versions <6 (not supporting ES2015 syntax). I think @robrich has already addressed this here in the PR merge Originally posted by @robrich in https://github.com/robrich/ternary-stream/pull/11#issuecomment-512540816
See if you can revert it and release it as a major version upgrade please.