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

@jspreadsheet/autowidth

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jspreadsheet/autowidth - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

11

index.js
/**
* Plugin for auto width cols
*
* @version 2.2.0
* @version 2.2.1
* @author Guillaume Bonnaire <contact@gbonnaire.fr>

@@ -140,3 +140,10 @@ * @website https://repo.gbonnaire.fr

for(let ite_row=0; ite_row<worksheet.rows.length; ite_row++) {
const valueRow = worksheet.getValueFromCoords(ite_td-1, ite_row, true);
let valueRow = worksheet.getValueFromCoords(ite_td-1, ite_row, true);
if(typeof valueRow !== "string") {
if(valueRow === null) {
valueRow = "";
} else {
valueRow = "" + valueRow;
}
}
if(worksheet.rows[ite_row].element == null) {

@@ -143,0 +150,0 @@ width = Math.max(Math.ceil((valueRow.length / maxLength) * widthInit), width);

2

package.json

@@ -31,3 +31,3 @@ {

"main": "index.js",
"version": "2.2.0"
"version": "2.2.1"
}
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