commandeer
Advanced tools
Comparing version 0.5.0 to 0.5.1
# History | ||
## 0.5.1 pre-release (2015-06-19) | ||
* Update dependencies | ||
* Use JSCS to check for code-style issues | ||
## 0.5.0 pre-release (2015-05-03) | ||
@@ -5,0 +10,0 @@ |
{ | ||
"name": "commandeer", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
@@ -21,14 +21,15 @@ "description": "Proxy requests through connect and capture JSON responses before they are output", | ||
"dependencies": { | ||
"http-proxy": "~1.10", | ||
"http-proxy": "~1.11", | ||
"underscore": "~1.8" | ||
}, | ||
"devDependencies": { | ||
"connect": "~3.3", | ||
"jscs": "~1.13", | ||
"connect": "~3.4", | ||
"hogan.js": "~3.0", | ||
"jshint": "~2.6", | ||
"jshint": "~2.8", | ||
"mocha": "~2.2", | ||
"mockery": "~1.4", | ||
"proclaim": "~3.2", | ||
"request": "~2.55", | ||
"sinon": "~1.14" | ||
"request": "~2.58", | ||
"sinon": "~1.15" | ||
}, | ||
@@ -35,0 +36,0 @@ |
@@ -209,3 +209,3 @@ | ||
```sh | ||
make lint test | ||
make ci | ||
``` | ||
@@ -212,0 +212,0 @@ |
@@ -1,3 +0,3 @@ | ||
/* jshint maxstatements: false, maxlen: false */ | ||
/* global beforeEach, describe, it */ | ||
// jshint maxstatements: false | ||
// jscs:disable disallowMultipleVarDecl, maximumLineLength | ||
'use strict'; | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
/* jshint maxstatements: false, maxlen: false */ | ||
/* global beforeEach, describe, it */ | ||
// jshint maxstatements: false | ||
// jscs:disable disallowMultipleVarDecl, maximumLineLength | ||
'use strict'; | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
/* jshint maxstatements: false, maxlen: false */ | ||
/* global beforeEach, describe, it */ | ||
// jshint maxstatements: false | ||
// jscs:disable disallowMultipleVarDecl, maximumLineLength | ||
'use strict'; | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
/* jshint maxstatements: false, maxlen: false */ | ||
/* global before */ | ||
// jshint maxstatements: false | ||
// jscs:disable disallowMultipleVarDecl, maximumLineLength | ||
'use strict'; | ||
@@ -4,0 +4,0 @@ |
@@ -81,3 +81,3 @@ 'use strict'; | ||
'_default': function (req, res) { | ||
default: function (req, res) { | ||
res.writeHead(404, { | ||
@@ -92,3 +92,3 @@ 'Content-Type': 'text/plain' | ||
function handleRoutes (req, res) { | ||
(routes[req.url] || routes._default)(req, res); | ||
(routes[req.url] || routes.default)(req, res); | ||
} |
@@ -1,3 +0,3 @@ | ||
/* jshint maxstatements: false, maxlen: false */ | ||
/* global beforeEach, describe, it */ | ||
// jshint maxstatements: false | ||
// jscs:disable disallowMultipleVarDecl, maximumLineLength | ||
'use strict'; | ||
@@ -386,2 +386,2 @@ | ||
}); | ||
}); |
@@ -1,3 +0,3 @@ | ||
/* jshint maxstatements: false, maxlen: false */ | ||
/* global beforeEach, describe, it */ | ||
// jshint maxstatements: false | ||
// jscs:disable disallowMultipleVarDecl, maximumLineLength | ||
'use strict'; | ||
@@ -67,3 +67,3 @@ | ||
}); | ||
it('should call the original `response.write`', function () { | ||
@@ -127,2 +127,2 @@ response.write('foo', 'bar'); | ||
}); | ||
}); |
@@ -1,3 +0,3 @@ | ||
/* jshint maxstatements: false, maxlen: false */ | ||
/* global afterEach, beforeEach */ | ||
// jshint maxstatements: false | ||
// jscs:disable disallowMultipleVarDecl, maximumLineLength | ||
'use strict'; | ||
@@ -18,2 +18,2 @@ | ||
mockery.disable(); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
61127
37
1204
9
+ Addedeventemitter3@1.2.0(transitive)
+ Addedhttp-proxy@1.11.3(transitive)
- Removedeventemitter3@0.1.6(transitive)
- Removedhttp-proxy@1.10.1(transitive)
Updatedhttp-proxy@~1.11