The Wayback Machine - https://web.archive.org/web/20201125085927/https://github.com/SheetJS/sheetjs/pull/1908
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: missing PRN in xlsx.mini #1908

Merged
merged 1 commit into from Jun 25, 2020
Merged

Conversation

@chenxeed
Copy link
Contributor

@chenxeed chenxeed commented Apr 20, 2020

Issue

#1760

Description

Based on my investigation, it seems like the function read_prn in the mini is missing PRN when it tries to read a string of CSV file.

My proposed solution is to add the PRN declaration as part of the mini build, which exists in the bits/40_harb.js.

@chenxeed
Copy link
Contributor Author

@chenxeed chenxeed commented Apr 20, 2020

@SheetJSDev I have no written unit test in this changes, but I have tested the changes in my local application and the CSV works. Also, the existing unit test seems to pass when I run the test locally.

test import svg

@chenxeed
Copy link
Contributor Author

@chenxeed chenxeed commented May 20, 2020

Poke @SheetJSDev again 🙇 it would be great to have this settled for the next release, so we can use xlsx.mini in our application

@chenxeed
Copy link
Contributor Author

@chenxeed chenxeed commented Jun 16, 2020

Hi @SheetJSDev @srijonsaha may I have an update or response for the PR?

If there's anything missing from the PR, please let me know to improve.

I'm waiting for this patch before I can use xlsx.mini in my production project.

Thanks!

@SheetJSDev SheetJSDev requested a review from garrettluu Jun 16, 2020
@SheetJSDev
Copy link
Contributor

@SheetJSDev SheetJSDev commented Jun 16, 2020

@garrettluu can you take a peek?

Copy link
Contributor

@garrettluu garrettluu left a comment

Code itself looks fine, but please squash your commits into 1 with git rebase, since we don't want too many commits to clutter the history.

- build: update mini script
@chenxeed chenxeed force-pushed the chenxeed:chx/fix-mini-prn branch from 6c9b86f to ac487fc Jun 18, 2020
@chenxeed
Copy link
Contributor Author

@chenxeed chenxeed commented Jun 18, 2020

Thanks @garrettluu for the response and review. I've squashed the commit. Look forward to the update 👍

@chenxeed chenxeed requested a review from garrettluu Jun 18, 2020
@chenxeed
Copy link
Contributor Author

@chenxeed chenxeed commented Jun 25, 2020

Hi @garrettluu @SheetJSDev I've made the requested changes. Please confirm if this is fine. Look forward to the release! 🙇

@garrettluu garrettluu merged commit 716bef4 into SheetJS:master Jun 25, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
saarCiklum added a commit to Folcon/js-xlsx that referenced this pull request Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.