websocket-driver
Advanced tools
Comparing version 0.6.4 to 0.6.5
@@ -0,1 +1,5 @@ | ||
### 0.6.5 / 2016-05-20 | ||
* Don't mutate buffers passed in by the application when masking | ||
### 0.6.4 / 2016-01-07 | ||
@@ -2,0 +6,0 @@ |
@@ -267,7 +267,7 @@ 'use strict'; | ||
frame.payload.copy(buffer, offset); | ||
if (frame.masked) { | ||
frame.maskingKey.copy(buffer, header); | ||
Hybi.mask(frame.payload, frame.maskingKey).copy(buffer, offset); | ||
} else { | ||
frame.payload.copy(buffer, offset); | ||
Hybi.mask(buffer, frame.maskingKey, offset); | ||
} | ||
@@ -274,0 +274,0 @@ |
@@ -8,3 +8,3 @@ { "name" : "websocket-driver" | ||
, "version" : "0.6.4" | ||
, "version" : "0.6.5" | ||
, "engines" : {"node": ">=0.6.0"} | ||
@@ -11,0 +11,0 @@ , "main" : "./lib/websocket/driver" |
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
64488
1339