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

array-includes

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

array-includes - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

test/index.js

4

CHANGELOG.md

@@ -0,1 +1,5 @@

1.0.2 / 2015-01-05
=================
* Ensure tests are includes in the module on `npm`
1.0.1 / 2015-01-04

@@ -2,0 +6,0 @@ =================

17

index.js

@@ -64,11 +64,12 @@ 'use strict';

};
boundIncludesShim.method = includesShim;
define(boundIncludesShim, {
method: includesShim,
shim: function shimArrayPrototypeIncludes() {
define(Array.prototype, {
includes: includesShim
});
return Array.prototype.includes || includesShim;
}
});
boundIncludesShim.shim = function shimArrayPrototypeIncludes() {
define(Array.prototype, {
includes: includesShim
});
return Array.prototype.includes || includesShim;
};
module.exports = boundIncludesShim;
{
"name": "array-includes",
"version": "1.0.1",
"version": "1.0.2",
"author": "Jordan Harband",

@@ -5,0 +5,0 @@ "description": "A spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.",

Sorry, the diff of this file is not supported yet

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