mirror of
https://github.com/storytold/craft-anything.git
synced 2026-11-19 14:00:52 +01:00
Node.js 25.7 writes a module-format byte after the exec-argument extension in a single-executable-application blob header. The reader knew only the three older layouts, so new CommonJS and ESM blobs both failed with "no known Node blob layout accounts for every byte", although their script paths, code, assets and arguments were all there, one byte further on. The new layout is now read, with its two defined values (CommonJS and module), and the listing reports module_format (null for older layouts, which don't store it). Complete-layout checks and the refusal of ambiguous blobs are unchanged. Tests use blobs made with the official Node.js 25.7 binary from small original scripts.