Skip to content

fix: parse npm 12 pack metadata - #11

Merged
bntvllnt merged 1 commit into
mainfrom
fix/npm12-pack-json
Aug 31, 2026
Merged

fix: parse npm 12 pack metadata#11
bntvllnt merged 1 commit into
mainfrom
fix/npm12-pack-json

Conversation

@bntvllnt

Copy link
Copy Markdown
Collaborator

Summary

  • parse both npm 11 array-shaped and npm 12 package-keyed npm pack --json output
  • extract and validate filename plus integrity in one fail-closed parser
  • apply the parser to canary and stable publication paths

Context

The second canary attempt reached npm 12 successfully, then failed because npm 12 changed npm pack --json from an array to an object keyed by package name.

Verification

  • exact npm 12.0.2 output parsed successfully
  • tarball filename exists and integrity is populated
  • pnpm format:check
  • git diff --check

No stable package is published or tagged by this PR.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@bntvllnt
bntvllnt merged commit 08285b5 into main Aug 31, 2026
6 checks passed
@bntvllnt
bntvllnt deleted the fix/npm12-pack-json branch August 31, 2026 15:46
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