Socket
Socket
Sign inDemoInstall

ast-types

Package Overview
Dependencies
0
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.0 to 0.11.1

12

def/typescript.js

@@ -222,3 +222,3 @@ module.exports = function (fork) {

def("TSIndexSignature")
.bases("Node", "TSHasOptionalTypeAnnotation")
.bases("Declaration", "TSHasOptionalTypeAnnotation")
.build("parameters")

@@ -229,3 +229,3 @@ .field("parameters", [def("Identifier")]) // Length === 1

def("TSPropertySignature")
.bases("Node", "TSHasOptionalTypeAnnotation")
.bases("Declaration", "TSHasOptionalTypeAnnotation")
.build("key")

@@ -241,3 +241,3 @@ .field("key", def("Expression"))

def("TSMethodSignature")
.bases("Node",
.bases("Declaration",
"TSHasOptionalTypeParameters",

@@ -358,3 +358,3 @@ "TSHasOptionalTypeAnnotation")

def("TSImportEqualsDeclaration")
.bases("Statement")
.bases("Declaration")
.build("id", "moduleReference")

@@ -368,3 +368,3 @@ .field("id", def("Identifier"))

def("TSExternalModuleReference")
.bases("Node")
.bases("Declaration")
.build("expression")

@@ -379,3 +379,3 @@ .field("expression", StringLiteral);

def("TSNamespaceExportDeclaration")
.bases("Statement")
.bases("Declaration")
.build("id")

@@ -382,0 +382,0 @@ .field("id", def("Identifier"));

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

],
"version": "0.11.0",
"version": "0.11.1",
"homepage": "http://github.com/benjamn/ast-types",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc