Comparing version 1.1.4 to 1.1.5
@@ -23,3 +23,9 @@ | ||
var token = params.shift().trim(); | ||
var paramsList = extensions[token] = extensions[token] || []; | ||
if (extensions[token] === undefined) { | ||
extensions[token] = []; | ||
} else if (!extensions.hasOwnProperty(token)) { | ||
return; | ||
} | ||
var parsedParams = {}; | ||
@@ -42,6 +48,11 @@ | ||
} | ||
(parsedParams[key] = parsedParams[key] || []).push(value); | ||
if (parsedParams[key] === undefined) { | ||
parsedParams[key] = [value]; | ||
} else if (parsedParams.hasOwnProperty(key)) { | ||
parsedParams[key].push(value); | ||
} | ||
}); | ||
paramsList.push(parsedParams); | ||
extensions[token].push(parsedParams); | ||
}); | ||
@@ -48,0 +59,0 @@ |
{ | ||
"author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)", | ||
"name": "ws", | ||
"description": "simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455", | ||
"version": "1.1.4", | ||
"license": "MIT", | ||
"main": "index.js", | ||
"description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js", | ||
"version": "1.1.5", | ||
"keywords": [ | ||
@@ -17,6 +14,12 @@ "Hixie", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/websockets/ws.git" | ||
}, | ||
"homepage": "https://github.com/websockets/ws", | ||
"bugs": "https://github.com/websockets/ws/issues", | ||
"repository": "websockets/ws", | ||
"author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)", | ||
"license": "MIT", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js", | ||
"lib" | ||
], | ||
"scripts": { | ||
@@ -39,4 +42,3 @@ "test": "make test" | ||
"utf-8-validate": "1.2.x" | ||
}, | ||
"gypfile": true | ||
} | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
114041
3169
0
18
1
5