github gildas-lormeau/single-file-cli v2.6.4

3 hours ago

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 .js is named .js in the archive. A module script was served back as video/mp2t or application/octet-stream when 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 .ts URL 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 as C+
  • the ellipsis of a truncated filename is counted in the length limit, which was overrun by three bytes

Co-authored by Claude (Claude Code)

Don't miss a new single-file-cli release

NewReleases is sending notifications on new releases.