mock-express-response
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -10,3 +10,3 @@ 'use strict'; | ||
var merge = require('utils-merge'); | ||
var Utils = require(path.join(__dirname, 'utils')); | ||
var Utils = require('./utils'); | ||
var MockResponse = require('mock-res'); | ||
@@ -55,2 +55,4 @@ var MockExpressRequest = require('mock-express-request'); | ||
this.locals = options.locals || {}; | ||
this.req = options.request || new MockExpressRequest({ | ||
@@ -1111,2 +1113,2 @@ query: {} | ||
*/ | ||
module.exports = MockExpressResponse; | ||
module.exports = MockExpressResponse; |
{ | ||
"name": "mock-express-response", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "Nodejs library to mock express http response", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
38771
1214
0