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

babel-plugin-flow-type-getter

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-flow-type-getter - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

3

example/dist/index.js

@@ -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

3

index.js

@@ -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",

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