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

markdownlint

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdownlint - npm Package Compare versions

Comparing version 0.26.0 to 0.26.1

2

helpers/helpers.js

@@ -1129,5 +1129,5 @@ // @ts-check

function expandTildePath(file, os) {
const homedir = os && os.homedir();
const homedir = os && os.homedir && os.homedir();
return homedir ? file.replace(/^~($|\/|\\)/, `${homedir}$1`) : file;
}
module.exports.expandTildePath = expandTildePath;
{
"name": "markdownlint-rule-helpers",
"version": "0.17.0",
"version": "0.17.1",
"description": "A collection of markdownlint helper functions for custom rules",
"main": "helpers.js",
"main": "./helpers.js",
"exports": "./helpers.js",
"author": "David Anson (https://dlaa.me/)",

@@ -7,0 +8,0 @@ "license": "MIT",

@@ -7,2 +7,2 @@ // @ts-check

module.exports.homepage = "https://github.com/DavidAnson/markdownlint";
module.exports.version = "0.26.0";
module.exports.version = "0.26.1";

@@ -19,3 +19,6 @@ // @ts-check

function convertHeadingToHTMLFragment(inline) {
const inlineText = inline.children.map((token) => token.content).join("");
const inlineText = inline.children
.filter((token) => token.type !== "html_inline")
.map((token) => token.content)
.join("");
return "#" + encodeURIComponent(

@@ -81,3 +84,3 @@ inlineText

}
addError(onError, lineNumber, null, context, range);
addError(onError, lineNumber, undefined, context, range);
}

@@ -84,0 +87,0 @@ });

{
"name": "markdownlint",
"version": "0.26.0",
"version": "0.26.1",
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
"type": "commonjs",
"main": "lib/markdownlint.js",
"types": "lib/markdownlint.d.ts",
"main": "./lib/markdownlint.js",
"exports": {
".": "./lib/markdownlint.js",
"./helpers": "./helpers/helpers.js"
},
"types": "./lib/markdownlint.d.ts",
"author": "David Anson (https://dlaa.me/)",

@@ -9,0 +13,0 @@ "license": "MIT",

@@ -1022,2 +1022,3 @@ # markdownlint

improve performance, update dependencies.
* 0.26.1 - Improve MD051.

@@ -1024,0 +1025,0 @@ [npm-image]: https://img.shields.io/npm/v/markdownlint.svg

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