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

@sprucelabs/jest-json-reporter

Package Overview
Dependencies
Maintainers
3
Versions
1386
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sprucelabs/jest-json-reporter - npm Package Compare versions

Comparing version 5.1.23 to 5.1.24

build/__tests__/Stringify.test.d.ts

2

build/JsonReporter.d.ts

@@ -22,3 +22,3 @@ import { AggregatedResult, Context, Reporter, Test, TestResult } from '@jest/reporters';

export declare const END_DIVIDER = "***************************END_JSON_DIVIDER***************************";
export default class SheetsReporter implements Reporter {
export default class JsonReporter implements Reporter {
onTestFileResult(test: Test, testResult: TestResult, aggregatedResult: AggregatedResult): void;

@@ -25,0 +25,0 @@ onRunStart(results: AggregatedResult): void;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.END_DIVIDER = exports.START_DIVIDER = void 0;
const cycle_1 = require("./cycle");
exports.START_DIVIDER = '***************************START_JSON_DIVIDER***************************';
exports.END_DIVIDER = '***************************END_JSON_DIVIDER***************************';
class SheetsReporter {
class JsonReporter {
onTestFileResult(test, testResult, aggregatedResult) {

@@ -34,3 +35,4 @@ this.render({

render(obj) {
const toWrite = exports.START_DIVIDER + JSON.stringify(obj) + exports.END_DIVIDER + '\n';
const string = cycle_1.cycle(obj);
const toWrite = exports.START_DIVIDER + JSON.stringify(string) + exports.END_DIVIDER + '\n';
console.log(toWrite);

@@ -42,3 +44,3 @@ }

}
exports.default = SheetsReporter;
exports.default = JsonReporter;
//# sourceMappingURL=JsonReporter.js.map

@@ -9,3 +9,3 @@ {

],
"version": "5.1.23",
"version": "5.1.24",
"main": "./build/JsonReporter.js",

@@ -12,0 +12,0 @@ "types": "./build/JsonReporter.d.ts",

Sorry, the diff of this file is not supported yet

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