websocket-stream
Advanced tools
Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "websocket-stream", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"license": "BSD-2-Clause", | ||
@@ -5,0 +5,0 @@ "description": "Use websockets with the node streams API. Works in browser and node", |
@@ -1,1 +0,12 @@ | ||
module.exports = WebSocket || MozWebSocket || window.WebSocket || window.MozWebSocket | ||
var ws = null | ||
if (typeof WebSocket !== 'undefined') { | ||
ws = WebSocket | ||
} else if (typeof MozWebSocket !== 'undefined') { | ||
ws = MozWebSocket | ||
} else { | ||
ws = window.WebSocket || window.MozWebSocket | ||
} | ||
module.exports = ws |
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
15733
370