Files
lcbp3.np-dms.work/frontend/node_modules/next/dist/server/node-environment-extensions/node-crypto.d.ts
2025-09-21 20:29:15 +07:00

10 lines
481 B
TypeScript
Executable File

/**
* We extend node:crypto APIs during builds and revalidates to ensure that prerenders don't observe random bytes
* When cacheComponents is enabled. Random bytes are a form of IO even if they resolve synchronously. When cacheComponents is
* enabled we need to ensure that random bytes are excluded from prerenders unless they are cached.
*
*
* The extensions here never error nor alter the underlying return values and thus should be transparent to callers.
*/
export {};