Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connect

Package Overview
Dependencies
Maintainers
0
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

2

._index.js

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=A��"�"com.macromates.caret{
Mac OS X  2��ATTRXM���"�"com.macromates.caret{
column = 42;
line = 1;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=F��"�"com.macromates.caret{
column = 56;
line = 6;
Mac OS X  2��ATTRXM���"�"com.macromates.caret{
column = 19;
line = 3;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=J��#�#com.macromates.caret{
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 23;
line = 11;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=W��#�#com.macromates.caret{
column = 8;
line = 160;
Mac OS X  2��ATTRXM���"�"com.macromates.caret{
column = 24;
line = 9;
}

@@ -10,3 +10,3 @@ /*!

*/
exports.version = '0.5.1';
exports.version = '0.5.2';

@@ -13,0 +13,0 @@ /**

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=_��!�!com.macromates.caret{
Mac OS X  2��ATTRXM���!�!com.macromates.caret{
column = 0;
line = 7;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=a��#�#com.macromates.caret{
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 34;
line = 67;
}

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=c�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=e��#�#com.macromates.caret{
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 21;
line = 45;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=h��"�"com.macromates.caret{
Mac OS X  2��ATTRXM���"�"com.macromates.caret{
column = 8;
line = 51;
}

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=j�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=l��#�#com.macromates.caret{
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 62;
line = 66;
}

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=n�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=p�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=r��!�!com.macromates.caret{
Mac OS X  2��ATTRXM���!�!com.macromates.caret{
column = 0;
line = 1;
}

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=t�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=v�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=x��$�$com.macromates.caret{
Mac OS X  2��ATTRXM���$�$com.macromates.caret{
column = 19;
line = 128;
}

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=z�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=|�� � com.macromates.caretx���R������<[k0?'3/«��
Mac OS X  2��ATTRXM��� � com.macromates.caretx���R������<[k0?'3/«��

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=~��#�#com.macromates.caret{
column = 17;
line = 15;
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 0;
line = 176;
}

@@ -1,1 +0,1 @@

Mac OS X  2��ATTRX=���!�!com.macromates.caretx���R������<[3 k�@Nf^*�[ ���
Mac OS X  2��ATTRXM���!�!com.macromates.caretx���R������<[3 k�@Nf^*�[ ���

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=���"�"com.macromates.caret{
Mac OS X  2��ATTRXM���"�"com.macromates.caret{
column = 0;
line = 67;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=���#�#com.macromates.caret{
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 41;
line = 30;
}

@@ -162,2 +162,4 @@

})();
} else if ('OPTIONS' == req.method) {
options(req, res, routes);
} else {

@@ -171,2 +173,41 @@ next();

/**
* Respond to OPTIONS.
*
* @param {ServerRequest} req
* @param {ServerResponse} req
* @param {Array} routes
* @api public
*/
function options(req, res, routes) {
var pathname = parse(req.url).pathname
, body = optionsFor(pathname, routes).join(',');
res.writeHead(200, {
'Content-Length': body.length
, 'Allow': body
});
res.end(body);
}
/**
* Return OPTIONS array for the given `path`, matching `routes`.
*
* @param {String} path
* @param {Array} routes
* @return {Array}
* @api private
*/
function optionsFor(path, routes) {
return _methods.filter(function(method){
var arr = routes[method.toUpperCase()];
for (var i = 0, len = arr.length; i < len; ++i) {
if (arr[i].path.test(path)) return true;
}
}).map(function(method){
return method.toUpperCase();
});
}
/**
* Normalize the given path string,

@@ -173,0 +214,0 @@ * returning a regular expression.

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=���"�"com.macromates.caret{
Mac OS X  2��ATTRXM���"�"com.macromates.caret{
column = 0;
line = 40;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=���#�#com.macromates.caret{
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 60;
line = 23;
}

@@ -1,4 +0,4 @@

Mac OS X  2��ATTRX=���#�#com.macromates.caret{
Mac OS X  2��ATTRXM���#�#com.macromates.caret{
column = 36;
line = 24;
}
{
"name": "connect",
"description": "High performance middleware framework",
"version": "0.5.1",
"version": "0.5.2",
"contributors": [

@@ -6,0 +6,0 @@ { "name": "TJ Holowaychuk", "email": "tj@vision-media.ca" },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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