Socket
Socket
Sign inDemoInstall

q-io

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

q-io - npm Package Compare versions

Comparing version 1.11.5 to 1.11.6

8

CHANGES.md
<!-- vim:ts=4:sts=4:sw=4:et:tw=60 -->
## 1.11.5
- Allow HTTP requests to specified a false agent, per the underlying Node.js
behavior. (@grahamjenson)
- Use npm carat operator for dependencies. (@anton-rudeshko)
- The Node.js response argument is no longer being forwarded to HTTP request
handlers.
## 1.11.4

@@ -4,0 +12,0 @@

14

http-apps/negotiate.js

@@ -24,8 +24,8 @@

methodNotAllowed = Status.methodNotAllowed;
return function (request, response) {
return function (request) {
var method = request.method;
if (Object.has(keys, method)) {
return Object.get(methods, method)(request, response);
return Object.get(methods, method)(request);
} else {
return methodNotAllowed(request, response);
return methodNotAllowed(request);
}

@@ -46,3 +46,3 @@ };

if (Object.has(keys, type)) {
return Q.when(types[type](request, response), function (response) {
return Q.when(types[type](request), function (response) {
if (

@@ -116,5 +116,5 @@ respond !== null &&

exports.Select = function (select) {
return function (request, response) {
return Q.when(select(request, response), function (app) {
return app(request, response);
return function (request) {
return Q.when(select(request), function (app) {
return app(request);
});

@@ -121,0 +121,0 @@ };

@@ -322,3 +322,3 @@ /**

if (request.agent) {
if (request.agent !== undefined) {
requestOptions.agent = request.agent;

@@ -325,0 +325,0 @@ }

{
"name": "q-io",
"version": "1.11.5",
"version": "1.11.6",
"description": "IO using Q promises",

@@ -28,14 +28,14 @@ "homepage": "http://github.com/kriskowal/q-io/",

"dependencies": {
"q": "~1.0.1",
"qs": "~1.2.1",
"url2": "~0.0.0",
"mime": "~1.2.11",
"mimeparse": "~0.1.4",
"collections": "~0.2.0"
"q": "^1.0.1",
"qs": "^1.2.1",
"url2": "^0.0.0",
"mime": "^1.2.11",
"mimeparse": "^0.1.4",
"collections": "^0.2.0"
},
"devDependencies": {
"jshint": "~0.9.1",
"cover": "~0.2.8",
"jasmine-node": "~1.7",
"opener": "~1.3"
"jshint": "^0.9.1",
"cover": "^0.2.8",
"jasmine-node": "^1.7",
"opener": "^1.3"
},

@@ -42,0 +42,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc