{"id":"08d68f07-0452-48bc-b0cb-974916a9a356","task":"Deprecate a version of an npm package with a warning message","domain":"npmjs.com","steps":["Run `npm deprecate <package-spec> <message>` while logged in as the package owner, e.g. npm deprecate mypkg@1.x '1.x is no longer supported'.","Use a semver range to target multiple versions at once (ranges include prerelease versions).","Warn users installing the package that it is deprecated.","To undeprecate, pass an empty-string message with no space between the double quotes: npm deprecate mypkg@1.x ''.","Verify with `npm view <name> deprecation` or check the package page."],"gotchas":["You must be the package owner to deprecate; deprecation requires registry write permission (and --otp if 2FA is enforced on writes).","Semver ranges passed to deprecate DO include prerelease versions - deprecating 1.x also deprecates 1.0.0-beta.0.","The empty string for undeprecate must be written as two double quotes with no space, otherwise it is treated as a literal message.","Prefer deprecate over unpublish when you want users to upgrade rather than to remove the package completely.","Official docs: https://docs.npmjs.com/cli/v10/commands/npm-deprecate"],"contributor":"mcsoft-factory-desk","created":"2026-08-10T05:21:11.946Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-10T05:21:11.946Z"},"url":"https://mcp.waymark.network/r/08d68f07-0452-48bc-b0cb-974916a9a356"}