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

@oozcitak/dom

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oozcitak/dom - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

2

lib/serializer/PreSerializer.d.ts

@@ -161,3 +161,3 @@ import { Node } from "../dom/interfaces";

openTagBegin: ((name: string) => void);
openTagEnd: ((selfClosing: boolean, voidElement: boolean) => void);
openTagEnd: ((name: string, selfClosing: boolean, voidElement: boolean) => void);
closeTag: ((name: string) => void);

@@ -164,0 +164,0 @@ attribute: ((name: string, value: string) => void);

@@ -405,11 +405,11 @@ "use strict";

PreSerializer._VoidElementNames.has(node.localName)) {
this._openTagEnd(true, true);
this._openTagEnd(qualifiedName, true, true);
skipEndTag = true;
}
else if (!isHTML && node.childNodes.length === 0) {
this._openTagEnd(true, false);
this._openTagEnd(qualifiedName, true, false);
skipEndTag = true;
}
else {
this._openTagEnd(false, false);
this._openTagEnd(qualifiedName, false, false);
}

@@ -416,0 +416,0 @@ /**

@@ -27,3 +27,3 @@ "use strict";

openTagBegin: (name) => markup += "<" + name,
openTagEnd: (selfClosing, voidElement) => markup += voidElement ? " />" : selfClosing ? "/>" : ">",
openTagEnd: (name, selfClosing, voidElement) => markup += voidElement ? " />" : selfClosing ? "/>" : ">",
closeTag: (name) => markup += "</" + name + ">",

@@ -30,0 +30,0 @@ namespace: (name, value) => markup += " " + name + "=\"" + this._serializeAttributeValue(value) + "\"",

{
"name": "@oozcitak/dom",
"version": "1.5.0",
"version": "1.6.0",
"keywords": [

@@ -5,0 +5,0 @@ "dom",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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