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.2.0 to 3.0.0

8

lib/collector/index.js

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

addFail(result) {
const {message, stack} = result.err;
const {startTime, duration, err: {message, stack}} = result;

@@ -31,3 +31,3 @@ this._addTestResult(result, {

errorReason: {message, stack},
retries: [{message, stack}]
retries: [{message, stack, startTime, duration}]
});

@@ -48,3 +48,3 @@ }

addError(result) {
const {message, stack} = result;
const {message, stack, startTime, duration} = result;

@@ -54,3 +54,3 @@ this._addTestResult(result, {

errorReason: {message, stack},
retries: [{message, stack}]
retries: [{message, stack, startTime, duration}]
});

@@ -57,0 +57,0 @@ }

{
"name": "json-reporter",
"version": "2.2.0",
"version": "3.0.0",
"description": "Common plugin for gemini and hermione which is intended to aggregate the results of tests running",
"main": "gemini.js",
"main": "hermione.js",
"scripts": {

@@ -22,6 +22,5 @@ "lint": "eslint .",

"engines": {
"node": ">= 6"
"node": ">= 18"
},
"keywords": [
"gemini",
"hermione",

@@ -28,0 +27,0 @@ "plugin",

@@ -8,3 +8,2 @@ # json-reporter

* [gemini](https://github.com/gemini-testing/gemini)
* [hermione](https://github.com/gemini-testing/hermione)

@@ -14,4 +13,3 @@

You can read more about gemini plugins [here](https://github.com/gemini-testing/gemini/blob/master/doc/plugins.md)
and hermione plugins [here](https://github.com/gemini-testing/hermione#plugins).
You can read more about hermione plugins [here](https://github.com/gemini-testing/hermione#plugins).

@@ -34,19 +32,2 @@ ## Installation

### Gemini usage
Add plugin to your `gemini` config file:
```js
module.exports = {
// ...
plugins: {
'json-reporter/gemini': {
enabled: true,
path: 'my/custom/report.json'
}
},
//...
}
```
### Hermione usage

@@ -53,0 +34,0 @@

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