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

mock-js-server

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mock-js-server - npm Package Compare versions

Comparing version 0.0.12 to 0.1.0

1

libs/finder.js

@@ -104,2 +104,3 @@ 'use strict';

params: fileInfo.params,
body: req.body,
query: fileInfo.query,

@@ -106,0 +107,0 @@ mock: false

2

package.json
{
"name": "mock-js-server",
"version": "0.0.12",
"version": "0.1.0",
"description": "Mock server for API",

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

@@ -27,3 +27,3 @@ # mock-js-server

```javascript
/*globals req, params, query, mock*/
/*globals req, params, body, query, mock*/
mock = {

@@ -30,0 +30,0 @@ 'id': Math.floor(Math.random()*1000),

@@ -11,2 +11,4 @@

app.use(express.json())
app.use((req, _, next) =>

@@ -13,0 +15,0 @@ setTimeout(() => {

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