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

mocker-api

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocker-api - npm Package Compare versions

Comparing version 1.11.2 to 1.12.0

9

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

@@ -47,3 +47,8 @@ "bin": {

},
"devDependencies": {}
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/express": "^4.17.2",
"@types/http-proxy": "^1.17.3",
"@types/node": "^13.7.1"
}
}

@@ -154,3 +154,3 @@ mocker-api

- `pathRewrite` => `{}` rewrite target's url path. Object-keys will be used as RegExp to match paths. [#62](https://github.com/jaywcjlove/mocker-api/issues/62)
- `changeHost` => `{}` Setting req headers host.
- `changeHost` => `Boolean` Setting req headers host.
- `httpProxy` => `{}` Set the [listen event](https://github.com/nodejitsu/node-http-proxy#listening-for-proxy-events) and [configuration](https://github.com/nodejitsu/node-http-proxy#options) of [http-proxy](https://github.com/nodejitsu/node-http-proxy)

@@ -157,0 +157,0 @@ - [`bodyParserJSON`](https://github.com/expressjs/body-parser/tree/56a2b73c26b2238bc3050ad90af9ab9c62f4eb97#bodyparserjsonoptions) JSON body parser

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