1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/ext/web
Matt Mastracci e6e708e46c
refactor: use resourceForReadableStream for fetch (#20217)
Switch `ext/fetch` over to `resourceForReadableStream` to simplify and
unify implementation with `ext/serve`. This allows us to work in Rust
with resources only.

Two additional changes made to `resourceForReadableStream` were
required:

- Add an optional length to `resourceForReadableStream` which translates
to `size_hint`
 - Fix a bug where writing to a closed stream that was full would panic
2023-12-01 08:56:10 -07:00
..
benches refactor: remove TimersPermissions::check_unstable (#20831) 2023-10-09 02:08:10 +02:00
00_infra.js feat: disposable Deno resources (#20845) 2023-11-01 20:26:12 +01:00
01_dom_exception.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
01_mimesniff.js perf: optimize RegExp usage in JS (#19364) 2023-06-05 10:52:40 +02:00
02_event.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
02_structured_clone.js fix(core): Use safe primordials wrappers (#18687) 2023-04-14 22:23:28 +02:00
02_timers.js perf: remove knowledge of promise IDs from deno (#21132) 2023-11-09 13:57:26 -07:00
03_abort_signal.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
04_global_interfaces.js refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041) 2023-03-08 12:44:54 +01:00
05_base64.js refactor(webidl): move prefix & context out of converters options bag (#18931) 2023-05-01 10:47:13 +00:00
06_streams.js refactor: use resourceForReadableStream for fetch (#20217) 2023-12-01 08:56:10 -07:00
06_streams_types.d.ts feat(streams): ReadableStream.read min option (#20849) 2023-11-24 23:24:41 +01:00
08_text_encoding.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
09_file.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
10_filereader.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
12_location.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
13_message_port.js perf(ext/web): Avoid changing prototype by setting hostObjectBrand directly (#21358) 2023-11-30 14:06:16 -07:00
14_compression.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
15_performance.js fix(ext,runtime): add missing custom inspections (#21219) 2023-11-19 09:13:38 +01:00
blob.rs refactor: rewrite several extension ops to op2 (#20457) 2023-10-05 14:34:38 +02:00
Cargo.toml chore: forward v1.38.4 release commit to main (#21400) 2023-11-30 23:06:54 +01:00
compression.rs refactor: rewrite several extension ops to op2 (#20457) 2023-10-05 14:34:38 +02:00
hr_timer_lock.rs chore: update to Rust 1.71 (#19822) 2023-07-13 15:16:24 -06:00
internal.d.ts perf(ext/node): Optimise Buffer string operations (#20158) 2023-09-07 14:41:16 -06:00
lib.deno_web.d.ts feat(streams): ReadableStream.read min option (#20849) 2023-11-24 23:24:41 +01:00
lib.rs refactor: use resourceForReadableStream for fetch (#20217) 2023-12-01 08:56:10 -07:00
message_port.rs refactor: rewrite more ops to op2 macro (#20478) 2023-09-14 23:05:18 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
stream_resource.rs refactor: use resourceForReadableStream for fetch (#20217) 2023-12-01 08:56:10 -07:00
timers.rs refactor: op_sleep uses op2 macro (#20908) 2023-10-26 14:16:41 -06:00

deno web

Op crate that implements Event, TextEncoder, TextDecoder and File API (https://w3c.github.io/FileAPI).

Testing for text encoding is done via WPT in cli/.