Socket
Socket
Sign inDemoInstall

yamux-js

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

4

changelog.md
# CHANGELOG
## 0.0.4
- Fix window update (https://github.com/th-ch/yamux-js/pull/2)
## 0.0.3

@@ -4,0 +8,0 @@

5

lib/session.js

@@ -55,3 +55,2 @@ "use strict";

case constants_1.TYPES.Data:
case constants_1.TYPES.WindowUpdate:
// we have enough data to handle the packet

@@ -68,2 +67,6 @@ if (packet.length >= expectedLength) {

break;
case constants_1.TYPES.WindowUpdate:
this.handleStreamMessage(this.currentHeader, packet, encoding);
this.currentHeader = undefined;
break;
case constants_1.TYPES.Ping:

@@ -70,0 +73,0 @@ this.handlePing(this.currentHeader);

{
"name": "yamux-js",
"version": "0.0.3",
"version": "0.0.4",
"main": "lib/index",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc