mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
dda0f1c343
`ZeroCopyBuf` was convenient to use, but sometimes it did hide details that some copies were necessary in certain cases. Also it made it way to easy for the caller to pass around and convert into different values. This commit splits `ZeroCopyBuf` into `JsBuffer` (an array buffer coming from V8) and `ToJsBuffer` (a Rust buffer that will be converted into a V8 array buffer). As a result some magical conversions were removed (they were never used) limiting the API surface and preparing for changes in #19534. |
||
---|---|---|
.. | ||
benches | ||
00_url.js | ||
01_urlpattern.js | ||
Cargo.toml | ||
internal.d.ts | ||
lib.deno_url.d.ts | ||
lib.rs | ||
README.md | ||
urlpattern.rs |
deno_url
This crate implements the URL, and URLPattern APIs for Deno.
URL Spec: https://url.spec.whatwg.org/ URLPattern Spec: https://wicg.github.io/urlpattern/