@babel/runtime
Advanced tools
Comparing version 7.4.5 to 7.5.0
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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87509
146
2361