array-includes
Advanced tools
Comparing version 3.1.5 to 3.1.6
@@ -0,1 +1,21 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
## [v3.1.6](https://github.com/es-shims/array-includes/compare/v3.1.5...v3.1.6) - 2022-11-07 | ||
### Commits | ||
- [meta] add `auto-changelog` [`c5fbe72`](https://github.com/es-shims/array-includes/commit/c5fbe728395deff641d756cc9d398a949076c180) | ||
- [meta] use `npmignore` to autogenerate an npmignore file [`dbd6dc8`](https://github.com/es-shims/array-includes/commit/dbd6dc8f8906cca6b0b493e308686c4fd05bea15) | ||
- [Deps] update `es-abstract`, `get-intrinsic` [`b819e3b`](https://github.com/es-shims/array-includes/commit/b819e3b3dd1adce0b3359529b0276a416efce351) | ||
- [actions] update rebase action to use reusable workflow [`6e241d5`](https://github.com/es-shims/array-includes/commit/6e241d5177513cfb0261d0fbe0c8c98daf5c5eab) | ||
- [Dev Deps] update `aud`, `tape` [`9b2a931`](https://github.com/es-shims/array-includes/commit/9b2a931aee6fc8195a349c6fe7894445a911223f) | ||
- [readme] note that FF 102+ no longer needs this package [`0a0c758`](https://github.com/es-shims/array-includes/commit/0a0c758ed52808428314ffe53ea8278297170c84) | ||
<!-- auto-changelog-above --> | ||
3.1.5 / 2022-05-03 | ||
@@ -2,0 +22,0 @@ ================= |
'use strict'; | ||
var ToIntegerOrInfinity = require('es-abstract/2021/ToIntegerOrInfinity'); | ||
var ToLength = require('es-abstract/2021/ToLength'); | ||
var ToObject = require('es-abstract/2021/ToObject'); | ||
var SameValueZero = require('es-abstract/2021/SameValueZero'); | ||
var ToIntegerOrInfinity = require('es-abstract/2022/ToIntegerOrInfinity'); | ||
var ToLength = require('es-abstract/2022/ToLength'); | ||
var ToObject = require('es-abstract/2022/ToObject'); | ||
var SameValueZero = require('es-abstract/2022/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/2021/RequireObjectCoercible'); | ||
var RequireObjectCoercible = require('es-abstract/2022/RequireObjectCoercible'); | ||
var callBind = require('call-bind'); | ||
@@ -6,0 +6,0 @@ var callBound = require('call-bind/callBound'); |
{ | ||
"name": "array-includes", | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"author": { | ||
@@ -23,2 +23,3 @@ "name": "Jordan Harband", | ||
"scripts": { | ||
"prepack": "npmignore --auto --commentLines=autogenerated", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
@@ -32,3 +33,5 @@ "prepublishOnly": "safe-publish-latest", | ||
"lint": "eslint --ext=js,mjs .", | ||
"postlint": "es-shim-api --bound" | ||
"postlint": "es-shim-api --bound", | ||
"version": "auto-changelog && git add CHANGELOG.md", | ||
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" | ||
}, | ||
@@ -53,4 +56,4 @@ "repository": { | ||
"define-properties": "^1.1.4", | ||
"es-abstract": "^1.19.5", | ||
"get-intrinsic": "^1.1.1", | ||
"es-abstract": "^1.20.4", | ||
"get-intrinsic": "^1.1.3", | ||
"is-string": "^1.0.7" | ||
@@ -61,13 +64,15 @@ }, | ||
"@ljharb/eslint-config": "^21.0.0", | ||
"aud": "^2.0.0", | ||
"aud": "^2.0.1", | ||
"auto-changelog": "^2.4.0", | ||
"eslint": "=8.8.0", | ||
"evalmd": "^0.0.19", | ||
"foreach": "^2.0.5", | ||
"function-bind": "^1.1.1", | ||
"functions-have-names": "^1.2.3", | ||
"has-strict-mode": "^1.0.1", | ||
"in-publish": "^2.0.1", | ||
"indexof": "^0.0.1", | ||
"npmignore": "^0.3.0", | ||
"nyc": "^10.3.2", | ||
"safe-publish-latest": "^2.0.0", | ||
"tape": "^5.5.3" | ||
"tape": "^5.6.1" | ||
}, | ||
@@ -98,3 +103,17 @@ "testling": { | ||
"node": ">= 0.4" | ||
}, | ||
"auto-changelog": { | ||
"output": "CHANGELOG.md", | ||
"template": "keepachangelog", | ||
"unreleased": false, | ||
"commitLimit": false, | ||
"backfillLimit": false, | ||
"hideCredit": true, | ||
"startingVersion": "3.1.6" | ||
}, | ||
"publishConfig": { | ||
"ignore": [ | ||
".github/workflows" | ||
] | ||
} | ||
} |
@@ -21,3 +21,3 @@ # array-includes <sup>[![Version Badge][npm-version-svg]][package-url]</sup> | ||
- Safari < 9 | ||
- Firefox < 43, and 99+ | ||
- Firefox < 43, and 99-101 | ||
- Chrome < 47 | ||
@@ -24,0 +24,0 @@ - Edge < 14 |
'use strict'; | ||
var orig = Array.prototype.includes; | ||
require('../auto'); | ||
@@ -14,2 +16,3 @@ | ||
test('shimmed', function (t) { | ||
t.comment('shimmed: ' + (orig === Array.prototype.includes ? 'no' : 'yes')); | ||
t.equal(Array.prototype.includes.length, 1, 'Array#includes has a length of 1'); | ||
@@ -16,0 +19,0 @@ t.test('Function name', { skip: !functionsHaveNames }, function (st) { |
24990
212
15
Updatedes-abstract@^1.20.4
Updatedget-intrinsic@^1.1.3