summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2022-01-20chore: bump crate version for 0.18.0 (#13441)Divy Srivastava
2022-01-20fix(ext/ffi): update copyright year to 2022 (#13440)Divy Srivastava
2022-01-20revert(#13402): experiment: wgpu sync (#13439)Aaron O'Mullan
2022-01-20chore(ext/console): update ansi-regex (#13435)Divy Srivastava
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2022-01-19feat(ext/crypto): support importing raw EC keys (#13079)Luca Casonato
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-01-19fix(ext/crypto): validate maskGenAlgorithm asn1 in importKey (#13421)Divy Srivastava
2022-01-19experiment: wgpu sync (#13402)Aaron O'Mullan
2022-01-19chore: update urlpattern (#13422)Leo Kettmeir
2022-01-19feat(ext/crypto): implement pkcs8/JWK for P-384 curves (#13154)Sean Michael Wykes
2022-01-19feat(ext/crypto): implement pkcs8/spki/jwk exportKey for ECDSA and ECDH (#13104)Sean Michael Wykes
2022-01-18fix(runtime): don't crash when window is deleted (#13392)Bartek Iwańczuk
This commit fixes an error when user deletes "window" global JS variable. Instead of relying on "window" or "globalThis" to dispatch "load" and "unload" events, we are default to global scope of the worker.
2022-01-17fix(ext/console): don't depend on globalThis present (#13387)Bartek Iwańczuk
2022-01-15chore: upgrade to rust 1.58 (#13377)David Sherret
2022-01-14fix(streams): update TypeError message for pending reads when releasing ↵Leo Kettmeir
reader (#13376)
2022-01-14feat(streams): reject pending reads when releasing reader (#13375)Leo Kettmeir
2022-01-14feat(ext/crypto): implement AES-GCM decryption (#13319)Divy Srivastava
2022-01-13chore: forward v1.17.3 to main (#13364)Bartek Iwańczuk
2022-01-12feat(ext/ffi): UnsafeFnPointer API (#13340)DjDeveloper
2022-01-11chore: bump rust-urlpattern to 0.1.3 (#13328)Leo Kettmeir
2022-01-11fix(ext/web): handle no arguments in atob (#13341)Luca Casonato
2022-01-11feat(ext/ffi): support alias names for symbol definitions (#13090)DjDeveloper
2022-01-11feat(ext/crypto): implement AES-KW for wrapKey/unwrapKey (#13286)Sean Michael Wykes
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07feat(ext/crypto): JWK support for unwrapKey/wrapKey (#13261)Sean Michael Wykes
2022-01-06feat(ext/websocket): server automatically handle ping/pong for incoming ↵Leo Kettmeir
WebSocket (#13172)
2022-01-06chore: forward 1.17.2 to main (#13295)Bartek Iwańczuk
2022-01-05feat(ext/websocket): add header support to WebSocketStream (#11887)Leo Kettmeir
2022-01-05feat(ext/crypto): implement AES-GCM encryption (#13119)Divy Srivastava
2022-01-05fix(ext/ffi): throw errors instead of panic (#13283)DjDeveloper
2022-01-05fix(ext/crypto) - exportKey JWK for AES/HMAC must use base64url (#13264)Sean Michael Wykes
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-01-05refactor(ext/web): Don't rely on NaN comparisons in `TextEncoderStream` (#13151)Andreu Botella
In the `transform` function to `TextEncoderStream`'s internal `TransformStream`, if `chunk` is the empty string and `this.#pendingHighSurrogate` is null, then `lastCodeUnit` will be NaN. As it turns out, this does not cause a bug because the comparison to check for lone surrogates turns out to be false for NaN, but to rely on it makes the code brittle.
2022-01-03fix(ext/crypto): use forgiving base64 encoding for JWK (#13240)Sean Michael Wykes
Implements "forgiving" in JWK decode passing suitable config to base64::decode_config
2022-01-03feat(ext/crypto): support AES-CTR encrypt/decrypt (#13177)Sean Michael Wykes
Fixes #13201.
2021-12-30fix(doc): Make private types which show up in the rustdocs public (#13230)Andreu Botella
`CrossIsolateStore`, `ExtensionBuilder` and `InMemoryChannelResource` are private types which are referred to by other public APIs, and so don't show up as links in the rustdoc. This is especially confusing for `ExtensionBuilder`, since there is nothing in the docs that explains how to build an extension. Exposing these three types doesn't add any new capabilities: `ExtensionBuilder` can be created from `Extension::builder()`, `SharedArrayBufferStore` and `CompiledWasmModuleStore` already enable doing anything that `CrossIsolateStore` can do by itself, and `InMemoryChannelResource` isn't constructable.
2021-12-27fix(ext/crypto) include AES-CTR for deriveKey (#13174)Sean Michael Wykes
2021-12-23fix(ext/console): map basic css color keywords to ansi (#13175)Zach
2021-12-22chore: merge v1.17.1 into main (#13184)Bartek Iwańczuk
2021-12-20refactor(ext/crypto): cleanup decrypt code (#13120)Divy Srivastava
2021-12-20fix(ext/websocket): WebSocketStream don't error with "sending after closing" ↵Leo Kettmeir
when closing (#13134)
2021-12-18refactor: use `once_cell` instead of `lazy_static` (#13135)Divy Srivastava
2021-12-17fix(ext/ffi): use `c_char` instead of `i8` for reading strings (#13118)Luke Channings
2021-12-16chore: release crates for v1.17.0 (#13112)Bartek Iwańczuk
2021-12-16feat(ext/crypto): support importing ECSDA and ECDH (#13088)Sean Michael Wykes
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-12-16feat(fetch): support abort reasons in fetch (#13106)Andreu Botella
2021-12-16feat: support abort reasons in Deno APIs and `WebSocketStream` (#13066)Andreu Botella
2021-12-15refactor(ext/crypto): clean up encrypt rust code (#13094)Luca Casonato
2021-12-15fix(ext/crypto): various cleanup in JWK imports (#13092)Luca Casonato
This aligns all of the error messages, and makes falsey comparisons more strict.
2021-12-15feat(ext/ffi): implement UnsafePointer and UnsafePointerView (#12828)Elias Sjögreen
2021-12-14fix(ext/net): make unix and tcp identical on close (#13075)Ben Noordhuis
std/http/server knows how to handle "Listener has been closed" exceptions but not "operation canceled" errors. Make "unix" listen sockets throw the same exception as "tcp" listen sockets when the socket is closed and has a pending accept operation. There is still a discrepancy when multiple accept requests are posted but that's probably a less visible issue and something for another day. Fixes #13033