node crypto

Hey everyone, can you explain why certain packages such as node/crypto are not included in newer versions? I noticed that it is available in version 0.169.0 on this link (https://deno.land/std@0.169.0/node/crypto.ts), but returns a 404 error in version 0.201.0 (https://deno.land/std@0.201.0/node/crypto.ts). What's the reason behind this?
DAHDeno AI Helper9/19/2023
The documentation states that starting from Deno 1.31, the compatibility layer for Node.js, which includes node:crypto, has been moved directly into the Deno runtime itself. In previous releases, this compatibility was provided using https://deno.land/std/node, a collection of polyfills implemented in Deno’s standard library. This change was made to improve the situation for users relying on npm packages and to enhance the performance of Deno applications. Now, to use the embedded Node polyfills, you can import from node: specifiers. For example, to import Node’s crypto module, you would use import from node:crypto. This is why you're seeing a 404 error when trying to access node:crypto from the standard library in newer versions - it's no longer there, but directly in the Deno runtime. 🦕

Looking for more? Join the community!