simple-dom
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,2 +0,2 @@ | ||
export { default as Node } from './simple-dom/document/node'; | ||
export { default as Node, NodeType } from './simple-dom/document/node'; | ||
export { default as Element } from './simple-dom/document/element'; | ||
@@ -3,0 +3,0 @@ export { default as DocumentFragment } from './simple-dom/document/document-fragment'; |
import Comment from './document/comment'; | ||
import DocumentFragment from './document/document-fragment'; | ||
import Element from './document/element'; | ||
import Node from './document/node'; | ||
import Node, { NodeType } from './document/node'; | ||
import RawHTMLSection from './document/raw-html-section'; | ||
import Text from './document/text'; | ||
export default class Document extends Node { | ||
nodeType: NodeType.DOCUMENT_NODE; | ||
documentElement: Element; | ||
@@ -9,0 +10,0 @@ head: Element; |
@@ -1,3 +0,4 @@ | ||
import Node from './node'; | ||
import Node, { NodeType } from './node'; | ||
export default class Comment extends Node { | ||
nodeType: NodeType.COMMENT_NODE; | ||
nodeValue: string; | ||
@@ -4,0 +5,0 @@ constructor(text: string); |
@@ -1,5 +0,6 @@ | ||
import Node from './node'; | ||
import Node, { NodeType } from './node'; | ||
export default class DocumentFragment extends Node { | ||
nodeType: NodeType.DOCUMENT_FRAGMENT_NODE; | ||
constructor(); | ||
protected _cloneNode(): DocumentFragment; | ||
} |
@@ -1,3 +0,4 @@ | ||
import Node from './node'; | ||
import Node, { NodeType } from './node'; | ||
export default class Text extends Node { | ||
nodeType: NodeType.TEXT_NODE; | ||
nodeValue: string; | ||
@@ -4,0 +5,0 @@ constructor(text: string); |
{ | ||
"name": "simple-dom", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A simple JS DOM.", | ||
@@ -5,0 +5,0 @@ "main": "dist/simple-dom.js", |
@@ -1,2 +0,2 @@ | ||
export { default as Node } from './simple-dom/document/node'; | ||
export { default as Node, NodeType } from './simple-dom/document/node'; | ||
export { default as Element } from './simple-dom/document/element'; | ||
@@ -3,0 +3,0 @@ export { default as DocumentFragment } from './simple-dom/document/document-fragment'; |
import Comment from './document/comment'; | ||
import DocumentFragment from './document/document-fragment'; | ||
import Element from './document/element'; | ||
import Node from './document/node'; | ||
import Node, { NodeType } from './document/node'; | ||
import RawHTMLSection from './document/raw-html-section'; | ||
@@ -9,2 +9,3 @@ import Text from './document/text'; | ||
export default class Document extends Node { | ||
public nodeType: NodeType.DOCUMENT_NODE; | ||
public documentElement: Element; | ||
@@ -11,0 +12,0 @@ public head: Element; |
import Node, { NodeType } from './node'; | ||
export default class Comment extends Node { | ||
public nodeType: NodeType.COMMENT_NODE; | ||
public nodeValue: string; | ||
@@ -5,0 +6,0 @@ |
import Node, { NodeType } from './node'; | ||
export default class DocumentFragment extends Node { | ||
public nodeType: NodeType.DOCUMENT_FRAGMENT_NODE; | ||
constructor() { | ||
@@ -5,0 +7,0 @@ super(NodeType.DOCUMENT_FRAGMENT_NODE, '#document-fragment', null); |
import Node, { NodeType } from './node'; | ||
export default class Text extends Node { | ||
public nodeType: NodeType.TEXT_NODE; | ||
public nodeValue: string; | ||
@@ -5,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
144244
2013
0