Socket
Socket
Sign inDemoInstall

ember-template-lint

Package Overview
Dependencies
Maintainers
7
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-lint - npm Package Compare versions

Comparing version 5.11.1 to 5.11.2

12

lib/rules/require-valid-alt-text.js

@@ -123,14 +123,2 @@ import AstNodeInfo from '../helpers/ast-node-info.js';

if (normalizedAltValue === '') {
if (['presentation', 'none'].includes(roleValue)) {
return;
}
this.logNode({
message:
'If the `alt` attribute is present and the value is an empty string, `role="presentation"` or `role="none"` must be present',
node,
});
return;
}
if (normalizedAltValue !== null) {

@@ -137,0 +125,0 @@ if (/^\d+$/g.test(normalizedAltValue)) {

10

package.json
{
"name": "ember-template-lint",
"version": "5.11.1",
"version": "5.11.2",
"description": "Linter for Ember or Handlebars templates.",

@@ -73,3 +73,3 @@ "keywords": [

"dependencies": {
"@lint-todo/utils": "^13.0.3",
"@lint-todo/utils": "^13.1.1",
"aria-query": "^5.3.0",

@@ -94,3 +94,3 @@ "chalk": "^5.3.0",

"devDependencies": {
"@babel/eslint-parser": "^7.22.5",
"@babel/eslint-parser": "^7.22.9",
"@babel/parser": "^7.21.8",

@@ -102,3 +102,3 @@ "@babel/traverse": "^7.22.8",

"common-tags": "^1.8.2",
"eslint": "^8.45.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^8.8.0",

@@ -114,3 +114,3 @@ "eslint-plugin-eslint-comments": "^3.2.0",

"fixturify-project": "^5.2.0",
"jest": "^29.5.0",
"jest": "^29.6.2",
"markdownlint-cli": "^0.34.0",

@@ -117,0 +117,0 @@ "npm-package-json-lint": "^6.4.0",

Sorry, the diff of this file is too big to display

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