diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dfad27..a56183a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [1.4.3](https://github.com/posthtml/posthtml-expressions/compare/v1.4.2...v1.4.3) (2020-06-25) + + +### Bug Fixes + +* clear raw tag after expression, close [#82](https://github.com/posthtml/posthtml-expressions/issues/82) ([2aaef58](https://github.com/posthtml/posthtml-expressions/commit/2aaef5867c0f7971358226f125b288e9de4d021c)) + + + # [1.1.0](https://github.com/posthtml/posthtml-expressions/compare/v1.0.0...v1.1.0) (2016-12-14) diff --git a/lib/index.js b/lib/index.js index 79fdef1..b0c5603 100644 --- a/lib/index.js +++ b/lib/index.js @@ -397,9 +397,7 @@ function walk (opts, nodes) { }, []) } - -function clearRawTag(tree) { - +function clearRawTag (tree) { return tree.reduce((m, node) => { if (node.content) { node.content = clearRawTag(node.content) @@ -413,5 +411,4 @@ function clearRawTag(tree) { return m }, []) - } diff --git a/package-lock.json b/package-lock.json index cc25f07..e625904 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "posthtml-expressions", - "version": "1.4.2", + "version": "1.4.3", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -219,9 +219,9 @@ "dev": true }, "@babel/runtime": { - "version": "7.10.2", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.2.tgz", - "integrity": "sha512-6sF3uQw2ivImfVIl62RZ7MXhO2tap69WeWK57vAaimT6AZbE4FbqjdEJIN1UqoD6wI6B+1n9UiagafH1sxjOtg==", + "version": "7.10.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.3.tgz", + "integrity": "sha512-RzGO0RLSdokm9Ipe/YD+7ww8X2Ro79qiXZF3HU9ljrM+qnJmH1Vqth+hbiQZy761LnMJTMitHDuKVYTk3k4dLw==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" @@ -5412,9 +5412,9 @@ } }, "posthtml": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.13.0.tgz", - "integrity": "sha512-g9KDiHUJZrzeGUfzpSLJ51K/tJrl+QS/zrEEv2MoIyFZyWVGCHDNQva2MVsy4Oqy4jIFRFjNW4oFjMardOqmKQ==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.13.1.tgz", + "integrity": "sha512-8aJZ63WYL9YsAZVcrIn6U0dSYbna7hcTceZjnbH7dilg01t4t3JDx0UovbhGFscFJg/++qhECCjGEQuJAqD7dA==", "dev": true, "requires": { "posthtml-parser": "^0.4.2", @@ -5422,12 +5422,12 @@ } }, "posthtml-beautify": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/posthtml-beautify/-/posthtml-beautify-0.6.0.tgz", - "integrity": "sha512-VXqjtSKTkIkNXwowgyVfcL7kuiltTbO41YsqcX6QwCt/pubqjHiXc4eGeknibsuqjWAyWW31GZpO+Get3tI2Gw==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/posthtml-beautify/-/posthtml-beautify-0.7.0.tgz", + "integrity": "sha512-g9+tYK5Z1WiYHgEOXt3jmVd6ioG5Hk6wVIw8rYVMqzFBeJzELHcxUk0bxTfYYP715Qrrh/xkwHyXrDL+ETKUgQ==", "dev": true, "requires": { - "@babel/runtime": "^7.10.1", + "@babel/runtime": "^7.10.2", "deepmerge": "^4.2.2", "js-beautify": "^1.11.0", "posthtml-parser": "^0.4.2", diff --git a/package.json b/package.json index ddc5ecc..0ae5943 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "posthtml-expressions", - "version": "1.4.2", + "version": "1.4.3", "description": "Expressions Plugin for PostHTML", "engines": { "node": ">=10" @@ -9,7 +9,7 @@ "scripts": { "lint": "standard", "test": "nyc ava", - "logs": "standard-changelog -i CHANGELOG.md -w", + "version": "standard-changelog -i CHANGELOG.md -w", "docs": "jsdoc2md lib/*.js > INDEX.md", "clean": "rm -rf .nyc_output coverage jsdoc-api dmd", "start": "sudo npm run clean && npm run lint && sudo npm test" @@ -22,8 +22,8 @@ "coveralls": "^3.1.0", "jsdoc-to-markdown": "^6.0.1", "nyc": "^15.1.0", - "posthtml": "^0.13.0", - "posthtml-beautify": "^0.6.0", + "posthtml": "^0.13.1", + "posthtml-beautify": "^0.7.0", "standard": "^14.3.4", "standard-changelog": "^2.0.24" },