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

simple-dom

Package Overview
Dependencies
Maintainers
3
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 0.2.6 to 0.2.7

31

dist/simple-dom.js

@@ -232,2 +232,16 @@ (function() {

function simple$dom$document$document$fragment$$DocumentFragment() {
this.nodeConstructor(11, '#document-fragment', null);
}
simple$dom$document$document$fragment$$DocumentFragment.prototype._cloneNode = function() {
return new simple$dom$document$document$fragment$$DocumentFragment();
};
simple$dom$document$document$fragment$$DocumentFragment.prototype = Object.create(simple$dom$document$node$$default.prototype);
simple$dom$document$document$fragment$$DocumentFragment.prototype.constructor = simple$dom$document$document$fragment$$DocumentFragment;
simple$dom$document$document$fragment$$DocumentFragment.prototype.nodeConstructor = simple$dom$document$node$$default;
var simple$dom$document$document$fragment$$default = simple$dom$document$document$fragment$$DocumentFragment;
function $$document$text$$Text(text) {

@@ -271,16 +285,2 @@ this.nodeConstructor(3, '#text', text);

function $$document$document$fragment$$DocumentFragment() {
this.nodeConstructor(11, '#document-fragment', null);
}
$$document$document$fragment$$DocumentFragment.prototype._cloneNode = function() {
return new $$document$document$fragment$$DocumentFragment();
};
$$document$document$fragment$$DocumentFragment.prototype = Object.create(simple$dom$document$node$$default.prototype);
$$document$document$fragment$$DocumentFragment.prototype.constructor = $$document$document$fragment$$DocumentFragment;
$$document$document$fragment$$DocumentFragment.prototype.nodeConstructor = simple$dom$document$node$$default;
var $$document$document$fragment$$default = $$document$document$fragment$$DocumentFragment;
function simple$dom$document$$Document() {

@@ -317,3 +317,3 @@ this.nodeConstructor(9, '#document', null);

simple$dom$document$$Document.prototype.createDocumentFragment = function() {
return new $$document$document$fragment$$default();
return new simple$dom$document$document$fragment$$default();
};

@@ -542,2 +542,3 @@

Element: simple$dom$document$element$$default,
DocumentFragment: simple$dom$document$document$fragment$$default,
Document: simple$dom$document$$default,

@@ -544,0 +545,0 @@ voidMap: simple$dom$void$map$$default,

import Node from 'simple-dom/document/node';
import Element from 'simple-dom/document/element';
import DocumentFragment from 'simple-dom/document/document-fragment';
import Document from 'simple-dom/document';

@@ -11,2 +12,3 @@ import HTMLParser from 'simple-dom/html-parser';

Element,
DocumentFragment,
Document,

@@ -13,0 +15,0 @@ HTMLParser,

/* global define:false, module:false */
import { Node, Element, Document, HTMLParser, HTMLSerializer, voidMap } from './simple-dom';
import { Node, Element, DocumentFragment, Document, HTMLParser, HTMLSerializer, voidMap } from './simple-dom';

@@ -16,2 +16,3 @@ (function (root, factory) {

Element: Element,
DocumentFragment: DocumentFragment,
Document: Document,

@@ -18,0 +19,0 @@ voidMap: voidMap,

{
"name": "simple-dom",
"version": "0.2.6",
"version": "0.2.7",
"description": "A simple JS DOM.",

@@ -5,0 +5,0 @@ "main": "dist/simple-dom.js",

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