1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/js
Bartek Iwańczuk 8e9ab9e33e
refactor: decouple Console implementation from stdout (#4899)
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-27 15:40:47 +02:00
..
compiler Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
ops BREAKING CHANGE: remove Deno.OpenMode (#4884) 2020-04-25 00:45:55 +02:00
tests refactor: decouple Console implementation from stdout (#4899) 2020-04-27 15:40:47 +02:00
web refactor: decouple Console implementation from stdout (#4899) 2020-04-27 15:40:47 +02:00
buffer.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
build.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
colors.ts refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) 2020-04-11 02:08:11 -04:00
compiler.ts remove bootstrap methods from global scope after bootstrapping (#4869) 2020-04-25 01:03:45 +02:00
core.ts Use globalThis to reference global scope (#3719) 2020-01-20 09:30:30 -05:00
deno.ts BREAKING: remove Deno.runTests() API (#4922) 2020-04-27 14:51:22 +02:00
diagnostics.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
diagnostics_util.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
error_stack.ts refactor(core/js_error): Align JSStackFrame with CallSite (#4715) 2020-04-13 10:54:16 -04:00
errors.ts Make writeSync, readSync, seekSync, openSync, isatty proper synchronous syscalls (#4762) 2020-04-15 20:43:19 -04:00
files.ts change type of stdio handles in JS api (#4891) 2020-04-25 01:01:25 +02:00
globals.ts remove bootstrap methods from global scope after bootstrapping (#4869) 2020-04-25 01:03:45 +02:00
internals.ts fix(cli/js/symbols): Update symbol descriptions (#4878) 2020-04-25 10:53:26 -04:00
io.ts Add buffer size argument to copy (#4907) 2020-04-26 16:25:24 -04:00
lib.deno.ns.d.ts BREAKING: remove Deno.runTests() API (#4922) 2020-04-27 14:51:22 +02:00
lib.deno.shared_globals.d.ts Rewrite streams (#4842) 2020-04-22 10:06:51 -04:00
lib.deno.window.d.ts refactor: Event and EventTarget implementations (#4707) 2020-04-11 11:42:02 -04:00
lib.deno.worker.d.ts feat: support Deno namespace in Worker API (#4784) 2020-04-16 23:40:29 +02:00
main.ts remove bootstrap methods from global scope after bootstrapping (#4869) 2020-04-25 01:03:45 +02:00
net.ts fix(cli/js/net): Make generator return types iterable (#4661) 2020-04-15 12:44:09 +02:00
permissions.ts Add require-await lint rule (#4401) 2020-03-20 09:38:34 -04:00
process.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
rbtree.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
read_file.ts Remove doc strings from cli/js TS files (#4329) 2020-03-13 10:22:22 +01:00
repl.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
runtime.ts Simplify timer with macrotask callback (#4385) 2020-03-19 10:45:28 -04:00
runtime_main.ts remove bootstrap methods from global scope after bootstrapping (#4869) 2020-04-25 01:03:45 +02:00
runtime_worker.ts remove bootstrap methods from global scope after bootstrapping (#4869) 2020-04-25 01:03:45 +02:00
signals.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
symbols.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
testing.ts BREAKING: remove Deno.runTests() API (#4922) 2020-04-27 14:51:22 +02:00
tls.ts BREAKING CHANGE: rename TLS APIs to camel case (#4888) 2020-04-24 23:29:14 +02:00
util.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
version.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
write_file.ts BREAKING CHANGE: remove Deno.OpenMode (#4884) 2020-04-25 00:45:55 +02:00