Yusuke Kawasaki

Results 41 comments of Yusuke Kawasaki

```js Connection.prototype.read = function(data) { var deferred = this.commandBuffer.first(); if (deferred.type === 'autodiscovery') { // here ``` It'd crash when `commandBuffer` is empty.

I'm sorry but I don't have a reproducible code at this moment. I'm not sure but I guess I've faced the crash when I perform a `append` method which makes...

It seems jQuery's `off("name")` removes all matching listeners, by the way. https://api.jquery.com/off/ > If a simple event name such as "click" is provided, all events of that type (both direct...

This supports XML including XHTML but not HTML. I prefer to use cheerio when I parse HTML.

https://github.com/tc39/proposal-bigint I've tried some basic BigInt manipulations: ```js // Number to BigInt BigInt(1); // => 1n // BigInt to Number Number(1n); // => 1 // typeof "bigint" === typeof BigInt(1);...

I've pushed 92861a16b with basic input/output support at the [bigint](https://github.com/kawanet/int64-buffer/tree/bigint) branch. The current version of TypeScript 3.1 does not support BigInt yet by the way. int64-buffer.d.ts needs TypeScript 3.2 (November...

Proposal A: ``` js var codec = msgpack.createCodec({uint8array: true}); var encoded = msgpack.encode(source, {codec: codec}); Object.prototype.toString.call(encoded); // => [object Uint8Array] ```

Some of Objects already support `toJSON()` serializing method. It sounds a good idea to **divert** it for us instead of building our own `toMsgpack()` method. Thanks.

Right. `msgpack.createEncodeStream()` instance does not manage Stream buffer for each item. One item might be splitted for multiple chunks encoded or buffered for while. Multiple items might be joined for...

Thanks for the patch and the approval comment. The patch looks good and minimal. I like the style. I will be merging it, asap. I'm sorry for the late replies....