-
Notifications
You must be signed in to change notification settings - Fork 227
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
Remove isarray dep. #234
Remove isarray dep. #234
Conversation
yeah it's probably time, do you mind reverting the changes to |
Happy to make any tweaks. |
eh good point, so @nodejs/streams do we call this a major version as it's strictly speaking not backwards compat? or do we call it an internal api change that doesn't need a major version bump |
IMHO we should have a conversation about versioning in readable-stream. This is semver-major for me. |
ah yes, now I remember why I didn't want to remove it before On Fri, Sep 23, 2016 at 2:06 PM Matteo Collina notifications@github.com
|
Instead of breaking backwards compatibility, why not just inline the module source, rather than use an external dependency? This should quiet the calls for removing what some believe to be an "unnecessary" dependency, while at the same time not require a major version change. I, for one, see removing support for old browsers, in this particular case, as being unnecessary. |
we actually probably don't work in IE8 at the moment anyway so this might not technically be a semver major, because we already did the semver major thing and nobody noticed |
That's why we should have a conversation about versioning. At least it is clear to us and to the community. |
@calvinmetcalf A distinction exists between intent and actuality. If using But, as I stated before, I think the intent to drop backward compatibility is unwarranted. |
Even if I agree with you, I still think we should talk about the versioning stragegy of this one, currently there is none. |
@mcollina |
we could inline it as a short term solution to avoid the dep which people seem to really not like, while we discus versioning |
I know it's been brought up a few times (#212) but I think it's time again.
The isarray package is being deprecated since IE < 11 is no longer supported by MS & IE 8 was the last browser that needed it.
The
Array.isArray
method is supported by all Node versions, Rhino, iOS, Android, and headless browser enviros (like PhantomJS v1, SlimerJS).