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.3.0 to 1.3.1

3

app/middleware/leaf.js

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

const schemeToJSON = require('schema-to-json');
const formatLeafApiValue = require('format-leaf-api-value');

@@ -24,3 +23,3 @@ module.exports = () => {

const apiData = yield genApiData(apiFilePath);
this.body = formatLeafApiValue(apiData);
this.body = apiData;
};

@@ -27,0 +26,0 @@ };

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

<a name="1.3.1"></a>
## [1.3.1](https://github.com/eggjs/egg-leaf/compare/v1.3.0...v1.3.1) (2017-12-30)
<a name="1.3.0"></a>

@@ -7,0 +12,0 @@ # [1.3.0](https://github.com/eggjs/egg-leaf/compare/v1.2.0...v1.3.0) (2017-12-26)

{
"name": "egg-leaf",
"version": "1.3.0",
"version": "1.3.1",
"description": "Mock server for egg",

@@ -16,7 +16,4 @@ "eggPlugin": {

"chalk": "^2.1.0",
"decomment": "^0.9.0",
"format-leaf-api-value": "^1.0.0",
"md-to-schema": "^1.1.1",
"mockjs": "^1.0.1-beta3",
"schema-to-json": "^1.0.0"
"md-to-schema": "^1.3.1",
"schema-to-json": "^1.1.1"
},

@@ -23,0 +20,0 @@ "devDependencies": {

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