npm deprecate doesn't alter the package metadata

What I Wanted to Do

I wanted to deprecate react-native-typeskill. To do so, I attempted the following with npm cli, v6.11.3:

npm deprecate react-native-typeskill "This library is now maintained as @typskill/typer."

What Happened Instead

After 12 hours, the package was still undeprecated. I checked NPM URI and through npm install react-native-typeskill; no deprecation warning was displayed in either places.

I attempted the above deprecate command again and I have yet not witnessed any changes.

Reproduction Steps

I already provided reproduction steps for my specific repository.

Details

I tried various CLI versions, ranging from 6.10.3 to 6.11.3. I believe it’s related to registry and has nothing to do with the command line client.

Platform Info

$ npm --versions
{
  npm: '6.11.3',
  ares: '1.15.0',
  brotli: '1.0.7',
  cldr: '35.1',
  http_parser: '2.8.0',
  icu: '64.2',
  llhttp: '1.1.4',
  modules: '72',
  napi: '4',
  nghttp2: '1.39.2',
  node: '12.10.0',
  openssl: '1.1.1c',
  tz: '2019a',
  unicode: '12.1',
  uv: '1.31.0',
  v8: '7.6.303.29-node.16',
  zlib: '1.2.11'
}
$ node -p process.platform
linux

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.