Upgrade impact (what breaks)
upgrade_impactCompare two npm package versions to detect breaking TypeScript API changes—removed exports, changed signatures, deprecations, engine and peer dependency shifts, plus changelog diffs—before upgrading.
Instructions
Reports what changes between two versions of an npm package by diffing the public TypeScript API of both releases (only the type declarations are analyzed; package code is never executed): removed exports and import paths, changed function signatures and class or interface members, newly deprecated APIs, changed engines and peerDependencies, and the changelog sections published in between. Returns a summary with counts and a likely_breaking flag, followed by the before/after detail of each change. Read-only and requires no authentication. The first request for a version pair can take up to about 25 seconds while the analysis runs; if it is still running the result has status "pending" and retry_after_s, and you should call again after that delay. Limits: only npm packages that ship TypeScript types (or have @types) can be analyzed, and behavior changes that do not alter types (for example new caching defaults) are invisible, so also read the returned changelog. Use it BEFORE upgrading a dependency across a major version, or when code written for an old version fails on a new one. For one API in one version use symbol_status; for vulnerabilities use version_status; to choose a version that fits an older runtime use find_compatible_version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The version to move to, in the same formats; omit for the latest stable release. It must be newer than "from" | |
| from | Yes | The version you are on: an exact version such as "14.2.3", or a major such as "14", which resolves to the latest stable release of that major | |
| name | Yes | npm package name, e.g. "next" or "@tanstack/react-query" (scoped names allowed). PyPI, crates.io and Packagist packages are not supported by this tool |