Socket
Socket
Sign inDemoInstall

core-js-pure

Package Overview
Dependencies
0
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.22.2 to 3.22.3

4

internals/shared.js

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

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc