core-js-pure
Advanced tools
Comparing version 3.22.2 to 3.22.3
@@ -7,7 +7,7 @@ var IS_PURE = require('../internals/is-pure'); | ||
})('versions', []).push({ | ||
version: '3.22.1', | ||
version: '3.22.3', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.22.3/LICENSE', | ||
source: 'https://github.com/zloirock/core-js' | ||
}); |
'use strict'; | ||
var $ = require('../internals/export'); | ||
var $includes = require('../internals/array-includes').includes; | ||
var fails = require('../internals/fails'); | ||
var addToUnscopables = require('../internals/add-to-unscopables'); | ||
// FF99+ bug | ||
var BROKEN_ON_SPARSE = fails(function () { | ||
return !Array(1).includes(); | ||
}); | ||
// `Array.prototype.includes` method | ||
// https://tc39.es/ecma262/#sec-array.prototype.includes | ||
$({ target: 'Array', proto: true }, { | ||
$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, { | ||
includes: function includes(el /* , fromIndex = 0 */) { | ||
@@ -10,0 +16,0 @@ return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); |
{ | ||
"name": "core-js-pure", | ||
"description": "Standard library", | ||
"version": "3.22.2", | ||
"version": "3.22.3", | ||
"repository": { | ||
@@ -57,3 +57,3 @@ "type": "git", | ||
}, | ||
"gitHead": "c949d92f76531a2fc31f0fdf7fda6c86e258d9b1" | ||
"gitHead": "3c83544a650f20115b2a586ac226d00b2505fcae" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
866792
20271