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

async-caf

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-caf - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

dist/caf.js
/*! caf.js
v3.0.2 (c) 2018 Kyle Simpson
v3.0.3 (c) 2018 Kyle Simpson
MIT License: http://getify.mit-license.org

@@ -4,0 +4,0 @@ */

{
"name": "async-caf",
"version": "3.0.2",
"version": "3.0.3",
"description": "Wrapper for generators as cancelable async functions",

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

@@ -159,3 +159,3 @@ # Cancelable Async Functions (CAF)

var main = CAF(function *main(signal,url) {
var resp = await fetch( url, { signal } );
var resp = yield fetch( url, { signal } );

@@ -162,0 +162,0 @@ console.log( resp );

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