**As-Is:** Currently, package size changes are compared using the unpacked size retrieved via `npm view`. **To-Be:** 1. Use the Bundlephobia API to fetch the bundle size. 2. If the API fails, fallback to retrieving the size using `npm view`. 3. If both methods fail, leave the size field blank.
As-Is:
Currently, package size changes are compared using the unpacked size retrieved via
npm view.To-Be:
npm view.