Aaron O'Mullan
1cc38f5155
feat(serde_v8): deserialize ArrayBuffers ( #13436 )
...
Previously we would only deserialize `ArrayBufferView`s as zero-copy bufs
This avoids rewrapping `ArrayBuffers` in `ArrayBufferView`s when implementing APIs that take [BufferSource](https://webidl.spec.whatwg.org/#BufferSource ) args passed through the op-layer
2022-01-20 15:11:09 +01:00
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Luca Casonato
6af916c3f4
fix: non ascii buffer response in http server ( #12728 )
2021-11-10 16:48:46 +01:00
Luca Casonato
be68b82eb4
chore: update to rusty_v8 0.33.0 ( #12564 )
2021-10-27 23:26:15 +02:00
Aaron O'Mullan
c27ef0ac7b
perf(http): encode string bodies in op-layer ( #12451 )
...
Using serde_v8's StringOrBuffer
2021-10-26 22:00:01 +02:00
Aaron O'Mullan
783b4da48a
feat(serde_v8): StringOrBuffer ( #12503 )
2021-10-20 15:40:20 +02:00
Aaron O'Mullan
4f48efcc55
chore: return serde_v8 to main repo ( #12500 )
...
Reduces fragmentation, avoids version drift and facilitates coordinating serde_v8 and op-layer changes
2021-10-20 00:00:45 +02:00
Bartek Iwańczuk
e75ffab0c8
chore: move serde_v8 to separate repo ( #10909 )
...
Now available at https://github.com/denoland/serde_v8
2021-06-09 20:37:43 +02:00
Tim Ramlot
635253bd3a
feat(runtime/worker): Structured cloning worker message passing ( #9323 )
...
This commit upgrade "Worker.postMessage()" implementation to use
structured clone algorithm instead of non-spec compliant JSON serialization.
2021-05-11 21:09:09 +02:00
Aaron O'Mullan
4e6790a5fa
feat(serde_v8): ZeroCopyBuf ( #10432 )
...
Bidirectional zero-copy serialization of buffers between v8 & rust
that can be nested in structs/tuples/etc.
2021-04-30 08:42:09 -04:00
Yoshiya Hinosawa
8424647d22
chore: update copyright headers ( #10243 )
2021-04-20 14:27:36 +09:00
Aaron O'Mullan
2538de9ced
refactor(serde_v8): move magic code to subfolder and minor cleanup ( #10230 )
2021-04-18 14:55:41 +02:00