Socket
Socket
Sign inDemoInstall

ast-types

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ast-types - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

11

def/fb-harmony.js

@@ -112,3 +112,3 @@ require("./core");

.bases("Pattern")
.build("annotatedType", "templateTypes", "paramTypes", "returnType",
.build("annotatedType", "templateTypes", "paramTypes", "returnType",
"unionType", "nullable")

@@ -121,1 +121,10 @@ .field("annotatedType", def("Identifier"))

.field("nullable", isBoolean);
def("Identifier")
.field("annotation", or(def("TypeAnnotation"), null), defaults['null']);
def("Function")
.field("returnType", or(def("TypeAnnotation"), null), defaults['null']);
def("ClassProperty")
.field("id", or(def("Identifier"), def("TypeAnnotatedIdentifier")));

2

package.json

@@ -21,3 +21,3 @@ {

],
"version": "0.5.3",
"version": "0.5.4",
"homepage": "http://github.com/benjamn/ast-types",

@@ -24,0 +24,0 @@ "repository": {

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