hermes-eslint
Advanced tools
Comparing version 0.4.4 to 0.4.6
@@ -55,3 +55,3 @@ /** | ||
VISITOR_KEYS['AwaitExpression'] = ['argument']; | ||
VISITOR_KEYS['ImportExpression'] = ['source']; | ||
VISITOR_KEYS['ImportExpression'] = ['source', 'attributes']; | ||
VISITOR_KEYS['CallExpression'] = ['callee', 'typeArguments', 'arguments']; | ||
@@ -86,6 +86,7 @@ VISITOR_KEYS['OptionalCallExpression'] = ['callee', 'typeArguments', 'arguments']; | ||
VISITOR_KEYS['MethodDefinition'] = ['key', 'value']; | ||
VISITOR_KEYS['ImportDeclaration'] = ['specifiers', 'source']; | ||
VISITOR_KEYS['ImportDeclaration'] = ['specifiers', 'source', 'attributes']; | ||
VISITOR_KEYS['ImportSpecifier'] = ['imported', 'local']; | ||
VISITOR_KEYS['ImportDefaultSpecifier'] = ['local']; | ||
VISITOR_KEYS['ImportNamespaceSpecifier'] = ['local']; | ||
VISITOR_KEYS['ImportAttribute'] = ['key', 'value']; | ||
VISITOR_KEYS['ExportNamedDeclaration'] = ['declaration', 'specifiers', 'source']; | ||
@@ -139,2 +140,3 @@ VISITOR_KEYS['ExportSpecifier'] = ['exported', 'local']; | ||
VISITOR_KEYS['IndexedAccessType'] = ['objectType', 'indexType']; | ||
VISITOR_KEYS['OptionalIndexedAccessType'] = ['objectType', 'indexType']; | ||
VISITOR_KEYS['InterfaceTypeAnnotation'] = ['extends', 'body']; | ||
@@ -179,2 +181,43 @@ VISITOR_KEYS['TypeAlias'] = ['id', 'typeParameters', 'right']; | ||
VISITOR_KEYS['EnumBooleanMember'] = ['id', 'init']; | ||
VISITOR_KEYS['TSTypeAnnotation'] = ['typeAnnotation']; | ||
VISITOR_KEYS['TSAnyKeyword'] = []; | ||
VISITOR_KEYS['TSNumberKeyword'] = []; | ||
VISITOR_KEYS['TSBooleanKeyword'] = []; | ||
VISITOR_KEYS['TSStringKeyword'] = []; | ||
VISITOR_KEYS['TSSymbolKeyword'] = []; | ||
VISITOR_KEYS['TSVoidKeyword'] = []; | ||
VISITOR_KEYS['TSThisType'] = []; | ||
VISITOR_KEYS['TSLiteralType'] = ['literal']; | ||
VISITOR_KEYS['TSIndexedAccessType'] = ['objectType', 'indexType']; | ||
VISITOR_KEYS['TSArrayType'] = ['elementType']; | ||
VISITOR_KEYS['TSTypeReference'] = ['typeName', 'typeParameters']; | ||
VISITOR_KEYS['TSQualifiedName'] = ['left', 'right']; | ||
VISITOR_KEYS['TSFunctionType'] = ['params', 'returnType', 'typeParameters']; | ||
VISITOR_KEYS['TSConstructorType'] = ['params', 'returnType', 'typeParameters']; | ||
VISITOR_KEYS['TSTypePredicate'] = ['parameterName', 'typeAnnotation']; | ||
VISITOR_KEYS['TSTupleType'] = ['elementTypes']; | ||
VISITOR_KEYS['TSTypeAssertion'] = ['typeAnnotation', 'expression']; | ||
VISITOR_KEYS['TSAsExpression'] = ['expression', 'typeAnnotation']; | ||
VISITOR_KEYS['TSParameterProperty'] = ['parameter']; | ||
VISITOR_KEYS['TSTypeAliasDeclaration'] = ['id', 'typeParameters', 'typeAnnotation']; | ||
VISITOR_KEYS['TSInterfaceDeclaration'] = ['id', 'body', 'extends', 'typeParameters']; | ||
VISITOR_KEYS['TSInterfaceHeritage'] = ['expression', 'typeParameters']; | ||
VISITOR_KEYS['TSInterfaceBody'] = ['body']; | ||
VISITOR_KEYS['TSEnumDeclaration'] = ['id', 'members']; | ||
VISITOR_KEYS['TSEnumMember'] = ['id', 'initializer']; | ||
VISITOR_KEYS['TSModuleDeclaration'] = ['id', 'body']; | ||
VISITOR_KEYS['TSModuleBlock'] = ['body']; | ||
VISITOR_KEYS['TSModuleMember'] = ['id', 'initializer']; | ||
VISITOR_KEYS['TSTypeParameterDeclaration'] = ['params']; | ||
VISITOR_KEYS['TSTypeParameter'] = ['name', 'constraint', 'default']; | ||
VISITOR_KEYS['TSTypeParameterInstantiation'] = ['params']; | ||
VISITOR_KEYS['TSUnionType'] = ['types']; | ||
VISITOR_KEYS['TSIntersectionType'] = ['types']; | ||
VISITOR_KEYS['TSTypeQuery'] = ['exprName']; | ||
VISITOR_KEYS['TSConditionalType'] = ['extendsType', 'checkType', 'trueType', 'falseTYpe']; | ||
VISITOR_KEYS['TSTypeLiteral'] = ['members']; | ||
VISITOR_KEYS['TSPropertySignature'] = ['key', 'typeAnnotation', 'initializer']; | ||
VISITOR_KEYS['TSMethodSignature'] = ['key', 'params', 'returnType']; | ||
VISITOR_KEYS['TSIndexSignature'] = ['parameters', 'typeAnnotation']; | ||
VISITOR_KEYS['TSCallSignatureDeclaration'] = ['params', 'returnType']; | ||
VISITOR_KEYS['CoverEmptyArgs'] = []; | ||
@@ -181,0 +224,0 @@ VISITOR_KEYS['CoverTrailingComma'] = []; |
{ | ||
"name": "hermes-eslint", | ||
"version": "0.4.4", | ||
"version": "0.4.6", | ||
"description": "A custom parser for ESLint using the Hermes parser", | ||
@@ -17,4 +17,4 @@ "main": "dist/index.js", | ||
"estraverse": "^4.1.1", | ||
"hermes-parser": "0.4.4" | ||
"hermes-parser": "0.4.6" | ||
} | ||
} |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
121063
2769
0
+ Addedhermes-parser@0.4.6(transitive)
- Removedhermes-parser@0.4.4(transitive)
Updatedhermes-parser@0.4.6