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

micro

Package Overview
Dependencies
Maintainers
2
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micro - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

6

dist/index.js

@@ -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`.

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