Repository navigation
fix(pkg): add repository/bugs/homepage fields for npm provenance - #6
Merged
Merged
Conversation
npm publish for v1.3.3 failed with: 422 Unprocessable Entity - Error verifying sigstore provenance bundle: Failed to validate repository information: package.json: "repository.url" is "", expected to match "https://github.com/CLDMV/fix-headers" from provenance package.json never had a repository field at all, so npm's OIDC/ Sigstore provenance check -- which cross-references the declared repository against the actual GitHub repo the publish workflow runs from -- had nothing to compare against and rejected the publish. This was masked until now by an unrelated npm-token/trusted-publisher issue that failed earlier in the same step for v1.3.1 and v1.3.2. Adds repository, bugs, and homepage per the standard CLDMV package.json fields.
Brings package.json's basic metadata in line with the standard CLDMV package.json baseline (matches @cldmv/slothlet's pattern): - author, contributors, funding — were missing entirely. - sideEffects: false — index.mjs/index.cjs are pure re-export shims with no import-time side effects, so this is accurate and lets bundlers tree-shake consumers of this package.
Shinrai
added a commit
that referenced
this pull request
Oct 31, 2026
CodeQL js/polynomial-redos alerts #6, #7 and #8: copyrightHolder's trailing 'all rights reserved' and punctuation patterns and the new header's @copyright match let adjacent quantifiers compete for the same white space. copyrightHolder now uses anchored patterns and string operations, and the @copyright value is read with indexOf and trim. The modeline matcher had the same shape ([ \t]*(.*?)[ \t]* before an optional closer) and a 'set' prefix whose white space overlapped the options; it now captures the rest of the line and trims the closer with string operations, and takes one white space character after 'set'.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors