[BUG] [FEATURE] npm publish, unpublish, and deprecate functionality needs/ requirement #47400 #6327
Closed
2 tasks done
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 8.x
work is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I recommend allowing republishing the same version v1.0.0 with a different codebase B after unpublishing a version v1.0.0 with codebase A; with a possibility to view the publish, unpublish, republish logs/ codebase, etc.
What do you see instead?
When I
publish
a packagev1.0.0
andunpublish
it, it isunpublished
correctly. However, I amnot able to re-publish
any other codebase B/ C/ D into v1.0.0. I will not be able to re-publish the same version v1.0.0.Additional information
NA.
I recommend allowing republishing the same version v1.0.0 with a different codebase B after unpublishing a version v1.0.0 with codebase A; with a possibility to view the publish, unpublish, republish logs/ codebase, etc.
Expected Behavior
While being unable to republish a unpublished version v1.0.0 is the current behaviour, I believe being able to re-publish a different codebase with the
same version v1.0.0 after unpublish should be possible
. If you arearchiving publish and unpublish logs
plus codebase internally in your servers for security reasons and/ or other policy reasons, I suggest you could probably archive into the servers the published-unpublished version v1.0.0, the unpublished v1.0.0 codebase A, new v1.0.0 published codebase B, and future unpublish logs, so on, for the version v1.0.0, etc.Steps To Reproduce
What steps will reproduce the bug?
npm publish, unpublish, and deprecate functionality needs/ requirement:
publish
a packagev1.0.0
andunpublish
it, it isunpublished
correctly. However, I amnot able to re-publish
any other codebase into V1.0.0. I will not be able to re-pulish the same version v1.0.0.How often does it reproduce? Is there a required condition?
Always.
Environment
The text was updated successfully, but these errors were encountered: