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] npm deprecate does not support alpha characters #3839

Open
1 task done
globules-io opened this issue Oct 5, 2021 · 2 comments
Open
1 task done

[BUG] npm deprecate does not support alpha characters #3839

globules-io opened this issue Oct 5, 2021 · 2 comments
Labels
Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release

Comments

@globules-io
Copy link

globules-io commented Oct 5, 2021

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

npm ERR! code E400
npm ERR! 400 Bad Request - PUT https://registry.npmjs.org/@globules-io%2fogx.js - deprecations must be strings

Expected Behavior

deprecate the package that I was allowed to publish
If characters are not allowed in version then publish should not work.

Note that these versions undeprecated successfully (??)
1.8.7-b
1.8.7-c
1.8.7-d

Steps To Reproduce

npm deprecate @globules-io/ogx.js@1.8.7-f deprecated

Environment

  • OS: Windows 10 x64
  • Node: 16.10.0
  • npm: 7.24.2
@globules-io globules-io added Bug thing that needs fixing Needs Triage needs review for next steps Release 7.x work is associated with a specific npm 7 release labels Oct 5, 2021
@globules-io globules-io changed the title [BUG] npm deprecate does not support characters [BUG] npm deprecate does not support alpha characters Oct 5, 2021
@nlf
Copy link
Contributor

nlf commented May 31, 2022

@globules-io can you try replicating this problem on the latest version of npm? (ie. npm i -g npm)

@globules-io
Copy link
Author

Will do asap

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 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

No branches or pull requests

2 participants