Comparing version 1.3.0 to 1.3.1
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3
6999
154
- Removeddecomment@^0.9.0
- Removedformat-leaf-api-value@^1.0.0
- Removedmockjs@^1.0.1-beta3
- Removedcommander@12.1.0(transitive)
- Removeddecomment@0.9.5(transitive)
- Removedformat-leaf-api-value@1.0.0(transitive)
- Removedmockjs@1.1.0(transitive)
Updatedmd-to-schema@^1.3.1
Updatedschema-to-json@^1.1.1