You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: pdfjs-dist ships the QuickJS sandbox (wasm/quickjs-eval.*) without its license file #22143
Like the other bundled third-party code in wasm/ (LICENSE_JBIG2, LICENSE_OPENJPEG, LICENSE_QCMS and their LICENSE_PDFJS_* counterparts) and in standard_fonts/ (LICENSE_FOXIT, LICENSE_LIBERATION), the QuickJS sandbox files come with their license text, so that applications that serve these files (the sandbox has to be served for form scripts) can meet the MIT notice requirement by copying the folder.
What went wrong?
wasm/quickjs-eval.js and wasm/quickjs-eval.wasm are shipped without a license file. external/quickjs/README.md states that QuickJS and pdf.js.quickjs are MIT licensed, but the gulp task that copies the files ("external/quickjs/quickjs-eval.js", "external/quickjs/quickjs-eval.wasm", base external/quickjs) doesn't include a LICENSE_* file, unlike the openjpeg, qcms, jbig2 and standard font tasks next to it.
A LICENSE_QUICKJS (QuickJS, Fabrice Bellard and Charlie Gordon) plus a LICENSE_PDFJS_QUICKJS (pdf.js.quickjs) in external/quickjs/, copied by the same task, would match the existing pattern.
Activity