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
+3 -3
View File
@@ -77,9 +77,9 @@ const USERS_FIELDS = [ 'id', 'username', 'email', 'fallbackEmail', 'password', '
const DEFAULT_GHOST_LIFETIME = 6 * 60 * 60 * 1000; // 6 hours
const appPasswords = require('./apppasswords.js'),
assert = require('assert'),
assert = require('node:assert'),
BoxError = require('./boxerror.js'),
crypto = require('crypto'),
crypto = require('node:crypto'),
constants = require('./constants.js'),
dashboard = require('./dashboard.js'),
database = require('./database.js'),
@@ -101,7 +101,7 @@ const appPasswords = require('./apppasswords.js'),
uaParser = require('ua-parser-js'),
userDirectory = require('./user-directory.js'),
superagent = require('@cloudron/superagent'),
util = require('util'),
util = require('node:util'),
validator = require('./validator.js'),
_ = require('./underscore.js');