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

flow-remove-types

Package Overview
Dependencies
Maintainers
2
Versions
258
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flow-remove-types - npm Package Compare versions

Comparing version 2.246.0 to 2.247.0

6

index.js

@@ -171,3 +171,7 @@ /**

removeNode(context, ast.tokens[typeIdx - 1]); // `as` token
removeNode(context, node.typeAnnotation);
if (node.typeAnnotation.type === 'GenericTypeAnnotation') {
removeNode(context, ast.tokens[typeIdx]);
} else {
removeNode(context, node.typeAnnotation);
}
},

@@ -174,0 +178,0 @@

2

package.json
{
"name": "flow-remove-types",
"version": "2.246.0",
"version": "2.247.0",
"description": "Removes Flow type annotations from JavaScript files with speed and simplicity.",

@@ -5,0 +5,0 @@ "author": {

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