use node: prefix for requires

mostly because code is being autogenerated by all the AI stuff using
this prefix. it's also used in the stack trace.
This commit is contained in:
Girish Ramakrishnan
2025-08-14 11:17:38 +05:30
parent d3b77c3be1
commit 12e073e8cf
202 changed files with 395 additions and 395 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
exports = module.exports = hat;
const crypto = require('crypto');
const crypto = require('node:crypto');
function hat(bits) {
return crypto.randomBytes(bits / 8).toString('hex');