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

markdownlint-cli2

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdownlint-cli2 - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

7

markdownlint-cli2.js

@@ -28,3 +28,3 @@ #!/usr/bin/env node

const packageName = "markdownlint-cli2";
const packageVersion = "0.8.0";
const packageVersion = "0.8.1";
const libraryName = "markdownlint";

@@ -881,3 +881,6 @@ const libraryVersion = markdownlintLibrary.getVersion();

);
if ((globPatterns.length === 0) && !nonFileContents) {
if (
((globPatterns.length === 0) && !nonFileContents) ||
(configPath === null)
) {
showHelp(logMessage);

@@ -884,0 +887,0 @@ return 2;

{
"name": "markdownlint-cli2",
"version": "0.8.0",
"version": "0.8.1",
"description": "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library",

@@ -5,0 +5,0 @@ "author": {

@@ -169,3 +169,3 @@ # markdownlint-cli2

```bash
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules"
docker run -v $PWD:/workdir davidanson/markdownlint-cli2:v0.8.1 "**/*.md" "#node_modules"
```

@@ -187,3 +187,3 @@

```bash
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules"
docker run -w /myfolder -v $PWD:/myfolder davidanson/markdownlint-cli2:v0.8.1 "**/*.md" "#node_modules"
```

@@ -197,3 +197,3 @@

> ```bash
> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.8.0 "**/*.md" "#node_modules"
> docker run -v $PWD:/workdir --entrypoint="markdownlint-cli2-fix" davidanson/markdownlint-cli2:v0.8.1 "**/*.md" "#node_modules"
> ```

@@ -407,3 +407,3 @@

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.8.0
rev: v0.8.1
hooks:

@@ -410,0 +410,0 @@ - id: markdownlint-cli2

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