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

[BUG] Package gets not deleted correctly #7310

Closed
2 tasks done
Lueton opened this issue Mar 23, 2024 · 2 comments
Closed
2 tasks done

[BUG] Package gets not deleted correctly #7310

Lueton opened this issue Mar 23, 2024 · 2 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x

Comments

@Lueton
Copy link

Lueton commented Mar 23, 2024

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest npm version

  • I am using the latest npm

Current Behavior

I published a package with version 1.0.0. After that i deleted the package. Not visible anymore. Then i published the same package again with version 1.0.0. Publishing failed with error "cannot publish over previously published". Besides that my npmjs page showed "Packages (1)" but there was no package displayed.

Expected Behavior

  • It should be possible to publish the same package with the same version after it has been deleted.
  • The package should be displayed on the npmjs page

Steps To Reproduce

  1. Publish package with version 1.0.0
  2. Delete package
  3. Publish package again with version 1.0.0
  4. See error...

Environment

No response

@Lueton Lueton added Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x labels Mar 23, 2024
@ljharb
Copy link
Contributor

ljharb commented Mar 23, 2024

It’s never possible to reuse a version number, ever. It would be a security problem if you could.

@Lueton
Copy link
Author

Lueton commented Mar 23, 2024

It’s never possible to reuse a version number, ever. It would be a security problem if you could.

Thank you for clarification.

@Lueton Lueton closed this as completed Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 10.x
Projects
None yet
Development

No branches or pull requests

2 participants