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

markdownlint-rule-search-replace

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdownlint-rule-search-replace - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

8

package.json
{
"name": "markdownlint-rule-search-replace",
"version": "1.0.5",
"version": "1.0.6",
"description": "A custom markdownlint rule for search and replaces",

@@ -34,3 +34,3 @@ "main": "rule.js",

"devDependencies": {
"ava": "^4.3.0",
"ava": "^5.0.1",
"eslint": "^8.19.0",

@@ -41,6 +41,6 @@ "eslint-config-prettier": "^8.5.0",

"eslint-plugin-node": "^11.1.0",
"eslint-plugin-unicorn": "^43.0.1",
"markdownlint": "^0.26.0",
"eslint-plugin-unicorn": "^45.0.0",
"markdownlint": "^0.26.2",
"prettier": "^2.7.1"
}
}

@@ -167,1 +167,4 @@ # markdownlint-rule-search-replace

```
## Projects using this custom rule
- MDN Web Docs - [code](https://github.com/mdn/content/blob/main/.markdownlint-cli2.jsonc#L125)

@@ -50,3 +50,3 @@ // @ts-check

const gatHtmlCommentRanges = (content, lines) => {
const regex = /<!--[.\n]*-->/gm;
const regex = /<!--[.\n\s]*-->/gm;
const ranges = [];

@@ -53,0 +53,0 @@ let match = null;

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