Comparing version 6.0.1 to 6.0.2
@@ -32,3 +32,3 @@ const server = require('http').Server | ||
} | ||
})} | ||
}())} | ||
@@ -54,3 +54,3 @@ function json(req, {limit = '1mb'} = {}) {return __async(function*(){ | ||
} | ||
})} | ||
}())} | ||
@@ -114,2 +114,2 @@ function send(res, code, obj = null) { | ||
function __async(f){var g=f();return new Promise(function(s,j){function c(a,x){try{var r=g[x?"throw":"next"](a)}catch(e){return j(e)}return r.done?s(r.value):Promise.resolve(r.value).then(c,d)}function d(e){return c(e,1)}c()})} | ||
function __async(g){return new Promise(function(s,j){function c(a,x){try{var r=g[x?"throw":"next"](a)}catch(e){return j(e)}return r.done?s(r.value):Promise.resolve(r.value).then(c,d)}function d(e){return c(e,1)}c()})} |
{ | ||
"name": "micro", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Async HTTP microservices", | ||
@@ -59,2 +59,3 @@ "main": "./dist/index.js", | ||
"devDependencies": { | ||
"async-to-gen": "1.0.5", | ||
"ava": "^0.16.0", | ||
@@ -68,3 +69,3 @@ "request": "^2.74.0", | ||
"dependencies": { | ||
"async-to-gen": "1.0.1", | ||
"async-to-gen": "1.0.5", | ||
"isstream": "0.1.2", | ||
@@ -71,0 +72,0 @@ "media-typer": "0.3.0", |
@@ -166,3 +166,3 @@ ![](https://cldup.com/JDmmHX3uhF.svg) | ||
**`send(req, res, error)`** | ||
**`sendError(req, res, error)`** | ||
@@ -169,0 +169,0 @@ - Use `require('micro').sendError`. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17198
1
7
+ Addedasync-to-gen@1.0.5(transitive)
- Removedasync-to-gen@1.0.1(transitive)
Updatedasync-to-gen@1.0.5