core-js-bundle 3.21.0 → 3.21.1
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 +12 -8
- package/minified.js +9 -9
- package/minified.js.map +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* core-js 3.21.
|
|
2
|
+
* core-js 3.21.1
|
|
3
3
|
* © 2014-2022 Denis Pushkarev (zloirock.ru)
|
|
4
|
-
* license: https://github.com/zloirock/core-js/blob/v3.21.
|
|
4
|
+
* license: https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE
|
|
5
5
|
* source: https://github.com/zloirock/core-js
|
|
6
6
|
*/
|
|
7
7
|
!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap
|
|
@@ -1402,10 +1402,10 @@ var store = __webpack_require__(34);
|
|
|
1402
1402
|
(module.exports = function (key, value) {
|
|
1403
1403
|
return store[key] || (store[key] = value !== undefined ? value : {});
|
|
1404
1404
|
})('versions', []).push({
|
|
1405
|
-
version: '3.21.
|
|
1405
|
+
version: '3.21.1',
|
|
1406
1406
|
mode: IS_PURE ? 'pure' : 'global',
|
|
1407
1407
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
1408
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.21.
|
|
1408
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
|
|
1409
1409
|
source: 'https://github.com/zloirock/core-js'
|
|
1410
1410
|
});
|
|
1411
1411
|
|
|
@@ -3684,8 +3684,8 @@ var fails = __webpack_require__(6);
|
|
|
3684
3684
|
module.exports = function (METHOD_NAME, argument) {
|
|
3685
3685
|
var method = [][METHOD_NAME];
|
|
3686
3686
|
return !!method && fails(function () {
|
|
3687
|
-
// eslint-disable-next-line no-useless-call
|
|
3688
|
-
method.call(null, argument || function () {
|
|
3687
|
+
// eslint-disable-next-line no-useless-call -- required for testing
|
|
3688
|
+
method.call(null, argument || function () { return 1; }, 1);
|
|
3689
3689
|
});
|
|
3690
3690
|
};
|
|
3691
3691
|
|
|
@@ -14190,11 +14190,13 @@ addToUnscopables('findLastIndex');
|
|
|
14190
14190
|
|
|
14191
14191
|
var $ = __webpack_require__(2);
|
|
14192
14192
|
var $groupBy = __webpack_require__(441);
|
|
14193
|
+
var arrayMethodIsStrict = __webpack_require__(128);
|
|
14193
14194
|
var addToUnscopables = __webpack_require__(122);
|
|
14194
14195
|
|
|
14195
14196
|
// `Array.prototype.groupBy` method
|
|
14196
14197
|
// https://github.com/tc39/proposal-array-grouping
|
|
14197
|
-
|
|
14198
|
+
// https://bugs.webkit.org/show_bug.cgi?id=236541
|
|
14199
|
+
$({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupBy') }, {
|
|
14198
14200
|
groupBy: function groupBy(callbackfn /* , thisArg */) {
|
|
14199
14201
|
var thisArg = arguments.length > 1 ? arguments[1] : undefined;
|
|
14200
14202
|
return $groupBy(this, callbackfn, thisArg);
|
|
@@ -14260,6 +14262,7 @@ var uncurryThis = __webpack_require__(13);
|
|
|
14260
14262
|
var IndexedObject = __webpack_require__(12);
|
|
14261
14263
|
var toObject = __webpack_require__(37);
|
|
14262
14264
|
var lengthOfArrayLike = __webpack_require__(59);
|
|
14265
|
+
var arrayMethodIsStrict = __webpack_require__(128);
|
|
14263
14266
|
var addToUnscopables = __webpack_require__(122);
|
|
14264
14267
|
|
|
14265
14268
|
var Map = getBuiltIn('Map');
|
|
@@ -14271,7 +14274,8 @@ var push = uncurryThis([].push);
|
|
|
14271
14274
|
|
|
14272
14275
|
// `Array.prototype.groupByToMap` method
|
|
14273
14276
|
// https://github.com/tc39/proposal-array-grouping
|
|
14274
|
-
|
|
14277
|
+
// https://bugs.webkit.org/show_bug.cgi?id=236541
|
|
14278
|
+
$({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupByToMap') }, {
|
|
14275
14279
|
groupByToMap: function groupByToMap(callbackfn /* , thisArg */) {
|
|
14276
14280
|
var O = toObject(this);
|
|
14277
14281
|
var self = IndexedObject(O);
|