danfojs icon indicating copy to clipboard operation
danfojs copied to clipboard

Request to Reduce Size of JavaScript Library > 6MB

Open fcorallini opened this issue 2 years ago • 3 comments

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.

fcorallini avatar Jun 12 '23 13:06 fcorallini

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

millerforge avatar Jun 26 '23 15:06 millerforge

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

steveoni avatar Aug 07 '23 11:08 steveoni

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)

kir12 avatar Sep 04 '23 16:09 kir12