New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.5 to 1.0.6

2

index.js

@@ -130,3 +130,3 @@ const babylon = require('babylon');

if(left.argument.computed) {
if(t.isStringLiteral(eft.argument.property)) {
if(t.isStringLiteral(left.argument.property)) {
expression = `${object_string}.${customFunctionName}()['${left.argument.property.value}'].types.find(__type => __type == '${right_value}') != null`;

@@ -133,0 +133,0 @@ }

{
"name": "babel-plugin-flow-type-getter",
"version": "1.0.5",
"version": "1.0.6",
"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