Socket
Socket
Sign inDemoInstall

simple-dom

Package Overview
Dependencies
Maintainers
6
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-dom - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

lib/simple-dom.d.ts

@@ -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

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