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

Request to Reduce Size of JavaScript Library > 6MB #582

Open
fcorallini opened this issue Jun 12, 2023 · 3 comments
Open

Request to Reduce Size of JavaScript Library > 6MB #582

fcorallini opened this issue Jun 12, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@fcorallini
Copy link

fcorallini commented Jun 12, 2023

I am writing to bring to your attention an issue regarding the size of the JavaScript library.
Currently, the library's file size exceeds 6MB via the official CDN.

<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/bundle.min.js"></script>
@millerforge
Copy link

This is causing a FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory when building with Vite -- this library is huge

@steveoni
Copy link
Member

steveoni commented Aug 7, 2023

@fcorallini @millerforge We plan to reduce the number of external packages that might be bundled with the package

@steveoni steveoni added the help wanted Extra attention is needed label Aug 7, 2023
@kir12
Copy link

kir12 commented Sep 4, 2023

One suggestion I have to this mark is SheetJS. They recently made an unannounced move away from npm and are now issuing updates on an alternate platform while still keeping the old version on npm. It's started to cause problems e.g. a CVE was discovered for the npm-hosted version, a fix for which will not be reaching the NPM version. (and thus danfojs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants