Socket
Socket
Sign inDemoInstall

sinon-express-mock

Package Overview
Dependencies
18
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

4

lib/index.js

@@ -16,3 +16,3 @@ 'use strict';

var mockReq = exports.mockReq = function mockReq() {
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -37,3 +37,3 @@ var ret = {};

var mockRes = exports.mockRes = function mockRes() {
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -40,0 +40,0 @@ var ret = {};

{
"name": "sinon-express-mock",
"version": "2.0.1",
"version": "2.0.2",
"description": "Simple request and response mock objects to pass into Express routes when testing using Sinon.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc