Socket
Socket
Sign inDemoInstall

core-js

Package Overview
Dependencies
Maintainers
1
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-js - npm Package Compare versions

Comparing version 3.21.0 to 3.21.1

4

internals/array-method-is-strict.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc