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 1.0.0-beta.3 to 1.0.0

2

dist/index.js

@@ -39,3 +39,3 @@ import { lintRule } from "unified-lint-rule";

file.message(suggestion, node);
if (imageIsLink && hasAltText && options["image-is-link"] !== false) {
if (imageIsLink && !hasAltText && options["image-is-link"] !== false) {
file.message(imageLink.check(), node);

@@ -42,0 +42,0 @@ }

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

@@ -24,7 +24,7 @@ "main": "dist/index.js",

"devDependencies": {
"@babel/preset-env": "^7.16.8",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@types/dedent": "^0.7.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.8",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.15.0",

@@ -34,5 +34,6 @@ "@typescript-eslint/parser": "^5.15.0",

"eslint": "^8.11.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.1.1",
"husky": "^7.0.0",
"jest": "^27.4.7",
"jest": "^27.5.1",
"prettier": "^2.5.1",

@@ -39,0 +40,0 @@ "pretty-quick": "^3.1.3",

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