Socket
Socket
Sign inDemoInstall

array-includes

Package Overview
Dependencies
65
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.4 to 3.1.5

8

CHANGELOG.md

@@ -0,1 +1,9 @@

3.1.5 / 2022-05-03
=================
* [Fix] install polyfill on FF 99+
* [Deps] update `define-properties`, `es-abstract`
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `functions-have-names`, `safe-publish-latest`, `tape`
* [actions] reuse common workflows
* [actions] update codecov uploader
3.1.4 / 2021-10-04

@@ -2,0 +10,0 @@ =================

27

package.json
{
"name": "array-includes",
"version": "3.1.4",
"version": "3.1.5",
"author": {

@@ -25,7 +25,8 @@ "name": "Jordan Harband",

"prepublishOnly": "safe-publish-latest",
"pretest": "npm run --silent lint && evalmd README.md",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npx aud --production",
"posttest": "aud --production",
"tests-only": "nyc tape 'test/**/*.js'",
"lint": "eslint .",
"prelint": "evalmd README.md",
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound"

@@ -50,4 +51,4 @@ },

"call-bind": "^1.0.2",
"define-properties": "^1.1.3",
"es-abstract": "^1.19.1",
"define-properties": "^1.1.4",
"es-abstract": "^1.19.5",
"get-intrinsic": "^1.1.1",

@@ -57,15 +58,15 @@ "is-string": "^1.0.7"

"devDependencies": {
"@es-shims/api": "^2.2.2",
"@ljharb/eslint-config": "^18.0.0",
"aud": "^1.1.5",
"eslint": "^7.32.0",
"@es-shims/api": "^2.2.3",
"@ljharb/eslint-config": "^21.0.0",
"aud": "^2.0.0",
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"foreach": "^2.0.5",
"function-bind": "^1.1.1",
"functions-have-names": "^1.2.2",
"functions-have-names": "^1.2.3",
"has-strict-mode": "^1.0.1",
"indexof": "^0.0.1",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.3.1"
"safe-publish-latest": "^2.0.0",
"tape": "^5.5.3"
},

@@ -72,0 +73,0 @@ "testling": {

@@ -6,3 +6,9 @@ 'use strict';

module.exports = function getPolyfill() {
return Array.prototype.includes || implementation;
if (
Array.prototype.includes
&& Array(1).includes(undefined) // https://bugzilla.mozilla.org/show_bug.cgi?id=1767541
) {
return Array.prototype.includes;
}
return implementation;
};

@@ -18,2 +18,10 @@ # array-includes <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

Engines that need this package include:
- IE (all versions)
- Safari < 9
- Firefox < 43, and 99+
- Chrome < 47
- Edge < 14
- node < 6
## Getting started

@@ -20,0 +28,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc