1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
Commit graph

3162 commits

Author SHA1 Message Date
Bartek Iwańczuk
ac4311880f
v1.18.2 2022-02-04 01:07:26 +01:00
Ryan Dahl
742e782415 chore: bump crate versions for 1.18.2 2022-02-03 23:50:03 +01:00
Luca Casonato
554d8b5ce1 fix: don't crash when $HOME is a relative path (#13581)
Absolutize the cache/home dir before use in DenoDir.
2022-02-03 23:50:03 +01:00
David Sherret
be2b6ff5e2 refactor(lsp): remove circular dependency between LanguageServer and DiagnosticsServer (#13577) 2022-02-03 23:50:03 +01:00
Kitson Kelly
154c769a43 fix(cli): handle local files with query params on emit (#13568)
Fixes #13562
2022-02-03 23:50:03 +01:00
David Sherret
471fa9b840 perf(lsp): cancellable TS diagnostics (#13565) 2022-02-03 23:50:03 +01:00
Leo Kettmeir
6ebb3e5623 fix(cli/dts/webgpu): make GPUBlendComponent properties optional (#13574) 2022-02-03 23:50:03 +01:00
Kitson Kelly
9d714579b2 fix(lsp): properly display x-deno-warning with redirects (#13554)
Fixes: #13472
2022-02-03 23:50:03 +01:00
Bartek Iwańczuk
20c1ed2263 Revert "refactor: factor out CDP message types (#13501)" (#13540)
This reverts commit 382a978859.
2022-02-03 23:50:03 +01:00
Kitson Kelly
8cc146a414 fix(cli): handle extensionless imports better (#13548)
Fixes #13526
2022-02-03 23:50:03 +01:00
Yoshiya Hinosawa
f8616e3bed feat(unstable): add Deno.getUid (#13496) 2022-02-03 23:50:03 +01:00
Divy Srivastava
7a23f04ac7 fix(ext/crypto): enforce 128bits tagLength for AES-GCM decryption (#13536) 2022-02-03 23:50:03 +01:00
David Sherret
aea07f58c1 fix(lsp): regression where certain diagnostics were showing for disabled files (#13530) 2022-02-03 23:50:03 +01:00
Bartek Iwańczuk
0c93106078
v1.18.1 2022-01-27 17:33:49 +01:00
Bartek Iwańczuk
77f83dcda5
chore: release crates for v1.18.1 (#13512) 2022-01-27 16:45:30 +01:00
Leo Kettmeir
0773faa627
refactor: factor out CDP message types (#13501) 2022-01-27 16:08:43 +01:00
Yoshiya Hinosawa
8cac089c33
docs: fix markdown error in sleepSync jsdoc (#13492) 2022-01-27 16:03:23 +01:00
David Sherret
2efc8acf6a
refactor(lsp): remove RwLock on Config (#13485) 2022-01-27 16:03:17 +01:00
David Sherret
7f7d65aa3a
refactor(lsp): Documents - combine duplicate exists methods (#13479) 2022-01-27 16:03:09 +01:00
David Sherret
df9095c64f
fix(lsp): independent diagnostic publishing should include all diagnostic sources on each publish (#13483) 2022-01-27 16:03:02 +01:00
Aaron O'Mullan
bce64ee738
chore: re-enable wgpu_sync (#13453) 2022-01-27 16:02:55 +01:00
David Sherret
3ced46acd2
perf(lsp): independent diagnostic source publishes (#13427) 2022-01-27 16:02:48 +01:00
Bartek Iwańczuk
5fc4573fae
tests: Add inspector tests for "Memory" and "Profile" tabs (#13476) 2022-01-27 16:02:33 +01:00
Yoshiya Hinosawa
05e531009a
feat(unstable): add Deno.networkInterfaces (#13475) 2022-01-27 16:02:27 +01:00
Kitson Kelly
b851caaee1
perf(lsp): improve some tsc op hot paths (#13473) 2022-01-27 16:02:21 +01:00
Kitson Kelly
47bdf164ee
fix(lsp): respect DENO_CERT and other options related to TLS certs (#13467)
Fixes #13437
2022-01-27 16:02:16 +01:00
Divy Srivastava
2ea535c8c1
1.18.0 2022-01-20 21:49:30 +05:30
Divy Srivastava
16776c9ade
chore: bump crate version for 0.18.0 (#13441) 2022-01-20 20:50:39 +05:30
Aaron O'Mullan
3ab68bd0a2
revert(#13402): experiment: wgpu sync (#13439) 2022-01-20 15:23:53 +01:00
Yoshiya Hinosawa
4c1053ad33
chore: update copyright year (#13434) 2022-01-20 16:10:16 +09:00
Yoshiya Hinosawa
ee51c3ddd9
fix(cli/dts): add NotSupported error type (#13432) 2022-01-20 12:29:37 +09:00
David Sherret
1ec07368b4
fix(fmt): markdown formatting should not remove backslashed backslash at start of paragraph (#13429) 2022-01-20 01:04:33 +01:00
David Sherret
f73a5fbc89
refactor(lsp): reduce data stored in StateSnapshot (#13426) 2022-01-19 17:10:14 -05:00
Kitson Kelly
6cf05220e3
fix(lsp): better handling of registry config errors (#13418)
Fixes: #13383
Fixes: denoland/vscode_deno#609
2022-01-20 08:05:19 +11:00
David Sherret
1cece36fa5
refactor(lsp): store the LspUrlMap's state inside a mutex (#13416) 2022-01-19 11:38:40 -05:00
Aaron O'Mullan
2ab21dafa7
experiment: wgpu sync (#13402) 2022-01-19 13:38:51 +01:00
Sean Michael Wykes
9139985180
feat(ext/crypto): implement pkcs8/JWK for P-384 curves (#13154) 2022-01-19 12:14:35 +05:30
Sean Michael Wykes
77e58fe7f9
feat(ext/crypto): implement pkcs8/spki/jwk exportKey for ECDSA and ECDH (#13104) 2022-01-19 09:08:35 +05:30
David Sherret
b3545dd447
refactor(lsp): store assets behind a mutex (#13414) 2022-01-18 16:28:47 -05:00
David Sherret
0f3a53e5d4
feat: stabilize test steps API (#13400) 2022-01-18 15:02:56 -05:00
Ryan Dahl
ce52bfc59c
Add LSP benchmark mimicking the one on quick-lint-js (#13365) 2022-01-18 06:58:50 -05:00
Ryan Dahl
39ea4abff4
feat: auto-discover config file (#13313) 2022-01-17 20:10:17 -05:00
Bartek Iwańczuk
b10563cb20
fix(runtime): don't crash when window is deleted (#13392)
This commit fixes an error when user deletes "window" global JS
variable. Instead of relying on "window" or "globalThis" to dispatch
"load" and "unload" events, we are default to global scope of the
worker.
2022-01-18 00:13:14 +01:00
Bartek Iwańczuk
bc666e42a8
fix(ext/console): don't depend on globalThis present (#13387) 2022-01-17 23:23:49 +01:00
David Sherret
1ab5dea367
refactor(lsp): remove performance from StateSnapshot (#13403) 2022-01-17 17:09:43 -05:00
Ryan Dahl
3595f37b07
refactor: simplify how LSP deals with config file specifier (#13401) 2022-01-17 14:45:05 -05:00
Andreu Botella
76c7b9abf9
fix(tsc): Add typings for Intl.ListFormat (#13301)
V8 has supported `Intl.ListFormat` since version 7.2, but TypeScript doesn't
have typings for it yet. This PR manually adds those typings, copying them from
microsoft/TypeScript#47254.
2022-01-17 06:50:10 +01:00
Andreu Botella
9def44979a
fix(cli): Don't strip shebangs from modules (#13220)
Deno's module loader currently strips a shebang if a module file
starts with one. However, this is no longer necessary, since there is
a stage-3 TC39 that adds support for shebangs (or "hashbangs") to the
language (https://github.com/tc39/proposal-hashbang), and V8, `tsc`
and `swc` all support it.

Furthermore, stripping shebangs causes a correctness bug with JSON
modules, since a JSON file with a shebang should not parse as a JSON
module, yet it does with this stripping. This change fixes this.
2022-01-16 16:48:32 +01:00
David Sherret
ad224f53c7
chore: upgrade to rust 1.58 (#13377) 2022-01-15 07:10:12 +01:00
David Sherret
903cb48fe9
refactor(installer): refactor installer code to be more testable (#13374) 2022-01-14 13:23:47 -05:00