Third-party code served from this site's own origin, so it runs under
script-src 'self' and adds no request to another company (see /privacy/).
Mozilla's PDF.js, which draws the CV on /curriculum-vitae/ (driven by
assets/js/cv-viewer.js). Added 15 November 2026.
pdf.min.js and pdf.worker.min.js are build/pdf.min.mjs and
build/pdf.worker.min.mjs from the npm package pdfjs-dist@6.4.299,
byte for byte, renamed .mjs → .js. They are ES modules either way;
the rename is only so every host serves them with a JavaScript MIME type,
which module scripts and module workers strictly require.LICENSE.txt is the package's Apache-2.0 licence, kept beside the code it
covers.netlify.toml). Nothing here runs at build time.cv-viewer.js passes useWasm: false because the
CSP has no 'wasm-unsafe-eval'. A future CV with JPEG 2000 or JBIG2 images
would need the decoders back.Upgrading: the version is in the directory name because /assets/* is
served immutable — a new version in the same directory would never reach a
returning visitor. Make a new pdfjs-<version>/, delete the old one, repoint
pdfjs: in cv.njk's front matter, re-check cv.css's text-layer block
against the release's web/pdf_viewer.css, and test under
python3 tools/serve-with-csp.py.
npm pack pdfjs-dist@<version>