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

tap

Package Overview
Dependencies
Maintainers
1
Versions
418
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tap - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

test/independent-timeouts.js

10

lib/tap-harness.js

@@ -175,7 +175,9 @@ // a thing that runs tests.

if (cb) {
if (!isNaN(conf.timeout) && isFinite(conf.timeout)) {
var timer = setTimeout(t.timeout.bind(t), conf.timeout)
t.on("end", clearTimeout.bind(null, timer))
}
//console.error("attaching cb to ready event")
t.on("ready", function () {
if (!isNaN(conf.timeout) && isFinite(conf.timeout)) {
var timer = setTimeout(this.timeout.bind(this), conf.timeout)
this.on("end", clearTimeout.bind(null, timer))
}
})
t.on("ready", cb.bind(t, t))

@@ -182,0 +184,0 @@ // proxy the child results to this object.

2

package.json
{ "name" : "tap"
, "version" : "0.1.1"
, "version" : "0.1.2"
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)"

@@ -4,0 +4,0 @@ , "description" : "A Test-Anything-Protocol library"

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