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

@babel/runtime

Package Overview
Dependencies
Maintainers
5
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/runtime - npm Package Compare versions

Comparing version 7.4.5 to 7.5.0

helpers/esm/objectSpread2.js

6

helpers/classPrivateFieldGet.js
function _classPrivateFieldGet(receiver, privateMap) {
if (!privateMap.has(receiver)) {
var descriptor = privateMap.get(receiver);
if (!descriptor) {
throw new TypeError("attempted to get private field on non-instance");
}
var descriptor = privateMap.get(receiver);
if (descriptor.get) {

@@ -9,0 +9,0 @@ return descriptor.get.call(receiver);

function _classPrivateFieldSet(receiver, privateMap, value) {
if (!privateMap.has(receiver)) {
var descriptor = privateMap.get(receiver);
if (!descriptor) {
throw new TypeError("attempted to set private field on non-instance");
}
var descriptor = privateMap.get(receiver);
if (descriptor.set) {

@@ -9,0 +9,0 @@ descriptor.set.call(receiver, value);

export default function _classPrivateFieldGet(receiver, privateMap) {
if (!privateMap.has(receiver)) {
var descriptor = privateMap.get(receiver);
if (!descriptor) {
throw new TypeError("attempted to get private field on non-instance");
}
var descriptor = privateMap.get(receiver);
if (descriptor.get) {

@@ -9,0 +9,0 @@ return descriptor.get.call(receiver);

export default function _classPrivateFieldSet(receiver, privateMap, value) {
if (!privateMap.has(receiver)) {
var descriptor = privateMap.get(receiver);
if (!descriptor) {
throw new TypeError("attempted to set private field on non-instance");
}
var descriptor = privateMap.get(receiver);
if (descriptor.set) {

@@ -9,0 +9,0 @@ descriptor.set.call(receiver, value);

{
"name": "@babel/runtime",
"version": "7.4.5",
"version": "7.5.0",
"description": "babel's modular runtime helpers",

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

"devDependencies": {
"@babel/helpers": "^7.4.4"
"@babel/helpers": "^7.5.0"
},
"gitHead": "33ab4f166117e2380de3955a0842985f578b01b8"
"gitHead": "49da9a07c81156e997e60146eb001ea77b7044c4"
}
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