Chris Tate
dfd19cbea6
Give socket 'data' listeners strings after setEncoding
...
After socket.setEncoding("utf8"), Node passes strings to 'data'
listeners, while @types/node types the chunk as a Buffer. An inline
listener whose chunk is typed Buffer (annotated or inferred) received a
Buffer. When a program can call setEncoding on a socket, such listeners
now take the chunk as a checked dynamic value, so console.log, typeof,
string methods and concatenation behave as in Node, and Buffer-only
methods throw Node's TypeError. Programs without setEncoding on a socket
compile to the same IR as before.
2026-10-17 20:11:58 -05:00
..
2026-10-12 12:25:30 -05:00
2026-10-17 20:11:58 -05:00
2026-10-06 01:05:40 -05:00
2026-10-16 07:33:26 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 07:55:53 -05:00
2026-10-17 12:16:58 -07:00
2026-10-13 10:26:49 -05:00
2026-10-14 21:17:46 -05:00
2026-10-12 12:25:30 -05:00
2026-10-13 12:36:06 -05:00
2026-10-15 06:12:23 -07:00
2026-10-13 12:36:06 -05:00
2026-10-17 12:19:01 -07:00
2026-10-13 12:36:06 -05:00
2026-10-15 18:47:02 -05:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 12:25:30 -05:00
2026-10-17 16:15:37 -05:00
2026-10-12 12:25:30 -05:00
2026-10-17 19:11:33 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-09 20:26:57 -05:00
2026-10-11 13:08:08 -07:00
2026-10-16 06:54:44 -07:00
2026-10-13 12:36:06 -05:00
2026-10-12 12:25:30 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-05 17:51:24 -05:00
2026-10-14 08:34:53 -05:00
2026-10-15 21:58:33 -05:00
2026-10-12 12:25:30 -05:00
2026-10-15 07:59:19 -05:00
2026-10-16 06:59:43 -07:00
2026-10-08 11:00:13 -05:00
2026-10-07 11:47:54 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-13 12:36:06 -05:00
2026-10-17 12:08:06 -07:00
2026-10-15 05:07:10 -07:00
2026-10-16 01:10:45 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-09-29 20:54:09 -05:00
2026-10-12 12:25:30 -05:00
2026-10-17 18:44:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-14 11:43:44 -05:00
2026-10-17 11:10:43 -07:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-16 04:45:45 -05:00
2026-10-12 12:25:30 -05:00
2026-10-17 12:28:03 -07:00
2026-10-16 01:39:10 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 23:05:43 -05:00
2026-10-12 12:25:30 -05:00
2026-10-08 11:00:13 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-16 10:33:14 -05:00
2026-10-16 10:10:02 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-14 21:09:51 -05:00
2026-10-05 17:51:24 -05:00
2026-10-07 15:39:05 -05:00
2026-10-14 09:58:18 -05:00
2026-10-12 12:25:30 -05:00
2026-10-16 20:13:00 -05:00
2026-10-16 05:12:23 -05:00
2026-10-13 20:30:01 -05:00
2026-10-17 16:00:54 -05:00
2026-10-05 17:51:24 -05:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-15 13:39:03 -05:00
2026-10-05 17:51:24 -05:00
2026-10-11 07:05:29 -07:00
2026-10-13 20:26:38 -05:00
2026-10-05 17:51:24 -05:00
2026-10-05 17:51:24 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 21:24:38 -05:00
2026-10-16 14:02:02 -07:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-10 14:03:20 -07:00
2026-10-12 12:25:30 -05:00
2026-10-12 12:25:30 -05:00
2026-10-13 12:36:06 -05:00
2026-10-13 12:36:06 -05:00
2026-10-05 17:51:24 -05:00
2026-10-13 18:51:09 -05:00
2026-10-05 17:51:24 -05:00
2026-10-14 21:28:04 -05:00