Repository navigation
Commit 3c2a3c3
committed
stream: use Float16Array from primordials
Use the Float16Array constructor captured during Node.js initialization
instead of reading it from globalThis when the adapter is loaded.
This prevents changes to the global constructor from affecting chunk
cloning.
Signed-off-by: seungwoo <zoozoo1302@gmail.com>1 parent 062b9a0 commit 3c2a3c3
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
0 commit comments