Ryan Dahl
4775d57867
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-12 16:24:10 +01:00
Ben Noordhuis
993a1dd41a
feat(runtime): add op_set_exit_code ( #12911 )
...
Set the exit code to use if none is provided to Deno.exit(), or when
Deno exits naturally.
Needed for process.exitCode Node compat. Paves the way for #12888 .
2021-11-28 00:45:38 +01:00
Leo K
77a00ce1fb
chore: various op cleanup ( #12329 )
2021-10-05 22:38:27 +02:00
Divy Srivastava
2b13bb6945
feat(runtime): implement navigator.hardwareConcurrency ( #11448 )
...
This commit implements "navigator.hardwareConcurrency" API, which
supersedes "Deno.systemCpuInfo()" API (which was removed in this commit).
2021-07-29 21:45:11 +02:00
Bartek Iwańczuk
5addba2abc
refactor: use primordials in runtime/, part2 ( #11248 )
2021-07-04 00:17:52 +02:00
Aaron O'Mullan
46b1c653c0
refactor(deno): remove concept of bin & json ops ( #10145 )
2021-04-12 15:55:05 -04:00
Aaron O'Mullan
2aed322dd5
refactor: convert ops to use serde_v8 ( #10009 )
...
This commit rewrites most of the ops to use "serde_v8" instead
of "json" serialization.
2021-04-05 18:40:24 +02:00
Casper Beyer
9cc7e32e37
feat: add exit sanitizer to Deno.test ( #9529 )
...
This adds an exit sanitizer to ensure that code being tested or
dependencies of that code can't accidentally call "Deno.exit"
leading to partial test runs and false results.
2021-02-24 13:55:50 +01:00
Developing
923214c537
chore: use strict mode for internal runtime, core, and op_crates js ( #9391 )
2021-02-04 23:18:32 +01:00
Yoshiya Hinosawa
18ac7d40c8
fix(runtime): fix recursive dispatches of unload event ( #9207 )
2021-01-21 16:44:48 +09:00
Yoshiya Hinosawa
fd56fa89f3
fix(cli): dispatch unload on exit ( #9088 )
2021-01-12 05:32:58 -05:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
Nayeem Rahman
ffb5f7a4e1
refactor: Rename runtime/rt to runtime/js ( #8806 )
2020-12-17 17:37:57 +01:00