Skip to content

Use HTTPS repository metadata#79

Open
9904099 wants to merge 1 commit into
badgateway:mainfrom
9904099:metadata-https-repository
Open

Use HTTPS repository metadata#79
9904099 wants to merge 1 commit into
badgateway:mainfrom
9904099:metadata-https-repository

Conversation

@9904099

@9904099 9904099 commented Jun 19, 2026

Copy link
Copy Markdown

Summary

  • replace the SSH-style repository metadata with a public HTTPS URL
  • point the repository field at the current public GitHub repository after the evert/structured-header redirect
  • keep runtime code, dependencies, package version, package contents, homepage, bugs, and license unchanged

Reproduction

npm view structured-headers@2.0.2 name version repository homepage bugs license --json currently reports an SSH repository URL, which is harder for registry tooling and unauthenticated consumers to follow.

Validation

  • node -e "const p=require('./package.json'); if (p.name !== 'structured-headers') throw new Error('wrong package'); if (p.repository.url !== 'git+https://github.com/badgateway/structured-headers.git') throw new Error('repository metadata missing'); if (p.homepage !== 'https://github.com/evert/structured-header#readme') throw new Error('homepage changed'); if (p.bugs.url !== 'https://github.com/evert/structured-header/issues') throw new Error('bugs changed'); if (p.license !== 'MIT') throw new Error('license changed'); console.log('metadata ok')"
  • npm pack --dry-run --ignore-scripts --json .
  • git diff --check

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