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.12 to 2.0.0-beta.13

14

dist/index.js

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = __importDefault(require("fs"));
const path_1 = __importDefault(require("path"));

@@ -64,5 +65,12 @@ const allure_js_commons_1 = require("allure-js-commons");

}
const fileName = attachment.body
? runtime.writeAttachment(attachment.body, attachment.contentType)
: runtime.writeAttachmentFromPath(attachment.path, attachment.contentType);
let fileName;
if (attachment.body) {
fileName = runtime.writeAttachment(attachment.body, attachment.contentType);
}
else {
if (!fs_1.default.existsSync(attachment.path)) {
continue;
}
fileName = runtime.writeAttachmentFromPath(attachment.path, attachment.contentType);
}
allureTest.addAttachment(attachment.name, attachment.contentType, fileName);

@@ -69,0 +77,0 @@ if (attachment.name === "diff") {

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

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

},
"repository": "https://github.com/allure-framework/allure-playwright",
"repository": "https://github.com/allure-framework/allure-js",
"keywords": [

@@ -34,8 +34,7 @@ "playwright",

"dependencies": {
"allure-js-commons": "2.0.0-beta.12"
"allure-js-commons": "2.0.0-beta.13"
},
"files": [
"dist"
],
"stableVersion": "2.0.0-beta.11"
]
}

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