summaryrefslogtreecommitdiff
path: root/cli/js/repl.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-02fix: Better use of @ts-expect-error (#6038)Kitson Kelly
2020-05-29fix: REPL evaluates in strict mode (#5565)Kitson Kelly
Since everything that Deno loads is treated as an ES Module, it means that all code is treated as "use strict" except for when using the REPL. This PR changes that so code in the REPL is also always evaluated with "use strict". There are also a couple other places where we load code as scripts which should also use "use strict" just in case.
2020-05-26Use ts-expect-error instead of ts-ignore. (#5869)Kitson Kelly
2020-05-19fix: REPL does not exit properly when close() is called (#5451)uki00a
2020-05-08Add hint on how to exit REPL (#5143)Ryan Dahl
Removes exit and help commands
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-13Remove doc strings from cli/js TS files (#4329)crowlKats
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
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/"
2020-03-08reorg: move JS ops implementations to cli/js/ops/, part 1 (#4264)Bartek Iwańczuk
Following JS ops were moved to separate files in cli/js/ops directory: - compiler - dispatch_json - dispatch_minimal - errors - fetch - fs_events - os - random - repl - resources - runtime_compiler - runtime - tty
2020-03-02Do not convert exceptions to JSON and back (#4214)Bert Belder
2020-02-25Clean up how we use opIds (#4118)Ryan Dahl
2020-01-20Use globalThis to reference global scope (#3719)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-01-02Happy new year! (#3578)Ry Dahl
2019-11-13Make bundles fully standalone (#3325)Kitson Kelly
- Bundles are fully standalone. They now include the shared loader with `deno_typescript`. - Refactor of the loader in `deno_typescript` to perform module instantiation in a more - Change of behaviour when an output file is not specified on the CLI. Previously a default name was determined and the bundle written to that file, now the bundle will be sent to `stdout`. - Refactors in the TypeScript compiler to be able to support the concept of a request type. This provides a cleaner abstraction and makes it easier to support things like single module transpiles to the userland. - Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`, and define `pid` and `noColor` in a better way. - Don't bind early to `console` in `repl.ts`. - Add an integration test for generating a bundle.
2019-10-04Merge deno_cli_snapshots into deno_cli (#3064)Ryan Dahl