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:
@@ -10,7 +10,7 @@ exports = module.exports = {
|
||||
setLanguage,
|
||||
};
|
||||
|
||||
const assert = require('assert'),
|
||||
const assert = require('node:assert'),
|
||||
BoxError = require('./boxerror.js'),
|
||||
constants = require('./constants.js'),
|
||||
cron = require('./cron.js'),
|
||||
|
||||
Reference in New Issue
Block a user