Skip to content

Allow CC-BY/Python-2.0 licenses, waive lightningcss MPL#134

Open
gtbuchanan wants to merge 1 commit into
mainfrom
dependency-review-license-policy
Open

Allow CC-BY/Python-2.0 licenses, waive lightningcss MPL#134
gtbuchanan wants to merge 1 commit into
mainfrom
dependency-review-license-policy

Conversation

@gtbuchanan
Copy link
Copy Markdown
Owner

Summary

Audited the license of every installed dependency against the shared dependency-review allowlist (.github/dependency-review-config.yml) and reconciled the gaps. All flagged packages are dev-only transitive dependencies — none ship in published runtime artifacts.

allow-licenses additions

License Class Seen via (dev-only transitive)
CC-BY-3.0 Attribution-only data license, no copyleft spdx-exceptions
CC-BY-4.0 Attribution-only data license, no copyleft caniuse-lite
Python-2.0 BSD-class permissive (CPython's license) argparse

allow-dependencies-licenses (new section)

lightningcss is MPL-2.0 (file-level copyleft), pulled transitively through vite/vitest as a dev-only build tool. Rather than allow-listing MPL-2.0 globally — which would silently pass any future MPL dependency, including a runtime one — it's waived by name. This preserves the CI gate for other MPL deps. All 11 platform binaries are enumerated since the action has no wildcard support.

Not changed

  • spawndamnit reports as Unknown only because it declares SEE LICENSE IN LICENSE; its LICENSE file is MIT. No action needed.
  • The compound (MIT OR CC0-1.0) entries already pass — both disjuncts are allowed.

Scope note

This is the shared policy file. Consumers inherit it through the config-file default in the reusable dependency-review.yml workflow, so the license additions and the lightningcss waiver apply downstream too. That's intentional — consumers pull lightningcss through the same shared vitest/vite stack, so sharing the waiver avoids every consumer having to duplicate the exception.

Note

No changeset included (CI-config-only change). changeset-check will fail unless an empty changeset is added.

🤖 Generated with Claude Code

Add CC-BY-3.0, CC-BY-4.0, and Python-2.0 to allow-licenses. All are
permissive/attribution-only (no copyleft) and appear only as dev-only
transitive deps: spdx-exceptions (CC-BY-3.0), caniuse-lite (CC-BY-4.0),
argparse (Python-2.0).

Waive lightningcss (and its platform binaries) via
allow-dependencies-licenses rather than allow-listing MPL-2.0 globally,
so any future MPL dependency still trips the CI gate. lightningcss is a
dev-only build tool pulled transitively through vite/vitest.

This is the shared policy file; consumers inherit it through the
dependency-review.yml config-file default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant