Node: npm is not ready for Node 11

Created on 22 Sep 2018  ·  2Comments  ·  Source: nodejs/node

Currently, npm uses the deprecated crypto.pseudoRandomBytes API through its unique-slug dependency.

There is already a PR to fix it: https://github.com/npm/unique-slug/pull/6

npm

Most helpful comment

Given that the only reason for deprecating seems to be “reducing undocumented API surface”, we should also definitely consider reverting the deprecation. Aliases are cheap and come with very little maintenance overhead.

All 2 comments

Given that the only reason for deprecating seems to be “reducing undocumented API surface”, we should also definitely consider reverting the deprecation. Aliases are cheap and come with very little maintenance overhead.

I contacted npm via twitter, their response was

I'm glad you asked about this. We can't guarantee that repo will be looked at in the near future.

So I'm in favor of downgrading the deprecation as well.

Was this page helpful?
0 / 5 - 0 ratings