SingleFile CLI 2.6.4
Core
Updated to single-file-core 1.5.119, which brings:
- a self-extracting archive holding an embedded PDF extracts again. The zip library inlined in the page carries a code page table, the page declares
windows-1252, and the table was read as text: every entry name the archive did not flag as UTF-8 decoded to garbage, which broke the extraction outright - a canvas is no longer blanked when a saved page is saved again. The picture is stored as a background image, and the second save read the empty canvas back over it
- a script saved from a URL that does not end in
.jsis named.jsin the archive. A module script was served back asvideo/mp2torapplication/octet-streamwhen the archive was opened, and the browser refused to run it - the compression of a resource is decided from its content type when the server sent one, instead of from the extension in its URL. A script served as JavaScript from a
.tsURL was stored uncompressed, 32 times larger than the same bytes named.js - replacing the invalid characters of a filename keeps every character: a run collapsed into one, so a page titled
C++was saved asC+ - the ellipsis of a truncated filename is counted in the length limit, which was overrun by three bytes
Co-authored by Claude (Claude Code)