Closed
Description
- Version: 11.6.0
- Platform: Windows 7 64bit
- Subsystem: crypto
module 'crypto' is broken as it doesn't work at all with '--throw-deprecation'.
C:\>node --experimental-modules --throw-deprecation test.mjs
//test.mjs
import 'crypto';
My understanding is that 'crypto' is not deprecated, only crypto.DEFAULT_ENCODING is. So crypto needs to still work with --throw-deprecation! If 'crypto' in its entirity is deprecated, then what is the migration path for crypto.randomBytes?
Metadata
Metadata
Assignees
Labels
No labels