Surface diff between two versions
diff_surfaceWhat changed in a package's runtime surface between two versions: symbols removed, added, and arity changes, plus renames the package itself proves (a removed name that shared one declaration with a name the new version still exports). Removals break node; type-only removals are returned separately because they break tsc instead. Answers "when did this stop working" from static comparison, with no install required. Use before an upgrade, and to explain a break after one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | npm package name | |
| toVersion | Yes | Version you are moving to | |
| fromVersion | Yes | Version you are on |