Bert Belder
88847d6c9b
chore: bump crate versions for 1.16.3 ( #12890 )
2021-11-24 14:19:41 -08:00
David Sherret
e705c4f64e
fix(lsp): lsp should respect include/exclude files in format config ( #12876 )
2021-11-24 14:19:41 -08:00
Abdfn
4954eae115
chore: upgrade Rust version to 1.56.1
( #12870 )
2021-11-24 14:19:41 -08:00
Bartek Iwańczuk
a3cacb0059
chore: speed up compat tests ( #12884 )
...
This commit speeds up compat tests by using local copy of "deno_std"
instead of downloading it from https://deno.land for each test.
Additionally type checking is skipped.
2021-11-24 14:19:40 -08:00
Bartek Iwańczuk
41e9f16290
chore: update std submodule to 0.115.1 ( #12883 )
2021-11-24 14:19:40 -08:00
David Sherret
0ac5848b94
chore(lsp): fix possible race condition with tests expecting 3 publishDiagnostics messages ( #12868 )
...
The tests expect 3 publish notifications. It was possible for less than 3 to occur if two or more tasks set the diagnostics in the collection, exited the lock at the same time, then called `publish_diagnostics`
2021-11-24 14:19:40 -08:00
Zheyu Zhang
7b3ba8e3cb
fix(cli/compile): skip bundling for pre-bundled code ( #12687 )
2021-11-24 14:19:40 -08:00
Nayeem Rahman
07520ce013
refactor(cli): deduplicate source cache for redirected specifiers ( #12795 )
2021-11-24 14:19:40 -08:00
Nayeem Rahman
9b404bb468
fix(cli): don't cache .tsbuildinfo unless emitting ( #12830 )
...
Fixes #12755
Fixes #12807
Fixes #12832
2021-11-24 14:19:40 -08:00
Bartek Iwańczuk
ef9431db7e
tests: remove 'fmt_check_tests_dir' test ( #12875 )
2021-11-24 14:19:40 -08:00
igorsaux
47d516a4a0
fix(lsp): normalize urls in did_change_watched_files ( #12873 )
2021-11-24 14:19:40 -08:00
David Sherret
0ef5b21a3c
fix(cli): config file should resolve paths relative to the config file ( #12867 )
...
* Add `specifier_to_file_path` to support converting a ModuleSpecifier with a unix-style path to a PathBuf on Windows.
2021-11-24 12:54:09 -08:00
Luca Casonato
d34980d222
fix: support "other" event type in FSWatcher ( #12836 )
...
This commit adds support for "other" events in `FSWatcher`. Flags on
events are now exposed via the `flag` property on `FsEvent`.
2021-11-24 12:54:09 -08:00
Luca Casonato
a1ba06c57e
revert: store header keys lower case internally ( #12837 )
...
This reverts commit 49ec3d10ad
.
2021-11-24 12:54:09 -08:00
igorsaux
3abe31252e
fix(lsp): use lint exclude files list from the config file ( #12825 )
2021-11-22 18:10:33 -05:00
Luca Casonato
71ceca0ffc
fix(ext/crypto): don't panic on decryption failure ( #12840 )
2021-11-22 23:58:21 +01:00
Luca Casonato
3cc724c9ba
fix(runtime): support reading /proc using readFile ( #12839 )
2021-11-22 16:53:58 +01:00
Luca Casonato
429c773a2e
tests: extend readFile file length during read ( #12835 )
...
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-22 16:25:42 +01:00
Giacomo Rizzi
86e5238384
core(examples): Deserialize the result of execute_script ( #12806 )
...
Example of transforming execute_script response to a serde_json::Value
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-22 14:47:29 +01:00
Bartek Iwańczuk
f6d04bfe70
fix(core): don't panic when evaluating module after termination ( #12833 )
2021-11-22 13:51:20 +01:00
Yacine Hmito
2dbc8fb3d5
fix(test): do not throw on error.errors.map ( #12810 )
...
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-20 09:43:40 -05:00
David Sherret
ddfba7d8ca
fix(fmt): markdown formatting was incorrectly removing some non-breaking space html entities ( #12818 )
2021-11-19 12:54:41 -05:00
Ben Noordhuis
22dcf82230
fix(core): keep event loop alive if there are ticks scheduled ( #12814 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-19 14:01:30 +01:00
David Sherret
c82ce74133
refactor(lsp): remove Documents
mutex and require Documents
to be mutated to change it ( #12747 )
2021-11-18 13:50:24 -05:00
Kitson Kelly
14f83da221
fix(lsp): tag deprecated diagnostics properly ( #12801 )
2021-11-18 13:05:20 +11:00
Bert Belder
77c4c249ba
test(ext/http): DELETE requests should always have body ( #12798 )
...
Refs: #12741
Refs: #12746
2021-11-17 15:34:41 -08:00
Bert Belder
6a797f7ba9
chore(ext/http): deno fmt ( #12798 )
2021-11-17 15:34:41 -08:00
Bert Belder
c4c8543d5c
upgrade: v8 crate 0.35.0 (V8 9.7.106.5) ( #12797 )
...
Fixes: #11406
2021-11-17 14:09:13 -08:00
David Sherret
4836ab769c
1.16.2 ( #12794 )
2021-11-17 11:00:58 -05:00
David Sherret
cd61cedd19
chore: bump crates for 1.16.2 ( #12792 )
2021-11-17 10:14:23 -05:00
Kitson Kelly
cc38580106
fix(lsp): retain module dependencies when parse is invalid ( #12782 )
...
Fixes #12753
2021-11-17 09:23:25 +11:00
Bartek Iwańczuk
fd78953e1c
feat(core): Deno.core.setNextTickCallback ( #12771 )
...
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-16 20:23:12 +01:00
Ryan Dahl
b2036a4db7
refactor: re-export anyhow from deno_core ( #12777 )
2021-11-16 09:02:28 -05:00
Yacine Hmito
f9f9ddc5e3
tests(lsp): regression test for providing completions when editing documents ( #12776 )
...
Ref: #12753
2021-11-16 13:59:33 +11:00
Ryan Dahl
01644488ae
refactor: clean up cli/file_fetcher.rs ( #12772 )
2021-11-15 19:59:19 -05:00
Nayeem Rahman
cd9193f126
fix(cli): short-circuit in prepare_module_load() ( #12604 )
2021-11-16 10:25:52 +11:00
David Sherret
243d3ba755
fix(transpile): do not panic on swc_ecma_utils::HANDLER
diagnostics ( #12773 )
2021-11-15 18:04:34 -05:00
David Sherret
ec9f5d5af2
feat(unstable/test): include test step pass/fail/ignore counts in final report ( #12432 )
2021-11-15 10:20:37 -05:00
Geert-Jan Zwiers
58e7b290dc
fix(test): support typechecking docs with CRLF line endings ( #12748 )
2021-11-15 09:58:04 -05:00
Ikko Ashimine
dd91ecef50
chore(tests): fix typo in pty.rs ( #12757 )
2021-11-14 14:14:25 +01:00
David Sherret
28dbb4a95e
refactor(lsp): prefer using document instead of documents collection ( #12720 )
2021-11-12 11:42:04 -05:00
Luca Casonato
fdf890a68d
v1.16.1
2021-11-11 11:59:29 +01:00
Luca Casonato
3250ffe020
chore: bump crate versions for 1.16.1 ( #12729 )
2021-11-11 11:16:05 +01:00
Luca Casonato
08067b5e12
fix: add typings for AbortSignal.reason ( #12730 )
2021-11-11 10:28:06 +01:00
upendra1997
e00bfecf96
fix(crypto): handling large key length in HKDF ( #12692 )
2021-11-11 10:04:17 +01:00
Bert Belder
a2c8f554c4
ci: use 'ubuntu-20.04' runner image rather than 'ubuntu-latest' ( #12733 )
...
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-10 16:29:24 -08:00
Bert Belder
72a6231a61
refactor(ext/http): rewrite hyper integration and fix bug ( #12732 )
...
Fixes: #12193
Fixes: #12251
Closes: #12714
2021-11-10 14:51:43 -08:00
Bartek Iwańczuk
0cc8a9741a
chore: update cut_a_release.md ( #12725 )
2021-11-10 16:49:47 +01:00
Luca Casonato
6af916c3f4
fix: non ascii buffer response in http server ( #12728 )
2021-11-10 16:48:46 +01:00
Carter Snook
0cb81951af
test(ffi): add mutable buffer tests ( #12701 )
2021-11-10 14:55:46 +01:00