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.7 to 3.1.8

10

CHANGELOG.md

@@ -8,2 +8,12 @@ # Changelog

## [v3.1.8](https://github.com/es-shims/array-includes/compare/v3.1.7...v3.1.8) - 2024-03-20
### Commits
- [Deps] update `call-bind`, `define-properties`, `es-abstract`, `get-intrinsic` [`b105f3a`](https://github.com/es-shims/array-includes/commit/b105f3a0ad1801aabf47bafd788482d8866ef0c9)
- [actions] remove redundant finisher [`fa1111d`](https://github.com/es-shims/array-includes/commit/fa1111d6d41381e4bd484e8f6d5896172874d6e7)
- [Dev Deps] update `aud`, `npmignore`, `tape` [`499e7e9`](https://github.com/es-shims/array-includes/commit/499e7e9e952faab35740dfbe0b355183100e40b7)
- [Refactor] use `es-object-atoms` where possible [`e4bd17f`](https://github.com/es-shims/array-includes/commit/e4bd17f980b557fdf2b39eb552bafedd8a8f6bfb)
- [Tests] use `call-bind` instead of `function-bind` [`3dbe456`](https://github.com/es-shims/array-includes/commit/3dbe456f14c94a5d119b35ac41712c7faea93afd)
## [v3.1.7](https://github.com/es-shims/array-includes/compare/v3.1.6...v3.1.7) - 2023-09-03

@@ -10,0 +20,0 @@

8

implementation.js
'use strict';
var ToIntegerOrInfinity = require('es-abstract/2023/ToIntegerOrInfinity');
var ToLength = require('es-abstract/2023/ToLength');
var ToObject = require('es-abstract/2023/ToObject');
var SameValueZero = require('es-abstract/2023/SameValueZero');
var ToIntegerOrInfinity = require('es-abstract/2024/ToIntegerOrInfinity');
var ToLength = require('es-abstract/2024/ToLength');
var ToObject = require('es-object-atoms/ToObject');
var SameValueZero = require('es-abstract/2024/SameValueZero');
var $isNaN = require('es-abstract/helpers/isNaN');

@@ -8,0 +8,0 @@ var $isFinite = require('es-abstract/helpers/isFinite');

'use strict';
var define = require('define-properties');
var RequireObjectCoercible = require('es-abstract/2023/RequireObjectCoercible');
var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
var callBind = require('call-bind');

@@ -6,0 +6,0 @@ var callBound = require('call-bind/callBound');

{
"name": "array-includes",
"version": "3.1.7",
"version": "3.1.8",
"author": {

@@ -52,6 +52,7 @@ "name": "Jordan Harband",

"dependencies": {
"call-bind": "^1.0.2",
"define-properties": "^1.2.0",
"es-abstract": "^1.22.1",
"get-intrinsic": "^1.2.1",
"call-bind": "^1.0.7",
"define-properties": "^1.2.1",
"es-abstract": "^1.23.2",
"es-object-atoms": "^1.0.0",
"get-intrinsic": "^1.2.4",
"is-string": "^1.0.7"

@@ -62,7 +63,6 @@ },

"@ljharb/eslint-config": "^21.1.0",
"aud": "^2.0.3",
"aud": "^2.0.4",
"auto-changelog": "^2.4.0",
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"function-bind": "^1.1.1",
"functions-have-names": "^1.2.3",

@@ -72,6 +72,6 @@ "has-strict-mode": "^1.0.1",

"indexof": "^0.0.1",
"npmignore": "^0.3.0",
"npmignore": "^0.3.1",
"nyc": "^10.3.2",
"safe-publish-latest": "^2.0.0",
"tape": "^5.6.6"
"tape": "^5.7.5"
},

@@ -78,0 +78,0 @@ "testling": {

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

var defineProperties = require('define-properties');
var bind = require('function-bind');
var callBind = require('call-bind');
var isEnumerable = Object.prototype.propertyIsEnumerable;

@@ -37,5 +37,5 @@ var functionsHaveNames = require('functions-have-names')();

runTests(bind.call(Function.call, Array.prototype.includes), t);
runTests(callBind(Array.prototype.includes), t);
t.end();
});
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