Socket
Socket
Sign inDemoInstall

hermes-eslint

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermes-eslint - npm Package Compare versions

Comparing version 0.4.4 to 0.4.6

47

dist/HermesESLintVisitorKeys.js

@@ -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'] = [];

4

package.json
{
"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"
}
}
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