allure-playwright
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -7,6 +7,6 @@ "use strict"; | ||
exports.LabelName = exports.allure = void 0; | ||
const crypto_1 = require("crypto"); | ||
const test_1 = __importDefault(require("@playwright/test")); | ||
const allure_js_commons_1 = require("allure-js-commons"); | ||
const internal_1 = require("allure-js-commons/internal"); | ||
const uuid_1 = require("uuid"); | ||
class allure { | ||
@@ -20,3 +20,3 @@ static async logStep(name) { | ||
static async attachment(name, content, options) { | ||
const stepName = `allureattach_${(0, uuid_1.v4)()}_${name}`; | ||
const stepName = `allureattach_${(0, crypto_1.randomUUID)()}_${name}`; | ||
const contentType = typeof options === "string" ? options : options.contentType; | ||
@@ -23,0 +23,0 @@ await this.step(stepName, async () => { |
{ | ||
"name": "allure-playwright", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "Allure Playwright integration", | ||
@@ -39,3 +39,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"allure-js-commons": "2.8.0" | ||
"allure-js-commons": "2.8.1" | ||
}, | ||
@@ -42,0 +42,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51691
+ Addedallure-js-commons@2.8.1(transitive)
- Removedallure-js-commons@2.8.0(transitive)
Updatedallure-js-commons@2.8.1