remark-squeeze-paragraphs
Advanced tools
Comparing version 3.0.4 to 4.0.0
@@ -5,4 +5,4 @@ 'use strict' | ||
module.exports = function() { | ||
module.exports = function () { | ||
return squeezeParagraphs | ||
} |
{ | ||
"name": "remark-squeeze-paragraphs", | ||
"version": "3.0.4", | ||
"version": "4.0.0", | ||
"description": "remark plugin to remove empty paragraphs", | ||
@@ -9,2 +9,3 @@ "license": "MIT", | ||
"remark", | ||
"remark-plugin", | ||
"plugin", | ||
@@ -22,2 +23,6 @@ "mdast", | ||
"bugs": "https://github.com/remarkjs/remark-squeeze-paragraphs/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Eugene Sharygin <eush77@gmail.com>", | ||
@@ -32,3 +37,3 @@ "contributors": [ | ||
"dependencies": { | ||
"mdast-squeeze-paragraphs": "^3.0.0" | ||
"mdast-squeeze-paragraphs": "^4.0.0" | ||
}, | ||
@@ -38,10 +43,10 @@ "devDependencies": { | ||
"nyc": "^14.0.0", | ||
"prettier": "^1.0.0", | ||
"remark": "^10.0.0", | ||
"remark-cli": "^6.0.0", | ||
"remark-preset-wooorm": "^5.0.0", | ||
"prettier": "^2.0.0", | ||
"remark": "^11.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"tape": "^4.0.0", | ||
"tinyify": "^2.0.0", | ||
"unist-builder": "^1.0.0", | ||
"xo": "^0.24.0" | ||
"unist-builder": "^2.0.0", | ||
"xo": "^0.28.0" | ||
}, | ||
@@ -48,0 +53,0 @@ "scripts": { |
@@ -11,3 +11,3 @@ # remark-squeeze-paragraphs | ||
[**remark**][remark] plugin to remove empty (or white-space only) paragraphs. | ||
[**remark**][remark] plugin to remove empty (or whitespace only) paragraphs. | ||
@@ -49,2 +49,8 @@ ## Install | ||
## Security | ||
Use of `remark-squeeze-paragraphs` does not involve [**rehype**][rehype] | ||
([**hast**][hast]) or user content so there are no openings for | ||
[cross-site scripting (XSS)][xss] attacks. | ||
## Related | ||
@@ -61,4 +67,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. | ||
@@ -92,5 +98,5 @@ | ||
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg | ||
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg | ||
[chat]: https://spectrum.chat/unified/rehype | ||
[chat]: https://spectrum.chat/unified/remark | ||
@@ -113,2 +119,8 @@ [npm]: https://docs.npmjs.com/cli/install | ||
[mdast-squeeze-paragraphs]: https://github.com/eush77/mdast-squeeze-paragraphs | ||
[mdast-squeeze-paragraphs]: https://github.com/syntax-tree/mdast-squeeze-paragraphs | ||
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting | ||
[rehype]: https://github.com/rehypejs/rehype | ||
[hast]: https://github.com/syntax-tree/hast |
6515
122
+ Addedmdast-squeeze-paragraphs@4.0.0(transitive)
+ Addedunist-util-is@4.1.0(transitive)
+ Addedunist-util-remove@2.1.0(transitive)
- Removedmdast-squeeze-paragraphs@3.0.5(transitive)
- Removedunist-util-is@3.0.0(transitive)
- Removedunist-util-remove@1.0.3(transitive)