Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

allure-js-commons

Package Overview
Dependencies
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allure-js-commons - npm Package Compare versions

Comparing version 3.0.0-beta.8 to 3.0.0-beta.9

4

dist/types/sdk/reporter/ReporterRuntime.d.ts
/// <reference types="node" />
import { type AttachmentOptions, type FixtureResult, type StepResult, type TestResult } from "../../model.js";
import type { Category, EnvironmentInfo, RuntimeMessage } from "../types.js";
import type { Config, FixtureType, LinkConfig, TestScope, Writer } from "./types.js";
import type { FixtureType, LinkConfig, ReporterRuntimeConfig, TestScope, Writer } from "./types.js";
export declare class ReporterRuntime {

@@ -14,3 +14,3 @@ #private;

linkConfig?: LinkConfig;
constructor({ writer, listeners, environmentInfo, categories, links }: Config);
constructor({ writer, listeners, environmentInfo, categories, links }: ReporterRuntimeConfig);
startScope: () => string;

@@ -17,0 +17,0 @@ updateScope: (uuid: string, updateFunc: (scope: TestScope) => void) => void;

@@ -25,5 +25,4 @@ /// <reference types="node" />

export type WriterDescriptor = [cls: string, ...args: readonly unknown[]] | string;
export interface Config {
export interface ReporterConfig {
readonly resultsDir?: string;
readonly writer: Writer | WriterDescriptor;
readonly links?: LinkConfig;

@@ -34,2 +33,5 @@ readonly listeners?: LifecycleListener[];

}
export interface ReporterRuntimeConfig extends Omit<ReporterConfig, "resultsDir"> {
readonly writer: Writer | WriterDescriptor;
}
export interface Writer {

@@ -36,0 +38,0 @@ writeResult(result: TestResult): void;

{
"name": "allure-js-commons",
"version": "3.0.0-beta.8",
"version": "3.0.0-beta.9",
"description": "Allure JS Commons",

@@ -81,3 +81,3 @@ "homepage": "https://allurereport.org/",

"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-jsdoc": "^49.0.0",
"eslint-plugin-n": "^17.10.1",

@@ -92,3 +92,3 @@ "eslint-plugin-no-null": "^1.0.2",

"peerDependencies": {
"allure-playwright": "3.0.0-beta.8"
"allure-playwright": "3.0.0-beta.9"
},

@@ -95,0 +95,0 @@ "peerDependenciesMeta": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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