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.11.3 to 0.11.4

27

CHANGELOG.md

@@ -1,5 +0,30 @@

# Change Log
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [0.11.4](https://github.com/posthtml/posthtml/compare/v0.11.3...v0.11.4) (2019-05-06)
### Bug Fixes
* **index:** if tree not object ([3fd9548](https://github.com/posthtml/posthtml/commit/3fd9548))
* **readme:** adds missing bracket ([ff3102f](https://github.com/posthtml/posthtml/commit/ff3102f))
* **test/options:** incorrect transfer option for the process ([c5fd774](https://github.com/posthtml/posthtml/commit/c5fd774))
### Build System
* remove pkg lock ([5c9b45a](https://github.com/posthtml/posthtml/commit/5c9b45a))
* update build system, close [#279](https://github.com/posthtml/posthtml/issues/279) ([ca77e4a](https://github.com/posthtml/posthtml/commit/ca77e4a))
* update depDev ([c975225](https://github.com/posthtml/posthtml/commit/c975225))
### Tests
* update init for mocha ([be634f6](https://github.com/posthtml/posthtml/commit/be634f6))
* **message:** add test for extending from prevent tree ([6cb238a](https://github.com/posthtml/posthtml/commit/6cb238a))
* **options:** if tree not object ([dcdb3e7](https://github.com/posthtml/posthtml/commit/dcdb3e7))
<a name="0.11.3"></a>

@@ -6,0 +31,0 @@ ## [0.11.3](https://github.com/posthtml/posthtml/compare/v0.11.2...v0.11.3) (2018-02-16)

2

lib/api.js

@@ -108,3 +108,3 @@ 'use strict'

} else if (
tree &&
tree &&
typeof tree === 'object' &&

@@ -111,0 +111,0 @@ tree.hasOwnProperty('content')

@@ -1,3 +0,1 @@

var objectAssign = require('object-assign')
var pkg = require('../package.json')

@@ -246,3 +244,3 @@ var Api = require('./api.js')

if (typeof t === 'object') {
t = objectAssign(t, _t)
t = Object.assign(t, _t)
}

@@ -280,3 +278,3 @@ }

/**
/**
* Wraps the PostHTMLTree within an object using a getter to render HTML on demand.

@@ -283,0 +281,0 @@ *

{
"name": "posthtml",
"version": "0.11.3",
"version": "0.11.4",
"description": "HTML/XML processor",

@@ -21,27 +21,23 @@ "keywords": [

"engines": {
"node": ">=0.10.0"
"node": ">=6.0.0"
},
"dependencies": {
"object-assign": "^4.1.1",
"posthtml-parser": "^0.3.3",
"posthtml-render": "^1.1.0"
"posthtml-parser": "^0.4.1",
"posthtml-render": "^1.1.5"
},
"devDependencies": {
"chai": "^3.0.0",
"chai-as-promised": "^6.0.0",
"chai-subset": "^1.1.0",
"es6-promise": "^4.0.5",
"istanbul": "^0.4.2",
"jsdoc-to-markdown": "^3.0.0",
"mocha": "^3.4.0",
"mversion": "^1.10.0",
"object.assign": "^4.0.3",
"standard": "^10.0.2",
"standard-version": "^4.2.0"
"chai": "^4.0.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"coveralls": "^3.0.3",
"jsdoc-to-markdown": "^4.0.1",
"mocha": "^6.1.4",
"nyc": "^14.1.0",
"standard": "^12.0.1",
"standard-version": "^6.0.1"
},
"scripts": {
"lint": "standard",
"test": "npm run lint && mocha -R dot && npm run cover",
"clean": "rm -rf coverage jsdoc-api",
"cover": "istanbul cover --report text --report html --report lcov node_modules/mocha/bin/_mocha -- -R tap",
"lint": "standard --env mocha",
"test": "npm run lint && nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs:api": "jsdoc2md lib/api.js > docs/api.md",

@@ -48,0 +44,0 @@ "docs:core": "jsdoc2md lib/index.js > docs/core.md",

@@ -261,5 +261,5 @@ [![NPM][npm]][npm-url]

use: [
{
loader: 'html-loader',
options: { minimize: true }
{
loader: 'html-loader',
options: { minimize: true }
},

@@ -315,3 +315,3 @@ {

plugins: [
   posthtml(
   posthtml({
     parser: sugarml(),

@@ -360,2 +360,3 @@ plugins: [include()],

|[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|

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

[prevent-widows]: https://github.com/bashaus/prevent-widows
[prevent-widows-badge]: https://img.shields.io/npm/v/prevent-widows.svg
[prevent-widows-npm]: https://npmjs.com/package/prevent-widows
#### HTML

@@ -392,2 +397,3 @@

|[posthtml-cache][cache]|[![npm][cache-badge]][cache-npm]|Add a nanoid to links in you tags|
|[posthtml-highlight][highlight]|[![npm][highlight-badge]][highlight-npm]|Syntax highlight code elements|

@@ -454,2 +460,6 @@ [cache]: https://github.com/posthtml/posthtml-cache

[highlight]: https://github.com/caseyWebb/posthtml-highlight
[highlight-badge]: https://img.shields.io/npm/v/posthtml-highlight.svg
[highlight-npm]: https://npmjs.com/package/posthtml-highlight
#### CSS

@@ -523,3 +533,3 @@

[hex]: https://github.com/code-and-send/posthtml-color-shorthand-hex-to-six-digit
[hex]: https://github.com/posthtml/posthtml-color-shorthand-hex-to-six-digit
[hex-badge]: https://img.shields.io/npm/v/posthtml-color-shorthand-hex-to-six-digit.svg

@@ -535,2 +545,3 @@ [hex-npm]: https://npmjs.com/package/posthtml-color-shorthand-hex-to-six-digit

|[posthtml-webp][webp]|[![npm][webp-badge]][webp-npm]|Add WebP support for images|
|[posthtml-favicons][favicons]|[![npm][favicons-badge]][favicons-npm]|Generate Favicons and add related tags|

@@ -545,6 +556,10 @@ [img]: https://github.com/posthtml/posthtml-img-autosize

[webp]: https://github.com/seokirill/posthtml-webp
[webp]: https://github.com/posthtml/posthtml-webp
[webp-badge]: https://img.shields.io/npm/v/posthtml-webp.svg
[webp-npm]: https://npmjs.com/package/posthtml-webp
[favicons]: https://github.com/mohsen1/posthtml-favicons
[favicons-badge]: https://img.shields.io/npm/v/posthtml-favicons.svg
[favicons-npm]: https://www.npmjs.com/package/posthtml-favicons
#### Accessibility

@@ -583,3 +598,2 @@

|[htmlnano][nano]|[![npm][nano-badge]][nano-npm]|HTML Minifier|
|[posthtml-email-remove-unused-css][unused]|[![npm][unused-badge]][unused-npm]|Remove unused CSS from email templates|

@@ -615,6 +629,2 @@

[unused]: https://github.com/code-and-send/posthtml-email-remove-unused-css
[unused-badge]: https://img.shields.io/npm/v/posthtml-email-remove-unused-css.svg
[unused-npm]: https://npmjs.com/package/posthtml-email-remove-unused-css
[transform]: https://github.com/flashlizi/posthtml-transformer

@@ -621,0 +631,0 @@ [transform-badge]: https://img.shields.io/npm/v/posthtml-transformer.svg

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