summaryrefslogtreecommitdiff
path: root/cli/rt/02_console.js
AgeCommit message (Collapse)Author
2020-10-11fix(console): fix inspection of Function (#7930)Yoshiya Hinosawa
This commit fixes the inspection of functions. The current implementation gets the name of the type of the function from "f.__proto__.constructor.name", and it throws when the prototype is set to null. This commit checks the prototype before accessing its constructor name and uses the generic name 'Function' if the prototype is not available.
2020-10-11fix(cli/console): only inspect getters with option (#7830)Casper Beyer
2020-10-07fix(cli/rt/console): Don't require a prototype to detect a class instance ↵Nayeem Rahman
(#7869)
2020-10-05perf(cli/console): Don't add redundant ANSI codes (#7823)Nayeem Rahman
2020-10-01fix(cli/console): Catch and format getter errors (#7766)Nayeem Rahman
2020-09-30feat(cli/console): Add Deno.InspectOptions::colors (#7742)Nayeem Rahman
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
2020-09-26refactor: prune unneeded JS code (#7689)Bartek Iwańczuk
2020-09-25fix(cli): customInspect works on functions (#7670)Kitson Kelly
Fixes #7650
2020-09-23fix(cli/console): quote non-alphanumeric symbols (#7641)Casper Beyer
This quotes and escapes symbol descriptions that contains characters outside of the basic alpha-numeric identifier range.
2020-09-23fix(cli/console): enclose symbol keys in brackets (#7642)Casper Beyer
This encloses symbol keys when used in objects with brackets (e.g [Symbol("Symbol.iterator")]).
2020-09-22fix(cli/console): quote object symbol keys that are invalid identifiers (#7553)Casper Beyer
2020-09-18fix(cli/console): surround non alpha-numeric object keys with quotes (#7550)Casper Beyer
2020-09-18fix(cli/console): always quote and escape inspected strings (#7546)Casper Beyer
2020-09-18refactor: deno_fetch op crate (#7524)Bartek Iwańczuk
2020-09-17fix(cli/console): escape non printable characters in object entries (#7533)Casper Beyer
2020-09-17refactor: use Symbol.for instead of Symbol in cli/rt/ (#7537)Bartek Iwańczuk
2020-09-10feat(console): support CSS styling with "%c" (#7357)Nayeem Rahman
2020-09-08feat(console): print proxy details (#7139)uki00a
2020-08-24fix(console): handle escape sequences when logging objects (#7171)Tuan Le
2020-08-09fix: console.log should see color codes when grouping occurs (#7000)uki00a
2020-07-23Rename cli/js2 to cli/rt (#6857)Ryan Dahl