Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Workaround Paka.dev BUG: unpublish v0.0.x versions on NPM #2

Closed
huan opened this issue Apr 8, 2022 · 2 comments
Closed

Workaround Paka.dev BUG: unpublish v0.0.x versions on NPM #2

huan opened this issue Apr 8, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@huan
Copy link
Owner

huan commented Apr 8, 2022

image

We need to keep mailbox no DevOps publish and no npm install for a week so that the NPM download number can reduce to below 300 / week.

image

GitHub (GitHub Support)

Apr 6, 2022, 6:30 PM UTC

Hello Huan,

Thanks for reaching out to npm Support.

We see there are over 300 weekly download counts for the mailbox package. As there are over 300 weekly download counts, we are unable to unpublish the below versions at this time. We will need the weekly download counts to be below 300 before we can unpublish the packages.

0.0.1
0.0.2
0.0.3
0.0.4
I will need to wait until next week to see if we can unpublish the above versions of mailbox and will provide you an update on them.

Please let us know if you have questions. We'll be here to help.

Thanks so much.

Regards,
YL
GitHub Support - Supporting the npm registry

	
Huan (李卓桓)

Apr 6, 2022, 1:20 AM UTC

Hi there,

According to the NPM Unpublish Policy: https://docs.npmjs.com/policies/unpublish , I should be able to unpublish a version of my NPM if:

1. no other packages in the npm Public Registry depend on
2. had less than 300 downloads over the last week
3. has a single owner/maintainer

I want to unpublish my package mailboxo@0.0.1 which is 11 years old, I believe it meets the above 3 conditions, but I still can not unpublish it:

    $ npm unpublish mailbox@0.0.1
    npm ERR! code E405
    npm ERR! 405 Method Not Allowed - PUT https://registry.npmjs.org/mailbox/-rev/49-54b6290013f4a03f4ca15de41d0178ed - Yo
    npm ERR! Failed criteria:
    npm ERR! has too many downloads

I need to remove all the mailbox@0.0.x versions due to the incompatible metadata with https://paka.dev/npm/mailbox (you can see those 4 very old version metadata cause an error page).

Could you please help me to unpublish that 4 v0.0.x versions?

Thank you very much.

Huan

	
GitHub (GitHub Support)

Apr 7, 2022, 11:42 AM UTC

Hello Huan,

Thank you for following up.

We see you have published multiple versions in a short period of time which will attribute to higher weekly download counts. Higher download counts are due to:

automated build servers
mirrors downloading your package versions
robots that download every package for analysis
We are unable to unpublish versions 0.0.1, 0.0.2, 0.0.3, and 0.0.4 of the mailbox package until next week when the weekly download counts are below 300.

Please let us know if you have questions. We'll be here to help.

Thanks so much.

Regards,
YL
GitHub Support - Supporting the npm registry

	
Huan (李卓桓)

Apr 7, 2022, 7:27 AM UTC

Hello YL,

I think all the downloads is not related to any v0.0.x version.

All downloads are begin from the last week when I have published v0.3.3 6 days ago, they should all relate to the v0.3+ versions.

You can see the weekly downloads chart from the https://www.npmjs.com/package/mailbox :

image.png
So I think we can safely remove the v0.0.x version, could you please help me to confirm that whether that's satisfy the policy?

Thank you very much.

Best,
Huan (李卓桓)
@huan huan added the enhancement New feature or request label Apr 8, 2022
@huan
Copy link
Owner Author

huan commented Apr 14, 2022

Done

Huan (李卓桓) <zixia@zixia.net>
Wed, Apr 13, 9:58 PM (10 hours ago)
to npm

Thank you for your help!

It seems to be working now:
 
https://paka.dev/npm/mailbox/v/0.6.9

Best,
Huan
--
發自我的小霸王學習機


On Wed, Apr 13, 2022, 21:49 npm Support <[npm@githubsupport.com](mailto:npm@githubsupport.com)> wrote:

Your request has been updated.

You can add a comment by replying to this email.

	
GitHub (GitHub Support)

Apr 13, 2022, 1:49 PM UTC

Hello Huan,

Thank you for your patience in awaiting a response.

Versions 0.0.1, 0.0.2, 0.0.3, and 0.0.4 of the mailbox package have been unpublished.

Please let us know if there is anything else we can do for you. We’ll be here to help.

Thanks so much.

Regards,
YL
GitHub Support - Supporting the npm registry

@huan huan closed this as completed in 691edfb Apr 14, 2022
@huan
Copy link
Owner Author

huan commented Apr 17, 2022

https://paka.dev/npm/mailbox can be visited without errors now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant