Sourcemap defined in jszip.js breaks IE compatible < version 11 #98
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#98
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In following lines of jszip.js, the source map definition breaks javascript execution in IE < ver 11:
https://github.com/SheetJS/js-xlsx/blob/master/jszip.js#L1512
https://github.com/SheetJS/js-xlsx/blob/master/jszip.js#L1573
IE console reports 'rawdeflate is undefined'
Please change them to be
/*
//@ sourceMappingURL=rawdeflate.min.js.map
*/
Or dump to latest jszip version.
@xuqingkuang Does it break execution or merely issue a warning? I tested http://oss.sheetjs.com/js-xlsx against various versions of IE in the past and didn't encounter a functional error. Regardless, we definitely should look into updating the jszip dependency
@SheetJSDev Yes, it breaks execution. Our app is using js-xlsx with bower, referenced the built-in jszip.js, only IE can't run with this issue.
Here's another ticket of jQuery that have same situation - http://bugs.jquery.com/ticket/13274
@xuqingkuang After issues like https://github.com/Stuk/jszip/issues/126, I'm somewhat concerned about upgrading jszip. Fortunately I haven't encountered any issues with this update against our test suite.
@SheetJSDev We had tried 0.7.9 version, the issue disappeared.
Thanks a lot for your fast response.