New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

json-reporter

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-reporter - npm Package Compare versions

Comparing version 1.2.1 to 2.0.0

15

CHANGELOG.md

@@ -5,2 +5,17 @@ # Change Log

<a name="2.0.0"></a>
# [2.0.0](https://github.com/gemini-testing/json-reporter/compare/v1.2.1...v2.0.0) (2019-01-14)
### Features
* save fail message with fail stacktrace ([631de93](https://github.com/gemini-testing/json-reporter/commit/631de93))
### BREAKING CHANGES
* new API for errors and fails
<a name="1.2.1"></a>

@@ -7,0 +22,0 @@ ## [1.2.1](https://github.com/gemini-testing/json-reporter/compare/v1.2.0...v1.2.1) (2019-01-09)

12

lib/collector/index.js

@@ -25,8 +25,8 @@ 'use strict';

addFail(result) {
const error = result.err.stack;
const {message, stack} = result.err;
this._addTestResult(result, {
status: 'fail',
errorReason: error,
retries: [{error}]
errorReason: {message, stack},
retries: [{message, stack}]
});

@@ -47,8 +47,8 @@ }

addError(result) {
const error = result.stack || result.message || '';
const {message, stack} = result;
this._addTestResult(result, {
status: 'error',
errorReason: error,
retries: [{error}]
errorReason: {message, stack},
retries: [{message, stack}]
});

@@ -55,0 +55,0 @@ }

{
"name": "json-reporter",
"version": "1.2.1",
"version": "2.0.0",
"description": "Common plugin for gemini and hermione which is intended to aggregate the results of tests running",

@@ -5,0 +5,0 @@ "main": "gemini.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