Commit f0bedb18 authored by Leo Iannacone's avatar Leo Iannacone

update webui libraries

parent 75862dc7
...@@ -35,9 +35,5 @@ ...@@ -35,9 +35,5 @@
"url": "https://github.com/expressjs/accepts/issues" "url": "https://github.com/expressjs/accepts/issues"
}, },
"_id": "accepts@1.0.7", "_id": "accepts@1.0.7",
"dist": { "_from": "accepts@~1.0.4"
"shasum": "85a518a6fac930ecd86ae82149202b4f4ab842da"
},
"_from": "accepts@~1.0.7",
"_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.0.7.tgz"
} }
...@@ -24,6 +24,5 @@ ...@@ -24,6 +24,5 @@
"url": "https://github.com/component/escape-html/issues" "url": "https://github.com/component/escape-html/issues"
}, },
"_id": "escape-html@1.0.1", "_id": "escape-html@1.0.1",
"_from": "escape-html@1.0.1", "_from": "escape-html@1.0.1"
"scripts": {}
} }
4.5.1 / 2014-07-06
==================
* fix routing regression when altering `req.method`
4.5.0 / 2014-07-04 4.5.0 / 2014-07-04
================== ==================
......
...@@ -115,8 +115,6 @@ proto.handle = function(req, res, done) { ...@@ -115,8 +115,6 @@ proto.handle = function(req, res, done) {
debug('dispatching %s %s', req.method, req.url); debug('dispatching %s %s', req.method, req.url);
var method = req.method.toLowerCase();
var search = 1 + req.url.indexOf('?'); var search = 1 + req.url.indexOf('?');
var pathlength = search ? search - 1 : req.url.length; var pathlength = search ? search - 1 : req.url.length;
var fqdn = 1 + req.url.substr(0, pathlength).indexOf('://'); var fqdn = 1 + req.url.substr(0, pathlength).indexOf('://');
...@@ -142,7 +140,7 @@ proto.handle = function(req, res, done) { ...@@ -142,7 +140,7 @@ proto.handle = function(req, res, done) {
req.next = next; req.next = next;
// for options requests, respond with a default if nothing else responds // for options requests, respond with a default if nothing else responds
if (method === 'options') { if (req.method === 'OPTIONS') {
done = wrap(done, function(old, err) { done = wrap(done, function(old, err) {
if (err || options.length === 0) return old(err); if (err || options.length === 0) return old(err);
...@@ -191,15 +189,16 @@ proto.handle = function(req, res, done) { ...@@ -191,15 +189,16 @@ proto.handle = function(req, res, done) {
return next(err); return next(err);
} }
var method = req.method;
var has_method = route._handles_method(method); var has_method = route._handles_method(method);
// build up automatic options response // build up automatic options response
if (!has_method && method === 'options') { if (!has_method && method === 'OPTIONS') {
options.push.apply(options, route._options()); options.push.apply(options, route._options());
} }
// don't even bother // don't even bother
if (!has_method && method !== 'head') { if (!has_method && method !== 'HEAD') {
return next(); return next();
} }
......
...@@ -35,9 +35,5 @@ ...@@ -35,9 +35,5 @@
"url": "https://github.com/expressjs/accepts/issues" "url": "https://github.com/expressjs/accepts/issues"
}, },
"_id": "accepts@1.0.7", "_id": "accepts@1.0.7",
"dist": { "_from": "accepts@~1.0.7"
"shasum": "85a518a6fac930ecd86ae82149202b4f4ab842da"
},
"_from": "accepts@~1.0.5",
"_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.0.7.tgz"
} }
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
"url": "https://github.com/guille/ms.js/issues" "url": "https://github.com/guille/ms.js/issues"
}, },
"_id": "ms@0.6.2", "_id": "ms@0.6.2",
"dist": {
"shasum": "f13296ecf600d296c9f2ff2b61f2f9eb12a69c79"
},
"_from": "ms@0.6.2", "_from": "ms@0.6.2",
"_resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz" "scripts": {}
} }
...@@ -34,9 +34,5 @@ ...@@ -34,9 +34,5 @@
"url": "https://github.com/dougwilson/nodejs-depd/issues" "url": "https://github.com/dougwilson/nodejs-depd/issues"
}, },
"_id": "depd@0.3.0", "_id": "depd@0.3.0",
"dist": { "_from": "depd@0.3.0"
"shasum": "24736330345cf1c62c316f50f096054efb212ff5"
},
"_from": "depd@0.3.0",
"_resolved": "https://registry.npmjs.org/depd/-/depd-0.3.0.tgz"
} }
...@@ -35,9 +35,5 @@ ...@@ -35,9 +35,5 @@
"url": "https://github.com/expressjs/finalhandler/issues" "url": "https://github.com/expressjs/finalhandler/issues"
}, },
"_id": "finalhandler@0.0.2", "_id": "finalhandler@0.0.2",
"dist": { "_from": "finalhandler@0.0.2"
"shasum": "2cadf2a004eab29417cc228bbfeb9de489c7c86d"
},
"_from": "finalhandler@0.0.2",
"_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-0.0.2.tgz"
} }
...@@ -30,9 +30,5 @@ ...@@ -30,9 +30,5 @@
"url": "https://github.com/expressjs/media-typer/issues" "url": "https://github.com/expressjs/media-typer/issues"
}, },
"_id": "media-typer@0.2.0", "_id": "media-typer@0.2.0",
"dist": { "_from": "media-typer@0.2.0"
"shasum": "2af3fe9842d954b5a16d102d197d8a47ead20d3a"
},
"_from": "media-typer@0.2.0",
"_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.2.0.tgz"
} }
...@@ -19,6 +19,5 @@ ...@@ -19,6 +19,5 @@
"readme": "# parseurl\n\nParse a URL with memoization.\n\n## API\n\n### var pathname = parseurl(req)\n\n`pathname` can then be passed to a router or something.\n\n## LICENSE\n\n(The MIT License)\n\nCopyright (c) 2014 Jonathan Ong <me@jongleberry.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "readme": "# parseurl\n\nParse a URL with memoization.\n\n## API\n\n### var pathname = parseurl(req)\n\n`pathname` can then be passed to a router or something.\n\n## LICENSE\n\n(The MIT License)\n\nCopyright (c) 2014 Jonathan Ong <me@jongleberry.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"readmeFilename": "README.md", "readmeFilename": "README.md",
"_id": "parseurl@1.0.1", "_id": "parseurl@1.0.1",
"_from": "parseurl@1.0.1", "_from": "parseurl@1.0.1"
"scripts": {}
} }
...@@ -29,5 +29,5 @@ ...@@ -29,5 +29,5 @@
"url": "https://github.com/visionmedia/node-range-parser/issues" "url": "https://github.com/visionmedia/node-range-parser/issues"
}, },
"_id": "range-parser@1.0.0", "_id": "range-parser@1.0.0",
"_from": "range-parser@1.0.0" "_from": "range-parser@~1.0.0"
} }
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
"url": "https://github.com/guille/ms.js/issues" "url": "https://github.com/guille/ms.js/issues"
}, },
"_id": "ms@0.6.2", "_id": "ms@0.6.2",
"dist": {
"shasum": "f13296ecf600d296c9f2ff2b61f2f9eb12a69c79"
},
"_from": "ms@0.6.2", "_from": "ms@0.6.2",
"_resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
"scripts": {} "scripts": {}
} }
...@@ -41,9 +41,5 @@ ...@@ -41,9 +41,5 @@
"url": "https://github.com/expressjs/type-is/issues" "url": "https://github.com/expressjs/type-is/issues"
}, },
"_id": "type-is@1.3.2", "_id": "type-is@1.3.2",
"dist": { "_from": "type-is@~1.3.2"
"shasum": "c42636e2d6dde79ec18f8d389d0100dc3658b281"
},
"_from": "type-is@~1.3.2",
"_resolved": "https://registry.npmjs.org/type-is/-/type-is-1.3.2.tgz"
} }
{ {
"name": "express", "name": "express",
"description": "Fast, unopinionated, minimalist web framework", "description": "Fast, unopinionated, minimalist web framework",
"version": "4.5.0", "version": "4.5.1",
"author": { "author": {
"name": "TJ Holowaychuk", "name": "TJ Holowaychuk",
"email": "tj@vision-media.ca" "email": "tj@vision-media.ca"
...@@ -104,10 +104,6 @@ ...@@ -104,10 +104,6 @@
"bugs": { "bugs": {
"url": "https://github.com/visionmedia/express/issues" "url": "https://github.com/visionmedia/express/issues"
}, },
"_id": "express@4.5.0", "_id": "express@4.5.1",
"dist": { "_from": "express@4.x"
"shasum": "9af93a6d8d1bab07b14419fed850dade23380a5b"
},
"_from": "express@4.x",
"_resolved": "https://registry.npmjs.org/express/-/express-4.5.0.tgz"
} }
...@@ -35,9 +35,5 @@ ...@@ -35,9 +35,5 @@
"url": "https://github.com/expressjs/accepts/issues" "url": "https://github.com/expressjs/accepts/issues"
}, },
"_id": "accepts@1.0.7", "_id": "accepts@1.0.7",
"dist": { "_from": "accepts@~1.0.5"
"shasum": "85a518a6fac930ecd86ae82149202b4f4ab842da"
},
"_from": "accepts@~1.0.5",
"_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.0.7.tgz"
} }
...@@ -255,10 +255,3 @@ ul#files.view-details li.header { ...@@ -255,10 +255,3 @@ ul#files.view-details li.header {
text-indent: 41px; text-indent: 41px;
} }
} }
/* debomatic-webui style patch */
ul#files li {
float: none;
}
/* end debomatic-webui patch */
* {
margin: 0;
padding: 0;
outline: 0;
}
body {
padding: 80px 100px;
font: 13px "Helvetica Neue", "Lucida Grande", "Arial";
background: #ECE9E9 -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#ECE9E9));
background: #ECE9E9 -moz-linear-gradient(top, #fff, #ECE9E9);
background-repeat: no-repeat;
color: #555;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
font-size: 22px;
color: #343434;
}
h1 em, h2 em {
padding: 0 5px;
font-weight: normal;
}
h1 {
font-size: 60px;
}
h2 {
margin-top: 10px;
}
h3 {
margin: 5px 0 10px 0;
padding-bottom: 5px;
border-bottom: 1px solid #eee;
font-size: 18px;
}
ul li {
list-style: none;
}
ul li:hover {
cursor: pointer;
color: #2e2e2e;
}
ul li .path {
padding-left: 5px;
font-weight: bold;
}
ul li .line {
padding-right: 5px;
font-style: italic;
}
ul li:first-child .path {
padding-left: 0;
}
p {
line-height: 1.5;
}
a {
color: #555;
text-decoration: none;
}
a:hover {
color: #303030;
}
#stacktrace {
margin-top: 15px;
}
.directory h1 {
margin-bottom: 15px;
font-size: 18px;
}
ul#files {
width: 100%;
height: 100%;
overflow: hidden;
}
ul#files li {
float: left;
width: 30%;
line-height: 25px;
margin: 1px;
}
ul#files li a {
display: block;
height: 25px;
border: 1px solid transparent;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
overflow: hidden;
white-space: nowrap;
}
ul#files li a:focus,
ul#files li a:hover {
background: rgba(255,255,255,0.65);
border: 1px solid #ececec;
}
ul#files li a.highlight {
-webkit-transition: background .4s ease-in-out;
background: #ffff4f;
border-color: #E9DC51;
}
#search {
display: block;
position: fixed;
top: 20px;
right: 20px;
width: 90px;
-webkit-transition: width ease 0.2s, opacity ease 0.4s;
-moz-transition: width ease 0.2s, opacity ease 0.4s;
-webkit-border-radius: 32px;
-moz-border-radius: 32px;
-webkit-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.25), inset 0px 1px 3px rgba(0, 0, 0, 0.7), 0px 1px 0px rgba(255, 255, 255, 0.03);
-moz-box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.25), inset 0px 1px 3px rgba(0, 0, 0, 0.7), 0px 1px 0px rgba(255, 255, 255, 0.03);
-webkit-font-smoothing: antialiased;
text-align: left;
font: 13px "Helvetica Neue", Arial, sans-serif;
padding: 4px 10px;
border: none;
background: transparent;
margin-bottom: 0;
outline: none;
opacity: 0.7;
color: #888;
}
#search:focus {
width: 120px;
opacity: 1.0;
}
/*views*/
#files span {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
text-indent: 10px;
}
#files .name {
background-repeat: no-repeat;
}
#files .icon .name {
text-indent: 28px;
}
/*tiles*/
.view-tiles .name {
width: 100%;
background-position: 8px 5px;
}
.view-tiles .size,
.view-tiles .date {
display: none;
}
/*details*/
ul#files.view-details li {
float: none;
display: block;
width: 90%;
}
ul#files.view-details li.header {
height: 25px;
background: #000;
color: #fff;
font-weight: bold;
}
.view-details .header {
border-radius: 5px;
}
.view-details .name {
width: 60%;
background-position: 8px 5px;
}
.view-details .size {
width: 10%;
}
.view-details .date {
width: 30%;
}
.view-details .size,
.view-details .date {
text-align: right;
direction: rtl;
}
/*mobile*/
@media (max-width: 768px) {
body {
font-size: 13px;
line-height: 16px;
padding: 0;
}
#search {
position: static;
width: 100%;
font-size: 2em;
line-height: 1.8em;
text-indent: 10px;
border: 0;
border-radius: 0;
padding: 10px 0;
margin: 0;
}
#search:focus {
width: 100%;
border: 0;
opacity: 1;
}
.directory h1 {
font-size: 2em;
line-height: 1.5em;
color: #fff;
background: #000;
padding: 15px 10px;
margin: 0;
}
ul#files {
border-top: 1px solid #cacaca;
}
ul#files li {
float: none;
width: auto !important;
display: block;
border-bottom: 1px solid #cacaca;
font-size: 2em;
line-height: 1.2em;
text-indent: 0;
margin: 0;
}
ul#files li:nth-child(odd) {
background: #e0e0e0;
}
ul#files li a {
height: auto;
border: 0;
border-radius: 0;
padding: 15px 10px;
}
ul#files li a:focus,
ul#files li a:hover {
border: 0;
}
#files .header,
#files .size,
#files .date {
display: none !important;
}
#files .name {
float: none;
display: inline-block;
width: 100%;
text-indent: 0;
background-position: 0 0;
}
#files .icon .name {
text-indent: 41px;
}
}
1.3.1 / 2014-07-09
==================
* deps: parseurl@~1.1.3
- faster parsing of href-only URLs
1.3.0 / 2014-06-28 1.3.0 / 2014-06-28
================== ==================
......
...@@ -17,30 +17,6 @@ var send = require('send'); ...@@ -17,30 +17,6 @@ var send = require('send');
var url = require('url'); var url = require('url');
/** /**
* Static:
*
* Static file server with the given `root` path.
*
* Examples:
*
* var oneDay = 86400000;
* var serveStatic = require('serve-static');
*
* connect()
* .use(serveStatic(__dirname + '/public'))
*
* connect()
* .use(serveStatic(__dirname + '/public', { maxAge: oneDay }))
*
* Options:
*
* - `maxAge` Browser cache maxAge in milliseconds. defaults to 0
* - `hidden` Allow transfer of hidden files. defaults to false
* - `redirect` Redirect to trailing "/" when the pathname is a dir. defaults to true
* - `index` Default file name, defaults to 'index.html'
*
* Further options are forwarded on to `send`.
*
* @param {String} root * @param {String} root
* @param {Object} options * @param {Object} options
* @return {Function} * @return {Function}
......
1.1.3 / 2014-07-08
==================
* Fix typo
1.1.2 / 2014-07-08
==================
* Seriously fix Node.js 0.8 compatibility
1.1.1 / 2014-07-08
==================
* Fix Node.js 0.8 compatibility
1.1.0 / 2014-07-08
==================
* Incorporate URL href-only parse fast-path
1.0.1 / 2014-03-08
==================
* Add missing `require`
1.0.0 / 2014-03-08
==================
* Genesis from `connect`
...@@ -4,9 +4,9 @@ Parse a URL with memoization. ...@@ -4,9 +4,9 @@ Parse a URL with memoization.
## API ## API
### var pathname = parseurl(req) ### var parsedUrl = parseurl(req)
`pathname` can then be passed to a router or something. `parsedUrl` is basically a `url.parse()` object.
## LICENSE ## LICENSE
...@@ -31,4 +31,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ...@@ -31,4 +31,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
var parse = require('url').parse; /**
* Module dependencies.
*/
var url = require('url')
var parse = url.parse
var Url = url.Url
/**
* Pattern for a simple path case.
* See: https://github.com/joyent/node/pull/7878
*/
var simplePathRegExp = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/
var tryFastRegExp = /^\/[^\\#]*$/
/** /**
* Parse the `req` url with memoization. * Parse the `req` url with memoization.
* *
* @param {ServerRequest} req * @param {ServerRequest} req
* @return {Object} * @return {Object}
* @api private * @api public
*/ */
module.exports = function parseUrl(req){ module.exports = function parseUrl(req){
var parsed = req._parsedUrl; var parsed = req._parsedUrl
if (parsed && parsed.href == req.url) {
return parsed;
} else {
parsed = parse(req.url);
if (parsed.auth && !parsed.protocol && ~parsed.href.indexOf('//')) {
// This parses pathnames, and a strange pathname like //r@e should work
parsed = parse(req.url.replace(/@/g, '%40'));
}
return req._parsedUrl = parsed; if (fresh(req, parsed)) {
return parsed
} }
parsed = fastparse(req.url)
if (parsed.auth && !parsed.protocol && parsed.href.indexOf('//') !== -1) {
// This parses pathnames, and a strange pathname like //r@e should work
parsed = fastparse(req.url.replace(/@/g, '%40'))
}
return req._parsedUrl = parsed
}; };
/**
* Parse the `str` url with fast-path short-cut.
*
* @param {string} str
* @return {Object}
* @api private
*/
function fastparse(str) {
if (typeof str === 'string' && tryFastRegExp.test(str)) {
// Try fast path regexp
// See: https://github.com/joyent/node/pull/7878
var simplePath = simplePathRegExp.exec(str)
// Construct simple URL
if (simplePath) {
var url = Url !== undefined
? new Url()
: {}
url.path = str
url.href = str
url.pathname = simplePath[1]
if (simplePath[2]) {
url.search = simplePath[2];
url.query = url.search.substr(1);
}
return url
}
}
return parse(str)
}
/**
* Determine if parsed is still fresh for req.
*
* @param {ServerRequest} req
* @param {object} parsedUrl
* @return {boolean}
* @api private
*/
function fresh(req, parsedUrl) {
return typeof parsedUrl === 'object'
&& parsedUrl !== null
&& (Url === undefined || parsedUrl instanceof Url)
&& parsedUrl.href === req.url
}
{ {
"name": "parseurl", "name": "parseurl",
"description": "parse a url with memoization", "description": "parse a url with memoization",
"version": "1.0.1", "version": "1.1.3",
"author": { "author": {
"name": "Jonathan Ong", "name": "Jonathan Ong",
"email": "me@jongleberry.com", "email": "me@jongleberry.com",
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
"email": "me@jongleberry.com" "email": "me@jongleberry.com"
}, },
"license": "MIT", "license": "MIT",
"readme": "# parseurl\n\nParse a URL with memoization.\n\n## API\n\n### var pathname = parseurl(req)\n\n`pathname` can then be passed to a router or something.\n\n## LICENSE\n\n(The MIT License)\n\nCopyright (c) 2014 Jonathan Ong <me@jongleberry.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "readme": "# parseurl\n\nParse a URL with memoization.\n\n## API\n\n### var parsedUrl = parseurl(req)\n\n`parsedUrl` is basically a `url.parse()` object.\n\n## LICENSE\n\n(The MIT License)\n\nCopyright (c) 2014 Jonathan Ong <me@jongleberry.com>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
"readmeFilename": "README.md", "readmeFilename": "README.md",
"_id": "parseurl@1.0.1", "_id": "parseurl@1.1.3",
"_from": "parseurl@1.0.1" "_from": "parseurl@~1.1.3"
} }
...@@ -43,6 +43,5 @@ ...@@ -43,6 +43,5 @@
"url": "https://github.com/visionmedia/debug/issues" "url": "https://github.com/visionmedia/debug/issues"
}, },
"_id": "debug@1.0.2", "_id": "debug@1.0.2",
"_from": "debug@1.0.2", "_from": "debug@1.0.2"
"scripts": {}
} }
...@@ -29,6 +29,5 @@ ...@@ -29,6 +29,5 @@
"url": "https://github.com/visionmedia/node-fresh/issues" "url": "https://github.com/visionmedia/node-fresh/issues"
}, },
"_id": "fresh@0.2.2", "_id": "fresh@0.2.2",
"_from": "fresh@0.2.2", "_from": "fresh@0.2.2"
"scripts": {}
} }
...@@ -23,10 +23,5 @@ ...@@ -23,10 +23,5 @@
"url": "https://github.com/guille/ms.js/issues" "url": "https://github.com/guille/ms.js/issues"
}, },
"_id": "ms@0.6.2", "_id": "ms@0.6.2",
"dist": { "_from": "ms@0.6.2"
"shasum": "f13296ecf600d296c9f2ff2b61f2f9eb12a69c79"
},
"_from": "ms@0.6.2",
"_resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
"scripts": {}
} }
...@@ -29,6 +29,5 @@ ...@@ -29,6 +29,5 @@
"url": "https://github.com/visionmedia/node-range-parser/issues" "url": "https://github.com/visionmedia/node-range-parser/issues"
}, },
"_id": "range-parser@1.0.0", "_id": "range-parser@1.0.0",
"_from": "range-parser@~1.0.0", "_from": "range-parser@~1.0.0"
"scripts": {}
} }
{ {
"name": "serve-static", "name": "serve-static",
"description": "Serve static files", "description": "Serve static files",
"version": "1.3.0", "version": "1.3.1",
"author": { "author": {
"name": "Douglas Christopher Wilson", "name": "Douglas Christopher Wilson",
"email": "doug@somethingdoug.com" "email": "doug@somethingdoug.com"
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
}, },
"dependencies": { "dependencies": {
"escape-html": "1.0.1", "escape-html": "1.0.1",
"parseurl": "1.0.1", "parseurl": "~1.1.3",
"send": "0.5.0" "send": "0.5.0"
}, },
"devDependencies": { "devDependencies": {
"istanbul": "0.2.13", "istanbul": "0.3.0",
"mocha": "~1.20.0", "mocha": "~1.20.0",
"should": "~4.0.0", "should": "~4.0.0",
"supertest": "~0.13.0" "supertest": "~0.13.0"
...@@ -35,6 +35,6 @@ ...@@ -35,6 +35,6 @@
"bugs": { "bugs": {
"url": "https://github.com/expressjs/serve-static/issues" "url": "https://github.com/expressjs/serve-static/issues"
}, },
"_id": "serve-static@1.3.0", "_id": "serve-static@1.3.1",
"_from": "serve-static@*" "_from": "serve-static@*"
} }
...@@ -15,9 +15,5 @@ ...@@ -15,9 +15,5 @@
}, },
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"_id": "parsejson@0.0.1", "_id": "parsejson@0.0.1",
"dist": { "_from": "parsejson@0.0.1"
"shasum": "ecd00fd9f6b1621b8fef984468914ca3bcf5dc2b"
},
"_from": "parsejson@0.0.1",
"_resolved": "https://registry.npmjs.org/parsejson/-/parsejson-0.0.1.tgz"
} }
...@@ -15,9 +15,5 @@ ...@@ -15,9 +15,5 @@
}, },
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"_id": "parseqs@0.0.2", "_id": "parseqs@0.0.2",
"dist": { "_from": "parseqs@0.0.2"
"shasum": "ce835afb7800568fd4a16ad59ba8378e0831e994"
},
"_from": "parseqs@0.0.2",
"_resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.2.tgz"
} }
...@@ -15,9 +15,5 @@ ...@@ -15,9 +15,5 @@
}, },
"readme": "ERROR: No README data found!", "readme": "ERROR: No README data found!",
"_id": "parseuri@0.0.2", "_id": "parseuri@0.0.2",
"dist": { "_from": "parseuri@0.0.2"
"shasum": "5ee9ebd7cf0ddec60c4c0987b612e880c8ba7b07"
},
"_from": "parseuri@0.0.2",
"_resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.2.tgz"
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment