From c2a77cf7ec9de9eadf938046bdf78e58561c8a6d Mon Sep 17 00:00:00 2001 From: dave caruso Date: Wed, 2 Aug 2023 16:27:36 -0700 Subject: Rewrite built-in modules to use CommonJS over ESM (#3814) * stfdsafsd sadffdsa stuff finish commonjs stuff asdf not done but work not done but work not done yet but this is how far i am remove files lol update built files uncomment everything in events lol export default stuff * afdsafsd * its not perfect but almost done * okay * cool * remove temp file * finish rebase * revert settings.json * a * ch-ch-ch-ch-changes * okay * remove this check in release for now * sxdcfghnjm, * lkjhgf * fmt * filename can be null * Update NodeModuleModule.h * weee * fmt --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> --- src/js/out/InternalModuleRegistry+enum.h | 57 ++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/js/out/InternalModuleRegistry+enum.h (limited to 'src/js/out/InternalModuleRegistry+enum.h') diff --git a/src/js/out/InternalModuleRegistry+enum.h b/src/js/out/InternalModuleRegistry+enum.h new file mode 100644 index 000000000..7d72e3d26 --- /dev/null +++ b/src/js/out/InternalModuleRegistry+enum.h @@ -0,0 +1,57 @@ +BunFFI = 0, +BunSqlite = 1, +InternalShared = 2, +NodeAssert = 3, +NodeAssertStrict = 4, +NodeAsyncHooks = 5, +NodeChildProcess = 6, +NodeCluster = 7, +NodeConsole = 8, +NodeCrypto = 9, +NodeDgram = 10, +NodeDiagnosticsChannel = 11, +NodeDNS = 12, +NodeDNSPromises = 13, +NodeDomain = 14, +NodeEvents = 15, +NodeFS = 16, +NodeFSPromises = 17, +NodeHttp = 18, +NodeHttp2 = 19, +NodeHttps = 20, +NodeInspector = 21, +NodeNet = 22, +NodeOS = 23, +NodePathPosix = 24, +NodePath = 25, +NodePathWin32 = 26, +NodePerfHooks = 27, +NodePunycode = 28, +NodeQuerystring = 29, +NodeReadline = 30, +NodeReadlinePromises = 31, +NodeRepl = 32, +NodeStreamConsumers = 33, +NodeStream = 34, +NodeStreamPromises = 35, +NodeStreamWeb = 36, +NodeTimers = 37, +NodeTimersPromises = 38, +NodeTLS = 39, +NodeTraceEvents = 40, +NodeUrl = 41, +NodeUtil = 42, +NodeV8 = 43, +NodeVM = 44, +NodeWasi = 45, +NodeWorkerThreads = 46, +NodeZlib = 47, +ThirdpartyDepd = 48, +ThirdpartyDetectLibc = 49, +ThirdpartyDetectLibcLinux = 50, +ThirdpartyIsomorphicFetch = 51, +ThirdpartyNodeFetch = 52, +ThirdpartyUndici = 53, +ThirdpartyVercelFetch = 54, +ThirdpartyWS = 55, + -- cgit v1.2.3