@open-wc/semantic-dom-diff
Advanced tools
Comparing version 0.14.3 to 0.15.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.15.0](https://github.com/open-wc/open-wc/compare/@open-wc/semantic-dom-diff@0.14.3...@open-wc/semantic-dom-diff@0.15.0) (2019-10-22) | ||
### Features | ||
* **semantic-dom-diff:** strip attributes that contains only whitespace ([0db1e73](https://github.com/open-wc/open-wc/commit/0db1e73)) | ||
## [0.14.3](https://github.com/open-wc/open-wc/compare/@open-wc/semantic-dom-diff@0.14.2...@open-wc/semantic-dom-diff@0.14.3) (2019-10-13) | ||
@@ -8,0 +19,0 @@ |
@@ -122,3 +122,3 @@ const DEFAULT_IGNORE_TAGS = ['script', 'style', 'svg']; | ||
function shouldStripAttribute({ name, value }) { | ||
return stripEmptyAttributes.includes(name) && value === ''; | ||
return stripEmptyAttributes.includes(name) && value.trim() === ''; | ||
} | ||
@@ -125,0 +125,0 @@ |
{ | ||
"name": "@open-wc/semantic-dom-diff", | ||
"version": "0.14.3", | ||
"version": "0.15.0", | ||
"description": "To compare dom and shadow dom trees. Part of open-wc recommendations", | ||
@@ -30,3 +30,3 @@ "author": "open-wc", | ||
}, | ||
"gitHead": "974dfc632ee1155528be87966bb3fa8ae5fab58d" | ||
"gitHead": "dc96315f8159b786a80f55b3e3d5fda5071734c1" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56777