e18e/Dependency Diff
Summarise differences between dependency versions when upgrading.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| base-ref | Base ref to compare against (defaults to main or PR target) | no | — |
| github-token | The GitHub token for authentication. | yes | ${{ github.token }} |
| pr-number | The number of the pull request to comment on. | yes | ${{ github.event.pull_request.number }} |
| dependency-threshold | Threshold for warning about significant increase in number of dependencies | no | 10 |
| size-threshold | Threshold (in bytes) for warning about significant increase in package size | no | 100000 |
| base-packages | Glob pattern for base branch pack files (e.g., "./base-packs/*.tgz") | no | — |
| source-packages | Glob pattern for source branch pack files (e.g., "./source-packs/*.tgz") | no | — |
| pack-size-threshold | Threshold (in bytes) for warning about significant increase in total pack size. Set to -1 to always report size changes. | no | 50000 |
| duplicate-threshold | Threshold for warning about packages with multiple versions | no | 1 |
| detect-replacements | Detect modules which have community suggested alternatives | no | true |
| working-directory | Working directory to scan for package lock file | no | — |
| mode | Run mode. "comment" posts a PR comment directly, "artifact" writes a JSON file containing the comment body and PR number, "comment-from-artifact" reads a previously written artifact file and posts it as a PR comment. | no | comment |
| artifact-path | Path to the artifact JSON file. Required when mode is "comment-from-artifact". | no | — |
Outputs
| name | description |
|---|---|
| artifact-path | Path to the artifact JSON file. Set when mode is "artifact". |