Steven

Results 553 comments of Steven

@nschonni @ovflowd @shanpriyan Anything else we need to land this?

I created PR #5025 which has a lot more context and discussion.

When you run `npm install ` it wont install the `devDependencies` of that package, only the `dependencies`. So it doesn't make sense to show them in Package Phobia either.

Is your suggestion for the package.json upload feature?

I updated the title to better describe your request. Feel free to submit a PR 👍

The package.json file is currently processed on the server so if it takes more than 30 seconds to install all dependencies, you will see this timeout error. One solution is...

I doubt that the perf difference will be big enough. The frontend should probably parse the file on the client and then make multiple API requests to the server.

I benchmarked `sharp` vs `is-animated` and it turns out that `sharp` is much slower by several orders of magnitude for this use case, for example Landscape_1.jpg takes 12.343ms vs 0.002ms....

If the `packageManager` field is missing in package.json, what should happen? Throw an error?

Why corepack specifically? You can search for packages using so many other tools, for example - https://www.npmjs.com/search?q=git%20parse - https://yarnpkg.com/?q=git%20parse&p=1 - https://npms.io/search?q=git+parse - https://snyk.io/advisor/search?source=npm&q=git%20parse