Comparing version 3.0.2 to 3.0.3
/*! 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 ); |
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
Possible typosquat attack
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
async-csv |
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
0