Comparing version 2.1.0 to 2.1.1
@@ -125,3 +125,3 @@ | ||
PosixSocket.recv(this._sockfd, BUFFER, length - 4, PosixSocket.MSG_WAITALL); | ||
return String.fromCharCode.apply(null, new Uint16Array(BUFFER, 0, (length - 4) / 2)); | ||
return Buffer.from(BUFFER, 0, length - 4).toString("utf16le"); | ||
} |
{ | ||
"name": "antena", | ||
"description": "Isomorphic communication library for node and browsers", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Laurent Christophe", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20875