Socket
Socket
Sign inDemoInstall

@jest/reporters

Package Overview
Dependencies
Maintainers
7
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/reporters - npm Package Compare versions

Comparing version 26.0.1 to 26.1.0

24

build/coverage_reporter.js

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

...additionalOptions
}) // @ts-ignore
}) // @ts-expect-error
.execute(reportContext);
}); // @ts-ignore
});
aggregatedResults.coverageMap = map;

@@ -265,3 +264,3 @@ } catch (e) {

);
} // @ts-ignore
}

@@ -643,13 +642,8 @@ this._checkThreshold(map);

const reportContext = _istanbulLibReport().default.createContext(
// @ts-ignore
{
// @ts-ignore
coverageMap: map,
dir: this._globalConfig.coverageDirectory,
// @ts-ignore
sourceFinder: this._sourceMapStore.sourceFinder,
watermarks: (0, _get_watermarks.default)(this._globalConfig)
}
); // @ts-ignore
const reportContext = _istanbulLibReport().default.createContext({
coverageMap: map,
dir: this._globalConfig.coverageDirectory,
sourceFinder: this._sourceMapStore.sourceFinder,
watermarks: (0, _get_watermarks.default)(this._globalConfig)
});

@@ -656,0 +650,0 @@ return {

@@ -233,3 +233,4 @@ 'use strict';

result.console,
config
config,
this._globalConfig
)

@@ -236,0 +237,0 @@ );

@@ -7,11 +7,4 @@ /**

*/
declare const _default: (snapshot: {
added: number;
fileDeleted: boolean;
matched: number;
unchecked: number;
uncheckedKeys: string[];
unmatched: number;
updated: number;
}, afterUpdate: boolean) => string[];
import type { TestResult } from '@jest/test-result';
declare const _default: (snapshot: TestResult['snapshot'], afterUpdate: boolean) => Array<string>;
export default _default;

@@ -9,3 +9,3 @@ /**

import type { SnapshotSummary } from '@jest/test-result';
declare const _default: (snapshots: SnapshotSummary, globalConfig: Config.GlobalConfig, updateCommand: string) => string[];
declare const _default: (snapshots: SnapshotSummary, globalConfig: Config.GlobalConfig, updateCommand: string) => Array<string>;
export default _default;

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

result.numPassedTests
)} passed`; // @ts-ignore: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/42303
)} passed`;

@@ -202,3 +202,2 @@ this._notifier.notify({

if (!watchMode) {
// @ts-ignore: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/42303
this._notifier.notify({

@@ -205,0 +204,0 @@ icon,

@@ -11,5 +11,5 @@ /**

export declare const printDisplayName: (config: Config.ProjectConfig) => string;
export declare const trimAndFormatPath: (pad: number, config: Config.GlobalConfig | Config.ProjectConfig, testPath: string, columns: number) => string;
export declare const formatTestPath: (config: Config.GlobalConfig | Config.ProjectConfig, testPath: string) => string;
export declare const relativePath: (config: Config.GlobalConfig | Config.ProjectConfig, testPath: string) => {
export declare const trimAndFormatPath: (pad: number, config: Config.ProjectConfig | Config.GlobalConfig, testPath: Config.Path, columns: number) => string;
export declare const formatTestPath: (config: Config.GlobalConfig | Config.ProjectConfig, testPath: Config.Path) => string;
export declare const relativePath: (config: Config.GlobalConfig | Config.ProjectConfig, testPath: Config.Path) => {
basename: string;

@@ -16,0 +16,0 @@ dirname: string;

@@ -111,8 +111,2 @@ 'use strict';

if (typeof displayName === 'string') {
return _chalk().default.supportsColor
? white(` ${displayName} `)
: displayName;
}
const {name, color} = displayName;

@@ -119,0 +113,0 @@ const chosenColor = _chalk().default.reset.inverse[color]

{
"name": "@jest/reporters",
"description": "Jest's reporters",
"version": "26.0.1",
"version": "26.1.0",
"main": "build/index.js",

@@ -9,6 +9,6 @@ "types": "build/index.d.ts",

"@bcoe/v8-coverage": "^0.2.3",
"@jest/console": "^26.0.1",
"@jest/test-result": "^26.0.1",
"@jest/transform": "^26.0.1",
"@jest/types": "^26.0.1",
"@jest/console": "^26.1.0",
"@jest/test-result": "^26.1.0",
"@jest/transform": "^26.1.0",
"@jest/types": "^26.1.0",
"chalk": "^4.0.0",

@@ -20,10 +20,10 @@ "collect-v8-coverage": "^1.0.0",

"istanbul-lib-coverage": "^3.0.0",
"istanbul-lib-instrument": "^4.0.0",
"istanbul-lib-instrument": "^4.0.3",
"istanbul-lib-report": "^3.0.0",
"istanbul-lib-source-maps": "^4.0.0",
"istanbul-reports": "^3.0.2",
"jest-haste-map": "^26.0.1",
"jest-resolve": "^26.0.1",
"jest-util": "^26.0.1",
"jest-worker": "^26.0.0",
"jest-haste-map": "^26.1.0",
"jest-resolve": "^26.1.0",
"jest-util": "^26.1.0",
"jest-worker": "^26.1.0",
"slash": "^3.0.0",

@@ -67,3 +67,3 @@ "source-map": "^0.6.0",

},
"gitHead": "40b8e1e157c9981dda5a68d73fff647e80fc9f5c"
"gitHead": "817d8b6aca845dd4fcfd7f8316293e69f3a116c5"
}
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