engine.io
Advanced tools
Comparing version 3.4.1 to 3.4.2
@@ -0,1 +1,10 @@ | ||
## [3.4.2](https://github.com/socketio/engine.io/compare/3.4.1...3.4.2) (2020-06-04) | ||
### Bug Fixes | ||
* remove explicit require of uws ([85e544a](https://github.com/socketio/engine.io/commit/85e544afd95a5890761a613263a5eba0c9a18a93)) | ||
## [3.4.1](https://github.com/socketio/engine.io/compare/3.4.0...3.4.1) (2020-04-17) | ||
@@ -2,0 +11,0 @@ |
@@ -105,8 +105,4 @@ | ||
var wsModule; | ||
switch (this.wsEngine) { | ||
case 'uws': wsModule = require('uws'); break; | ||
case 'ws': wsModule = require('ws'); break; | ||
default: throw new Error('unknown wsEngine'); | ||
} | ||
// add explicit require for bundlers like webpack | ||
var wsModule = this.wsEngine === 'ws' ? require('ws') : require(this.wsEngine); | ||
this.ws = new wsModule.Server({ | ||
@@ -113,0 +109,0 @@ noServer: true, |
{ | ||
"name": "engine.io", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server", | ||
@@ -38,3 +38,3 @@ "main": "lib/engine.io", | ||
"babel-preset-es2015": "^6.24.0", | ||
"engine.io-client": "3.4.1", | ||
"engine.io-client": "3.4.2", | ||
"eslint": "^4.5.0", | ||
@@ -41,0 +41,0 @@ "eslint-config-standard": "^10.2.1", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
70333
1700
2