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
+2 -2
View File
@@ -115,8 +115,8 @@ exports = module.exports = {
ACTION_PROCESS_CRASH: 'system.crash' // obsolete
};
const assert = require('assert'),
crypto = require('crypto'),
const assert = require('node:assert'),
crypto = require('node:crypto'),
database = require('./database.js'),
debug = require('debug')('box:eventlog'),
mysql = require('mysql2'),