Files
node/doc/api
sangwook 04c8828863 lib: fix TypeScript support check in jitless mode
WebAssembly is disabled when Node.js is run with --jitless. The
internal TypeScript stripper relies on WebAssembly, and previously
failed obscurely with a ReferenceError in this mode.

This commit adds an explicit check for WebAssembly support when
loading the TypeScript parser. If WebAssembly is unavailable,
it now throws a descriptive ERR_WEBASSEMBLY_NOT_SUPPORTED error.

Fixes: https://github.com/nodejs/node/issues/61353
PR-URL: https://github.com/nodejs/node/pull/61382
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2026-01-17 21:00:38 +00:00
..
2025-12-16 20:31:28 +00:00
2025-07-15 17:18:42 +00:00
2025-12-20 22:02:29 +00:00
2024-11-01 03:43:53 +00:00
2025-12-16 20:31:28 +00:00
2025-12-16 20:31:28 +00:00
2025-12-16 20:31:28 +00:00
2025-11-08 17:09:29 +00:00
2025-12-16 20:31:28 +00:00
2025-12-08 16:11:50 +00:00
2026-01-02 18:37:36 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-08-29 02:24:57 +00:00
2025-06-09 23:45:29 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-12-16 20:31:28 +00:00
2026-01-16 01:13:39 +00:00
2025-10-21 01:45:50 +02:00
2025-12-16 20:31:28 +00:00