Leo Kettmeir
|
26506ff0c2
|
feat: add more options to Deno.inspect (#19337)
For https://github.com/denoland/deno_std/issues/3404
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
|
2023-06-09 01:13:22 +02:00 |
|
Nayeem Rahman
|
ffb0318e4a
|
fix(console): handle error when inspecting promise-like (#19083)
Fixes
https://discord.com/channels/684898665143206084/684911491035430919/1105900195406958672.
This was caused by:
- A `TypeError` from `core.getPromiseDetails()` for promise-likes which
also lead to that code path.
- Swallowing internal formatting errors by returning `undefined`. I've
made it so that a special message is formatted in that case instead
(note that this case is fixed now):
![image](https://github.com/denoland/deno/assets/29990554/65bb9612-60b2-4e31-bf5e-e20976601593)
|
2023-05-11 15:08:17 +02:00 |
|
Kenta Moriuchi
|
49eb887cc6
|
refactor(core): Use ObjectHasOwn instead of ObjectPrototypeHasOwnProperty (#18952)
ES2022 `Object.hasOwn` can be used in snapshot, so I migrate to use it.
|
2023-05-02 12:15:45 +02:00 |
|
Kenta Moriuchi
|
6728ad4203
|
fix(core): Use primordials for methods (#18839)
I would like to get this change into Deno before merging
https://github.com/denoland/deno_lint/pull/1152
|
2023-05-01 15:30:02 +02:00 |
|
Leo Kettmeir
|
59825a95b4
|
refactor: remove ext/console/01_colors.js (#18927)
|
2023-04-30 09:11:37 +00:00 |
|