🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@allurereport/reader-api

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@allurereport/reader-api - npm Package Compare versions

Comparing version
3.1.0
to
3.2.0
+11
-5
dist/model.d.ts

@@ -5,2 +5,8 @@ export type RawTestStatus = "failed" | "broken" | "passed" | "skipped" | "unknown";

};
export type RawError = {
message?: string;
trace?: string;
expected?: string;
actual?: string;
};
export interface RawFixtureResult {

@@ -22,3 +28,3 @@ uuid?: string;

}
export interface RawTestResult {
export interface RawTestResult extends RawError {
uuid?: string;

@@ -40,6 +46,2 @@ name?: string;

duration?: number;
message?: string;
trace?: string;
expected?: string;
actual?: string;
flaky?: boolean;

@@ -98,1 +100,5 @@ muted?: boolean;

}
export interface RawGlobals {
attachments: RawTestAttachment[];
errors: RawError[];
}
import type { ResultFile } from "@allurereport/plugin-api";
import type { RawFixtureResult, RawMetadata, RawTestResult } from "./model.js";
import type { RawFixtureResult, RawGlobals, RawMetadata, RawTestResult } from "./model.js";
export interface ReaderContext {

@@ -12,2 +12,3 @@ readerId: string;

visitMetadata(metadata: RawMetadata, context: ReaderContext): Promise<void>;
visitGlobals(globals: RawGlobals, context: ReaderContext): Promise<void>;
}

@@ -14,0 +15,0 @@ export interface ResultsReader {

{
"name": "@allurereport/reader-api",
"version": "3.1.0",
"version": "3.2.0",
"description": "Allure Reader API",

@@ -30,4 +30,4 @@ "keywords": [

"dependencies": {
"@allurereport/core-api": "3.1.0",
"@allurereport/plugin-api": "3.1.0",
"@allurereport/core-api": "3.2.0",
"@allurereport/plugin-api": "3.2.0",
"mime-types": "^2.1.35"

@@ -34,0 +34,0 @@ },