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

istanbul-middleware

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istanbul-middleware - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

9

lib/handlers.js

@@ -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"
}
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