question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

js-xlsx not support jszip 3.x

See original GitHub issue

In https://github.com/SheetJS/js-xlsx/blob/master/xlsx.js#L1920, there used the global JsZip lib at first. In fact, the xlsx.js all packed the jszip 2.x, so I think use global jszip is unnecessary.

In my project, I used the JsZip as global variable, so the xlsx has a compatibility question.(not support jszip 3.x)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
reviewhercommented, Nov 2, 2017

JSZip 3.x removed critical features that we use, so you have to use 2.x.

Due to other changes, the script is included in the node module and the dist xlsx.full.min.js ships with a version of JSZip that plays nice.

1reaction
hstarorgcommented, Nov 9, 2017

@martinnov92 But I think it’s not quickly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

0 - Stack Overflow
You use JSZip v2 (needed by js-xlsx) which doesn't support Blob inputs. ... Here is the solution I found using JSZip, XLSX and...
Read more >
JSZip v3.1.3 not allowing to export to excel using wjcGridXlsx ...
It seems that Wijmo's export to xlxs required JSZip v2.5.0 ... Could we use the JSZip 3.1.3 version to support the export functionalities?...
Read more >
js-xlsx - Bountysource
I am trying to export an json object to xlsx. First I try the package sheetjs, everything is good but it does not...
Read more >
js-xlsx-jszip-concat - npm Package Health Analysis - Snyk
All security vulnerabilities belong to production dependencies of direct and indirect packages. License: Apache-2.0. Security Policy: No.
Read more >
Parse and Read Excel Files (xls/xlsx) With JavaScript
This same code without the HTML5 Drag and Drop and File Reader API pieces can be used in Node.js. Note: This module does...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found