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

coro

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

coro - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

16

lib/coro.js
var p = require('p-promise');
var p = require('q');

@@ -16,3 +16,3 @@ var coros = [];

try {
val = error ? coro.generator.throw(error) : coro.generator.send(Array.prototype.slice.call(arguments, 1));
val = error ? coro.generator.throw(error) : coro.generator.next(Array.prototype.slice.call(arguments, 1));
}

@@ -32,3 +32,3 @@ catch (e) {

try {
val = error ? coro.generator.throw(error) : coro.generator.send(res);
val = error ? coro.generator.throw(error) : coro.generator.next(res);
}

@@ -48,3 +48,3 @@ catch (e) {

try {
val = error ? coro.generator.throw(error) : coro.generator.send(arguments[n]);
val = error ? coro.generator.throw(error) : coro.generator.next(arguments[n]);
}

@@ -64,3 +64,3 @@ catch (e) {

try {
val = coro.generator.send(Array.prototype.slice.call(arguments, 0));
val = coro.generator.next(Array.prototype.slice.call(arguments, 0));
}

@@ -80,3 +80,3 @@ catch (e) {

try {
val = coro.generator.send(first);
val = coro.generator.next(first);
}

@@ -96,3 +96,3 @@ catch (e) {

try {
val = coro.generator.send(arguments[n]);
val = coro.generator.next(arguments[n]);
}

@@ -156,3 +156,3 @@ catch (e) {

try {
val = coro.generator.send(value);
val = coro.generator.next(value);
}

@@ -159,0 +159,0 @@ catch (e) {

{
"name" : "coro",
"version" : "0.6.0",
"version" : "0.6.1",
"main" : "lib/coro",

@@ -12,5 +12,5 @@ "author": "Tom Yandell <tom@yandell.me.uk> (https://github.com/tomyan)",

"dependencies" : {
"p-promise" : ">= 0.2.4"
"q" : ">= 0.9.6"
},
"keywords" : [ "coroutine", "coroutines", "generator", "generators", "harmony", "async" ]
}
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