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:
+2
-2
@@ -12,11 +12,11 @@ exports = module.exports = {
|
||||
_clear: clear
|
||||
};
|
||||
|
||||
const assert = require('assert'),
|
||||
const assert = require('node:assert'),
|
||||
BoxError = require('./boxerror.js'),
|
||||
constants = require('./constants.js'),
|
||||
debug = require('debug')('box:database'),
|
||||
execSync = require('child_process').execSync,
|
||||
execSync = require('node:child_process').execSync,
|
||||
mysql = require('mysql2/promise'),
|
||||
safe = require('safetydance'),
|
||||
shell = require('./shell.js')('database');
|
||||
|
||||
Reference in New Issue
Block a user