Commit Graph

4 Commits

Author SHA1 Message Date
cjihrig 27338349a1
grpc-js-core: use Buffer.from in metadata cloning
When cloning binary metadata, use Buffer.from() instead of
Buffer.prototype.slice(), as the latter creates a new Buffer
that shares the same underlying bytes.
2018-09-09 15:42:47 -04:00
cjihrig b64ed1c18e
grpc-js-core: add missing space in error message
This commit adds a missing space to an error message and
updates a test to prevent regressions.
2018-08-28 17:20:32 -04:00
cjihrig 7528efbd32
grpc-js-core: remove use of deprecated Buffer() constructor
The Buffer() constructor should not be used. This commit
replaces its use in grpc-js-core tests with Buffer.from().
2018-08-25 11:32:14 -04:00
murgatroid99 56e98d7218 Move current code to packages/grpc-js-core, and fix up scripts and directory references 2017-08-31 14:08:55 -07:00