Commit ba5a668
doc: note caveats in process message serialization
The message sent using process.send() goes through JSON
serialization and parsing, which could lead to surprising behaviors.
This commit elaborate a bit more on this and add a link to
the notes about these caveats in the ECMAScript specification.
PR-URL: #12963
Refs: #12497
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>1 parent 10bea3c commit ba5a668
2 files changed
+20
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
894 | 898 | | |
895 | 899 | | |
896 | 900 | | |
| |||
1050 | 1054 | | |
1051 | 1055 | | |
1052 | 1056 | | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
1053 | 1061 | | |
1054 | 1062 | | |
1055 | 1063 | | |
| |||
1060 | 1068 | | |
1061 | 1069 | | |
1062 | 1070 | | |
| 1071 | + | |
1063 | 1072 | | |
1064 | 1073 | | |
1065 | 1074 | | |
| |||
1070 | 1079 | | |
1071 | 1080 | | |
1072 | 1081 | | |
1073 | | - | |
| 1082 | + | |
| 1083 | + | |
1074 | 1084 | | |
1075 | 1085 | | |
1076 | 1086 | | |
| |||
1201 | 1211 | | |
1202 | 1212 | | |
1203 | 1213 | | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | 1214 | | |
1208 | 1215 | | |
1209 | 1216 | | |
| |||
1319 | 1326 | | |
1320 | 1327 | | |
1321 | 1328 | | |
| 1329 | + | |
1322 | 1330 | | |
1323 | 1331 | | |
1324 | 1332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
1472 | 1475 | | |
1473 | 1476 | | |
1474 | 1477 | | |
1475 | | - | |
1476 | | - | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
1477 | 1481 | | |
1478 | 1482 | | |
1479 | 1483 | | |
| |||
1877 | 1881 | | |
1878 | 1882 | | |
1879 | 1883 | | |
| 1884 | + | |
1880 | 1885 | | |
1881 | 1886 | | |
1882 | 1887 | | |
| |||
0 commit comments