packager/test/p4
GarboMuffin 2f0010294f
Fix packaging very large projects as HTML files in Chrome (#862)
Actually fixes https://github.com/TurboWarp/packager/issues/528

https://github.com/TurboWarp/packager/pull/861 fixed running large projects
in Chrome, but packaging still used string concatenation so it remained broken.
Now the concatenation part is done using TextEncoder & Uint8Arrays and a
template tag function to keep it readable.

This time I have actually tested it with a 1.0GB sb3.

Breaking Node API change: The data property returned by Packager#package() is
now always a Uint8Array instead of sometimes string and sometimes ArrayBuffer.
2024-05-23 23:47:40 -05:00
..
blob-seriralizer.test.js Don't try to serialize or deserialize blobs in arrays 2023-08-19 12:12:44 -05:00
encode-big-string.test.js Fix packaging very large projects as HTML files in Chrome (#862) 2024-05-23 23:47:40 -05:00
merge.test.js
serialize.test.js
url-utils.test.js