summaryrefslogtreecommitdiff
path: root/ext/console/02_console.js
AgeCommit message (Collapse)Author
2023-01-16chore: update dlint to v0.37.0 for GitHub Actions (#17295)Kenta Moriuchi
Updated third_party dlint to v0.37.0 for GitHub Actions. This PR includes following changes: * fix(prefer-primordials): Stop using array pattern assignments * fix(prefer-primordials): Stop using global intrinsics except for `SharedArrayBuffer` * feat(guard-for-in): Apply new guard-for-in rule
2023-01-06perf(ext,runtime): remove using `SafeArrayIterator` from `for-of` (#17255)Kenta Moriuchi
2023-01-04fix: upgrade deno_ast to 0.23 (#17269)David Sherret
Closes #17172 Closes #15669 Closes #8529
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-12-20chore: Update dlint (#17031)Kenta Moriuchi
Introduces `SafeSetIterator` and `SafeMapIterator` to primordials
2022-11-22fix(inspector): ensure console methods provided by inspector are available ↵Bartek Iwańczuk
(#16724)
2022-10-10fix sparse array inspection (#16204)sigmaSd
fix https://github.com/denoland/deno/issues/16202
2022-09-26fix(ext/console): fix error when logging a proxied Date (#16018)李瑞丰
2022-09-26perf(ext/console): break on iterableLimit & better sparse array handling ↵Marcos Casagrande
(#15935)
2022-09-02fix(cli/repl): await Promise.any([])... (#15623)Jason
2022-07-09fix(ext/console): Fix a typo in a warning when .timeEnd is called on an ↵Gamer Omega
unknown timer (#15135)
2022-07-09refactor(ext) Decrease of StringPrototypeReplace recurrent usage (#15058)sevenwithawp
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-06-15fix(console): constrol inspect() indent with option (#14867)cjihrig
This commit updates the Deno.inspect() logic to use the indentLevel option to control indentation instead of passing around separate indent/level parameters internally. Refs: https://github.com/denoland/deno/issues/8099 Refs: https://github.com/denoland/deno/issues/14171
2022-06-13feat(console): pass options and depth to custom inspects (#14855)Colin Ihrig
This commit updates Deno.inspect() to pass inspect options and the current inspect depth to custom inspect functions. Refs: https://github.com/denoland/deno/issues/8099 Refs: https://github.com/denoland/deno/issues/14171
2022-06-06fix: Format non-error exceptions (#14604)Nayeem Rahman
This commit adds "Deno.core.setFormatExceptionCallback" which can be used to provide custom formatting for errors. It is useful in cases when user throws something that is non-Error (eg. a string, plain object, etc).
2022-04-26feat(ext/console): Compact empty iterables when calling Deno.inspect with ↵Ben Heidemann
compact false (#14387)
2022-04-25feat(ext/console): Add string abbreviation size option for "Deno.inspect" ↵Ben Heidemann
(#14384)
2022-04-16feat: Better formatting for AggregateError (#14285)Bartek Iwańczuk
This commit adds "aggregated" field to "deno_core::JsError" that stores instances of "JsError" recursively to properly handle "AggregateError" formatting. Appropriate logics was added to "PrettyJsError" and "console" API to format AggregateErrors. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2022-04-16refactor: update runtime code for primordial check x in y (#13642)Bartek Iwańczuk
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-03-20fix(ext/console): fix error with a Proxy of a Map (#14032)Jason
2022-02-16fix(ext/console): print circular ref indicator in cyan (#13684)Leo Kettmeir
2022-02-07refactor: update runtime code for primordial check for iterators (#13510)Bartek Iwańczuk
2022-02-06fix(ext/console): fix uncaught TypeError in css styling (#13567)Zach
When using css coloring in the console, non-color values should be ignored rather than throw exceptions. Fixes #13469
2022-02-04feat(ext/console): better circular information in object inspection (#13555)Leo Kettmeir
2022-02-01refactor: primordials for instanceof (#13527)Bartek Iwańczuk
2022-01-27Revert "refactor: update runtime code for primordial checks for "instanceof" ↵Bartek Iwańczuk
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601.
2022-01-27refactor: update runtime code for primordial checks for "instanceof" (#13497)Bartek Iwańczuk
2022-01-17fix(ext/console): don't depend on globalThis present (#13387)Bartek Iwańczuk
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-23fix(ext/console): map basic css color keywords to ansi (#13175)Zach
2021-10-30feat(ext/console): Display error.cause in console (#12462)Kenta Moriuchi
2021-10-14fix(console): fix display of primitive wrapper objects (#12425)Kenta Moriuchi
2021-10-12chore: upgrade crates based on deno ast 0.3 (#12403)David Sherret
2021-08-25feat: ArrayBuffer in structured clone transfer (#11840)Luca Casonato
2021-08-24feat(extensions/console): right align numeric columns in table (#11748)Nicolas Stucki
2021-08-11Rename extensions/ directory to ext/ (#11643)Ryan Dahl