David Sherret
877c0b724e
chore: use rustfmt
cli via dprint for faster format ( #13735 )
2022-02-21 12:47:08 -05:00
David Sherret
5d7e1229db
fix(vendor): do not add absolute specifiers to scopes ( #13710 )
2022-02-18 23:10:40 -05:00
Bartek Iwańczuk
6830e004e6
chore: update CODEOWNERS ( #13712 )
2022-02-19 05:09:48 +01:00
Aapo Alasuutari
b1a6555c05
feat(ext/ffi): Support read only global statics ( #13662 )
2022-02-18 17:51:19 +05:30
Leo Kettmeir
4a144c7d6e
chore(permissions): clean up duplicate arguments ( #13700 )
2022-02-17 15:15:29 +01:00
Divy Srivastava
6a5a3f66b3
chore: bump nix to 0.23 ( #13701 )
2022-02-17 19:31:26 +05:30
Bartek Iwańczuk
551ace40cc
v1.19.0
2022-02-17 01:54:07 +01:00
Bartek Iwańczuk
e17ab6322e
chore: release crates for v1.19.0 ( #13698 )
2022-02-17 00:57:40 +01:00
Ryan Dahl
e5b5753dd3
feat: never prompt for hrtime permission ( #13696 )
2022-02-17 00:17:24 +01:00
Ryan Dahl
57f4b0e5af
feat: Add hint to permission prompt to display allow flag ( #13695 )
2022-02-17 00:14:46 +01:00
Luca Casonato
53088e16de
feat(test): improved op sanitizer errors + traces ( #13676 )
...
This commit improves the error messages for the `deno test` async op
sanitizer. It does this in two ways:
- it uses handwritten error messages for each op that could be leaking
- it includes traces showing where each op was started
This "async op tracing" functionality is a new feature in deno_core.
It likely has a significant performance impact, which is why it is only
enabled in tests.
2022-02-16 19:53:17 +01:00
David Sherret
b98afb59ae
feat: deno vendor ( #13670 )
2022-02-16 13:14:19 -05:00
Luca Casonato
02c95d367e
chore: make new TCP conn methods unstable ( #13686 )
2022-02-16 17:32:29 +01:00
Luca Casonato
be9c2fe267
tests: deflake a bunch of net related tests ( #13685 )
2022-02-16 16:51:32 +01:00
Leo Kettmeir
8891c19c57
fix(ext/console): print circular ref indicator in cyan ( #13684 )
2022-02-16 16:21:59 +01:00
Bartek Iwańczuk
7780e512e3
chore: upgrade deno_lint to 0.25.0 ( #13683 )
2022-02-16 16:19:07 +01:00
Andreu Botella
665ea9b5f0
chore: update wpt ( #13679 )
2022-02-16 14:33:34 +01:00
Luca Casonato
7a3ab6b164
tests: unflake httpServerIncompleteMessage ( #13682 )
2022-02-16 14:27:38 +01:00
ylxdzsw
4dff70b434
docs(ext/fetch): fix copy-paste errors in Request docs ( #13681 )
2022-02-16 13:50:15 +01:00
Luca Casonato
be61a85886
chore: update v8 ( #13680 )
2022-02-16 13:14:34 +01:00
Luca Casonato
19c8d7702f
chore: improve error messages in CompressionStream ( #13585 )
...
This commit makes the error messages that one sees when passing
something other than a BufferSource to a (De)CompressionStream. The
WPT tests already pass, because they just check for error type
(TypeError), and not error message. A TypeError was already thrown for
invalid values via serde_v8.
2022-02-16 12:21:46 +01:00
Divy Srivastava
77a9683425
fix(ext/crypto): optional additionalData in encrypt/decrypt ( #13669 )
2022-02-16 16:27:14 +05:30
ylxdzsw
074f53234a
feat(ext/http): add support for unix domain sockets ( #13628 )
2022-02-16 00:16:12 +01:00
VishnuJin
2dc5dba8ba
feat(coverage): add "--output" flag ( #13289 )
...
This commit adds "--output" to "deno coverage" subcommand.
It can be used instead of piping output to a file.
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-15 16:33:21 +01:00
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