-
Notifications
You must be signed in to change notification settings - Fork 1
Third Party Licenses
copcesium is MIT licensed. vite.config.ts externalizes only cesium (a peer dependency); every other runtime dependency is bundled directly into the published dist/copc-cesium.mjs, including laz-perf's WASM decoder, which is inlined as base64. All of them are permissive (MIT / Apache-2.0) — no copyleft, no license conflicts — but redistributing bundled code carries an obligation to preserve copyright notices and license text, which is what this page and the repo's THIRD_PARTY_LICENSES.md do.
| Package | Version | License | Role |
|---|---|---|---|
| copc | 0.0.8 | MIT | COPC header/VLR/hierarchy parsing |
| laz-perf | 0.0.7 | Apache-2.0 | LAZ decoding (WASM) inside the Worker |
| proj4 | 2.20.9 | MIT | Source CRS → Cesium coordinate transform |
| mgrs | 1.0.0 | MIT | proj4 transitive dependency |
| wkt-parser | 1.5.5 | MIT | proj4 transitive dependency |
| cross-fetch | 3.2.0 | MIT | copc dependency — Range Request fetching |
cross-fetch also declares node-fetch, whatwg-url, tr46, and
webidl-conversions as dependencies, but those back its Node.js (main)
entry point only. This is a browser build, so Vite resolves cross-fetch's
browser field instead — a self-contained XHR-based polyfill with no
dependency on that chain. Verified directly against the built
dist/copc-cesium.mjs: it contains no code from any of those four packages,
so they carry no redistribution obligation and are intentionally left off
this list.
cesium (Apache-2.0, >=1.100.0) is a peer dependency — it is never bundled or redistributed; the consuming app supplies its own copy.
The complete license text and copyright notice for every package above is reproduced in THIRD_PARTY_LICENSES.md at the repo root, and ships inside the published npm package (listed in package.json's files).
Bundling permissive-licensed code without carrying its notices forward is a common oversight — the license terms are satisfied by the source npm packages having their own LICENSE files, but that guarantee disappears once code is minified into a single dist/copc-cesium.mjs with no separate node_modules to point to. This page and THIRD_PARTY_LICENSES.md exist so the obligation travels with the published artifact itself.