core-js-bundle 3.22.2 → 3.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * core-js 3.22.1
2
+ * core-js 3.22.3
3
3
  * © 2014-2022 Denis Pushkarev (zloirock.ru)
4
- * license: https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE
4
+ * license: https://github.com/zloirock/core-js/blob/v3.22.3/LICENSE
5
5
  * source: https://github.com/zloirock/core-js
6
6
  */
7
7
  !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
@@ -1333,10 +1333,10 @@ var store = __webpack_require__(35);
1333
1333
  (module.exports = function (key, value) {
1334
1334
  return store[key] || (store[key] = value !== undefined ? value : {});
1335
1335
  })('versions', []).push({
1336
- version: '3.22.1',
1336
+ version: '3.22.3',
1337
1337
  mode: IS_PURE ? 'pure' : 'global',
1338
1338
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
1339
- license: 'https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE',
1339
+ license: 'https://github.com/zloirock/core-js/blob/v3.22.3/LICENSE',
1340
1340
  source: 'https://github.com/zloirock/core-js'
1341
1341
  });
1342
1342
 
@@ -4250,11 +4250,17 @@ module.exports = function (exec, SKIP_CLOSING) {
4250
4250
 
4251
4251
  var $ = __webpack_require__(3);
4252
4252
  var $includes = __webpack_require__(57).includes;
4253
+ var fails = __webpack_require__(7);
4253
4254
  var addToUnscopables = __webpack_require__(131);
4254
4255
 
4256
+ // FF99+ bug
4257
+ var BROKEN_ON_SPARSE = fails(function () {
4258
+ return !Array(1).includes();
4259
+ });
4260
+
4255
4261
  // `Array.prototype.includes` method
4256
4262
  // https://tc39.es/ecma262/#sec-array.prototype.includes
4257
- $({ target: 'Array', proto: true }, {
4263
+ $({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
4258
4264
  includes: function includes(el /* , fromIndex = 0 */) {
4259
4265
  return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
4260
4266
  }