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

@babel/runtime-corejs2

Package Overview
Dependencies
Maintainers
5
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/runtime-corejs2 - npm Package Compare versions

Comparing version 7.5.4 to 7.5.5

helpers/classPrivateFieldDestructureSet.js

1

helpers/esm/get.js
import _Object$getOwnPropertyDescriptor from "../../core-js/object/get-own-property-descriptor";
import _Reflect$get from "../../core-js/reflect/get";
import getPrototypeOf from "./getPrototypeOf";
import superPropBase from "./superPropBase";

@@ -5,0 +4,0 @@ export default function _get(target, property, receiver) {

@@ -5,3 +5,3 @@ import _Symbol$hasInstance from "../../core-js/symbol/has-instance";

if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) {
return right[_Symbol$hasInstance](left);
return !!right[_Symbol$hasInstance](left);
} else {

@@ -8,0 +8,0 @@ return left instanceof right;

@@ -5,3 +5,3 @@ import _Symbol from "../../core-js/symbol";

if (!REACT_ELEMENT_TYPE) {
REACT_ELEMENT_TYPE = typeof _Symbol === "function" && _Symbol["for"] && _Symbol["for"]("react.element") || 0xeac7;
REACT_ELEMENT_TYPE = typeof _Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7;
}

@@ -8,0 +8,0 @@

@@ -13,8 +13,10 @@ import _Object$defineProperty from "../../core-js/object/define-property";

if (_Object$getOwnPropertySymbols) {
keys.push.apply(keys, _Object$getOwnPropertySymbols(object));
var symbols = _Object$getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return _Object$getOwnPropertyDescriptor(object, sym).enumerable;
});
keys.push.apply(keys, symbols);
}
if (enumerableOnly) keys = keys.filter(function (sym) {
return _Object$getOwnPropertyDescriptor(object, sym).enumerable;
});
return keys;

@@ -21,0 +23,0 @@ }

import _Object$defineProperty from "../../core-js/object/define-property";
import _Object$getOwnPropertyDescriptor from "../../core-js/object/get-own-property-descriptor";
import _Reflect$set from "../../core-js/reflect/set";
import getPrototypeOf from "./getPrototypeOf";
import superPropBase from "./superPropBase";

@@ -6,0 +5,0 @@ import defineProperty from "./defineProperty";

@@ -5,4 +5,2 @@ var _Object$getOwnPropertyDescriptor = require("../core-js/object/get-own-property-descriptor");

var getPrototypeOf = require("./getPrototypeOf");
var superPropBase = require("./superPropBase");

@@ -9,0 +7,0 @@

@@ -7,3 +7,3 @@ var _Symbol$hasInstance = require("../core-js/symbol/has-instance");

if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) {
return right[_Symbol$hasInstance](left);
return !!right[_Symbol$hasInstance](left);
} else {

@@ -10,0 +10,0 @@ return left instanceof right;

@@ -7,3 +7,3 @@ var _Symbol = require("../core-js/symbol");

if (!REACT_ELEMENT_TYPE) {
REACT_ELEMENT_TYPE = typeof _Symbol === "function" && _Symbol["for"] && _Symbol["for"]("react.element") || 0xeac7;
REACT_ELEMENT_TYPE = typeof _Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7;
}

@@ -10,0 +10,0 @@

@@ -19,8 +19,10 @@ var _Object$defineProperty = require("../core-js/object/define-property");

if (_Object$getOwnPropertySymbols) {
keys.push.apply(keys, _Object$getOwnPropertySymbols(object));
var symbols = _Object$getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return _Object$getOwnPropertyDescriptor(object, sym).enumerable;
});
keys.push.apply(keys, symbols);
}
if (enumerableOnly) keys = keys.filter(function (sym) {
return _Object$getOwnPropertyDescriptor(object, sym).enumerable;
});
return keys;

@@ -27,0 +29,0 @@ }

@@ -7,4 +7,2 @@ var _Object$defineProperty = require("../core-js/object/define-property");

var getPrototypeOf = require("./getPrototypeOf");
var superPropBase = require("./superPropBase");

@@ -11,0 +9,0 @@

{
"name": "@babel/runtime-corejs2",
"version": "7.5.4",
"version": "7.5.5",
"description": "babel's modular runtime helpers with core-js@2 polyfilling",

@@ -16,5 +16,5 @@ "license": "MIT",

"devDependencies": {
"@babel/helpers": "^7.5.4"
"@babel/helpers": "^7.5.5"
},
"gitHead": "a9a7f4e690b15d569deb8a53719f37d6dc09393b"
"gitHead": "0407f034f09381b95e9cabefbf6b176c76485a43"
}
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