Comparing version 3.2.0 to 3.3.0
15
index.js
@@ -191,3 +191,17 @@ /**! | ||
//Array. | ||
var array = (function(){ | ||
var array = { prototype : {} }; | ||
array.from = isFunction(Array.from); | ||
array.of = isFunction(Array.of); | ||
[ | ||
"copyWithin", "find", "findIndex", | ||
"fill", "keys", "values", "entries" | ||
].forEach(function(attr){ | ||
array.prototype[attr] = isFunction(Array.prototype[attr]); | ||
}); | ||
return array; | ||
}()); | ||
// Export them all | ||
@@ -206,1 +220,2 @@ exports.Object = obj; | ||
exports.WeakSet = ws; | ||
exports.Array = array; |
{ | ||
"name": "enable", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "ES6 and ES7 feature detection.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -170,2 +170,14 @@ enable | ||
__Array related:__ | ||
* Array.from | ||
* Array.of | ||
* Array.prototype.copyWithin | ||
* Array.prototype.find | ||
* Array.prototype.findIndex | ||
* Array.prototype.fill | ||
* Array.prototype.keys | ||
* Array.prototype.values | ||
* Array.prototype.entries | ||
__Others:__ | ||
@@ -172,0 +184,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13805
193
202