Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-25 | chore(core): optional args for registerErrorClass (#9602) | Luca Casonato | |
2021-02-25 | feat(runtime): stabilize Deno.link and Deno.linkSync (#9417) | Casper Beyer | |
This commit makes "Deno.link" and "Deno.linkSync" stable. The permission required has been changed to read-write to ensure one cannot escape the sandbox. | |||
2021-02-25 | feat(cli/doc): use type definitions "deno doc" if available (#8459) | Liam Murphy | |
This commit adds support for type definitions in "deno doc"; with this change "deno doc" is able to leverage the same directives as TS compiler. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-02-25 | fix(runtime): do not panic on irregular dir entries (#9579) | Casper Beyer | |
2021-02-25 | test(lsp): add benchmarking tests (#9586) | Kitson Kelly | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-02-25 | feat(cli): update to TypeScript 4.2 (#9341) | Kitson Kelly | |
2021-02-25 | feat(runtime): stabilise permissions and add event target capabilities (#9573) | Kitson Kelly | |
2021-02-25 | reafactor(lsp): use generics with JSON values (#9587) | Kitson Kelly | |
2021-02-24 | feat: add "deno coverage" subcommand (#8664) | Casper Beyer | |
This commit adds a new subcommand called "coverage" which can generate code coverage reports to stdout in multiple formats from code coverage profiles collected to disk. Currently this supports outputting a pretty printed diff and the lcov format for interoperability with third-party services and tools. Code coverage is still collected via other subcommands that run and collect code coverage such as "deno test --coverage=<directory>" but that command no longer prints a pretty printed report at the end of a test run with coverage collection enabled. The restrictions on which files that can be reported on has also been relaxed and are fully controllable with the include and exclude regular expression flags on the coverage subcommand. Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-02-24 | test: Fix --reload in integration_tests (#9345) | Yosi Pramajaya | |
This commit removes redundant "--reload" args because "util::deno_cmd" recreates "DENO_DIR". This commit also fixes ta_reload in integration tests to actually test reload. | |||
2021-02-24 | feat: add exit sanitizer to Deno.test (#9529) | Casper Beyer | |
This adds an exit sanitizer to ensure that code being tested or dependencies of that code can't accidentally call "Deno.exit" leading to partial test runs and false results. | |||
2021-02-23 | refactor(core): cleanup module implementation (#9580) | Bartek Iwańczuk | |
* remove "ModuleNameMap", instead define that map inline inside "Modules" struct * remove "dyn_import_id" argument from "mod_instantiate" * rename "Modules" struct to "ModuleMap" * rename "JsRuntime::modules" to "JsRuntime::module_map" | |||
2021-02-23 | refactor(core): Allow multiple overflown responses in single poll (#9433) | Inteon | |
This commit rewrites "JsRuntime::poll" function to fix a corner case that might caused "overflown_response" to be overwritten by other overflown response. The logic has been changed to allow returning multiple overflown response alongside responses from shared queue. | |||
2021-02-23 | Merge v1.7.5 release notes (#9554) | 迷渡 | |
2021-02-23 | fix: panic caused by Deno.env.set("", "") (#9583) | Kohei Ueno | |
2021-02-22 | fix(tests): fix fetchConnectionError test if port is in use (#9465) | David DeSimone | |
Fixes #9379 | |||
2021-02-22 | chore: disable flaky test (#9568) | Bartek Iwańczuk | |
2021-02-22 | docs: update getting started for coc (#9571) | Heyward Fann | |
2021-02-22 | chore: upgrade internal dprint plugins (#9566) | Satya Rohith | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2021-02-21 | feat(unstable): per op metrics (#9240) | Luca Casonato | |
2021-02-21 | fix(cli): capitalize inspect and inspect-brk descriptions (#9567) | Casper Beyer | |
2021-02-21 | feat: add --ext flag to deno eval (#9295) | Satya Rohith | |
This PR deprecates the "--ts"/"-T" flag of "deno eval" (which will later be removed in 2.0) and introduces "--ext" which is used by "deno fmt" for content type selection. This is to ensure we have a single flag that can be used across subcommands to select the language (JS/TS). | |||
2021-02-21 | fix(op_crates/websocket): default to close code 1005 (#9339) | DjDeveloper | |
Currently if WebSocket is closed without code, it will error while on Chrome it would close with code 1005 instead. Co-authored-by: crowlKats <13135287+crowlKats@users.noreply.github.com> | |||
2021-02-21 | fix(runtime/testing): false positive for timers when an error is thrown (#9553) | Casper Beyer | |
2021-02-21 | fix(repl): filter out symbol candidates (#9555) | Casper Beyer | |
2021-02-21 | fix(core/bindings): Add stacks for dynamic import resolution errors (#9562) | Nayeem Rahman | |
2021-02-21 | fix(dts): update doc of Deno.formatDiagnostics (#9564) | Yusuke Tanaka | |
2021-02-20 | fix(core/runtime): Fix dynamic imports for already rejected modules (#9559) | Nayeem Rahman | |
2021-02-19 | chore: rename default branch to main (#9503) | Luca Casonato | |
2021-02-19 | chore: update third_party submodule (#9548) | Luca Casonato | |
2021-02-19 | fix: lint and fmt error if no target files are found (#9527) | Yusuke Tanaka | |
2021-02-19 | fix(core): Make dynamic import async errors catchable (#9505) | Nayeem Rahman | |
Fixes #6259 | |||
2021-02-18 | refactor: use Mutex for ErrorBuffer (#9539) | Ryan Dahl | |
RwLock should only be used in circumstatnces where it has some benefit. Multiple concurrent readers is usually an undesirable design bug. | |||
2021-02-18 | feat: add json(c) support to deno fmt (#9292) | Satya Rohith | |
This commit adds support for formatting JSON and JSONC in "deno fmt". New values "json" and "jsonc" are added to "--ext" flag for standard input processing. | |||
2021-02-18 | Change release build flags to -O3 when favorable (#9538) | evan | |
2021-02-18 | feat(runtime/ops): strongly typed deserialization of JSON ops (#9532) | crowlKats | |
2021-02-18 | fix(lsp): handle data URLs properly (#9522) | Kitson Kelly | |
Fixes #9514 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-02-18 | fix(lsp): document spans use original range (#9525) | Kitson Kelly | |
Fixes: #9444 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-02-17 | Make ModuleSpecifier a type alias, not wrapper struct (#9531) | Ryan Dahl | |
2021-02-17 | feat: support loading import map from URL (#9519) | Bartek Iwańczuk | |
This commit adds support for loading import maps from URLs, both remote and local. This feature is supported in CLI flag as well as in runtime compiler API. | |||
2021-02-17 | docs: Use JSONC code block for commenting (#9511) | Takahiko Inayama | |
2021-02-16 | feat: add structured cloning to Deno.core (#9458) | Inteon | |
This commit adds two new "Deno.core" APIs: - "Deno.core.serialize" - "Deno.core.deserialize" These APIs are used to provide structured cloning of values and will be used for further web worker implementation. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2021-02-16 | typo | Leo Chandra | |
2021-02-16 | feat(cli): support auth tokens for accessing private modules (#9508) | Kitson Kelly | |
Closes #5239 | |||
2021-02-16 | feat(lsp): Implement `textDocument/signatureHelp` (#9330) | Yuki Tanaka | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-02-16 | fix: align btoa to spec (#9053) | Casper Beyer | |
2021-02-16 | feat(cli): Deno.emit supports bundling as IIFE (#9291) | Kitson Kelly | |
Closes #9204 | |||
2021-02-16 | chore: add internal webidl helpers for enums and nullables (#9504) | Anonymous | |
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> | |||
2021-02-15 | upgrade: rusty_v8 0.19.0 (#9466) | Bartek Iwańczuk | |
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-02-15 | chore: Reorganise workers tests (#9493) | Bartek Iwańczuk | |