Socket
Socket
Sign inDemoInstall

node-mock-server

Package Overview
Dependencies
233
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.24.0 to 0.25.0

.npmignore

1

lib/controller/AppController.js

@@ -45,2 +45,3 @@

* @param {boolean} options.open
* @param {boolean} options.useTrailingSlashes
* @param {string|undefined} options.jsVersion

@@ -47,0 +48,0 @@ * @public

4

lib/controller/MockController.js

@@ -395,3 +395,3 @@

* @param {Object} req is the original request
* @param {String} directory for the response
* @param {String} dir directory for the response
* @param {Object} options

@@ -741,3 +741,3 @@ * @returns {String}

// removing trailing slashes to make it work on windows
if (path.slice(-1) === '/') {
if (!options.useTrailingSlashes && path.slice(-1) === '/') {
path = path.slice(0, -1);

@@ -744,0 +744,0 @@ }

{
"name": "node-mock-server",
"version": "0.24.0",
"version": "0.25.0",
"description": "File based Node REST API mock server",

@@ -71,3 +71,3 @@ "email": "simon.mollweide@web.de",

"yamljs": "0.3.0",
"snyk": "^1.222.1"
"snyk": "^1.230.5"
},

@@ -80,5 +80,6 @@ "devDependencies": {

"eslint-plugin-import": "2.14.0",
"mocha": "5.2.0"
"mocha": "5.2.0",
"nodemon": "1.19.3"
},
"snyk": true
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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