babel-plugin-flow-type-getter
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -96,2 +96,3 @@ class Test1 { | ||
const testing_this_string = 'prop1'; | ||
const no_def = undefined; | ||
@@ -162,1 +163,3 @@ console.log('unary test : ', (() => { | ||
})()); // true | ||
console.log(`'undefined' unary test : `, typeof no_def); // undefined | ||
console.log(`'undefined' binary test : `, typeof no_def == 'undefined'); // true |
@@ -44,2 +44,3 @@ class Test1 { | ||
const testing_this_string = 'prop1'; | ||
const no_def = undefined; | ||
@@ -54,1 +55,3 @@ console.log('unary test : ', typeof Test1[testing_this_string]); // number | ||
console.log('type that is not in a class test : ', typeof test_obj_2.prop1 == 'string'); // true | ||
console.log(`'undefined' unary test : `, typeof no_def); // undefined | ||
console.log(`'undefined' binary test : `, typeof no_def == 'undefined'); // true |
@@ -265,3 +265,4 @@ const babylon = require('babylon'); | ||
right && | ||
right.value | ||
right.value && | ||
right.value != 'undefined' | ||
) { | ||
@@ -268,0 +269,0 @@ path.replaceWith( |
{ | ||
"name": "babel-plugin-flow-type-getter", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Access flow types from uninstantiated classes.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
18031
8
468
1