summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-23tests: remove 'fmt_check_tests_dir' test (#12875)Bartek Iwańczuk
2021-11-23fix(lsp): normalize urls in did_change_watched_files (#12873)igorsaux
2021-11-23refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)Bartek Iwańczuk
2021-11-23fix(cli): config file should resolve paths relative to the config file (#12867)David Sherret
* Add `specifier_to_file_path` to support converting a ModuleSpecifier with a unix-style path to a PathBuf on Windows.
2021-11-23feat(test): Add more overloads for "Deno.test" (#12749)Bartek Iwańczuk
This commit adds 4 more overloads to "Deno.test()" API. ``` // Deno.test(function testName() { }); export function test(fn: (t: TestContext) => void | Promise<void>): void; // Deno.test("test name", { only: true }, function() { }); export function test( name: string, options: Omit<TestDefinition, "name">, fn: (t: TestContext) => void | Promise<void>, ): void; // Deno.test({ name: "test name" }, function() { }); export function test( options: Omit<TestDefinition, "fn">, fn: (t: TestContext) => void | Promise<void>, ): void; // Deno.test({ only: true }, function testName() { }); export function test( options: Omit<TestDefinition, "fn" | "name">, fn: (t: TestContext) => void | Promise<void>, ): void; ```
2021-11-23fix: support "other" event type in FSWatcher (#12836)Luca Casonato
This commit adds support for "other" events in `FSWatcher`. Flags on events are now exposed via the `flag` property on `FsEvent`.
2021-11-23revert: store header keys lower case internally (#12837)Luca Casonato
This reverts commit 49ec3d10ad90851f4d28274a3f0fe96c642204ac.
2021-11-23feat(lsp): add type definition provider (#12789)Kitson Kelly
2021-11-23feat(lsp): add workspace symbol provider (#12787)Kitson Kelly
2021-11-22fix(lsp): use lint exclude files list from the config file (#12825)igorsaux
2021-11-22fix(ext/crypto): don't panic on decryption failure (#12840)Luca Casonato
2021-11-22fix(runtime): support reading /proc using readFile (#12839)Luca Casonato
2021-11-22tests: extend readFile file length during read (#12835)Luca Casonato
This commit adds some tests that demonstrate that Deno.readFile reads the entire file, even if the read file is extended during read.
2021-11-22core(examples): Deserialize the result of execute_script (#12806)Giacomo Rizzi
Example of transforming execute_script response to a serde_json::Value Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-22fix(core): don't panic when evaluating module after termination (#12833)Bartek Iwańczuk
2021-11-20fix(test): do not throw on error.errors.map (#12810)Yacine Hmito
In tests, the function to format errors would assume that any error with a property `errors` would be an `AggregateError`, and therefore the property `errors` would contain an error. This is not necessarily the case.
2021-11-19fix(fmt): markdown formatting was incorrectly removing some non-breaking ↵David Sherret
space html entities (#12818)
2021-11-19fix(core): keep event loop alive if there are ticks scheduled (#12814)Ben Noordhuis
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-18refactor(lsp): remove `Documents` mutex and require `Documents` to be ↵David Sherret
mutated to change it (#12747)
2021-11-18fix(lsp): tag deprecated diagnostics properly (#12801)Kitson Kelly
2021-11-17test(ext/http): DELETE requests should always have body (#12798)Bert Belder
Refs: #12741 Refs: #12746
2021-11-17chore(ext/http): deno fmt (#12798)Bert Belder
2021-11-17upgrade: v8 crate 0.35.0 (V8 9.7.106.5) (#12797)Bert Belder
Fixes: #11406
2021-11-171.16.2 (#12794)David Sherret
2021-11-17chore: bump crates for 1.16.2 (#12792)David Sherret
2021-11-17fix(lsp): retain module dependencies when parse is invalid (#12782)Kitson Kelly
Fixes #12753
2021-11-16feat(core): Deno.core.setNextTickCallback (#12771)Bartek Iwańczuk
This commit adds several new "Deno.core" bindings: * "setNextTickCallback" * "hasScheduledTick" * "setHasScheduledTick" * "runMicrotasks" Additionally it changes "Deno.core.setMacrotaskCallback" to allow registering multiple callbacks. All these changes were necessary to polyfill "process.nextTick" in Node compat layer. Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-11-16refactor: re-export anyhow from deno_core (#12777)Ryan Dahl
2021-11-16tests(lsp): regression test for providing completions when editing documents ↵Yacine Hmito
(#12776) Ref: #12753
2021-11-15refactor: clean up cli/file_fetcher.rs (#12772)Ryan Dahl
2021-11-16fix(cli): short-circuit in prepare_module_load() (#12604)Nayeem Rahman
2021-11-15fix(transpile): do not panic on `swc_ecma_utils::HANDLER` diagnostics (#12773)David Sherret
2021-11-15feat(unstable/test): include test step pass/fail/ignore counts in final ↵David Sherret
report (#12432)
2021-11-15fix(test): support typechecking docs with CRLF line endings (#12748)Geert-Jan Zwiers
2021-11-14chore(tests): fix typo in pty.rs (#12757)Ikko Ashimine
2021-11-12refactor(lsp): prefer using document instead of documents collection (#12720)David Sherret
2021-11-11v1.16.1Luca Casonato
2021-11-11chore: bump crate versions for 1.16.1 (#12729)Luca Casonato
2021-11-11fix: add typings for AbortSignal.reason (#12730)Luca Casonato
2021-11-11fix(crypto): handling large key length in HKDF (#12692)upendra1997
2021-11-10ci: use 'ubuntu-20.04' runner image rather than 'ubuntu-latest' (#12733)Bert Belder
The existing ubuntu-latest-xl runner image (based on Ubuntu 18.04 XL) is deprecated and will retire soon. Migrate to ubuntu-20.04-xl instead.
2021-11-10refactor(ext/http): rewrite hyper integration and fix bug (#12732)Bert Belder
Fixes: #12193 Fixes: #12251 Closes: #12714
2021-11-10chore: update cut_a_release.md (#12725)Bartek Iwańczuk
2021-11-10fix: non ascii buffer response in http server (#12728)Luca Casonato
2021-11-10test(ffi): add mutable buffer tests (#12701)Carter Snook
2021-11-10fix: update unstable Deno props for signal API (#12723)Bartek Iwańczuk
2021-11-09build: set cache-control for dl.deno.land (#12708)Luca Casonato
Sometimes you have to wait up to an hour before you can upgrade to the latest canary build, because the file that stores the hash of the latest commit is cached for up to an hour.
2021-11-09typoGeert-Jan Zwiers
2021-11-09feat(core): streams (#12596)Aaron O'Mullan
This allows resources to be "streams" by implementing read/write/shutdown. These streams are implicit since their nature (read/write/duplex) isn't known until called, but we could easily add another method to explicitly tag resources as streams. `op_read/op_write/op_shutdown` are now builtin ops provided by `deno_core` Note: this current implementation is simple & straightforward but it results in an additional alloc per read/write call Closes #12556
2021-11-09v1.16.0Luca Casonato