allure-playwright
Advanced tools
Comparing version 3.0.0-beta.9 to 3.0.0-beta.10
@@ -144,8 +144,7 @@ "use strict"; | ||
value: function onBegin(suite) { | ||
var writer = _nodeProcess["default"].env.ALLURE_TEST_MODE ? new _reporter.MessageWriter() : new _reporter.FileSystemWriter({ | ||
resultsDir: this.options.resultsDir || "./allure-results" | ||
}); | ||
this.suite = suite; | ||
this.allureRuntime = new _reporter.ReporterRuntime(_objectSpread(_objectSpread({}, this.options), {}, { | ||
writer: writer | ||
writer: (0, _reporter.createDefaultWriter)({ | ||
resultsDir: this.options.resultsDir | ||
}) | ||
})); | ||
@@ -152,0 +151,0 @@ } |
@@ -29,3 +29,3 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } | ||
import { extractMetadataFromString, getMessageAndTraceFromError, hasLabel, stripAnsi } from "allure-js-commons/sdk"; | ||
import { ALLURE_RUNTIME_MESSAGE_CONTENT_TYPE, FileSystemWriter, MessageWriter, ReporterRuntime, escapeRegExp, getEnvironmentLabels, md5, parseTestPlan, readImageAsBase64 } from "allure-js-commons/sdk/reporter"; | ||
import { ALLURE_RUNTIME_MESSAGE_CONTENT_TYPE, ReporterRuntime, createDefaultWriter, escapeRegExp, getEnvironmentLabels, md5, parseTestPlan, readImageAsBase64 } from "allure-js-commons/sdk/reporter"; | ||
import { allurePlaywrightLegacyApi } from "./legacy.js"; | ||
@@ -126,8 +126,7 @@ import { statusToAllureStats } from "./utils.js"; | ||
value: function onBegin(suite) { | ||
var writer = process.env.ALLURE_TEST_MODE ? new MessageWriter() : new FileSystemWriter({ | ||
resultsDir: this.options.resultsDir || "./allure-results" | ||
}); | ||
this.suite = suite; | ||
this.allureRuntime = new ReporterRuntime(_objectSpread(_objectSpread({}, this.options), {}, { | ||
writer: writer | ||
writer: createDefaultWriter({ | ||
resultsDir: this.options.resultsDir | ||
}) | ||
})); | ||
@@ -134,0 +133,0 @@ } |
{ | ||
"name": "allure-playwright", | ||
"version": "3.0.0-beta.9", | ||
"version": "3.0.0-beta.10", | ||
"description": "Allure Playwright integration", | ||
@@ -58,3 +58,3 @@ "keywords": [ | ||
"dependencies": { | ||
"allure-js-commons": "3.0.0-beta.9" | ||
"allure-js-commons": "3.0.0-beta.10" | ||
}, | ||
@@ -76,7 +76,7 @@ "devDependencies": { | ||
"allure-commandline": "^2.29.0", | ||
"allure-vitest": "3.0.0-beta.9", | ||
"allure-vitest": "3.0.0-beta.10", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsdoc": "^49.0.0", | ||
"eslint-plugin-jsdoc": "^50.0.0", | ||
"eslint-plugin-n": "^17.10.1", | ||
@@ -83,0 +83,0 @@ "eslint-plugin-no-null": "^1.0.2", |
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
2
311032
2073
+ Addedallure-js-commons@3.0.0-beta.10(transitive)
- Removedallure-js-commons@3.0.0-beta.9(transitive)