0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/ext
Andreu Botella 22d140ffb1
refactor(ext/web): Don't rely on NaN comparisons in TextEncoderStream (#13151)
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-05 00:42:30 +01:00
..
broadcast_channel fix(doc): Make private types which show up in the rustdocs public (#13230) 2021-12-30 02:05:26 +01:00
console fix(ext/console): map basic css color keywords to ansi (#13175) 2021-12-23 13:06:24 +01:00
crypto fix(ext/crypto): use forgiving base64 encoding for JWK (#13240) 2022-01-03 17:54:45 +05:30
fetch chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
ffi chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
http chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
net chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
timers chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
tls chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
url chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
web refactor(ext/web): Don't rely on NaN comparisons in TextEncoderStream (#13151) 2022-01-05 00:42:30 +01:00
webgpu chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
webidl chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
websocket chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00
webstorage chore: merge v1.17.1 into main (#13184) 2021-12-22 22:20:17 +01:00