| 9 | parsedDiff.sort(({ newPath }) => (newPath.includes('package.json') ? -1 : 1)) |
| 10 | |
| 11 | interface UseFetchDiffProps { |
| 12 | shouldShowDiff: boolean |
| 13 | packageName: string |
| 14 | language: string |
| 15 | fromVersion: string |
| 16 | toVersion: string |
| 17 | } |
| 18 | export const useFetchDiff = ({ |
| 19 | shouldShowDiff, |
| 20 | packageName, |
nothing calls this directly
no outgoing calls
no test coverage detected