Repository navigation
Dependency Licenses
English · 한국어
Run npm run check:licenses in web/. verify:full also runs it; CI exposes warnings and the license-verification artifact. The checker is offline and does not display verification warnings on /notice.
pass matches a registered AGPL-3.0-only compatibility rule or a version-specific manual review. incompatible matches a registered incompatible combination. review needs inspection: missing metadata, conditional licenses/exceptions, changed reviewed versions, or unavailable platform-specific originals.
Warnings do not block CI and return zero. Checker failures—missing required packages, installed/locked version mismatches, invalid review configuration, or read/write failures—return failure. Check license-reports/report.json for completed; errors overwrite it with completed: false so stale reports cannot appear successful. Reports live outside browser-cleaned test-results/.
Reports contain package/version/location, one representative dependency path, installation state, scope, original-license paths, selected license branch, rationale, action, and sources. They do not enumerate every dependency path.
The policy baseline is web/package.json's AGPL-3.0-only; update rules first if it changes. Inspect every locked package and compare installed versions/licenses. Uninstalled optional packages use lockfile metadata and may use archived original notices or explicitly reviewed upstream license declarations when name, install location, version, license, tarball URL and integrity all match web/scripts/optional-license-evidence.json. Without matching evidence, the original-unverified warning remains. Referenced text is SHA-256 checked; missing/corrupt originals fail inspection. Development scope uses the lockfile dev flag; incompatible development tools become review to check distribution inclusion. Runtime classification is conservative, not an actual bundle analysis.
To maintain this evidence, run node scripts/archive-optional-licenses.mjs in web/ and inspect the diff. This command alone uses the network and system tar, verifies npm tarballs against the locked SHA-512 and metadata, and archives notices without installing foreign binaries or executing package scripts. Exact existing evidence is reused. SWC/Rolldown/UnRS originals omitted from the archives use separately reviewed source commits in optional-license-upstreams.json; Rolldown's referenced third-party notice is also retained. sharp-libvips supplies a README licensing table, not full license texts. These are evidence, not new compatibility exceptions or complete native-dependency audits. See web/scripts/optional-license-sources/README.md for provenance. @tybys/wasm-util@0.10.3 passes using the MIT declaration in its npm gitHead's upstream package.json, matching the published package and confirmed by the maintainer. It is marked license-declaration and checked for name/version/license; it is not represented as standalone license text or an automatic metadata fallback. HEIC/runtime reviews are unchanged. Public notices continue to include installed packages only.
For SPDX expressions, OR prefers a compatible branch and AND checks all conditions, respecting parentheses and precedence. WITH, unknown identifiers, and invalid expressions require review. LGPL, MPL, GPL combination terms and CC-BY attribution need individual consideration. A pass does not certify fulfillment of notices, source distribution, or other obligations.
Rules live in web/scripts/license-policy.mjs. References include GNU compatibility, GNU license list, and Blue Oak FAQ.
Inspect Next.js dist/compiled license files individually. Missing identifiers stay review; do not infer a license from the original text automatically. Include the parent Next.js version in embedded-item versions so upgrades trigger review. Combined originals may have terms not captured by metadata.
HEIC/WebP codecs are registered with parent package versions in web/scripts/bundled-licenses.json. Check libheif/libde265 source headers; changed versions or headers trigger warnings. Extend known embedded/WASM/asset lists for new dependencies; the checker does not discover every binary's provenance.
Public notices use the same collector. After dependency or codec changes, run npm run notices:generate. Metadata-only packages are labeled accordingly; never invent missing copyright originals. Preserve the actual notice texts and the source README beside them.
The application uses a Miroven-built CSP module from pinned heic-to 1.5.2, libheif 1.22.2 and libde265 1.0.16 sources. web/vendor/heic/manifest.json records upstream commits, archive/recipe/output hashes and compiler runtime notices. This modified build retains the libraries' own licenses: LGPLv3 for heic-to and LGPLv3-or-later for libheif/libde265. The existing notice system preserves their copyright and full GPL/LGPL texts, and includes the Emscripten, musl, LLVM and dlmalloc runtime notices.
The source archive supplies actual application inputs, library sources, patches and rebuilding/replacement instructions. The native probe changes both C/C++ version functions, reads their values inside the final browser Worker and decodes real HEIC/HEIF. A wrapper-only rebuild does not establish native source reproduction. See native checks and the self-contained recipe shipped with the source.
The three library reviews remain review. Rebuilding/recombining provides technical evidence for LGPLv3 §4(d)(0); the codec remains embedded in a Worker string, so this mechanism does not establish §4(d)(1) shared-library replacement. Compatibility, source completeness (including compiler/runtime and application dependencies), notices and distribution terms, any applicable installation information, and actual hosting/access/retention require their own assessment. Generic SDK/tool sources are identified and pinned, rather than bundled in full. Neither a successful local check nor an expiring CI artifact establishes the production source-delivery arrangement. See source delivery.
Record a concrete, version-specific review in web/scripts/license-reviews.json; do not add broad exceptions just to reduce warnings. Required record fields are name, location, version, license, status, reason, source, reviewedBy, and reviewedAt. Use status: "pass" only after inspecting the actual license and usage. Use an empty license for absent identifiers and cite the original source.
Records match package name and install path; changed versions/licenses require review again. Manual records cannot hide metadata conflicts, changed embedded codec versions, or missing originals for uninstalled packages. Remove obsolete records when dependencies disappear.
After policy changes, run npx vitest run tests/license-check.test.ts, npm run check:licenses, and npm run verify:fast, and inspect the actual report.
- Client development · 클라이언트 개발
- Self-hosting · 자체 호스팅
- PWA, offline use, and updates · PWA·오프라인·업데이트
- Client performance · 클라이언트 성능
- Architecture · 아키텍처
- Cryptographic format · 암호화 형식
- Image processing · 사진 처리
- Security model · 보안 경계
- Product principles · 제품 원칙
- Dependency licenses · 의존성 라이선스
- Account and sync · 계정과 동기화
- Backup and recovery · 백업과 복구
- Entry quotes · 기록 인용
- Profile document · 프로필 문서