eslint-plugin-jsx-a11y
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,6 @@ | ||
1.0.4 / 2016-04-28 | ||
================== | ||
- [fix] Add expression value handler for `ConditionalExpression` type. | ||
1.0.3 / 2016-04-25 | ||
@@ -2,0 +7,0 @@ ================== |
@@ -49,2 +49,6 @@ 'use strict'; | ||
var _ConditionalExpression = require('./ConditionalExpression'); | ||
var _ConditionalExpression2 = _interopRequireDefault(_ConditionalExpression); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -63,3 +67,4 @@ | ||
UnaryExpression: _UnaryExpression2.default, | ||
ThisExpression: _ThisExpression2.default | ||
ThisExpression: _ThisExpression2.default, | ||
ConditionalExpression: _ConditionalExpression2.default | ||
}; | ||
@@ -93,3 +98,4 @@ | ||
}, | ||
ThisExpression: noop | ||
ThisExpression: noop, | ||
ConditionalExpression: noop | ||
}); | ||
@@ -96,0 +102,0 @@ |
{ | ||
"name": "eslint-plugin-jsx-a11y", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A static analysis linter of jsx and their accessibility with screen readers.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -14,2 +14,3 @@ 'use strict'; | ||
import ThisExpression from './ThisExpression'; | ||
import ConditionalExpression from './ConditionalExpression'; | ||
@@ -29,3 +30,4 @@ | ||
UnaryExpression, | ||
ThisExpression | ||
ThisExpression, | ||
ConditionalExpression | ||
}; | ||
@@ -57,3 +59,4 @@ | ||
}, | ||
ThisExpression: noop | ||
ThisExpression: noop, | ||
ConditionalExpression: noop | ||
}); | ||
@@ -60,0 +63,0 @@ |
@@ -72,2 +72,4 @@ /** | ||
{ code: '<div aria-label={foo.bar} />', parserOptions }, | ||
{ code: '<input aria-invalid={error ? "true" : "false"} />', parserOptions }, | ||
{ code: '<input aria-invalid={undefined ? "true" : "false"} />', parserOptions }, | ||
@@ -74,0 +76,0 @@ // TRISTATE |
@@ -75,2 +75,4 @@ /** | ||
{ code: '<img alt="this is lit..." role="presentation" />', parserOptions }, | ||
{ code: '<img alt={error ? "not working": "working"} />', parserOptions }, | ||
{ code: '<img alt={undefined ? "working": "not working"} />', parserOptions }, | ||
@@ -77,0 +79,0 @@ // CUSTOM ELEMENT TESTS FOR STRING OPTION |
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
320917
196
9329