Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@double-great/remark-lint-alt-text

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@double-great/remark-lint-alt-text - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

4

index.js

@@ -17,3 +17,3 @@ const rule = require("unified-lint-rule");

if (!alt && imageIsLink) {
file.message(altTextRules.createWarning("imageLink"), node);
file.message(altTextRules.createSuggestion("imageLink"), node);
}

@@ -36,3 +36,3 @@ if (!textToNodes[alt]) {

if (imageIsLink && hasAltText) {
file.message(altTextRules.createWarning("imageLink"), node);
file.message(altTextRules.createSuggestion("imageLink"), node);
}

@@ -39,0 +39,0 @@ });

{
"name": "@double-great/remark-lint-alt-text",
"version": "0.2.2",
"version": "0.3.0",
"description": "A remark-lint plugin that finds unhelpful or missing image alt text",

@@ -15,3 +15,3 @@ "main": "index.js",

"dependencies": {
"@double-great/alt-text": "^0.2.0",
"@double-great/alt-text": "^0.3.0",
"unified-lint-rule": "^1.0.4",

@@ -18,0 +18,0 @@ "unist-util-visit-parents": "^3.0.1"

@@ -1,2 +0,2 @@

# remark-lint-alt-text [![Build Status](https://travis-ci.com/double-great/remark-lint-alt-text.svg?branch=master)](https://travis-ci.com/double-great/remark-lint-alt-text)
# remark-lint-alt-text ![Build Status](https://github.com/double-great/remark-lint-alt-text/workflows/Test/badge.svg)

@@ -3,0 +3,0 @@ A [remark-lint](https://github.com/remarkjs/remark-lint) plugin that finds unhelpful or missing image alt text.

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