Socket
Socket
Sign inDemoInstall

babel-types

Package Overview
Dependencies
5
Maintainers
6
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.3.24 to 6.4.0

2

lib/definitions/core.js

@@ -43,3 +43,3 @@ /* @flow */

visitor: ["left", "right"],
aliases: ["Expression"]
aliases: ["Binary", "Expression"]
});

@@ -46,0 +46,0 @@

@@ -63,3 +63,3 @@ /* @flow */

builder: ["id", "superClass", "body", "decorators"],
visitor: ["id", "body", "superClass", "typeParameters", "superTypeParameters", "implements", "decorators"],
visitor: ["id", "body", "superClass", "mixins", "typeParameters", "superTypeParameters", "implements", "decorators"],
aliases: ["Scopable", "Class", "Statement", "Declaration", "Pureish"],

@@ -66,0 +66,0 @@ fields: {

@@ -75,2 +75,10 @@ /* @flow */

_index2["default"]("DeclareInterface", {
visitor: ["id", "typeParameters", "extends", "body"],
aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
fields: {
// todo
}
});
_index2["default"]("DeclareModule", {

@@ -84,2 +92,10 @@ visitor: ["id", "body"],

_index2["default"]("DeclareTypeAlias", {
visitor: ["id", "typeParameters", "right"],
aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
fields: {
// todo
}
});
_index2["default"]("DeclareVariable", {

@@ -185,2 +201,7 @@ visitor: ["id"],

_index2["default"]("ThisTypeAnnotation", {
aliases: ["Flow", "FlowBaseAnnotation"],
fields: {}
});
_index2["default"]("TupleTypeAnnotation", {

@@ -187,0 +208,0 @@ visitor: ["types"],

@@ -48,3 +48,3 @@ /* @flow */

children: {
validate: _index.chain(_index.assertValueType("array"), _index.assertEach(_index.assertNodeType("StringLiteral", "JSXExpressionContainer", "JSXElement")))
validate: _index.chain(_index.assertValueType("array"), _index.assertEach(_index.assertNodeType("JSXText", "JSXExpressionContainer", "JSXElement")))
}

@@ -51,0 +51,0 @@ }

{
"name": "babel-types",
"version": "6.3.24",
"version": "6.4.0",
"description": "",

@@ -5,0 +5,0 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc