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

egg-leaf

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-leaf - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

5

app/middleware/leaf.js

@@ -57,7 +57,8 @@ 'use strict';

// TODO
const { body, mock } = mdData.responses[0];
const { body = {}, mock = {} } = mdData.responses[0];
const { delay = 100 } = mock.options || {};
setTimeout(function() {
resolve(schemaToObject(body));
}, mock.delay);
}, delay);
});

@@ -64,0 +65,0 @@ }

@@ -5,2 +5,12 @@ # Change Log

<a name="1.5.3"></a>
## [1.5.3](https://github.com/forsigner/egg-leaf/compare/v1.5.2...v1.5.3) (2018-02-02)
### Bug Fixes
* fix delay bug ([1fa0d2f](https://github.com/forsigner/egg-leaf/commit/1fa0d2f))
<a name="1.5.2"></a>

@@ -7,0 +17,0 @@ ## [1.5.2](https://github.com/forsigner/egg-leaf/compare/v1.5.1...v1.5.2) (2018-02-02)

2

package.json
{
"name": "egg-leaf",
"version": "1.5.2",
"version": "1.5.3",
"description": "Mock server for egg",

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

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