New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

table-sort-js

Package Overview
Dependencies
Maintainers
1
Versions
50
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.0.5 to 1.1.5

2

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

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

@@ -8,2 +8,3 @@ /*

npm package: https://www.npmjs.com/package/table-sort-js
Demo: https://leewannacott.github.io/Portfolio/#/GitHub

@@ -36,2 +37,16 @@ Install:

// Display a mouse pointer on hover over table headers.
tableHead.addEventListener("mouseover", function (event) {
setCursor(tableHead, "pointer");
});
function setCursor(tag, cursorStyle) {
var elem;
if (sortableTable.getElementsByTagName && (elem = tag)) {
if (elem.style) {
elem.style.cursor = cursorStyle;
}
}
}
for (let [columnIndex, th] of tableHeadHeaders.entries("table")) {

@@ -38,0 +53,0 @@ let timesClickedColumn = 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