-
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 dependency #212
Comments
Not on all targeted platforms I don't believe |
Is |
Wich platform do we target? |
actually now that I look at it, isArray seems to be available on all the platforms, we can test |
The var toString = {}.toString;
module.exports = Array.isArray || function (arr) {
return toString.call(arr) == '[object Array]';
}; And can more simply be inlined, not required. |
Before I have opened #318 I should had searched first. Shame on me :) So what's the plan here? You discussed in the pull request which was going to remove the isArray dependency, then you decided to make it inline 69d13e3#diff-279988bef5e6fbf7ed82cae28ecc2d59 just to revert this again in the next commit ea4eaba#diff-279988bef5e6fbf7ed82cae28ecc2d59 So...what is the plan? |
Bumping my thread 2 years later after still seeing it being used in my dependency graph from latest karma (2.0.2)... Can we bump the major version soon and remove the dependency and perhaps the inlined version also? Still wonder what platform you are targeting in current version and next major bump |
Yes, we will do that in the coming weeks. We will cut a new major release from Node 10 as soon as possible (but it will take a while). |
think we can replace it with
Array.isArray
The text was updated successfully, but these errors were encountered: