Skip to content

Commit 35a9234

Browse files
authored
fix(NODE-4771): serializeFunctions breaks function names outside of basic latin (#538)
1 parent f90bcc3 commit 35a9234

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/upgrade-to-v5.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ We have set our typescript compilation target to `es2020` which aligns with our
7676
7777
### serializeFunctions bug fix
7878

79-
> **TL;DR**: TODO
80-
81-
TODO(NODE-4771): serializeFunctions bug fix makes function names outside the ascii range get serialized correctly
79+
If serializeFunctions was enabled and the functions being serialized had a name that is outside of [Controls and Basic Latin](https://en.wikibooks.org/wiki/Unicode/Character_reference/0000-0FFF) character ranges (a.k.a utf8 bytes: 0x00-0x7F) they would be incorrectly serialized.
8280

8381
### Remove `Map` export
8482

0 commit comments

Comments
 (0)