Socket
Socket
Sign inDemoInstall

eslint-plugin-jsx-a11y

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jsx-a11y - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

lib/util/values/expressions/ConditionalExpression.js

5

CHANGELOG.md

@@ -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 @@ ==================

10

lib/util/values/expressions/index.js

@@ -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 @@

2

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

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