From 8dee4ed6fb4911aeacda6205abcc1c8bc7fac718 Mon Sep 17 00:00:00 2001 From: Matthias Wright Date: Mon, 13 May 2024 21:45:54 +0800 Subject: [PATCH] fix(js-poc): remove async hooks polyfill for now --- services/js-poc/src/runtime/module_loader.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/js-poc/src/runtime/module_loader.rs b/services/js-poc/src/runtime/module_loader.rs index 530deda1c..c156180a6 100644 --- a/services/js-poc/src/runtime/module_loader.rs +++ b/services/js-poc/src/runtime/module_loader.rs @@ -6,7 +6,6 @@ pub fn node_modules() -> StaticModuleLoader { let https_source = include_str!("js/node_https.js"); let stream_source = include_str!("js/node_stream.js"); let path_source = include_str!("js/node_path.js"); - let async_hooks_source = include_str!("js/node_async_hooks.js"); let modules = vec![ ( ModuleSpecifier::parse("node:crypto").unwrap(), @@ -19,10 +18,6 @@ pub fn node_modules() -> StaticModuleLoader { stream_source, ), (ModuleSpecifier::parse("node:path").unwrap(), path_source), - ( - ModuleSpecifier::parse("node:async_hooks").unwrap(), - async_hooks_source, - ), ]; StaticModuleLoader::new(modules) }