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

table-sort-js

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

table-sort-js - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

2

package.json
{
"name": "table-sort-js",
"version": "1.15.0",
"version": "1.15.1",
"description": "A JavaScript client-side HTML table sorting library with no dependencies required.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -15,3 +15,3 @@ ![table-sort-js](https://img.shields.io/npm/v/table-sort-js)

- [npm package.](https://www.npmjs.com/package/table-sort-js)
- [firefox browser extension](https://addons.mozilla.org/en-US/firefox/addon/table-sort-js/): Tables of any website you visit become sortable!
- [Firefox](https://addons.mozilla.org/en-US/firefox/addon/table-sort-js/) and [Chrome](https://chrome.google.com/webstore/detail/table-sort-js/dioemkojkjhlhmfiocgniipejgkbfibb) browser extensions: Tables of any website you visit become sortable!

@@ -18,0 +18,0 @@ ## Install instructions.

@@ -144,3 +144,3 @@ /*

columnData.push(`${dataAttributeTd}#${i}`);
columnIndexAndTableRow[columnData[i]] = tr.innerHTML;
columnIndexAndTableRow[columnData[i]] = tr.outerHTML;
}

@@ -210,3 +210,3 @@ }

columnData.push(`${timeinSeconds}#${i}`);
columnIndexAndTableRow[columnData[i]] = tr.innerHTML;
columnIndexAndTableRow[columnData[i]] = tr.outerHTML;
}

@@ -249,3 +249,3 @@ } catch (e) {

columnData.push(`${numberToSort}#${i}`);
columnIndexAndTableRow[columnData[i]] = tr.innerHTML;
columnIndexAndTableRow[columnData[i]] = tr.outerHTML;
}

@@ -308,3 +308,3 @@ } catch (e) {

if (isFileSize) {
fileSizeColumnTextAndRow[columnData[i]] = tr.innerHTML;
fileSizeColumnTextAndRow[columnData[i]] = tr.outerHTML;
}

@@ -321,3 +321,3 @@ // These classes already handle pushing to column and setting the tr html.

columnData.push(`${tdTextContent}#${i}`);
columnIndexAndTableRow[`${tdTextContent}#${i}`] = tr.innerHTML;
columnIndexAndTableRow[`${tdTextContent}#${i}`] = tr.outerHTML;
}

@@ -327,3 +327,3 @@ } else {

columnData.push(`${fillValue}#${i}`);
columnIndexAndTableRow[`${fillValue}#${i}`] = tr.innerHTML;
columnIndexAndTableRow[`${fillValue}#${i}`] = tr.outerHTML;
}

@@ -432,3 +432,3 @@ }

} else if (!isFileSize) {
tr.innerHTML = columnIndexAndTableRow[columnData[i]];
tr.outerHTML = columnIndexAndTableRow[columnData[i]];
}

@@ -435,0 +435,0 @@ }

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