Safe version per release line
latest_safeFind the version to upgrade to for one npm package. Returns, per release line (major, or minor for 0.x), the version that fixes every known advisory of the last 120 days; a line still affected has safe: null and the ids that keep it affected. Also lists advisories with no fix found, and says whether this package name itself is flagged as malicious. Use it after get_advisories, to pick one target version per line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | One npm package name as written in package.json, for example "next" or "@solana/web3.js". |