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.3.0 to 0.3.1

test/segv.js

10

lib/tap-runner.js

@@ -222,6 +222,6 @@ var fs = require("fs")

cp.on("exit", function (code) {
cp.on("exit", function (code, signal) {
if (cp._ended) return
cp._ended = true
var ok = !cp._timedOut && !code
var ok = !cp._timedOut && code === 0
clearTimeout(timeout)

@@ -232,5 +232,9 @@ //childTests.forEach(function (c) { self.write(c) })

, ok: ok
, timedOut: cp._timedOut
, exit: code }
if (cp._timedOut)
res.timedOut = cp._timedOut
if (signal)
res.signal = signal
if (err) {

@@ -237,0 +241,0 @@ res.stderr = err

@@ -1,8 +0,25 @@

{ "name" : "inherits"
, "description": "A tiny simple way to do classic inheritance in js"
, "version" : "1.0.0"
, "keywords" : ["inheritance", "class", "klass", "oop", "object-oriented"]
, "main" : "./inherits.js"
, "repository" : "https://github.com/isaacs/inherits"
, "license": { "type": "WTFPL2" }
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)" }
{
"name": "inherits",
"description": "A tiny simple way to do classic inheritance in js",
"version": "1.0.0",
"keywords": [
"inheritance",
"class",
"klass",
"oop",
"object-oriented"
],
"main": "./inherits.js",
"repository": {
"type": "git",
"url": "https://github.com/isaacs/inherits"
},
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"readme": "A dead simple way to do inheritance in JS.\n\n var inherits = require(\"inherits\")\n\n function Animal () {\n this.alive = true\n }\n Animal.prototype.say = function (what) {\n console.log(what)\n }\n\n inherits(Dog, Animal)\n function Dog () {\n Dog.super.apply(this)\n }\n Dog.prototype.sniff = function () {\n this.say(\"sniff sniff\")\n }\n Dog.prototype.bark = function () {\n this.say(\"woof woof\")\n }\n\n inherits(Chihuahua, Dog)\n function Chihuahua () {\n Chihuahua.super.apply(this)\n }\n Chihuahua.prototype.bark = function () {\n this.say(\"yip yip\")\n }\n\n // also works\n function Cat () {\n Cat.super.apply(this)\n }\n Cat.prototype.hiss = function () {\n this.say(\"CHSKKSS!!\")\n }\n inherits(Cat, Animal, {\n meow: function () { this.say(\"miao miao\") }\n })\n Cat.prototype.purr = function () {\n this.say(\"purr purr\")\n }\n\n\n var c = new Chihuahua\n assert(c instanceof Chihuahua)\n assert(c instanceof Dog)\n assert(c instanceof Animal)\n\nThe actual function is laughably small. 10-lines small.\n",
"_id": "inherits@1.0.0",
"_from": "inherits@*"
}

@@ -1,9 +0,30 @@

{ "name" : "yamlish"
, "description" : "Parser/encoder for the yamlish format"
, "repository":"https://github.com/isaacs/yamlish"
, "version" : "0.0.5"
, "main" : "yamlish.js"
, "keywords" : [ "yaml", "yamlish", "test", "anything", "protocol", "tap"]
, "license" : { "type" : "MIT"
, "url" : "http://github.com/isaacs/yamlish/raw/master/LICENSE" }
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)" }
{
"name": "yamlish",
"description": "Parser/encoder for the yamlish format",
"repository": {
"type": "git",
"url": "https://github.com/isaacs/yamlish"
},
"version": "0.0.5",
"main": "yamlish.js",
"keywords": [
"yaml",
"yamlish",
"test",
"anything",
"protocol",
"tap"
],
"license": {
"type": "MIT",
"url": "http://github.com/isaacs/yamlish/raw/master/LICENSE"
},
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"readme": "This is a thingie to parse the \"yamlish\" format used to serialize\nobjects in the TAP format.\n\nIt's like yaml, but just a tiny little bit smaller.\n\nUsage:\n\n var yamlish = require(\"yamlish\")\n // returns a string like:\n /*\n some:\n object:\n - full\n - of\n pretty: things\n */\n yamlish.encode({some:{object:[\"full\", \"of\"]}, pretty:\"things\"})\n\n // returns the object\n yamlish.decode(someYamlishString)\n",
"_id": "yamlish@0.0.5",
"_from": "yamlish@*"
}
{
"name": "tap",
"version": "0.3.0",
"version": "0.3.1",
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",

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

Sorry, the diff of this file is not supported yet

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