summaryrefslogtreecommitdiff
path: root/cli/js/web/console.ts
AgeCommit message (Collapse)Author
2020-07-19Port internal TS code to JS (#6793)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-11feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to ↵Nayeem Rahman
InspectOptions (#6591)
2020-07-06clean up code in cli/js (#6611)Stanislav
2020-06-24fix(cli/js/web/console): Improve string quoting behaviour (#6457)Nayeem Rahman
2020-06-02fix: Better use of @ts-expect-error (#6038)Kitson Kelly
2020-05-29fix(cli/js/error_stack): Expose Error.captureStackTrace (#5254)Nayeem Rahman
2020-05-28improve indentation when displaying objects with console.log (#5909)Speykious
2020-05-28console: Hide `values` for console.table if display not necessary (#5914)Kevin (Kun) "Kassimo" Qian
2020-05-26Use ts-expect-error instead of ts-ignore. (#5869)Kitson Kelly
2020-05-19Provide better ANSI colorized output when inspecting objects (#5404)Speykious
2020-04-28refactor: change InspectOptions, make Deno.inspect stable (#4967)Bartek Iwańczuk
2020-04-27fix(console): don't throw RangeError when an invalid date is passed (#4929)uki00a
2020-04-27refactor: decouple Console implementation from stdout (#4899)Bartek Iwańczuk
When creating a console instance, one must pass "printFunc" arg which is used internally by Console to output messages. Due to numerous refactors there was a single method ("console.clear()") that used "Deno.stdout" instead of "printFunc". This commit unifies how "Console" outpus message, by using "printFunc" in all methods; consequently "Deno.stdout" is no longer imported in "cli/js/console.ts" making it a standalone module that doesn't depend on any CLI-specific APIs.
2020-04-25fix(cli/js/symbols): Update symbol descriptions (#4878)Nayeem Rahman
Don't use Symbol.for() to define Deno.symbols.customInspect.
2020-04-25change type of stdio handles in JS api (#4891)Bartek Iwańczuk
2020-03-30console: print promise details (#4524)Michał Sabiniarz
2020-03-30console: iterable printing improvements (#4472)Michał Sabiniarz
1. Array elements are now grouped the same as in Node.js 2. Limit to 100 (Node.js default) elements to display in iterable 3. Print each element in new line if excessing max line length (same as in Node.js) 4. Print length of the TypedArray 5. Print information about empty items in Array
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-25refactor: rename ConsoleOptions to InspectOptions (#4493)Chris Knight
2020-03-24console: replace object abbreviation with line breaking (#4425)Michał Sabiniarz
2020-03-16console: Symbol.toStringTag and display Object symbol entries (#4388)Kevin (Kun) "Kassimo" Qian
2020-03-13Remove doc strings from cli/js TS files (#4329)crowlKats
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-03-11reorg: remove dispatch.ts, move signals, factor out web utils (#4316)Bartek Iwańczuk
- moves signal definition from "cli/js/process.ts" to "cli/js/signals.ts" - removes "cli/js/dispatch.ts" - removes "cli/js/types.ts" - moves web specific utilities to "cli/js/web/util.ts"
2020-03-11reorg: cli/js/compiler/, move more API to cli/js/web/ (#4310)Bartek Iwańczuk
- moves compiler implementation to "cli/js/compiler/" directory - moves more APIs to "cli/js/web": * "console.ts" * "console_table.ts" * "performance.ts" * "timers.ts" * "workers.ts" - removes some dead code from "cli/js/"