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

@jspreadsheet/parser

Package Overview
Dependencies
Maintainers
2
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jspreadsheet/parser - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

dist/index.js
/**
* Jspreadsheet XLSX parser 2.0.0
* Jspreadsheet XLSX parser 2.0.1
* https://JSS.com/v8/plugins/parser

@@ -20,3 +20,4 @@ * @License: this plugin requires a license

$jscomp.polyfillIsolated=function(t,n,r,u){var v=t.split(".");t=1===v.length;u=v[0];u=!t&&u in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var z=0;z<v.length-1;z++){var h=v[z];if(!(h in u))return;u=u[h]}v=v[v.length-1];r=$jscomp.IS_SYMBOL_NATIVE&&"es6"===r?u[v]:null;n=n(r);null!=n&&(t?$jscomp.defineProperty($jscomp.polyfills,v,{configurable:!0,writable:!0,value:n}):n!==r&&(void 0===$jscomp.propertyToPolyfillSymbol[v]&&(r=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[v]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(v):$jscomp.POLYFILL_PREFIX+r+"$"+v),$jscomp.defineProperty(u,$jscomp.propertyToPolyfillSymbol[v],{configurable:!0,writable:!0,value:n})))};$jscomp.polyfill("Array.prototype.includes",function(t){return t?t:function(n,r){var u=this;u instanceof String&&(u=String(u));var v=u.length;r=r||0;for(0>r&&(r=Math.max(r+v,0));r<v;r++){var z=u[r];if(z===n||Object.is(z,n))return!0}return!1}},"es7","es3");
$jscomp.global.Symbol(v):$jscomp.POLYFILL_PREFIX+r+"$"+v),$jscomp.defineProperty(u,$jscomp.propertyToPolyfillSymbol[v],{configurable:!0,writable:!0,value:n})))};$jscomp.polyfill("Array.prototype.includes",function(t){return t?t:function(n,r){var u=this;u instanceof String&&(u=String(u));var v=u.length;r=r||0;for(0>r&&(r=Math.max(r+v,0));r<v;r++){var z=u[r];if(z===n||Object.is(z,n))return!0}return!1}},"es7","es3");if(!JSZip&&"function"===typeof require)var JSZip=require("jszip");
if(!jSuites&&"function"===typeof require)var jSuites=require("jsuites");
(function(t,n){"object"===typeof exports&&"undefined"!==typeof module?module.exports=n():"function"===typeof define&&define.amd?define(n):t.parser=n()})(this,function(){function t(b){b=Y+864E5*b;b>=Z&&(b-=864E5);return new Date(b)}var n=null,r=null,u=null,v=[],z={},h={},D=[],L=[],N=function(){var b=function(d){b.license=d;b.run()};b.k="745048504833";b.apply=function(d,c){var g=jSuites.sha512,f="",a="";128<d.length&&(d=g(d));for(var e=0;128>e;e++){var k=d[e]?d[e].charCodeAt(0):0;f+=String.fromCharCode(54^

@@ -39,3 +40,3 @@ k);a+=String.fromCharCode(92^k)}return g(a+g(f+c))};b.run=function(){if("undefined"==typeof b.result){b.result=1;try{if(b.license){var d=window.atob(b.license);d=d.split(",");if(d[1])if(d[1]=window.atob(d[1]),d[0]!=b.apply(b.k,d[1]))b.result=3;else if(d[1]=JSON.parse(d[1]),d[1].date){var c=window.location.hostname||"localhost",g=c.split(".");c=c.split(".");2<c.length&&!jSuites.isNumeric(c[c.length-1])&&g.shift();g=g.join(".");c=c.join(".");-1==d[1].domain.indexOf(g)&&-1==d[1].domain.indexOf(c)?b.result=

(g=d.querySelector("protection"))&&"0"==g.getAttribute("locked")&&(h.worksheets[c].cells||(h.worksheets[c].cells={}),h.worksheets[c].cells[b]||(h.worksheets[c].cells[b]={}),h.worksheets[c].cells[b].locked=!1);if(apply=d.getAttribute("applyNumberFormat"))d=parseInt(d.getAttribute("numFmtId")),P[d]?d=P[d]:(d=u.querySelector("numFmts").querySelector('[numFmtId="'+d+'"]'),d=d.getAttribute("formatCode")),d&&(d=d.replace(RegExp("\\\\","g"),""),d=d.replace(RegExp('"',"g"),""),"General"!=d&&(h.worksheets[c].cells||
(h.worksheets[c].cells={}),h.worksheets[c].cells[b]||(h.worksheets[c].cells[b]={}),h.worksheets[c].cells[b].type||(h.worksheets[c].cells[b].type="text"),h.worksheets[c].cells[b].format=d))},R=["_xlfn."],M=function(b){for(var d=0;d<R.length;d++)b=b.replace(new RegExp(R[d],"ig"),"");return b},fa={whole:"number",decimal:"number",list:"list",textLength:"textLength",date:"date"},ha={notBetween:"not between",equal:"=",notEqual:"!=",greaterThan:">",lessThan:"<",greaterThanOrEqual:">=",lessThanOrEqual:"<="},
(h.worksheets[c].cells={}),h.worksheets[c].cells[b]||(h.worksheets[c].cells[b]={}),h.worksheets[c].cells[b].type||(h.worksheets[c].cells[b].type="text"),h.worksheets[c].cells[b].format=d))},R=["_xlfn.","_xll."],M=function(b){for(var d=0;d<R.length;d++)b=b.replace(new RegExp(R[d],"ig"),"");return b},fa={whole:"number",decimal:"number",list:"list",textLength:"textLength",date:"date"},ha={notBetween:"not between",equal:"=",notEqual:"!=",greaterThan:">",lessThan:"<",greaterThanOrEqual:">=",lessThanOrEqual:"<="},
S=function(b,d){if("object"!==typeof b||"object"!==typeof d||null===b||null===d)return b===d;var c=Object.keys(b),g=Object.keys(d);if(c.length!==g.length)return!1;c.sort();g.sort();for(var f=0;f<c.length;f++)if(c[f]!==g[f])return!1;return c.every(function(a){return S(b[a],d[a])})},ia=function(b){var d=[];b.split(" ").forEach(function(c){var g=c.split(":");if(1===g.length)d.push(g[0]);else{c=n.helpers.getCoordsFromColumnName(g[0]);g=n.helpers.getCoordsFromColumnName(g[1]);for(var f=c[1];f<=g[1];f++)for(var a=

@@ -42,0 +43,0 @@ c[0];a<=g[0];a++)d.push(n.helpers.getColumnNameFromCoords(a,f))}});return d},T=function(b,d,c){Array.isArray(h.validations)||(h.validations=[]);var g=h.validations.findIndex(function(f){return S(c,f)});0>g&&(g=h.validations.length,h.validations.push(c));h.worksheets[b].cells||(h.worksheets[b].cells={});ia(d).forEach(function(f){h.worksheets[b].cells[f]||(h.worksheets[b].cells[f]={});h.worksheets[b].cells[f].validation=g})},Y=Date.UTC(1900,0,0),Z=Date.UTC(1900,1,29),ba=function(b){for(var d=I("worksheet"),

@@ -34,3 +34,3 @@ {

"types": "dist/index.d.ts",
"version": "2.0.0",
"version": "2.0.1",
"bugs": "https://github.com/jspreadsheet/pro/issues",

@@ -37,0 +37,0 @@ "homepage": "https://github.com/jspreadsheet/pro",

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