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

co-assert-timeout

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co-assert-timeout - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

index.js

@@ -7,3 +7,3 @@ var co = require('co')

if (isGenerator(fn) || isGeneratorFunction(fn))
fn = co.call(this, fn)
fn = co(fn)
if (typeof timeout === 'string')

@@ -26,3 +26,3 @@ timeout = ms(timeout)

fn(function () {
fn.call(this, function () {
if (called)

@@ -29,0 +29,0 @@ return logger && logger.apply(ctx, arguments)

{
"name": "co-assert-timeout",
"description": "Assert a thunk or generator's timeout co-style",
"version": "0.0.2",
"version": "0.0.3",
"author": {

@@ -21,6 +21,6 @@ "name": "Jonathan Ong",

"dependencies": {
"ms": "~0.6.1",
"co": "~2.3.0"
"ms": "~0.6.1"
},
"devDependencies": {
"co": ">= 3.0.1",
"mocha": "*",

@@ -27,0 +27,0 @@ "should": "*"

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