Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Nuxt is being blacklisted? #114

Closed
Vloz opened this issue Nov 7, 2018 · 15 comments
Closed

Nuxt is being blacklisted? #114

Vloz opened this issue Nov 7, 2018 · 15 comments

Comments

@Vloz
Copy link

Vloz commented Nov 7, 2018

BUG

Specific package error

Package name

Nuxt

Entire error (stringified) I see in my browser console

code: "BlacklistedPackageError", message: "The package you were looking for is blacklisted due to suspicious activity in the past"

Is this intentional?
The current size with dependencies is ~66MB

@pastelsky
Copy link
Owner

pastelsky commented Nov 9, 2018

Yes, it was blacklisted due to the high volume of searches for nuxt, which would always fail to build. In any case nuxt is a CLI tool and the concept of bundle size does not have any value here.

@Vloz
Copy link
Author

Vloz commented Nov 9, 2018

In any case nuxt is a CLI tool and the concept of bundle size does not have any value here.

With the growth of server-less solutions exploiting Google-Cloud-Function / AWS Lambda, server-side package size tend to have a real impact on performance (ie: cold start depending a lot on the dependencies loaded).

But i agree that may not worth the price to allow people to scan for those big nodejs package.

Thank you for the answer.

@TheAlexLichter
Copy link

@pastelsky Could you allow nuxt-start then at least? It's way smaller and the info is valuable for people using Nuxt on Serverless ☺️

@TheAlexLichter
Copy link

Though it's just marginal, the error message is also a bit misleading as Nuxt did nothing wrong. It's neither an "evil" package nor involved in suspicious activities 🤷‍♂️

@TheAlexLichter
Copy link

And last but not least, all modules containing nuxt seem to be blocked. Is that really necessary? :(

Example: https://bundlephobia.com/result?p=nuxt-purgecss

@TheAlexLichter
Copy link

Friendly reminder that this is still a very unfortunate solution :( @pastelsky

@TheAlexLichter
Copy link

TheAlexLichter commented Feb 6, 2019

New year, new try!

Friendly reminder @pastelsky ☺️

@atinux
Copy link

atinux commented Feb 6, 2019

Hi @pastelsky

I am the author of Nuxt.js, since v2, we actually splitted nuxt in smaller npm packages, see https://github.com/nuxt/nuxt.js/blob/dev/distributions/nuxt/package.json#L56-L63

I do believe that Nuxt should not be blacklisted anymore, do you mind giving a try please?

@pastelsky
Copy link
Owner

pastelsky commented Feb 6, 2019

@atinux I can assure you that my intention is to keep the blacklist as tiny as possible (hopefully empty in the future). The fact of the matter is, even with nuxt v2, the installation size continues to be a whopping 68MB.

I'm not saying this is necessarily a bad thing, since I haven't personally used nuxt, but it is significantly larger than similar packages in the ecosystem, and I don't think its fair for bundlephobia to be allocating so much bandwidth to a single package, given thee resource constraints.

@pastelsky
Copy link
Owner

@manniL I've made the regex more specific so that other packages are not affected. This should've been fixed a while back, apologies for the delay.

https://bundlephobia.com/result?p=nuxt-start@2.4.3

@atinux
Copy link

atinux commented Feb 8, 2019

Thank you @pastelsky for your clarification and answer :)

Actually, I was more looking to packagephobia thand bundlephobia but kind of missed it.
Keep up the great work 👏

@wagerfield
Copy link

+1 for removing Nuxt from the blacklist @pastelsky.

Nuxt is a very popular—if not the most popular—framework for developing Vue applications.

Bundlephobia is such an awesome site and it makes me sad that I'm not able to use it to compare nuxt against the React equivalent of next when proposing tech stacks to clients.

I don't know how and why Nuxt has an install size of 68mb (perhaps @atinux or @manniL could chime in) but I'd be interested to know how that compares to Next.

I know that Nuxt has a fairly healthy Open Collective budget, so if costs for building/hosting Nuxt are a concern, perhaps Nuxt could consider backing this project?

@pastelsky
Copy link
Owner

pastelsky commented Feb 11, 2019 via email

@pastelsky
Copy link
Owner

Closing this now that the blacklist has been relaxed to only include nuxt (and not any package that contains that keyword).

Also, the failure message has been improved so that we don't cast any misleading aspersions on nuxt(or any other package) itself. Unless builds for nuxt pass (as suggested above), I don't think there is much to do for bundlephobia here.

@styfle
Copy link
Contributor

styfle commented Mar 22, 2020

It looks like both Next and Nuxt are blacklisted again.

In any case nuxt is a CLI tool and the concept of bundle size does not have any value here.

I agree with this statement. As I mentioned in #40, I came up with a different tool to measure install size which is relevant for CLI tools or backend frameworks. Perhaps it will be relevant to everyone in this thread.

https://github.com/styfle/packagephobia

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants