hermes-estree
Advanced tools
Comparing version 0.10.1 to 0.11.0
@@ -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'; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
0
1
289978
14
1309