Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

core-js

Package Overview
Dependencies
Maintainers
2
Versions
276
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.10.1 to 3.10.2

3

internals/internal-state.js

@@ -10,2 +10,3 @@ var NATIVE_WEAK_MAP = require('../internals/native-weak-map');

var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
var WeakMap = global.WeakMap;

@@ -33,2 +34,3 @@ var set, get, has;

set = function (it, metadata) {
if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;

@@ -48,2 +50,3 @@ wmset.call(store, it, metadata);

set = function (it, metadata) {
if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;

@@ -50,0 +53,0 @@ createNonEnumerableProperty(it, STATE, metadata);

2

internals/regexp-exec.js

@@ -22,3 +22,3 @@ 'use strict';

// nonparticipating capturing group, copied from es5-shim's String#split patch.
// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group -- required for testing
// eslint-disable-next-line regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;

@@ -25,0 +25,0 @@

@@ -7,5 +7,5 @@ var IS_PURE = require('../internals/is-pure');

})('versions', []).push({
version: '3.10.1',
version: '3.10.2',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
});

@@ -803,3 +803,3 @@ 'use strict';

if (scheme == 'blob') try {
return new URL(scheme.path[0]).origin;
return new URLConstructor(scheme.path[0]).origin;
} catch (error) {

@@ -806,0 +806,0 @@ return 'null';

{
"name": "core-js",
"description": "Standard library",
"version": "3.10.1",
"version": "3.10.2",
"repository": {

@@ -58,3 +58,3 @@ "type": "git",

},
"gitHead": "dfa44ca9098d22d057f3a516940a0f5e35617830"
"gitHead": "871050326809b302c67e4fb4e0e4007a2db7b8e8"
}
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