jest-json-to-tap
Advanced tools
Comparing version 2.0.1 to 2.1.0
#!/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"]}} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6206
0
9
128
- Removedstream-buffers@^3.0.1
- Removedstream-buffers@3.0.3(transitive)