Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed repro. #1814 fixes this: existing package-lock.json entries now keep npm's key order (so "dev": true stays put) and their full funding (type and arrays), and a read → write round trip of an npm-written lockfile is byte-identical.

One remaining gap: a newly resolved package with funding is still written as {"url": ...}, because the resolver only carries the URL. Existing entries are unaffected.

AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: unavailable.

Replies: 3 comments

Comment options

jdx
Oct 22, 2026 — with coder-jdx
Maintainer

You must be logged in to vote
0 replies
Answer selected by mwolson
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants