Emscripten (MIT or NCSA): the JavaScript glue of PDF.js's OpenJPEG (JPEG 2000) and JBIG2 decoders, which PDF.js
bundles into its worker (assets/parser-worker-*.js), and Emscripten's own parts of the runtime compiled into
their WebAssembly (assets/openjpeg-*.wasm and assets/jbig2-*.wasm), including the emmalloc allocator that both
builds choose (-s MALLOC=emmalloc in their compile.sh).
PDF.js 6.4.299 builds these decoders with the emscripten/emsdk:latest Docker image (the Dockerfiles of
github.com/mozilla/pdf.js.openjpeg and github.com/mozilla/pdf.js.jbig2), and the binaries do not record which
Emscripten release that was. PDF.js last updated them on 2026-10-01 (OpenJPEG) and 2026-09-18 (JBIG2); this
text is the same in Emscripten 4.0.23, 6.0.9 and 6.0.10 (compared 2026-11-03).
Source: https://github.com/emscripten-core/emscripten/tree/6.0.10/LICENSE
License text: _shared/files/licenses/emscripten.txt
