mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 15:14:33 +00:00
![]() This commit repurposes `--unstable-node-globals` flag that was deprecated in https://github.com/denoland/deno/pull/29887 to switch out timers implemention that is used. Ie. using this flag cause `setTimeout`, `setInterval`, `clearTimeout` and `clearInterval` globals to use functions from `node:timers` module instead of the Web version. This is also enabled using `DENO_COMPAT=1` env var. TODO: <s>make typechecking be conditional depending on this, most likely requires changes in our TS fork.</s> This has been deferred until Deno 3 Towards https://github.com/denoland/deno/issues/29703 --------- Signed-off-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: David Sherret <dsherret@users.noreply.github.com> |
||
---|---|---|
.. | ||
byonm | ||
__test__.jsonc | ||
config.json | ||
deno.json | ||
feature_enabled.out | ||
main.ts | ||
main.ts.out | ||
main_no_config.out | ||
node_globals.out | ||
node_globals.ts | ||
node_globals_check.out |