Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@open-wc/semantic-dom-diff

Package Overview
Dependencies
Maintainers
2
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-wc/semantic-dom-diff - npm Package Compare versions

Comparing version 0.17.1 to 0.17.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.17.2](https://github.com/open-wc/open-wc/compare/@open-wc/semantic-dom-diff@0.17.1...@open-wc/semantic-dom-diff@0.17.2) (2020-03-10)
**Note:** Version bump only for package @open-wc/semantic-dom-diff
## [0.17.1](https://github.com/open-wc/open-wc/compare/@open-wc/semantic-dom-diff@0.17.0...@open-wc/semantic-dom-diff@0.17.1) (2020-02-09)

@@ -8,0 +16,0 @@

6

package.json
{
"name": "@open-wc/semantic-dom-diff",
"version": "0.17.1",
"version": "0.17.2",
"publishConfig": {

@@ -30,3 +30,3 @@ "access": "public"

"devDependencies": {
"@open-wc/testing-helpers": "^1.5.2",
"@open-wc/testing-helpers": "^1.5.3",
"chai": "^4.2.0",

@@ -36,3 +36,3 @@ "mocha": "^6.2.2"

"module": "index.js",
"gitHead": "a6118efee15049c657594311513c71fd4a3355a5"
"gitHead": "781e6a6ce2c77863d6a6cdb8827932862774b2b7"
}
# Semantic Dom Diff
> Part of [Open Web Components](https://github.com/open-wc/open-wc/)
`semantic-dom-diff` allows diffing chunks of dom or HTML for semantic equality:
Open Web Components provides a set of defaults, recommendations and tools to help facilitate your web component project. Our recommendations include: developing, linting, testing, building, tooling, demoing, publishing and automating.
- whitespace and newlines are normalized
- tags and attributes are printed on individual lines
- comments are removed
- style, script and SVG contents are removed
- tags, attributes or element's light dom can be ignored through configuration
> Part of [Open Web Components](https://github.com/open-wc/open-wc/): guides, tools and libraries for modern web development and web components
[![CircleCI](https://circleci.com/gh/open-wc/open-wc.svg?style=shield)](https://circleci.com/gh/open-wc/open-wc)

@@ -17,10 +23,2 @@ [![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=M2UrSFVRang2OWNuZXlWSlhVc3FUVlJtTDkxMnp6eGFDb2pNakl4bGxnbz0tLUE5RjhCU0NUT1ZWa0NuQ3MySFFWWnc9PQ==--86f7fac07cdbd01dd2b26ae84dc6c8ca49e45b50)](https://www.browserstack.com/automate/public-build/M2UrSFVRang2OWNuZXlWSlhVc3FUVlJtTDkxMnp6eGFDb2pNakl4bGxnbz0tLUE5RjhCU0NUT1ZWa0NuQ3MySFFWWnc9PQ==--86f7fac07cdbd01dd2b26ae84dc6c8ca49e45b50)

`semantic-dom-diff` allows diffing chunks of dom or HTML for semantic equality:
- whitespace and newlines are normalized
- tags and attributes are printed on individual lines
- comments are removed
- style, script and SVG contents are removed
- tags, attributes or element's light dom can be ignored through configuration
## Chai Plugin

@@ -27,0 +25,0 @@

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