Back when Package Phobia first came out in 2018, it used npm@5 to install dependencies and measure the size. That was later upgrade to npm@6 with little behavior changed.
Then upgrading node caused problems with the old version of npm so Package Phobia switched to yarn@2 and later yarn@3 which both omit peer dependencies by default.
Recently, Package Phobia switched to npm@10 which will automatically install peer dependencies.
This PR will change the behavior back to omit peer dependencies.
Back when Package Phobia first came out in 2018, it used
npm@5
to install dependencies and measure the size. That was later upgrade to npm@6 with little behavior changed.Then upgrading node caused problems with the old version of npm so Package Phobia switched to yarn@2 and later yarn@3 which both omit peer dependencies by default.
Recently, Package Phobia switched to npm@10 which will automatically install peer dependencies.
This PR will change the behavior back to omit peer dependencies.