Socket
Socket
Sign inDemoInstall

throwback

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

throwback - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "throwback",
"version": "1.0.2",
"version": "1.0.3",
"description": "An asynchronous middleware pattern",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -21,3 +21,3 @@ # Throwback

```js
import { compose, resolve } from 'throwback'
import { compose } from 'throwback'

@@ -43,4 +43,4 @@ const fn = compose([

// Or replace the callback here with `resolve`, which returns
// `Promise.resolve()` triggering the bubble back up the middleware stack.
// Callback runs at the end of the stack, before
// the middleware bubbles back to the beginning.
fn({}, {}, function (req, res) {

@@ -47,0 +47,0 @@ console.log(3)

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