istanbul-middleware
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -37,2 +37,6 @@ /* | ||
//send static file for /asset/asset-name | ||
app.use('/asset', express.static(ASSETS_DIR)); | ||
app.use('/asset', express.static(path.join(ASSETS_DIR, 'vendor'))); | ||
app.use(bodyParser.urlencoded(urlOptions)); | ||
@@ -67,7 +71,2 @@ app.use(bodyParser.json(jsonOptions)); | ||
//send static file for /asset/asset-name | ||
app.get('/asset/:name', function (req, res) { | ||
res.sendfile(path.resolve(ASSETS_DIR, req.params.name)); | ||
}); | ||
//reset coverage to baseline on POST /reset | ||
@@ -74,0 +73,0 @@ app.post('/reset', function (req, res) { |
{ | ||
"author":"Krishnan Anantheswaran <kananthmail-github@yahoo-inc.com>", | ||
"name":"istanbul-middleware", | ||
"description":"Connect middleware for Istanbul to handle server-side as well as browser coverage use-cases for node apps", | ||
"version":"0.2.1", | ||
"repository":{ | ||
"type":"git", | ||
"url":"git@github.com:gotwarlost/istanbul-middleware.git" | ||
}, | ||
"scripts":{ | ||
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json lib/*js", | ||
"test": "./test/run.sh" | ||
}, | ||
"contributors": [ | ||
"@arboleya", | ||
"@harking", | ||
"@mikaturunen", | ||
"@jelmertanen", | ||
"@tkmunzwa", | ||
"@mcollina" | ||
], | ||
"dependencies":{ | ||
"istanbul":"0.4.x", | ||
"express":"4.x", | ||
"body-parser": "~1.12.3", | ||
"archiver": "0.14.x" | ||
}, | ||
"devDependencies":{ | ||
"mkdirp": "*", | ||
"rimraf": "*", | ||
"jshint": "*", | ||
"async": "*", | ||
"yui-lint": "*" | ||
}, | ||
"engines":{ | ||
"node":">=0.6.x" | ||
}, | ||
"license": "BSD" | ||
"author": "Krishnan Anantheswaran <kananthmail-github@yahoo-inc.com>", | ||
"name": "istanbul-middleware", | ||
"description": "Connect middleware for Istanbul to handle server-side as well as browser coverage use-cases for node apps", | ||
"version": "0.2.2", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:gotwarlost/istanbul-middleware.git" | ||
}, | ||
"scripts": { | ||
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json lib/*js", | ||
"test": "./test/run.sh" | ||
}, | ||
"contributors": [ | ||
"@arboleya", | ||
"@harking", | ||
"@mikaturunen", | ||
"@jelmertanen", | ||
"@tkmunzwa", | ||
"@mcollina", | ||
"@lpinca" | ||
], | ||
"dependencies": { | ||
"istanbul": "0.4.x", | ||
"express": "4.x", | ||
"body-parser": "~1.12.3", | ||
"archiver": "0.14.x" | ||
}, | ||
"devDependencies": { | ||
"mkdirp": "*", | ||
"rimraf": "*", | ||
"jshint": "*", | ||
"async": "*", | ||
"yui-lint": "*" | ||
}, | ||
"engines": { | ||
"node": ">=0.6.x" | ||
}, | ||
"license": "BSD" | ||
} | ||
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
26345
472