This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
un-deprecation using npm deprecate
from doc example causes anxiety
#7814
Labels
Hello!
Doc at https://docs.npmjs.com/cli/deprecate says:
Originally I was going to say it's not removing deprecation, just removing the deprecation message, e.g.
becomes
However, copying it from the doc page I now realize there shouldn't be a space in the empty string (obviously I guess), but reading it on the doc page I had not gotten that impression:
This is on a mac running latest chrome. I guess it's just a weird font rendering issue but it's enough to have fooled me into running
npm deprecate derp@0.1.8 " "
to try to remove it.Sorry if this isn't real issue material but it's an understandable misreading, right?
Side-note: would it make sense to treat
" "
as an empty string and remove deprecation? It's not falsy but it sure is empty.The text was updated successfully, but these errors were encountered: