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

jest-json-to-tap

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-json-to-tap - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

src/WritableStreamBuffer.js

8

index.js
#!/usr/bin/env node
const streamBuffers = require('stream-buffers');
const WritableStreamBuffer = require('./src/WritableStreamBuffer');
const parseJestJsonOutput = require('./src/parseJestJsonOutput');

@@ -8,3 +8,5 @@ const jestOutputToTab = require('./src/jestOutputToTap');

const stdout = process.stdout;
const dataStreamBuffer = new streamBuffers.WritableStreamBuffer({
stdin.setEncoding('utf8');
const dataStreamBuffer = new WritableStreamBuffer({
incrementAmount: 10 * 1024,

@@ -17,3 +19,3 @@ initialSize: 100 * 1024

stdin.on('end', () => {
const jestJsonOutput = dataStreamBuffer.getContentsAsString('utf8');
const jestJsonOutput = dataStreamBuffer.getContentsAsString();
const jestOutput = parseJestJsonOutput(jestJsonOutput);

@@ -20,0 +22,0 @@

@@ -1,46 +0,1 @@

{
"name": "jest-json-to-tap",
"version": "2.0.1",
"description": "Jest Json parser that outputs TAP results",
"main": "index.js",
"scripts": {
"test": "jest",
"lint": "eslint --ignore-path .gitignore '**/*.js'",
"precommit": "npm run lint",
"prepush": "npm test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"bin": {
"jest-json-to-tap": "index.js"
},
"author": "MailOnline <fe@mailonline.co.uk>",
"homepage": "https://github.com/MailOnline/jest-json-to-tap",
"repository": {
"type": "git",
"url": "git@github.com:MailOnline/jest-json-to-tap.git"
},
"license": "MIT",
"devDependencies": {
"commitizen": "^2.9.5",
"eslint": "^4.2.0",
"eslint-config-mailonline": "^7.0.1",
"husky": "^0.14.3",
"jest": "^20.0.4",
"mol-conventional-changelog": "^1.2.0",
"semantic-release": "^6.3.6"
},
"config": {
"commitizen": {
"path": "./node_modules/mol-conventional-changelog"
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js",
"index.js"
]
},
"dependencies": {
"stream-buffers": "^3.0.1"
}
}
{"name":"jest-json-to-tap","version":"2.1.0","description":"Jest Json parser that outputs TAP results","main":"index.js","scripts":{"test":"jest","lint":"eslint --ignore-path .gitignore '**/*.js'","precommit":"npm run lint","prepush":"npm test","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"bin":{"jest-json-to-tap":"index.js"},"author":"MailOnline <fe@mailonline.co.uk>","homepage":"https://github.com/MailOnline/jest-json-to-tap","repository":{"type":"git","url":"git@github.com:MailOnline/jest-json-to-tap.git"},"license":"MIT","devDependencies":{"commitizen":"^2.9.5","eslint":"^4.2.0","eslint-config-mailonline":"^7.0.1","husky":"^0.14.3","jest":"^21.2.1","mol-conventional-changelog":"^1.2.0","semantic-release":"^8.2.0"},"config":{"commitizen":{"path":"./node_modules/mol-conventional-changelog"}},"jest":{"collectCoverageFrom":["src/**/*.js","index.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