Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enable

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enable - npm Package Compare versions

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;

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc