diff --git a/.travis.yml b/.travis.yml index 265722d..91e7c6f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: node_js node_js: - "stable" - "lts/*" - - 6 + - 10 after_success: - npm run coverage diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f98379..e4bfdfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ 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.12.1](https://github.com/posthtml/posthtml/compare/v0.12.0...v0.12.1) (2020-04-14) + ## [0.12.0](https://github.com/posthtml/posthtml/compare/v0.11.6...v0.12.0) (2019-10-11) diff --git a/docs/api.md b/docs/api.md index 8a9ace4..93d494d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -32,7 +32,7 @@ export const walk = (tree) => { let classes = node.attrs && node.attrs.class.split(' ') || [] if (classes.includes(className)) return cb(node) - return node + return node }) } ``` diff --git a/package.json b/package.json index bd32f94..3f7e852 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "posthtml", - "version": "0.12.0", + "version": "0.12.1", "description": "HTML/XML processor", "keywords": [ "html", @@ -20,22 +20,22 @@ "lib" ], "engines": { - "node": ">=6.0.0" + "node": ">=10.0.0" }, "dependencies": { - "posthtml-parser": "^0.4.1", - "posthtml-render": "^1.1.5" + "posthtml-parser": "^0.4.2", + "posthtml-render": "^1.2.1" }, "devDependencies": { "chai": "^4.0.0", "chai-as-promised": "^7.1.1", "chai-subset": "^1.6.0", - "coveralls": "^3.0.6", - "jsdoc-to-markdown": "^5.0.0", - "mocha": "^6.2.0", - "nyc": "^14.1.1", - "standard": "^14.1.0", - "standard-version": "^7.0.0" + "coveralls": "^3.0.11", + "jsdoc-to-markdown": "^5.0.3", + "mocha": "^7.1.1", + "nyc": "^15.0.1", + "standard": "^14.3.3", + "standard-version": "^7.1.0" }, "scripts": { "lint": "standard --env mocha",