You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

simple-datatables

Package Overview
Dependencies
Maintainers
0
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-datatables - npm Package Compare versions

Comparing version

to
9.0.4

2

package.json
{
"name": "simple-datatables",
"version": "9.0.3",
"version": "9.0.4",
"description": "A lightweight, dependency-free JavaScript HTML table plugin.",

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

@@ -679,10 +679,12 @@ import {

}
if (this.wrapperDOM.parentElement) {
// Restore the initial HTML
const oldDOM = createElement("div")
oldDOM.innerHTML = this._initialHTML
this.wrapperDOM.parentElement.replaceChild(oldDOM.firstElementChild, this.wrapperDOM)
} else {
// Remove the className
this.options.classes.table?.split(" ").forEach(className => this.wrapperDOM.classList.remove(className))
if (this.wrapperDOM) {
if (this.wrapperDOM.parentElement) {
// Restore the initial HTML
const oldDOM = createElement("div")
oldDOM.innerHTML = this._initialHTML
this.wrapperDOM.parentElement.replaceChild(oldDOM.firstElementChild, this.wrapperDOM)
} else {
// Remove the className
this.options.classes.table?.split(" ").forEach(className => this.wrapperDOM.classList.remove(className))
}
}

@@ -689,0 +691,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display