Socket
Socket
Sign inDemoInstall

inflight

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "inflight",
"version": "1.0.0",
"version": "1.0.1",
"description": "Add callbacks to requests in flight to avoid async duplication",

@@ -5,0 +5,0 @@ "main": "inflight.js",

@@ -20,2 +20,5 @@ # inflight

// If we got a falsey value back, then there's already a req going
if (!callback) return
// this is where you'd fetch the url or whatever

@@ -22,0 +25,0 @@ // callback is also once()-ified, so it can safely be assigned

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc