Kitson Kelly
5a6a1eeb39
feat(lsp): support API for config file ( #14139 )
...
Closes: #13910
2022-03-29 11:27:43 +11:00
David Sherret
89dd5dac62
chore: fix compile_windows_ext test ( #14142 )
2022-03-28 14:38:15 -04:00
David Sherret
35cdf4926d
chore: update dprint internally to 0.24.1 ( #14141 )
2022-03-28 12:07:14 -04:00
David Sherret
af473ce15c
fix(task): handle PATHEXT
with trailing semi-colon ( #14140 )
2022-03-28 12:02:21 -04:00
Nayeem Rahman
317f13b63f
fix(ext/fetch): extend deprecated fetch() overload with string | Request
( #14134 )
2022-03-28 12:35:48 +02:00
Kitson Kelly
33a8613451
fix(lsp): watch .jsonc files ( #14135 )
2022-03-28 20:40:39 +11:00
Robert
2262097141
chore: update clap and completions ( #14136 )
2022-03-28 03:57:56 +02:00
Divy Srivastava
b18216a0d4
perf: micro-optimize core.encode ( #14120 )
2022-03-27 13:10:54 +05:30
Luca Casonato
37b0ec454c
chore: forward v1.20.3 release commit to main ( #14121 )
2022-03-25 18:53:55 +01:00
Rafael Ávila de Espíndola
3511b7602b
chore: update rusqlite ( #14117 )
2022-03-25 13:32:50 +01:00
David Sherret
4691bde429
fix: Deno.run
- do not modify user provided cmd
array ( #14109 )
2022-03-25 08:17:13 -04:00
Aleksandr Bukhalo
84b1acf8ba
docs(cli): fix typo in PermissionOptionsObject
( #14114 )
2022-03-25 12:30:20 +01:00
Luca Casonato
25b73a366f
fix(ext/ffi): enforce unstable check on ops ( #14115 )
2022-03-25 12:29:54 +01:00
Yoshiya Hinosawa
3462d87503
fix: deprecate URL as the first arg of fetch ( #14113 )
2022-03-25 20:23:55 +09:00
apeltop
bb3387de17
chore(ext): fix typo in ext/webgpu, ext/fetch ( #14106 )
2022-03-25 00:36:30 +01:00
David Sherret
eb4daafc51
docs: WorkerOptions
- fix permissions description ( #14011 )
2022-03-24 16:27:24 +01:00
Aaron O'Mullan
6516130b01
chore: drop src/ in bench_util & serde_v8 ( #14097 )
...
To align with conventions used in our other crates
2022-03-24 11:23:40 +01:00
Eliaz Bobadilla
c52d72e8e1
ci: update actions/checkout@v2 to v3 ( #14089 )
2022-03-24 13:36:33 +09:00
Kitson Kelly
cff1e92ecf
1.20.2
2022-03-24 14:47:06 +11:00
Kitson Kelly
c755548e02
tests(cli): ignore previously unignored test ( #14104 )
...
Ref: #14103
2022-03-24 12:45:45 +11:00
Aaron O'Mullan
f580134b1e
cleanup(serde_v8): streamline magic types ( #14076 )
...
Formalize magic types and how they're "transerialized", also makes U16String deserializable
2022-03-23 21:15:01 +01:00
Bartek Iwańczuk
b82ded84d3
fix(bench): require --unstable flag in JavaScript ( #14091 )
2022-03-23 16:33:42 +01:00
David Sherret
53dac7451b
chore: remove all pub(crate)
s from the cli crate ( #14083 )
2022-03-23 09:54:22 -04:00
Divy Srivastava
5edcd9dd35
perf(http): avoid Set.has() when closing connection resource ( #14085 )
2022-03-23 13:05:34 +05:30
Yoshiya Hinosawa
7feb25d448
feat(unstable): add ref/unref to Listener ( #13961 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-23 12:04:20 +09:00
Divy Srivastava
5c9844e5f7
perf(http): avoid checking promise every request ( #14079 )
2022-03-23 07:23:59 +05:30
Bartek Iwańczuk
c3f306d778
fix(test): don't error on missing op details ( #14074 )
2022-03-23 00:24:45 +01:00
Bartek Iwańczuk
85c60d23f2
refactor: remove loops in cli/tests/unit/http_test.ts ( #14075 )
2022-03-22 23:08:29 +01:00
Yoav Lavi
d43441f8e6
fix(compat): Changes an instance of collect::<Vec<_>>().join("") to collect::<String>() ( #14082 )
2022-03-22 23:04:16 +01:00
Andreu Botella
49be140d2b
chore(core): Remove a note that is no longer relevant. ( #14069 )
...
This note about how `v8::SnapshotCreator::create_blob` must not be
called from a `HandleScope` stopped being relevant in #6801 , and was
now attached to code that had nothing to do with `HandleScope`s.
2022-03-22 22:57:15 +01:00
David Sherret
6268a1a6fd
chore: replace .expect("...")
calls with .unwrap()
in test code ( #14081 )
2022-03-22 15:10:00 -04:00
David Sherret
e46b5f738d
fix(tests): do not use global env vars in install tests ( #14078 )
2022-03-22 13:37:15 -04:00
Nayeem Rahman
d2c099ce34
fix(ext/fetch): Connect async error stack with user code ( #13899 )
2022-03-22 18:08:33 +01:00
Aaron O'Mullan
f81334d5bd
feat(core): disableable extensions & ops ( #14063 )
...
Streamlines a common middleware pattern and provides foundations for avoiding variably sized v8::ExternalReferences & enabling fully monomorphic op callpaths
2022-03-22 16:39:58 +01:00
David Sherret
c9817c335c
fix(unstable): upgrade deno_task_shell to 0.2 ( #14073 )
2022-03-22 10:16:14 -04:00
Filip Kieres
d2b7192c1b
feat(core): Add JsRuntime::get_module_namespace to access the namespace object of a module ( #14026 )
2022-03-22 14:32:32 +01:00
David Sherret
49012cbc33
feat: upgrade to swc_ecmascript 0.137.0 ( #14067 )
2022-03-22 09:19:53 -04:00
Andreu Botella
12d28dffc6
fix(fetch): Fix uncaught rejection panic with WebAssembly.instantiateStreaming
( #13925 )
...
When an exception is thrown during the processing of streaming WebAssembly,
`op_wasm_streaming_abort` is called. This op calls into V8, which synchronously
rejects the promise and calls into the promise rejection handler, if applicable.
But calling an op borrows the isolate's `JsRuntimeState` for the duration of the
op, which means it is borrowed when V8 calls into `promise_reject_callback`,
which tries to borrow it again, panicking.
This change changes `op_wasm_streaming_abort` from an op to a binding
(`Deno.core.abortWasmStreaming`). Although that binding must borrow the
`JsRuntimeState` in order to access the `WasmStreamingResource` stored in the
`OpTable`, it also takes ownership of that `WasmStreamingResource` instance,
which means it can drop any borrows of the `JsRuntimeState` before calling into
V8.
2022-03-22 11:33:29 +01:00
Aaron O'Mullan
c5792d6d1d
fix(core): variadic opSync/opAsync ( #14062 )
2022-03-21 18:04:57 +01:00
David Sherret
b410937556
chore: fix development issues on Windows ( #14030 )
2022-03-21 14:30:43 +01:00
Aaron O'Mullan
45ef3c91c2
perf(http): avoid per header alloc ( #14051 )
2022-03-21 12:56:30 +01:00
Kitson Kelly
1414dc503b
feat(lsp): support deno.enablePaths setting ( #13978 )
...
Ref: denoland/vscode_deno#633
2022-03-21 12:33:37 +11:00
Luca Casonato
daa7c6d32a
fix: actually don't inherit runtime permissions ( #14024 )
2022-03-20 22:46:39 +01:00
Aaron O'Mullan
d0a7305676
cleanup(core): drop op_void_async's state arg ( #14045 )
2022-03-20 14:54:38 +01:00
Andreu Botella
593801e265
cleanup(web, fetch): dedupe minesniff / "extract a MIME type" algorithm ( #14044 )
...
Closes #14002
2022-03-20 14:31:12 +01:00
Jason
0bc286ab47
fix(ext/console): fix error with a Proxy of a Map ( #14032 )
2022-03-20 20:21:42 +09:00
Divy Srivastava
5e82bcf0e4
chore(core): update deno_core README ( #14042 )
...
Co-authored-by: Andreu Botella <andreu@andreubotella.com>
2022-03-20 16:08:35 +05:30
Divy Srivastava
7c2722201e
chore(ops): hide implementation details from rustdoc ( #14038 )
...
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-19 22:13:53 +01:00
Aaron O'Mullan
52459faf0b
fix(ops): throw TypeError on op return failure ( #14033 )
...
Fixes #14028
2022-03-19 15:59:44 +01:00
Bartek Iwańczuk
52a6e9ef4a
feat(ext/net): Deno.upgradeHttp handles unix connections ( #13987 )
2022-03-19 14:21:49 +01:00