New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

remark-lint-no-html

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

remark-lint-no-html - npm Package Compare versions

Comparing version

to
1.0.4

6

index.js

@@ -12,3 +12,3 @@ /**

*
* @example {"name": "valid.md"}
* @example {"name": "ok.md"}
*

@@ -19,7 +19,7 @@ * # Hello

*
* @example {"name": "invalid.md", "label": "input"}
* @example {"name": "not-ok.md", "label": "input"}
*
* <h1>Hello</h1>
*
* @example {"name": "invalid.md", "label": "output"}
* @example {"name": "not-ok.md", "label": "output"}
*

@@ -26,0 +26,0 @@ * 1:1-1:15: Do not use HTML in markdown

{
"name": "remark-lint-no-html",
"version": "1.0.3",
"version": "1.0.4",
"description": "remark-lint rule to warn when HTML nodes are used",

@@ -10,2 +10,3 @@ "license": "MIT",

"rule",
"remark-lint-rule",
"html"

@@ -15,2 +16,6 @@ ],

"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -17,0 +22,0 @@ "contributors": [

@@ -24,3 +24,3 @@ <!--This file is generated-->

##### `valid.md`
##### `ok.md`

@@ -39,3 +39,3 @@ ###### In

##### `invalid.md`
##### `not-ok.md`

@@ -67,12 +67,12 @@ ###### In

```diff
...
"remarkConfig": {
"plugins": [
...
"lint",
+ "lint-no-html",
...
]
}
...
```

@@ -89,4 +89,4 @@

```diff
var remark = require('remark');
var report = require('vfile-reporter');
var remark = require('remark')
var report = require('vfile-reporter')

@@ -97,4 +97,4 @@ remark()

.process('_Emphasis_ and **importance**', function (err, file) {
console.error(report(err || file));
});
console.error(report(err || file))
})
```

@@ -108,4 +108,4 @@

This project has a [Code of Conduct][coc].
By interacting with this repository, organisation, or community you agree to
This project has a [code of conduct][coc].
By interacting with this repository, organization, or community you agree to
abide by its terms.

@@ -139,3 +139,3 @@

[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg
[chat-badge]: https://img.shields.io/badge/chat-spectrum.svg

@@ -142,0 +142,0 @@ [chat]: https://spectrum.chat/unified/remark