Skip to content

fix(pkg): add repository/bugs/homepage fields for npm provenance - #6

Merged
Shinrai merged 2 commits into
nextfrom
fix/package-json-repository-field
Jul 19, 2026
Merged

Shinrai merged 2 commits into
nextfrom
fix/package-json-repository-field

Conversation

@Shinrai

@Shinrai Shinrai commented Jul 19, 2026 •

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

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.
@cldmv-bot cldmv-bot Bot added the type: dependencies Relates to dependency updates, version bumps, or package management label Jul 19, 2026
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.
@cldmv-bot cldmv-bot Bot added the ! fix → next v4 flow: fix contributor PR targeting the next integration branch label Jul 19, 2026
@Shinrai
Shinrai merged commit 03e5169 into next Jul 19, 2026
22 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/package-json-repository-field branch July 19, 2026 06:49
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'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! fix → next v4 flow: fix contributor PR targeting the next integration branch type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant