Skip to content

feat: make well-known SPDX IDs bundle-able and tree-shakable#1372

Open
jkowalleck wants to merge 3 commits intomainfrom
feat/spdx-licenses-export
Open

feat: make well-known SPDX IDs bundle-able and tree-shakable#1372
jkowalleck wants to merge 3 commits intomainfrom
feat/spdx-licenses-export

Conversation

@jkowalleck
Copy link
Member

@jkowalleck jkowalleck commented Feb 11, 2026

Description

the list of well-known SPDX licenses is now bundle-able and tree-shakable

List of well-known SPDX IDs is bundle-able and tree-shakable
The list itself is still not public, you may use the existing functionality to work with it: .SPDX.isSupportedSpdxId() and .SPDX.fixupSpdxId()

fixes #1371

AI Tool Disclosure

  • My contribution does not include any AI-generated content
  • My contribution includes AI-generated content, as disclosed below:
    • AI Tools: [e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]
    • LLMs and versions: [e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]
    • Prompts: [Summarize the key prompts or instructions given to the AI tools]

Affirmation

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck requested a review from a team as a code owner February 11, 2026 13:56
@jkowalleck jkowalleck changed the title feat: well-knownSPDXids are bundle-able and tree-shakable feat: make well-known SPDX IDs bundle-able and tree-shakable Feb 11, 2026
@jkowalleck jkowalleck added the enhancement New feature or request label Feb 11, 2026
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@codacy-production
Copy link

codacy-production bot commented Feb 11, 2026

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.12% (target: -1.00%) 100.00% (target: 90.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (ea8aa34) 28008 27582 98.48%
Head commit (d4c3f7f) 30441 (+2433) 30015 (+2433) 98.60% (+0.12%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1372) 819 819 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@read-the-docs-community
Copy link

Documentation build overview

📚 CycloneDX JavaScript Library | 🛠️ Build #31368855 | 📁 Comparing d4c3f7f against latest (ea8aa34)


🔍 Preview build

Show files changed (2 files in total): 📝 2 modified | ➕ 0 added | ➖ 0 deleted
File Status
changelog.html 📝 modified
index.html 📝 modified

@jkowalleck
Copy link
Member Author

implementation not needed - see #1371 (comment)

@jkowalleck
Copy link
Member Author

feature currently not needed, existing implementation works well with tree-shaking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: have the well-knwon SPDX licenses bundlable and tree-shakable downstream

1 participant