Socket
Socket
Sign inDemoInstall

mocker-api

Package Overview
Dependencies
176
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.8 to 1.7.9

2

package.json
{
"name": "mocker-api",
"version": "1.7.8",
"version": "1.7.9",
"description": "This is dev support mock RESTful API.",

@@ -5,0 +5,0 @@ "bin": {

@@ -111,3 +111,3 @@ const bodyParser = require('body-parser');

*/
contentType = contentType.replace(/;.*$/, '');
contentType = contentType && contentType.replace(/;.*$/, '');
if(bodyParserConf && bodyParserConf[contentType]) {

@@ -114,0 +114,0 @@ // 如果存在bodyParserConf配置 {'text/plain': 'text','text/html': 'text'}

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