Bill of Materials

June 27, 2026 · View on GitHub

A component and license inventory of the published npm package ng2-pdfjs-viewer.

Packageng2-pdfjs-viewer
Version26.3.0
LicenseApache-2.0
Runtime npm dependenciesnone (zero)
Peer dependencies@angular/common >=10, @angular/core >=10
DistributionFESM2022 (ng-packagr) + bundled PDF.js assets under pdfjs/

Generated from lib/ on the master branch. The machine-readable CycloneDX 1.5 SBOM (full dependency graph, 236 components incl. build-time deps) can be regenerated at any time with npm sbom --sbom-format cyclonedx from lib/.

1. Bundled third-party components (ship inside the package)

The package vendors Mozilla PDF.js and its native sub-components under pdfjs/. These are not npm dependencies — they ship as package assets. License texts are included alongside them (pdfjs/LICENSE, pdfjs/web/**/LICENSE_*).

ComponentRoleLicense (as bundled)
Mozilla PDF.js 6.0.227PDF rendering engine + viewer UIApache-2.0
OpenJPEG (openjpeg.wasm)JPEG 2000 image decodingBSD-2-Clause
QCMS (qcms_bg.wasm)Color managementMIT (Mozilla / Marti Maria)
JBIG2 (jbig2.wasm)JBIG2 image decodingBSD-3-Clause (PDFium)
QuickJS (quickjs-eval.wasm)Sandboxed JS for AcroForm scriptingMIT
Foxit standard fontsFallback fontsBSD-3-Clause (PDFium)
Liberation fonts (Arimo/Tinos/Cousine)Fallback fontsSIL OFL 1.1

2. Runtime dependencies

None. dependencies in package.json is empty. The package adds zero transitive npm supply chain to a consuming application; the only third-party code it carries is the bundled PDF.js above. Angular is a peer dependency (provided by the host app), not bundled.

3. Build-time dependencies (NOT shipped)

Used only to build and test the package; never installed by consumers. Key entries (devDependencies): ng-packagr ^22, @angular/compiler-cli ^22, typescript ~6.0, esbuild ^0.28 (CSS minify), terser (JS minify), shx, vitest ^4, jsdom. The full build graph is 236 components (see the CycloneDX SBOM above).

4. Consumer / supply-chain impact

  • Because the published package has no runtime npm dependencies, security advisories against this repository's docs-website/ and playground/ (non-shipped) projects, or against the library's build-time devDependencies, do not reach consumers of the npm package.
  • Supply-chain provenance: releases are published with npm provenance (OIDC trusted publishing from GitHub Actions) and tracked by an OpenSSF Scorecard.