@typescript-eslint/parser
Advanced tools
Comparing version 1.1.1-alpha.5 to 1.1.1-alpha.6
@@ -188,2 +188,10 @@ "use strict"; | ||
* Override. | ||
*/ | ||
JSXOpeningElement(node) { | ||
this.visit(node.name); | ||
this.visitTypeParameters(node); | ||
this.visit(node.attributes); | ||
} | ||
/** | ||
* Override. | ||
* Don't create the reference object in the type mode. | ||
@@ -190,0 +198,0 @@ * @param {Identifier} node The Identifier node to visit. |
@@ -8,2 +8,4 @@ "use strict"; | ||
exports.visitorKeys = eslint_visitor_keys_1.default.unionWith({ | ||
// Additional estree nodes. | ||
Import: [], | ||
// Additional Properties. | ||
@@ -38,2 +40,7 @@ ArrayPattern: ['elements', 'typeAnnotation'], | ||
CallExpression: ['callee', 'typeParameters', 'arguments'], | ||
// JSX | ||
JSXOpeningElement: ['name', 'typeParameters', 'attributes'], | ||
JSXClosingFragment: [], | ||
JSXOpeningFragment: [], | ||
JSXSpreadChild: ['expression'], | ||
// Additional Nodes. | ||
@@ -40,0 +47,0 @@ BigIntLiteral: [], |
{ | ||
"name": "@typescript-eslint/parser", | ||
"version": "1.1.1-alpha.5+e442d28", | ||
"version": "1.1.1-alpha.6+5e16003", | ||
"description": "An ESLint custom parser which leverages TypeScript ESTree", | ||
@@ -39,3 +39,3 @@ "main": "dist/parser.js", | ||
"dependencies": { | ||
"@typescript-eslint/typescript-estree": "1.1.1-alpha.5+e442d28", | ||
"@typescript-eslint/typescript-estree": "1.1.1-alpha.6+5e16003", | ||
"eslint-scope": "^4.0.0", | ||
@@ -48,5 +48,5 @@ "eslint-visitor-keys": "^1.0.0" | ||
"@types/estree": "^0.0.39", | ||
"@typescript-eslint/shared-fixtures": "1.1.1-alpha.5+e442d28" | ||
"@typescript-eslint/shared-fixtures": "1.1.1-alpha.6+5e16003" | ||
}, | ||
"gitHead": "e442d280285e8acab253a5e80a7a6a6c5d1b4692" | ||
"gitHead": "5e1600308d7121fd986181cc8db589c9573d0d31" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
41385
937