Comparing version 3.21.0 to 3.21.1
@@ -7,5 +7,5 @@ 'use strict'; | ||
return !!method && fails(function () { | ||
// eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing | ||
method.call(null, argument || function () { throw 1; }, 1); | ||
// eslint-disable-next-line no-useless-call -- required for testing | ||
method.call(null, argument || function () { return 1; }, 1); | ||
}); | ||
}; |
@@ -7,7 +7,7 @@ var IS_PURE = require('../internals/is-pure'); | ||
})('versions', []).push({ | ||
version: '3.21.0', | ||
version: '3.21.1', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE', | ||
source: 'https://github.com/zloirock/core-js' | ||
}); |
@@ -9,2 +9,3 @@ 'use strict'; | ||
var lengthOfArrayLike = require('../internals/length-of-array-like'); | ||
var arrayMethodIsStrict = require('../internals/array-method-is-strict'); | ||
var addToUnscopables = require('../internals/add-to-unscopables'); | ||
@@ -21,3 +22,4 @@ | ||
// https://github.com/tc39/proposal-array-grouping | ||
$({ target: 'Array', proto: true }, { | ||
// https://bugs.webkit.org/show_bug.cgi?id=236541 | ||
$({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupByToMap') }, { | ||
groupByToMap: function groupByToMap(callbackfn /* , thisArg */) { | ||
@@ -24,0 +26,0 @@ var O = toObject(this); |
'use strict'; | ||
var $ = require('../internals/export'); | ||
var $groupBy = require('../internals/array-group-by'); | ||
var arrayMethodIsStrict = require('../internals/array-method-is-strict'); | ||
var addToUnscopables = require('../internals/add-to-unscopables'); | ||
@@ -8,3 +9,4 @@ | ||
// https://github.com/tc39/proposal-array-grouping | ||
$({ target: 'Array', proto: true }, { | ||
// https://bugs.webkit.org/show_bug.cgi?id=236541 | ||
$({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupBy') }, { | ||
groupBy: function groupBy(callbackfn /* , thisArg */) { | ||
@@ -11,0 +13,0 @@ var thisArg = arguments.length > 1 ? arguments[1] : undefined; |
{ | ||
"name": "core-js", | ||
"description": "Standard library", | ||
"version": "3.21.0", | ||
"version": "3.21.1", | ||
"repository": { | ||
@@ -57,3 +57,3 @@ "type": "git", | ||
}, | ||
"gitHead": "32492dc5f55ea9bbd21b8fa8145cedd36d68c160" | ||
"gitHead": "eb9229ae88428edea6b2be250c98a518fd2c22e3" | ||
} |
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
934162
21932