From 79f3fb7d3777946d47e4e307347daef716c84ef7 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 25 Jun 2020 09:22:54 +0300 Subject: [PATCH 1/5] build: update dep dev --- package-lock.json | 20 ++++++++++---------- package.json | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index cc25f07..2ac1426 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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..117ddde 100644 --- a/package.json +++ b/package.json @@ -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" }, From 52c48d5e5663616fca2b303b9fda625a18fba8ad Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 25 Jun 2020 09:23:10 +0300 Subject: [PATCH 2/5] style: after lint --- lib/index.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lib/index.js b/lib/index.js index a95837d..d9ef8fb 100644 --- a/lib/index.js +++ b/lib/index.js @@ -175,7 +175,7 @@ function walk (opts, nodes) { // node.tag = false m.push(node) - + return m } @@ -399,9 +399,7 @@ function walk (opts, nodes) { }, []) } - -function clearRawTag(tree) { - +function clearRawTag (tree) { return tree.reduce((m, node) => { if (node.content) { node.content = clearRawTag(node.content) @@ -415,5 +413,4 @@ function clearRawTag(tree) { return m }, []) - -} \ No newline at end of file +} From 65bda504a74aa6de495351f0b2b31e086545ba24 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 25 Jun 2020 09:25:27 +0300 Subject: [PATCH 3/5] build: create change log after bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 117ddde..68e3fb1 100644 --- a/package.json +++ b/package.json @@ -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" From 5d71a253a58db1853e8d6f449b786c7ed21c0b85 Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 25 Jun 2020 09:55:45 +0300 Subject: [PATCH 4/5] 1.4.3 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2ac1426..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": { diff --git a/package.json b/package.json index 68e3fb1..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" From ddf26164352e02ddaa9181585eb834d1cdca470a Mon Sep 17 00:00:00 2001 From: Ivan Demidov Date: Thu, 25 Jun 2020 09:56:33 +0300 Subject: [PATCH 5/5] build: update changelog --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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)