Divy Srivastava
132c761e87
fix(ext/ffi): allow opting out of fast ffi calls ( #15131 )
2022-07-09 18:41:07 +05:30
Aapo Alasuutari
3da182b0b8
fix(ext/ffi): Avoid keeping JsRuntimeState RefCell borrowed for event loop middleware calls ( #15116 )
2022-07-09 11:49:20 +02:00
Divy Srivastava
20cbd7f0f8
perf(ext/ffi): leverage V8 Fast Calls ( #15125 )
2022-07-08 23:19:09 +05:30
Divy Srivastava
b3b3018273
chore: upgrade rusty_v8 to 0.45.0 ( #15123 )
2022-07-08 18:25:54 +02:00
Bartek Iwańczuk
870eb0df81
fix(core): deflake WASM termination test ( #15103 )
2022-07-07 16:28:29 +02:00
Zach
82f7daeed7
fix(ext/http) nextRequest return type annotation from ResponseEvent to RequestEvent ( #15100 )
...
Fixes #15099
2022-07-06 20:40:27 -04:00
Divy Srivastava
6046342a20
perf(ext/http): skip core.isProxy
check for default ResponseInit ( #15077 )
2022-07-06 17:33:32 +05:30
Garcia
04061f9f39
fix(ext/url): missing primordial ( #15096 )
2022-07-06 13:45:01 +02:00
Andreu Botella
f0ef15ff07
refactor(core): Use &mut Isolate
as an argument in JsRealm
methods ( #15093 )
...
Currently almost every `JsRealm` method has a `&mut JsRuntime`
argument. This argument, however, is only used to get the runtime's
corresponding isolate. Given that a mutable reference to the
corresponding `v8::Isolate` can be reached from many more places than
a mutable reference to the `JsRuntime` (for example, by derefing a V8
scope), changing that will make `JsRealm` usable from many more places
than it currently is.
2022-07-06 00:45:10 +02:00
Arthur Silva
cdba53a73d
feat(core): Re-export v8 use_custom_libcxx feature ( #14475 )
2022-07-05 23:01:41 +02:00
David Sherret
be837ed70f
chore(ci): fix post publish for forwarding release commit back to main ( #15088 )
2022-07-05 15:15:45 -04:00
David Sherret
1cc59e6c5c
chore: unpin pin project to fix cargo publish ( #15085 )
2022-07-05 14:24:40 -04:00
David Sherret
9d061c9e68
chore: pin aes-gcm to fix cargo publish ( #15084 )
2022-07-05 14:24:40 -04:00
denobot
ef312e0050
1.23.3 ( #15081 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-07-05 14:24:40 -04:00
Bartek Iwańczuk
a919a5dd11
Revert "refactor(snapshots): to their own crate ( #14794 )" ( #15076 )
...
This reverts commit fd5a12d7e2
.
2022-07-05 00:12:41 +02:00
Bartek Iwańczuk
06934db883
Revert "feat: add "unhandledrejection" event support ( #12994 )" ( #15075 )
...
This reverts commit f7af0b01a5
.
2022-07-04 23:34:39 +02:00
Bartek Iwańczuk
f7af0b01a5
feat: add "unhandledrejection" event support ( #12994 )
...
This commit adds support for "unhandledrejection" event.
This event will trigger event listeners registered using:
"globalThis.addEventListener("unhandledrejection")
"globalThis.onunhandledrejection"
This is done by registering a default handler using
"Deno.core.setPromiseRejectCallback" that allows to
handle rejected promises in JavaScript instead of Rust.
This commit will make it possible to polyfill
"process.on("unhandledRejection")" in the Node compat
layer.
Co-authored-by: Colin Ihrig <cjihrig@gmail.com>
2022-07-04 21:14:58 +02:00
Roj
691d67b3ed
chore(test): fix test_collect_specifiers
windows path to specifier code ( #15072 )
2022-07-04 14:28:41 -04:00
Divy Srivastava
93c03fffc4
perf(ext/http): remove accept_encoding interior mutability ( #15070 )
2022-07-04 21:48:09 +05:30
Roj
dced4d5e19
fix(cli): handle collecting a directory with file:// ( #15002 )
2022-07-04 10:46:10 -04:00
Divy Srivastava
20cf0770dd
perf(ext/http): simplify op_http_accept ( #15067 )
2022-07-04 18:41:31 +05:30
Divy Srivastava
4ee7216858
chore(cli/bench): use deno bench
for deno_common.js ( #15063 )
2022-07-04 16:53:02 +05:30
Carter Snook
8941a39fe5
fix(dts): stop default export type behavior ( #14977 )
...
Ref: #14976
2022-07-04 15:41:52 +10:00
Rafael Ávila de Espíndola
2d15e926f9
fix: update to TypeScript 4.7.4 ( #15022 )
2022-07-04 15:13:50 +10:00
Divy Srivastava
a2643ae7bd
perf(ext/http): lazy load headers ( #15055 )
2022-07-04 07:41:52 +05:30
Divy Srivastava
2c2126918b
perf(serde_v8): avoid extra is_array_buffer_view check ( #15056 )
2022-07-04 07:00:42 +05:30
David Sherret
9b5e6e64f2
chore: upgrade to dprint 0.30.2 internally ( #15061 )
2022-07-03 16:32:17 -04:00
Divy Srivastava
97a7f8d54d
chore(cli/bench): benchmark for raw HTTP ops ( #15043 )
2022-07-02 19:39:25 +05:30
David Sherret
d7feddfca0
ci: use a known good version of deno instead of latest in publish scripts ( #15037 )
2022-07-02 00:22:07 -04:00
Divy Srivastava
4e7abf4986
perf(ops): fast path for SMI return values ( #15033 )
2022-07-01 22:59:24 +05:30
David Sherret
95d2f206fc
refactor: extract deno_graph::create_graph
use to common function ( #15009 )
2022-07-01 11:50:16 -04:00
Bartek Iwańczuk
b8b82c3ea4
chore: use Rust 1.62.0 ( #15028 )
2022-07-01 15:28:06 +02:00
João Avelino Bellomo Filho
77c25beaa5
fix(core): handle exception from Wasm termination ( #15014 )
...
Co-authored-by: Augusto Lenz <augustollenz@gmail.com>
2022-07-01 09:51:29 +02:00
Divy Srivastava
350994e6a6
chore(cli/bench): Add more HTTP benchmarks ( #14995 )
2022-07-01 12:59:01 +05:30
Nugine
a27acbc2ec
fix(core): remove unsafe in OpsTracker ( #15025 )
2022-07-01 00:43:25 +02:00
David Sherret
3d8ba30ea0
chore: forward 1.23.2 to main ( #15027 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-30 18:01:08 -04:00
Divy Srivastava
4e92f38d2c
perf(ext/web): avoid reallocations in op_base64_atob ( #15018 )
2022-06-30 14:18:06 +05:30
Divy Srivastava
79c5b84eab
chore: upgrade rusty_v8 to 0.44.3 ( #15019 )
2022-06-30 14:17:39 +05:30
Alexandre Negrel
9c878981cf
fix(ext/crypto): add EcdhKeyDeriveParams to deriveKey types ( #15005 )
2022-06-30 11:23:05 +05:30
Divy Srivastava
ebc8a3ccf2
perf(serde_v8): smallvec ByteString ( #15008 )
2022-06-30 08:47:18 +05:30
David Sherret
e46584a75a
fix(vendor): ignore import map in output directory instead of erroring ( #14998 )
2022-06-29 20:41:48 -04:00
Curtis Allen
d5ef14eca6
fix(runtime): derive default for deno_runtime::ExitCode ( #15017 )
2022-06-30 02:26:58 +02:00
David Sherret
8c4420c005
refactor: rename RootConfig
to CliOptions
( #15007 )
2022-06-29 11:51:11 -04:00
Nugine
1328a56230
perf(ext/web): use base64-simd for atob/btoa ( #14992 )
2022-06-29 21:12:39 +05:30
Aapo Alasuutari
3ad8bd8557
fix(ext/ffi): Empty buffers error with index out of bounds on FFI ( #14997 )
2022-06-29 20:30:29 +05:30
Mark Ladyshau
6743b3227b
fix(ext/web): remove ErrorEventInit
's error default ( #14809 )
2022-06-29 14:29:08 +02:00
Divy Srivastava
5eb9abd65f
chore(cli/bench): Add bun HTTP server ( #15004 )
2022-06-29 16:57:19 +05:30
bokuweb
91570ba6e8
chore(cli): remove unnecessary unsafe in bench ( #15000 )
2022-06-29 13:46:02 +05:30
Divy Srivastava
76d387fb93
perf(ext/ffi): optimize synchronous calls ( #14945 )
2022-06-29 13:43:33 +05:30
nkronlage
4e4d987486
fix(test): typo ('finsihed') if text decoder not closed during test ( #14996 )
...
fix: typo ('finsihed') if text decoder not closed during test
2022-06-28 17:30:37 -04:00