summaryrefslogtreecommitdiff
path: root/cli/js
AgeCommit message (Collapse)Author
2023-01-16chore: update dlint to v0.37.0 for GitHub Actions (#17295)Kenta Moriuchi
Updated third_party dlint to v0.37.0 for GitHub Actions. This PR includes following changes: * fix(prefer-primordials): Stop using array pattern assignments * fix(prefer-primordials): Stop using global intrinsics except for `SharedArrayBuffer` * feat(guard-for-in): Apply new guard-for-in rule
2023-01-04fix: upgrade deno_ast to 0.23 (#17269)David Sherret
Closes #17172 Closes #15669 Closes #8529
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-12-05fix(test): improve how `--fail-fast` shuts down when hitting limit (#16956)David Sherret
Closes #15650
2022-12-05refactor: remove references to Deno.core in bootstrap code (#16937)Bartek Iwańczuk
Prerequisite for https://github.com/denoland/deno/pull/16881
2022-11-25fix(cli/js): improve resource sanitizer messages (#16798)Luca Casonato
This commit improves the guidance for how to close a child process stdout / stderr to also include guidance for when using `new Deno.Command()`.
2022-11-21feat(core): Ability to create snapshots from existing snapshots (#16597)Bartek Iwańczuk
Co-authored-by: crowlkats <crowlkats@toaxl.com>
2020-07-19Port internal TS code to JS (#6793)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-07-16fix(cli/js/web): IPv6 hostname should be compressed (#6772)JohannLai
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-13Revert "feat: move unstable Deno.permissions to navigator.permissions… (#6729)Bartek Iwańczuk
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)" This reverts commit 202e7fa6ad366ee56a6d070e94eaecb6dbc745bf.
2020-07-13fix(Deno.ppid): improve error message when --unstable is missing (#6717)uki00a
2020-07-13feat(cli): add copy argument to Buffer.bytes (#6697)Marcos Casagrande
2020-07-13fix(cli/js/web/url): Implement IPv4 hostname parsing (#6707)Nayeem Rahman
2020-07-13fix(cli/fetch): fix relative redirect (#6715)Marcos Casagrande
2020-07-11feat(Deno.inspect): Add sorted, trailingComma, compact and iterableLimit to ↵Nayeem Rahman
InspectOptions (#6591)
2020-07-10feat: add performance user timing APIs (#6421)Kitson Kelly
2020-07-10fix(URL): Implement spec-compliant host parsing (#6689)Nayeem Rahman
2020-07-10fix(cli/buffer): allow Buffer to store MAX_SIZE bytes (#6570)Marcos Casagrande
2020-07-10feat(unstable): add Deno.consoleSize (#6520)Sebastien Filion
2020-07-09feat: move unstable Deno.permissions to navigator.permissions (#6244)Kitson Kelly
2020-07-08BREAKING(core): Remove control slice from ops (#6048)Valentin Anger
2020-07-08feat(unstable): Deno.ppid (#6539)uki00a
2020-07-08feat(cli): Add WriteFileOptions to writeTextFile & writeTextFileSync (#6280)Marcos Casagrande
2020-07-08feat: add --no-check option (#6456)Kitson Kelly
This commit adds a "--no-check" option to following subcommands: - "deno cache" - "deno info" - "deno run" - "deno test" The "--no-check" options allows to skip type checking step and instead directly transpiles TS sources to JS sources. This solution uses `ts.transpileModule()` API and is just an interim solution before implementing it fully in Rust.
2020-07-07perf(cli/body): improve .arrayBuffer() speed (#6669)Marcos Casagrande
2020-07-07feat(test): Add support for regex in filter flag (#6343)Sebastien Filion
Currently, the documentation makes it sound like the test subcommand's filter flag could accept some kind of pattern matching value like a glob or a regex, although the function "createFilterFn" accepts a regex as an argument, there's no way to pass an actual regex value from the CLI. This commit makes it possible to pass a string that could be cast as regex when string matches "^/.*/$". With this change, a user can use the filter flag as follow: deno test --filter "/test-.+/" Also tested that `\` get escaped properly, on MacOS at least, and this is also a valid flag: deno test --filter "/test-\d+/"
2020-07-07fix(cli/js/process): Fix process socket types (#6676)Nayeem Rahman
2020-07-06clean up code in cli/js (#6611)Stanislav
2020-07-06Fix definition of URL constructor (#6653)Ryan Dahl
2020-07-06feat: Deno.chown() make uid, gid args optional (#4612)dubiousjim
2020-07-05fix(cli/fetch): response constructor default properties (#6650)Marcos Casagrande
2020-07-05chore: improve type safety of cli/js/compiler (#6647)Kitson Kelly
2020-07-05refactor(cli/body): use Deno.Buffer in bufferFromStream (#6632)Marcos Casagrande
2020-07-04Update timers to ignore Date Override (#6552)Kyle June
2020-07-03fix: move ImportMeta to deno.ns lib (#6588)Kitson Kelly
2020-07-02doc: add unstable note to Deno.ftruncateSync and ftruncate (#6590)Casper Beyer
2020-06-28fix(cli/body): Maximum call stack size exceeded error (#6537)Marcos Casagrande
2020-06-27fix(cli): Buffer.bytes() ArrayBuffer size (#6511)Marcos Casagrande
2020-06-27fix(cli/js/process): Fix conditional types for process sockets (#6275)Nayeem Rahman
2020-06-26fix(cli/permissions): panic on hostless URLs (#6500)Maayan Hanin
2020-06-26feat(unstable): add Deno.fdatasyncSync and fdatasync (#6403)Casper Beyer
2020-06-26fix(cli/js/web/url): Support UNC paths on Windows (#6418)Nayeem Rahman
2020-06-26fix(cli): strings shouldn't be interpreted as file URLs (#6412)Casper Beyer
2020-06-25Restore stats for incremental compile (#6474)Kitson Kelly
2020-06-24Incremental compilation for TypeScript (#6428)Bartek Iwańczuk
This commit adds incremental compilation capabilities to internal TS compiler. Instead of using "ts.createProgram()" API for compilation step (during deno startup), "ts.createIncrementalProgram()" API is used instead. Thanks to TS' ".tsbuildinfo" file that already stores all necessary metadata for compilation I was able to remove our own invention that is ".graph" file. ".tsbuildinfo" file is stored alongside compiled source and is used to cache-bust outdated dependencies, facilitated by the "version" field. The value for "version" field is computed in Rust during loading of module graph and is basically a hash of the file contents. Please keep in mind that incremental compilation is only used for initial compilation (or dynamic imports compilation) - bundling and runtime compiler APIs haven't been changed at all. Due to problems with source map I changed compilation settings to inline source map (inlineSourceMap instead of sourceMap).
2020-06-24fix(cli/js/web/console): Improve string quoting behaviour (#6457)Nayeem Rahman
2020-06-24Add ability to output compiler performance information (#6434)Kitson Kelly
2020-06-23fix(cli/web): Support URLSearchParam as Body (#6416)Chris Couzens
The following used to fail in Deno despite working in the browser: ```javascript new Request('http://localhost/', {method: 'POST', body: new URLSearchParams({hello: 'world'})}).text().then(console.log) ```
2020-06-22feat(unstable): add Deno.fstatSync and fstat (#6425)Casper Beyer