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

posthtml

Package Overview
Dependencies
Maintainers
4
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.13.1](https://github.com/posthtml/posthtml/compare/v0.13.0...v0.13.1) (2020-06-22)
### Bug Fixes
* **types:** correctly export namespace & function ([b3ab502](https://github.com/posthtml/posthtml/commit/b3ab5026d0dbef20adb1f770cac9507054892eeb))
## [0.13.0](https://github.com/posthtml/posthtml/compare/v0.12.3...v0.13.0) (2020-04-27)

@@ -7,0 +14,0 @@

8

package.json
{
"name": "posthtml",
"version": "0.13.0",
"version": "0.13.1",
"description": "HTML/XML processor",

@@ -34,7 +34,7 @@ "keywords": [

"coveralls": "^3.0.11",
"jsdoc-to-markdown": "^5.0.3",
"mocha": "^7.1.1",
"jsdoc-to-markdown": "^6.0.1",
"mocha": "^8.0.1",
"nyc": "^15.0.1",
"standard": "^14.3.3",
"standard-version": "^7.1.0"
"standard-version": "^8.0.0"
},

@@ -41,0 +41,0 @@ "scripts": {

@@ -357,5 +357,7 @@ [![NPM][npm]][npm-url]

|[posthtml-md][md]|[![npm][md-badge]][md-npm]|Easily use context-sensitive markdown within HTML|
|[posthtml-toc][toc]|[![npm][toc-badge]][toc-npm]|Table of contents|
|[posthtml-lorem][lorem]|[![npm][lorem-badge]][lorem-npm]|Add lorem ipsum placeholder text to any document|
|[posthtml-retext][text]|[![npm][text-badge]][text-npm]|Extensible system for analysing and manipulating natural language|
|[prevent-widows][prevent-widows]|[![npm][prevent-widows-badge]][prevent-widows-npm]|Prevent widows from appearing at the end of paragraphs|
|[posthtml-richtypo][richtypo]|[![npm][richtypo-badge]][richtypo-npm]|Process HTML node text with Richtypo|

@@ -366,2 +368,6 @@ [md]: https://github.com/jonathantneal/posthtml-md

[toc]: https://github.com/posthtml/posthtml-toc
[toc-badge]: https://img.shields.io/npm/v/posthtml-toc.svg
[toc-npm]: https://npmjs.com/package/posthtml-toc
[text]: https://github.com/voischev/posthtml-retext

@@ -379,2 +385,6 @@ [text-badge]: https://img.shields.io/npm/v/posthtml-retext.svg

[richtypo]: https://github.com/Grawl/posthtml-richtypo
[richtypo-badge]: https://img.shields.io/npm/v/posthtml-richtypo.svg
[richtypo-npm]: https://npmjs.com/package/posthtml-richtypo
#### HTML

@@ -409,2 +419,6 @@

|[posthtml-fetch][fetch]|[![npm][fetch-badge]][fetch-npm]|Fetch and render remote content|
|[posthtml-mso][mso]|[![npm][mso-badge]][mso-npm]|Makes it easy to write Outlook conditionals in HTML emails|
|[posthtml-postcss-merge-longhand][longhand]|[![npm][longhand-badge]][longhand-npm]|Merge longhand inline CSS into shorthand|
|[posthtml-markdownit][markdownit]|[![npm][markdownit-badge]][markdownit-npm]|Transform Markdown using markdown-it|
|[posthtml-extra-attributes][extra-attributes]|[![npm][extra-attributes-badge]][extra-attributes-npm]|Add new attributes to elements in your HTML|

@@ -520,2 +534,18 @@

[mso]: https://github.com/posthtml/posthtml-mso
[mso-badge]: https://img.shields.io/npm/v/posthtml-mso.svg
[mso-npm]: https://npmjs.com/package/posthtml-mso
[longhand]: https://github.com/posthtml/posthtml-postcss-merge-longhand
[longhand-badge]: https://img.shields.io/npm/v/posthtml-postcss-merge-longhand.svg
[longhand-npm]: https://npmjs.com/package/posthtml-postcss-merge-longhand
[markdownit]: https://github.com/posthtml/posthtml-markdownit
[markdownit-badge]: https://img.shields.io/npm/v/posthtml-markdownit.svg
[markdownit-npm]: https://npmjs.com/package/posthtml-markdownit
[extra-attributes]: https://github.com/posthtml/posthtml-extra-attributes
[extra-attributes-badge]: https://img.shields.io/npm/v/posthtml-extra-attributes.svg
[extra-attributes-npm]: https://npmjs.com/package/posthtml-extra-attributes
#### CSS

@@ -674,2 +704,3 @@

|[posthtml-lazyload][lazyload]|[![npm][lazyload-badge]][lazyload-npm]|Add native lazyload attribute|
|[posthtml-postcss-treeshaker][posthtml-postcss-treeshaker]|[![npm][posthtml-postcss-treeshaker-badge]][posthtml-postcss-treeshaker-npm]|Tree shake styles for classes and ids in `style` tag|

@@ -716,2 +747,7 @@ [remove]: https://github.com/princed/posthtml-remove-attributes

[posthtml-postcss-treeshaker]: https://github.com/anikethsaha/posthtml-postcss-treeshaker
[posthtml-postcss-treeshaker-badge]: https://img.shields.io/npm/v/posthtml-postcss-treeshaker.svg
[posthtml-postcss-treeshaker-npm]: https://img.shields.io/npm/v/posthtml-postcss-treeshaker.svg
#### Workflow

@@ -718,0 +754,0 @@

type Maybe<T> = void | T;
type MaybeArray<T> = T | T[];
export namespace PostHTML {
declare namespace PostHTML {
type StringMatcher = string | RegExp;

@@ -103,4 +103,6 @@ type AttrMatcher = Record<string, StringMatcher>;

export default function posthtml<TThis, TMessage>(
declare function PostHTML<TThis, TMessage>(
plugins?: PostHTML.Plugin<TThis>[]
): PostHTML.PostHTML<TThis, TMessage>;
export = PostHTML;
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