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 2.1.0 to 2.1.1

10

CHANGELOG.md

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

<a name="2.1.1"></a>
## [2.1.1](https://github.com/gemini-testing/json-reporter/compare/v2.1.0...v2.1.1) (2020-02-21)
### Bug Fixes
* suitePath merged on retries ([60c289d](https://github.com/gemini-testing/json-reporter/commit/60c289d))
<a name="2.1.0"></a>

@@ -7,0 +17,0 @@ # [2.1.0](https://github.com/gemini-testing/json-reporter/compare/v2.0.0...v2.1.0) (2020-02-20)

6

lib/collector/data-collector/index.js

@@ -5,4 +5,6 @@ 'use strict';

function customMerger(objValue, srcValue) {
if (_.isArray(objValue)) {
const nonJoinableArrays = ['suitePath'];
function customMerger(objValue, srcValue, key) {
if (_.isArray(objValue) && !nonJoinableArrays.includes(key)) {
return objValue.concat(srcValue);

@@ -9,0 +11,0 @@ }

@@ -13,3 +13,3 @@ 'use strict';

function getSuitePath(suite) {
return (!suite || suite.root) ? [] : [].concat(getSuitePath(suite.parent)).concat(suite.title);
return (!suite || suite.root) ? [] : getSuitePath(suite.parent).concat(suite.title);
}

@@ -16,0 +16,0 @@

{
"name": "json-reporter",
"version": "2.1.0",
"version": "2.1.1",
"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