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

hermes-estree

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermes-estree - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

70

dist/generated/predicates.js

@@ -75,3 +75,8 @@ /**

exports.isCommaToken = isCommaToken;
exports.isComponentDeclaration = isComponentDeclaration;
exports.isComponentParameter = isComponentParameter;
exports.isComponentTypeAnnotation = isComponentTypeAnnotation;
exports.isComponentTypeParameter = isComponentTypeParameter;
exports.isConditionalExpression = isConditionalExpression;
exports.isConditionalTypeAnnotation = isConditionalTypeAnnotation;
exports.isConstToken = isConstToken;

@@ -83,2 +88,4 @@ exports.isContinueStatement = isContinueStatement;

exports.isDeclareClass = isDeclareClass;
exports.isDeclareComponent = isDeclareComponent;
exports.isDeclareEnum = isDeclareEnum;
exports.isDeclareExportAllDeclaration = isDeclareExportAllDeclaration;

@@ -157,2 +164,3 @@ exports.isDeclareExportDeclaration = isDeclareExportDeclaration;

exports.isIndexedAccessType = isIndexedAccessType;
exports.isInferTypeAnnotation = isInferTypeAnnotation;
exports.isInferredPredicate = isInferredPredicate;

@@ -181,2 +189,3 @@ exports.isInstanceOfToken = isInstanceOfToken;

exports.isJSXText = isJSXText;
exports.isKeyofTypeAnnotation = isKeyofTypeAnnotation;
exports.isLabeledStatement = isLabeledStatement;

@@ -218,2 +227,3 @@ exports.isLessThanOrEqualToToken = isLessThanOrEqualToToken;

exports.isObjectTypeInternalSlot = isObjectTypeInternalSlot;
exports.isObjectTypeMappedTypeProperty = isObjectTypeMappedTypeProperty;
exports.isObjectTypeProperty = isObjectTypeProperty;

@@ -235,2 +245,3 @@ exports.isObjectTypeSpreadProperty = isObjectTypeSpreadProperty;

exports.isQualifiedTypeIdentifier = isQualifiedTypeIdentifier;
exports.isQualifiedTypeofIdentifier = isQualifiedTypeofIdentifier;
exports.isQuestionMarkToken = isQuestionMarkToken;

@@ -267,2 +278,4 @@ exports.isRemainderEqualToken = isRemainderEqualToken;

exports.isTupleTypeAnnotation = isTupleTypeAnnotation;
exports.isTupleTypeLabeledElement = isTupleTypeLabeledElement;
exports.isTupleTypeSpreadElement = isTupleTypeSpreadElement;
exports.isTypeAlias = isTypeAlias;

@@ -276,2 +289,3 @@ exports.isTypeAnnotation = isTypeAnnotation;

exports.isTypeParameterInstantiation = isTypeParameterInstantiation;
exports.isTypePredicate = isTypePredicate;
exports.isTypeofTypeAnnotation = isTypeofTypeAnnotation;

@@ -384,2 +398,18 @@ exports.isUnaryExpression = isUnaryExpression;

function isComponentDeclaration(node) {
return node.type === 'ComponentDeclaration';
}
function isComponentParameter(node) {
return node.type === 'ComponentParameter';
}
function isComponentTypeAnnotation(node) {
return node.type === 'ComponentTypeAnnotation';
}
function isComponentTypeParameter(node) {
return node.type === 'ComponentTypeParameter';
}
function isConditionalExpression(node) {

@@ -389,2 +419,6 @@ return node.type === 'ConditionalExpression';

function isConditionalTypeAnnotation(node) {
return node.type === 'ConditionalTypeAnnotation';
}
function isContinueStatement(node) {

@@ -402,2 +436,6 @@ return node.type === 'ContinueStatement';

function isDeclareComponent(node) {
return node.type === 'DeclareComponent';
}
function isDeclaredPredicate(node) {

@@ -407,2 +445,6 @@ return node.type === 'DeclaredPredicate';

function isDeclareEnum(node) {
return node.type === 'DeclareEnum';
}
function isDeclareExportAllDeclaration(node) {

@@ -588,2 +630,6 @@ return node.type === 'DeclareExportAllDeclaration';

function isInferTypeAnnotation(node) {
return node.type === 'InferTypeAnnotation';
}
function isInterfaceDeclaration(node) {

@@ -665,2 +711,6 @@ return node.type === 'InterfaceDeclaration';

function isKeyofTypeAnnotation(node) {
return node.type === 'KeyofTypeAnnotation';
}
function isLabeledStatement(node) {

@@ -734,2 +784,6 @@ return node.type === 'LabeledStatement';

function isObjectTypeMappedTypeProperty(node) {
return node.type === 'ObjectTypeMappedTypeProperty';
}
function isObjectTypeProperty(node) {

@@ -767,2 +821,6 @@ return node.type === 'ObjectTypeProperty';

function isQualifiedTypeofIdentifier(node) {
return node.type === 'QualifiedTypeofIdentifier';
}
function isRestElement(node) {

@@ -840,2 +898,10 @@ return node.type === 'RestElement';

function isTupleTypeLabeledElement(node) {
return node.type === 'TupleTypeLabeledElement';
}
function isTupleTypeSpreadElement(node) {
return node.type === 'TupleTypeSpreadElement';
}
function isTypeAlias(node) {

@@ -869,2 +935,6 @@ return node.type === 'TypeAlias';

function isTypePredicate(node) {
return node.type === 'TypePredicate';
}
function isUnaryExpression(node) {

@@ -871,0 +941,0 @@ return node.type === 'UnaryExpression';

2

package.json
{
"name": "hermes-estree",
"version": "0.10.1",
"version": "0.11.0",
"description": "Flow types for the Flow-ESTree spec produced by the hermes parser",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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