summaryrefslogtreecommitdiff
path: root/js/console.ts
AgeCommit message (Collapse)Author
2019-09-07Update @typescript-eslint/* to v2.1.0 (#2878)Yoshiya Hinosawa
2019-09-03do not export `isConsoleInstance` (#2850)迷渡
2019-09-02Refactor snapshot build (#2825)Ryan Dahl
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.
2019-08-29add console.dirxml (#2835)Bartek Iwańczuk
2019-08-19Support custom inspection of objects (#2791)Kitson Kelly
2019-08-17Implement console.trace() (#2780)Kevin (Kun) "Kassimo" Qian
groupCollapsed alias to group, remove noTrailingNewline, move newline out of stringifyArgs, fix console.dir, add tests, and fix a repl log quirk. For repl logging quirks, I believe we should not indent repl logging. If we really want such indentation, we probably also want to indent "> " prompts.
2019-07-17Adjust console constructor (#2649)迷渡
https://github.com/denoland/deno/pull/2073#discussion_r303401539
2019-06-01Upgrade TypeScript to 3.5.1 (#2437)Kitson Kelly
2019-05-03fix: display "-0" for -0 (#2281)Kevin (Kun) "Kassimo" Qian
Added special handling code in js/console.ts
2019-04-22Simplify logic in URLSearchParams, Buffer, Console (#2174)Tomislav Fabeta
2019-04-21Fix eslint warnings (#2151)Ryan Dahl
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-08fix `console instanceof Console` (#2073)迷渡
2019-04-03fix JSDoc (#2043)迷渡
2019-04-03fix console.log when error has been caught (#2041)迷渡
2019-03-26namespace reorg: libdeno and DenoCore to Deno.core (#1998)Kitson Kelly
2019-03-20pretty-print long stringsRyan Dahl
2019-03-20Improve pretty printing of objectsRyan Dahl
If an object has more than 5 elements, it is printed in abbeviated form displaying only the keys. This is useful in the REPL when inspecting large objects like the Deno namespace: > Deno { args, noColor, pid, env, exit, isTTY, execPath, chdir, cwd, File, open, stdin, stdout, stderr, read, write, seek, close, copy, toAsyncIterator, SeekMode, Buffer, readAll, mkdirSync, mkdir, makeTempDirSync, makeTempDir, chmodSync, chmod, removeSync, remove, renameSync, rename, readFileSync, readFile, readDirSync, readDir, copyFileSync, copyFile, readlinkSync, readlink, statSync, lstatSync, stat, lstat, symlinkSync, symlink, writeFileSync, writeFile, ErrorKind, DenoError, libdeno, permissions, revokePermission, truncateSync, truncate, connect, dial, listen, metrics, resources, run, Process, inspect, build, platform, version, Console, stringifyArgs, DomIterableMixin }
2019-03-09Migrate from tslint to eslint for linting (#1905)Kitson Kelly
2019-03-07Cleanup node_modules, update packages (#1894)Kitson Kelly
And fix new lint issues.
2019-03-03libdeno: remove `prints_newline` parameter from libdeno.print()Bert Belder
2019-02-25Fix console.table display of Map and move tests to unit test (#1839)Kevin (Kun) "Kassimo" Qian
2019-02-18refactor: replace any in console (#1804)Yoshiya Hinosawa
2019-02-13Cleanup Deno namespace (#1765)Kitson Kelly
2019-02-09Support scoped variables, unblock REPL async op, and REPL error colors (#1721)Kevin (Kun) "Kassimo" Qian
2019-01-28Add console.table (#1608)Sergey Golovin
2019-01-24Add console.clear() (#1562)binaryta
2019-01-24console output with format (#1565)迷渡
2019-01-06Implement console.groupCollapsed (#1452)Yoshiya Hinosawa
This implementation of groupCollapsed is intentionally different from the spec defined by whatwg. See the conversation in #1355 and #1363.
2019-01-02Happy new year!Ryan Dahl
2018-12-23Remove support for extensionless import (#1396)Ryan Dahl
2018-12-19Expose deno.inspect (#1378)Kevin (Kun) "Kassimo" Qian
2018-12-17Add console.count and console.time (#1358)迷渡
2018-12-14`console.assert` should not throw error (#1335)迷渡
2018-12-12Avoid Uint8Array.prototype throwing type error in console.log (#1327)Kevin (Kun) "Kassimo" Qian
2018-12-10Add more console types formatting support (#1299)Kevin (Kun) "Kassimo" Qian
2018-11-30feat: Support for bigints in consolekyraNET
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-14Align JSDoc to style guide.Kitson Kelly
2018-10-07Updates to js to clean up default libraryKitson Kelly
2018-10-01Bind `this` to console methods (#873)Kevin (Kun) "Kassimo" Qian
Fixes #872
2018-09-30Limit depth of output in console.log for nested objects, and add console.dir ↵Yingbo (Max) Wang
(#826)
2018-09-26Error pretty print (print stack)Kevin (Kun) "Kassimo" Qian
2018-09-25console.warn goes to stderr (#810)Kevin (Kun) "Kassimo" Qian
2018-09-24[console] Use constructor.name to print out function type (#664)Kevin (Kun) "Kassimo" Qian
2018-08-27Moved console tests to own file, and switched circular test to use stringify ↵Aaron Power
with assertEqual
2018-08-27Fixed printing strings in arrays & objects without quotesAaron Power
2018-08-20First pass at fetch()Ryan Dahl
With help from Thomas Ghysels <info@thomasg.be>
2018-08-08Organize libdeno functions.Ryan Dahl
2018-07-06Use C++ to do flatbuffer parsing.Ryan Dahl
- Port protobuf messages to flatbuffers. - Demo linking to rust from C++ executable. - Start using the prototype TS libraries.
2018-07-06Import ts file from prototype without changeRyan Dahl
From commit 559453cf6cc88283bcf8fdeccd387458f5c63165 Excluding v8worker.d.ts, main.ts, and deno.d.ts. Updates tslint.json to be original settings.