Open ahaoboy opened 5 days ago
Hi @ahaoboy.
Undici would make little sense in LLRT as the http client we’re supporting is fetch and uses a native implementation in Rust. Undici is also very node specific.
Similarly inquirier depends on readline and standard input which is not supported (unless reading from /dev/stdin). This is because LLRT is mainly built for serverless and ephemeral environments where stdin is not commonly used.
For some commonly used third-party libraries, they need to rely on some modules that llrt does not currently support in order to run
undici
inquirer
These modules do not seem to be necessary for the use of llrt, such as readline and tty modules, so it seems that the best solution is to collect these common modules together? https://github.com/awslabs/llrt/issues/430 These libraries only use some simple APIs. Will llrt accept PRs to add these modules?