Merge branch 'master' into dev

This commit is contained in:
Nick O'Leary
2020-09-16 11:54:34 +01:00
9 changed files with 73 additions and 22 deletions

View File

@@ -771,6 +771,11 @@ function encodeObject(msg,opts) {
} else if (value.constructor.name === "Socket") {
value = "[internal]"
}
} else if (value === undefined) {
value = {
__enc__: true,
type: "undefined",
}
}
return value;
}," ");