Socket
Socket
Sign inDemoInstall

tap-parser

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tap-parser - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

4

bin/cmd.js

@@ -84,3 +84,3 @@ #!/usr/bin/env node

var yaml = require('js-yaml')
var yaml = require('tap-yaml')
function tapFormat (msg, indent) {

@@ -122,3 +122,3 @@ return indent + msg.map(function (item) {

' ---\n ' +
yaml.safeDump(res.diag).split('\n').join('\n ').trim() +
yaml.stringify(res.diag).split('\n').join('\n ').trim() +
'\n ...\n'

@@ -125,0 +125,0 @@ : '')

@@ -7,3 +7,3 @@ 'use strict'

const yaml = require('js-yaml')
const yaml = require('tap-yaml')
const util = require('util')

@@ -311,3 +311,3 @@ const assert = require('assert')

try {
diags = yaml.safeLoad(yamlish)
diags = yaml.parse(yamlish)
} catch (er) {

@@ -651,3 +651,3 @@ this.nonTap(this.yind + '---\n' + yamlish + this.yind + '...\n', true)

try {
dump = yaml.safeDump(extra).trimRight()
dump = yaml.stringify(extra).trimRight()
} catch (er) {}

@@ -654,0 +654,0 @@ }

{
"name": "tap-parser",
"version": "7.0.0",
"version": "8.0.0",
"description": "parse the test anything protocol",

@@ -12,9 +12,11 @@ "main": "index.js",

"js-yaml": "^3.2.7",
"minipass": "^2.2.0"
"minipass": "^2.2.0",
"tap-yaml": "0.0.1"
},
"devDependencies": {
"glob": "^7.0.5",
"tap": "^10.3.3"
"tap": "^12.5.3"
},
"scripts": {
"snap": "TAP_SNAPSHOT=1 tap test/*.js --100 -J",
"test": "tap test/*.js --100 -J",

@@ -57,5 +59,4 @@ "regen-fixtures": "node scripts/generate-test.js test/fixtures/*.tap",

"index.js",
"bin/cmd.js",
"bin/usage.txt"
"bin/cmd.js"
]
}
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