From e60b3607c12c91959ec795228cc299703d5b09d0 Mon Sep 17 00:00:00 2001 From: jhmaster <32803471+jhmaster2000@users.noreply.github.com> Date: Thu, 28 Sep 2023 03:51:49 -0300 Subject: Complete rework of the majority of `node:util`, primarily `util.inspect` (#4493) * 1st revision of new util.inspect impl. (not done) * fix util.types.isArrayBuffer * fix some utl tests and bugs * fix node:tty missing primordials * fix utl stackoverflow handling & some tests * narrow down diff. context test * util.inspect indirect circulars optimization * temp workaround for buggy is...Function checks * impl. Map/Set/Iterator entries inspection * fix bigint & symbol objects inspection * error inspection fixes * misc util tests stuff * inline getExternalValue stub * leftovers * util.inspect promise internals * run bun fmt * commit make js changes * cut out unnecessary utl files * reorganize utl folder structure * remove browserify buffer check * Try to revert git messing up uws somehow This reverts commit 2c27e16e7d361657b9c3a7dc7892117cf31e15ee. * commit src/js/out files again * redo this edit too * refresh js/out files * Removed uws submodule * tidy up * unused primordials * run fmt --------- Co-authored-by: dave caruso --- src/js/out/InternalModuleRegistry+enum.h | 112 ++++++++++++++++--------------- 1 file changed, 57 insertions(+), 55 deletions(-) (limited to 'src/js/out/InternalModuleRegistry+enum.h') diff --git a/src/js/out/InternalModuleRegistry+enum.h b/src/js/out/InternalModuleRegistry+enum.h index b45f56c07..e065ad481 100644 --- a/src/js/out/InternalModuleRegistry+enum.h +++ b/src/js/out/InternalModuleRegistry+enum.h @@ -3,59 +3,61 @@ BunSqlite = 1, InternalDebugger = 2, InternalFSCpSync = 3, InternalFSCp = 4, -InternalShared = 5, -NodeAssert = 6, -NodeAssertStrict = 7, -NodeAsyncHooks = 8, -NodeChildProcess = 9, -NodeCluster = 10, -NodeConsole = 11, -NodeCrypto = 12, -NodeDgram = 13, -NodeDiagnosticsChannel = 14, -NodeDNS = 15, -NodeDNSPromises = 16, -NodeDomain = 17, -NodeEvents = 18, -NodeFS = 19, -NodeFSPromises = 20, -NodeHttp = 21, -NodeHttp2 = 22, -NodeHttps = 23, -NodeInspector = 24, -NodeNet = 25, -NodeOS = 26, -NodePathPosix = 27, -NodePath = 28, -NodePathWin32 = 29, -NodePerfHooks = 30, -NodePunycode = 31, -NodeQuerystring = 32, -NodeReadline = 33, -NodeReadlinePromises = 34, -NodeRepl = 35, -NodeStreamConsumers = 36, -NodeStream = 37, -NodeStreamPromises = 38, -NodeStreamWeb = 39, -NodeTimers = 40, -NodeTimersPromises = 41, -NodeTLS = 42, -NodeTraceEvents = 43, -NodeTty = 44, -NodeUrl = 45, -NodeUtil = 46, -NodeV8 = 47, -NodeVM = 48, -NodeWasi = 49, -NodeWorkerThreads = 50, -NodeZlib = 51, -ThirdpartyDepd = 52, -ThirdpartyDetectLibc = 53, -ThirdpartyDetectLibcLinux = 54, -ThirdpartyIsomorphicFetch = 55, -ThirdpartyNodeFetch = 56, -ThirdpartyUndici = 57, -ThirdpartyVercelFetch = 58, -ThirdpartyWS = 59, +InternalPrimordials = 5, +InternalShared = 6, +InternalUtilInspect = 7, +NodeAssert = 8, +NodeAssertStrict = 9, +NodeAsyncHooks = 10, +NodeChildProcess = 11, +NodeCluster = 12, +NodeConsole = 13, +NodeCrypto = 14, +NodeDgram = 15, +NodeDiagnosticsChannel = 16, +NodeDNS = 17, +NodeDNSPromises = 18, +NodeDomain = 19, +NodeEvents = 20, +NodeFS = 21, +NodeFSPromises = 22, +NodeHttp = 23, +NodeHttp2 = 24, +NodeHttps = 25, +NodeInspector = 26, +NodeNet = 27, +NodeOS = 28, +NodePathPosix = 29, +NodePath = 30, +NodePathWin32 = 31, +NodePerfHooks = 32, +NodePunycode = 33, +NodeQuerystring = 34, +NodeReadline = 35, +NodeReadlinePromises = 36, +NodeRepl = 37, +NodeStreamConsumers = 38, +NodeStream = 39, +NodeStreamPromises = 40, +NodeStreamWeb = 41, +NodeTimers = 42, +NodeTimersPromises = 43, +NodeTLS = 44, +NodeTraceEvents = 45, +NodeTty = 46, +NodeUrl = 47, +NodeUtil = 48, +NodeV8 = 49, +NodeVM = 50, +NodeWasi = 51, +NodeWorkerThreads = 52, +NodeZlib = 53, +ThirdpartyDepd = 54, +ThirdpartyDetectLibc = 55, +ThirdpartyDetectLibcLinux = 56, +ThirdpartyIsomorphicFetch = 57, +ThirdpartyNodeFetch = 58, +ThirdpartyUndici = 59, +ThirdpartyVercelFetch = 60, +ThirdpartyWS = 61, -- cgit v1.2.3