Bartek Iwańczuk
d2ab1ed378
fix: add missing fields to Deno.FsFile ( #13674 )
2022-02-15 14:38:39 +01:00
Bartek Iwańczuk
9b5e336c3d
feat: Add Deno.FsFile, deprecate Deno.File ( #13660 )
2022-02-15 13:59:04 +01:00
Luca Casonato
bdc8006a36
feat(runtime): web streams in fs & net APIs ( #13615 )
...
This commit adds `readable` and `writable` properties to `Deno.File` and
`Deno.Conn`. This makes it very simple to use files and network sockets
with fetch or the native HTTP server.
2022-02-15 13:35:22 +01:00
William Tetlow
7b893bd57f
feat(cli): Replace bundling with eszip in deno compile ( #13563 )
...
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-02-15 18:03:46 +05:30
Andreu Botella
760f4c9e24
chore(ext/timers): move ext/timers to ext/web ( #13665 )
2022-02-15 12:17:30 +01:00
Surma
5e845442fa
docs(websockets): add comment about Deno.upgradeWebSocket() for WebSocket servers ( #13659 )
2022-02-13 14:47:46 +01:00
Ryan Dahl
a5d204d425
feat: permission prompt by default ( #13650 )
2022-02-12 22:13:21 -05:00
Geert-Jan Zwiers
911ddbc733
chore(ext/fetch): render jsdoc code example properly ( #13656 )
2022-02-12 16:15:54 +01:00
Maxim
65de5fb465
refactor: use Arc
instead of making copies of Flags
struct ( #13610 )
2022-02-11 14:04:31 -05:00
Bartek Iwańczuk
2fa0096821
compat: support --compat in web workers ( #13629 )
...
Adds another callback to WebWorkerOptions that allows to execute
some modules before actual worker code executes. This allows to set up Node
global using std/node.
2022-02-11 13:41:56 +01:00
Kitson Kelly
2f2c778a07
feat(lsp): support linking to symbols in JSDoc on hover ( #13631 )
...
Closes #13198
2022-02-10 10:08:53 +11:00
Kitson Kelly
773f882e5e
feat(lsp): provide completions from import map if available ( #13624 )
...
Closes #13619
2022-02-10 07:13:50 +11:00
Divy Srivastava
e218d567d5
fix(ext/crypto): support EC p256 private key material in exportKey ( #13547 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-02-08 18:48:28 +05:30
Leo Kettmeir
4799aaac15
refactor: factor out CDP message types ( #13551 )
2022-02-07 17:05:49 +01:00
Bartek Iwańczuk
bf22f114a6
refactor: update runtime code for primordial check for iterators ( #13510 )
2022-02-07 13:54:32 +01:00
Kitson Kelly
9c7ed1c98b
fix(lsp): op_exists handles bad specifiers ( #13612 )
...
Fixes: #13611
2022-02-07 10:39:07 +11:00
Bartek Iwańczuk
d0dd838521
fix(compat): ESM resolver for package subpath ( #13599 )
2022-02-07 00:02:52 +01:00
Zach
a7850d7fe6
fix(ext/console): fix uncaught TypeError in css styling ( #13567 )
...
When using css coloring in the console, non-color values should be ignored rather than throw exceptions.
Fixes #13469
2022-02-06 19:00:06 +09:00
David Sherret
8cc9a9350b
fix(lsp): do not panic getting root_uri to auto discover configuration file ( #13603 )
2022-02-05 17:41:15 -05:00
Leo Kettmeir
592b1fb911
chore: update clap_complete to 3.0.5 ( #13597 )
2022-02-05 16:22:15 +01:00
Luca Casonato
66a8ef1a09
ci: exempt "flaky" label from stale bot ( #13598 )
2022-02-05 13:51:18 +01:00
Bartek Iwańczuk
82284d8052
chore: forward v1.18.2 to main ( #13595 )
2022-02-04 21:44:38 +01:00
Leo Kettmeir
2f438f4106
feat(ext/console): better circular information in object inspection ( #13555 )
2022-02-04 21:10:47 +01:00
David Sherret
3ec07f4e06
chore: upgrade third_party for dprint 0.22 ( #13596 )
2022-02-04 12:40:42 -05:00
Bartek Iwańczuk
e1d3bdfbd5
refactor: fix primordials for WebGPU ( #13594 )
2022-02-04 16:30:32 +01:00
Divy Srivastava
83bba957d5
chore: rm toplevel sanitizer_test.ts ( #13590 )
2022-02-04 16:12:23 +05:30
Kitson Kelly
af5a373e00
feat(lsp): add redirect diagnostic and quick fix ( #13580 )
...
Ref: #12864
2022-02-04 18:14:57 +11:00
Luca Casonato
681c3be18d
fix: don't crash when $HOME is a relative path ( #13581 )
...
Absolutize the cache/home dir before use in DenoDir.
2022-02-03 14:08:17 +01:00
David Sherret
ed3086e4b1
refactor(lsp): remove circular dependency between LanguageServer
and DiagnosticsServer
( #13577 )
2022-02-02 18:02:59 -05:00
Kitson Kelly
de5a4a1757
fix(cli): handle local files with query params on emit ( #13568 )
...
Fixes #13562
2022-02-03 06:48:54 +11:00
Bartek Iwańczuk
975e55d524
chore: upgrade crates ( #13560 )
2022-02-02 19:24:24 +01:00
Luca Casonato
dbf23725f7
chore: update rusty_v8 ( #13575 )
2022-02-02 18:51:37 +01:00
David Sherret
37aba8f754
perf(lsp): cancellable TS diagnostics ( #13565 )
2022-02-02 09:25:22 -05:00
Leo Kettmeir
3a5ddeb03f
fix(cli/dts/webgpu): make GPUBlendComponent properties optional ( #13574 )
2022-02-02 14:38:01 +01:00
Kitson Kelly
26f5c223df
fix(lsp): properly display x-deno-warning with redirects ( #13554 )
...
Fixes: #13472
2022-02-02 13:04:26 +11:00
Bartek Iwańczuk
8176a4d166
refactor: primordials for instanceof ( #13527 )
2022-02-01 18:06:11 +01:00
Divy Srivastava
abf89f8c46
fix(ext/crypto): utf16 jwk encoding ( #13535 )
2022-02-01 17:32:10 +05:30
Kitson Kelly
7d356250e8
refactor: integrate deno_graph breaking changes ( #13495 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-01 09:33:57 +11:00
Zheyu Zhang
5490cfed20
feat(cli): add "--no-clear-screen" flag ( #13454 )
...
This commit adds "--no-clear-screen" flag which can be used
with "--watch" flag to disable clearing of terminal screen on
each file change.
2022-01-31 17:39:39 +01:00
Yosi Pramajaya
3e566bb457
feat(ext/net): Add Conn.setNoDelay and Conn.setKeepAlive ( #13103 )
2022-01-31 16:36:54 +01:00
Bartek Iwańczuk
b7b6b9c9e5
Revert "refactor: factor out CDP message types ( #13501 )" ( #13540 )
...
This reverts commit 382a978859
.
2022-01-31 14:00:18 +01:00
Andreu Botella
56ea75817e
example(core): Add example for TypeScript transpiling via deno_ast ( #13545 )
2022-01-31 13:43:32 +01:00
Kitson Kelly
68c8c66b0f
fix(cli): handle extensionless imports better ( #13548 )
...
Fixes #13526
2022-01-31 20:32:49 +11:00
Yoshiya Hinosawa
49a0db0d2a
feat(unstable): add Deno.getUid ( #13496 )
2022-01-31 14:44:19 +09:00
Yoshiya Hinosawa
245f69256b
feat(runtime): stabilize addSignalListener API ( #13438 )
2022-01-31 14:16:39 +09:00
Divy Srivastava
efa02ffa2a
fix(ext/crypto): enforce 128bits tagLength for AES-GCM decryption ( #13536 )
2022-01-30 18:42:29 +05:30
David Sherret
a2e4fa471b
fix(lsp): regression where certain diagnostics were showing for disabled files ( #13530 )
2022-01-29 17:50:15 -05:00
Bartek Iwańczuk
5cf23176dc
chore: forward v1.18.1 to main ( #13514 )
2022-01-27 18:52:34 +01:00
Bartek Iwańczuk
f248e6f177
Revert "refactor: update runtime code for primordial checks for "instanceof" ( #13497 )" ( #13511 )
...
This reverts commit 884143218f
.
2022-01-27 16:27:22 +01:00
Leo Kettmeir
382a978859
refactor: factor out CDP message types ( #13501 )
2022-01-27 15:09:47 +01:00