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

allure-playwright

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allure-playwright - npm Package Compare versions

Comparing version 2.0.0-beta.19 to 2.0.0-beta.20

11

dist/helpers.d.ts

@@ -1,11 +0,4 @@

import { Label, Link, Parameter, ParameterOptions } from "allure-js-commons";
export declare const ALLURE_METADATA_CONTENT_TYPE = "application/vnd.allure.metadata+json";
export interface Metadata {
labels?: Label[];
links?: Link[];
description?: string;
parameter?: Parameter[];
}
import { AttachmentMetadata, Label, Link, ParameterOptions } from "allure-js-commons";
export declare class allure {
static addMetadataAttachment(metadata: Metadata): void;
static addMetadataAttachment(metadata: AttachmentMetadata): void;
static label(label: Label | Label[]): void;

@@ -12,0 +5,0 @@ static description(value: string): void;

6

dist/helpers.js

@@ -6,10 +6,10 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.LabelName = exports.allure = exports.ALLURE_METADATA_CONTENT_TYPE = void 0;
exports.LabelName = exports.allure = void 0;
const test_1 = __importDefault(require("@playwright/test"));
const allure_js_commons_1 = require("allure-js-commons");
exports.ALLURE_METADATA_CONTENT_TYPE = "application/vnd.allure.metadata+json";
const internal_1 = require("allure-js-commons/internal");
class allure {
static addMetadataAttachment(metadata) {
test_1.default.info().attach("allure-metadata.json", {
contentType: exports.ALLURE_METADATA_CONTENT_TYPE,
contentType: internal_1.ALLURE_METADATA_CONTENT_TYPE,
body: Buffer.from(JSON.stringify(metadata), "utf8"),

@@ -16,0 +16,0 @@ });

@@ -21,3 +21,3 @@ "use strict";

const allure_js_commons_1 = require("allure-js-commons");
const helpers_1 = require("./helpers");
const internal_1 = require("allure-js-commons/internal");
class AllureReporter {

@@ -111,3 +111,3 @@ constructor(options = { suiteTitle: true, detail: true }) {

}
if (attachment.contentType === helpers_1.ALLURE_METADATA_CONTENT_TYPE) {
if (attachment.contentType === internal_1.ALLURE_METADATA_CONTENT_TYPE) {
if (!attachment.body) {

@@ -114,0 +114,0 @@ continue;

{
"name": "allure-playwright",
"version": "2.0.0-beta.19",
"version": "2.0.0-beta.20",
"description": "Allure Playwright integration",

@@ -33,3 +33,3 @@ "license": "Apache-2.0",

"dependencies": {
"allure-js-commons": "2.0.0-beta.19"
"allure-js-commons": "2.0.0-beta.20"
},

@@ -36,0 +36,0 @@ "files": [

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