Marcos Casagrande
c7dd842f84
perf(ext/fetch): use content-length in InnerBody.consume ( #15925 )
...
This fast path prevents repeated allocations when receiving a fetch body with a known size.
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-09-26 20:27:50 +02:00
David Sherret
1628dba6db
fix(fmt): keep type args in type queries and keep empty array expr element's trailing comma ( #16034 )
2022-09-26 12:57:50 -04:00
Bartek Iwańczuk
075bdfd621
fix(require): tryPackage uses optional chaining ( #16020 )
2022-09-26 17:39:03 +02:00
李瑞丰
a2262c11d7
fix(ext/console): fix error when logging a proxied Date ( #16018 )
2022-09-26 23:55:58 +09:00
Marcos Casagrande
b73cb7bf9c
perf(ext/console): break on iterableLimit & better sparse array handling ( #15935 )
2022-09-26 15:55:22 +09:00
Ikko Ashimine
9a9dd12253
chore(ext/crypto): fix typo in import_key.rs ( #16012 )
...
eliptic -> elliptic
2022-09-24 11:46:52 +05:30
David Sherret
f6a9b49dfb
perf: don't re-download package tarball to global cache if local node_modules folder exists for package ( #16005 )
2022-09-23 17:35:48 -04:00
Marcos Casagrande
12306022da
test(ext/fetch): enable null body status test on windows ( #15995 )
2022-09-23 08:34:04 -04:00
Divy Srivastava
72af1496d9
perf: use fast ops for tty ( #15976 )
2022-09-23 09:35:45 +05:30
Aapo Alasuutari
b5dfcbbcbe
feat(ops): Fallible fast ops ( #15989 )
2022-09-23 08:25:37 +05:30
David Sherret
1b04ff0782
chore: forward v1.25.4 release commit to main ( #16001 )
2022-09-22 15:58:43 -04:00
David Sherret
9bf4ec2eac
chore: temporarily ignore websocketstream test ( #15997 )
2022-09-22 12:41:42 -04:00
David Sherret
0eda3fcd12
fix(compile): keep non-exe extension in output name on Windows ( #15994 )
2022-09-22 11:49:27 -04:00
David Sherret
716005a0d4
feat(npm): add flag for creating and resolving npm packages to a local node_modules folder ( #15971 )
2022-09-22 11:17:02 -04:00
Bartek Iwańczuk
9a216806d5
feat(npm): add support for --reload=npm: and --reload=npm:<package> ( #15972 )
2022-09-22 10:39:58 -04:00
Divy Srivastava
06c77a30f9
perf(cli): use -O3 instead of -Oz ( #15952 )
...
perf(cli): use -O3 instead of -Os
2022-09-22 20:07:01 +05:30
David Sherret
a43e9bebeb
chore: fix recent windows only clippy issues ( #15993 )
2022-09-22 10:33:52 -04:00
Bartek Iwańczuk
b20431c5f9
feat: Refresh interactive permission prompt ( #15907 )
...
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2022-09-22 14:16:06 +02:00
Divy Srivastava
698a340ad7
perf: fs optimizations - part 1 ( #15873 )
2022-09-22 14:39:25 +05:30
Divy Srivastava
11ced3c10e
chore: update wpt ( #15979 )
2022-09-22 14:37:50 +05:30
Divy Srivastava
4c5e73c5fd
chore(ops): update docs on fast calls ( #15985 )
2022-09-22 14:36:57 +05:30
Kayla Washburn
1ef96343a1
feat: allow exiting on two consecutive ctrl+c presses ( #15981 )
2022-09-22 04:42:09 -04:00
Aaron O'Mullan
388e880dd0
examples(core): panik ( #15983 )
2022-09-22 11:00:13 +05:30
Aapo Alasuutari
707e9e3580
feat(ops): Automatic fast ops creation ( #15527 )
2022-09-22 10:05:24 +05:30
Yoshiya Hinosawa
cc32a297da
fix(runtime): better error message with Deno.env.get/set ( #15966 )
2022-09-21 15:18:58 +09:00
Bartek Iwańczuk
35fe9ee530
fix(flash): panic if response if undefined ( #15964 )
...
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-09-20 22:08:15 +02:00
Vicary A
2929ec9ffa
fix(ext/webgpu): make GPUDevice.features SetLike ( #15853 )
2022-09-20 03:43:32 +02:00
Kitson Kelly
73e89844ba
feat(cli): update to TypeScript 4.8 ( #15064 )
2022-09-20 07:00:01 +10:00
Ben Noordhuis
79aee3668d
chore(runtime): upgrade netif crate ( #15867 )
...
v0.1.3 contains code that will stop working with newer versions of
libstd because the layout of some std::net types changed.
Refs: https://github.com/bnoordhuis/netif/pull/10
2022-09-19 14:12:03 -04:00
Divy Srivastava
3864961364
perf(core): use single ObjectTemplate for ops in initialize_ops
( #15959 )
2022-09-19 20:43:34 +05:30
David Sherret
1464b756a4
refactor: move out test files from root testdata directory into sub directories ( #15949 )
2022-09-19 10:32:21 -04:00
Divy Srivastava
8d50c09c0d
perf(cli): avoid canonicalize_path
if config file does not exist ( #15957 )
2022-09-19 19:31:47 +05:30
Divy Srivastava
e2f3801221
perf(cli): avoid clap::App::clone
( #15951 )
2022-09-19 17:07:49 +05:30
Ben Noordhuis
b1b418b81a
chore: fix clippy warnings ( #15944 )
...
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings
about deriving PartialEq without also deriving Eq.
In one case I removed the PartialEq because it a) wasn't necessary,
and b) sketchy because it was comparing floating point numbers.
IMO, that's a good argument for enforcing the lint rule, because it
would most likely have been caught during review if it had been enabled.
2022-09-19 10:25:03 +02:00
David Sherret
a4a894fa1e
fix(doc): deno doc should parse modules if they haven't been parsed before ( #15941 )
2022-09-18 13:59:33 -04:00
Yoshiya Hinosawa
d7b27ed63b
fix(ext/node): fix builtin module module ( #15904 )
2022-09-17 20:35:32 +09:00
Divy Srivastava
5fe660ecd7
perf(web): optimize encodeInto() ( #15922 )
2022-09-17 16:48:15 +05:30
Divy Srivastava
6154188786
perf(ext/console): avoid wrapConsole
when not inspecting ( #15931 )
2022-09-17 15:34:43 +05:30
Darshan Sen
e7934432ce
chore: upgrade rusty_v8 to v0.50.0 ( #15762 )
...
Signed-off-by: Darshan Sen <raisinten@gmail.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-09-17 11:55:19 +02:00
Marcos Casagrande
513e934fa7
refactor(ext/node): use primordials ( #15912 )
2022-09-17 12:35:04 +05:30
Ryan Dahl
684841a18c
upgrade deps ( #15914 )
2022-09-16 19:11:30 -04:00
Nayeem Rahman
38280990da
fix(runtime): fix permission status cache keys ( #15899 )
2022-09-16 20:46:38 +09:00
Colin Ihrig
ee208c1b20
chore: forward v1.25.3 release commit to main ( #15919 )
...
Co-authored-by: denobot <33910674+denobot@users.noreply.github.com>
Co-authored-by: cjihrig <cjihrig@users.noreply.github.com>
2022-09-15 16:24:06 -04:00
Leo Kettmeir
2fc88aba1a
docs: make unstable warnings consistent ( #15913 )
2022-09-15 16:37:35 +02:00
Luca Casonato
516a1da467
Revert "docs: remove unstable messages" ( #15886 )
2022-09-15 14:09:23 +02:00
Marcos Casagrande
606a6d7861
refactor(runtime/io): use primordials ( #15906 )
2022-09-15 13:35:41 +05:30
Divy Srivastava
1de17fad7f
chore(ext/flash): disable flaky flash test ( #15908 )
2022-09-15 09:52:31 +05:30
Colin Ihrig
19deec4494
fix(ops): add node.js env variable allowlist ( #15893 )
...
This commit allows the Node compatibility layer to skip
environment variable permission checks when --unstable
is passed and the variable name is one that Node uses.
Fixes: https://github.com/denoland/deno/issues/15890
2022-09-14 11:59:20 -04:00
Bartek Iwańczuk
7b98282993
fix(npm): binary entrypoint for .js or no extension ( #15900 )
2022-09-14 10:41:47 -04:00
Asher Gomez
6a9acc8142
doc(unstable): mention that signal
input isn't supported in spawnSync
( #15889 )
2022-09-14 08:37:05 +02:00