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

allure-cucumberjs

Package Overview
Dependencies
Maintainers
3
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allure-cucumberjs - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0

15

dist/src/CucumberJSAllureReporter.js

@@ -30,7 +30,7 @@ "use strict";

exports.CucumberJSAllureFormatter = exports.CucumberJSAllureFormatterConfig = exports.Allure = void 0;
const os_1 = __importDefault(require("os"));
const process_1 = __importDefault(require("process"));
const cucumber_1 = require("@cucumber/cucumber");
const messages = __importStar(require("@cucumber/messages"));
const messages_1 = require("@cucumber/messages");
const os_1 = __importDefault(require("os"));
const process_1 = __importDefault(require("process"));
const allure_js_commons_1 = require("allure-js-commons");

@@ -258,4 +258,3 @@ Object.defineProperty(exports, "Allure", { enumerable: true, get: function () { return allure_js_commons_1.Allure; } });

const csvDataTableHeader = ((_a = example === null || example === void 0 ? void 0 : example.tableHeader) === null || _a === void 0 ? void 0 : _a.cells.map((cell) => cell.value).join(",")) || "";
const csvDataTableBody = (example === null || example === void 0 ? void 0 : example.tableBody.map((row) => row.cells.map((cell) => cell.value).join(",")).join("\n")) ||
"";
const csvDataTableBody = (example === null || example === void 0 ? void 0 : example.tableBody.map((row) => row.cells.map((cell) => cell.value).join(",")).join("\n")) || "";
if (!csvDataTableHeader && !csvDataTableBody) {

@@ -329,8 +328,4 @@ return;

const worstTestStepResult = messages.getWorstTestStepResult(testStepResults);
currentTest.status = currentTest.isAnyStepFailed
? allure_js_commons_1.Status.FAILED
: this.convertStatus(worstTestStepResult.status);
const message = this.exceptionFormatter(currentTest.status
? worstTestStepResult.message
: "The test doesn't have an implementation.");
currentTest.status = currentTest.isAnyStepFailed ? allure_js_commons_1.Status.FAILED : this.convertStatus(worstTestStepResult.status);
const message = this.exceptionFormatter(currentTest.status ? worstTestStepResult.message : "The test doesn't have an implementation.");
currentTest.statusDetails = {

@@ -337,0 +332,0 @@ message,

{
"name": "allure-cucumberjs",
"version": "2.10.0",
"version": "2.11.0",
"description": "Allure Cucumber.JS integration",
"homepage": "https://allurereport.org/",
"repository": {
"type": "git",
"url": "https://github.com/allure-framework/allure-js.git",
"directory": "packages/allure-cucumberjs"
},
"license": "Apache-2.0",

@@ -11,17 +17,25 @@ "author": {

},
"repository": {
"type": "git",
"url": "https://github.com/allure-framework/allure-js.git",
"directory": "packages/allure-cucumberjs"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/src/**/*",
"dist/index.*"
],
"scripts": {
"clean": "rimraf ./dist ./out",
"compile": "tsc",
"generate-report": "allure generate ./out/allure-results -o ./out/allure-report --clean",
"lint": "eslint ./src ./index.ts --ext .ts",
"lint:fix": "eslint --fix ./src ./index.ts --ext .ts",
"compile": "tsc",
"generate-report": "allure generate ./out/allure-results -o ./out/allure-report --clean",
"test": "ts-node --project ./test/tsconfig.json ./test/runner.ts"
},
"dependencies": {
"@cucumber/cucumber": "^9.5.1",
"@cucumber/gherkin": "^27.0.0",
"@cucumber/gherkin-streams": "^5.0.1",
"@cucumber/gherkin-utils": "^8.0.5",
"@cucumber/message-streams": "^4.0.1",
"@cucumber/messages": "^22.0.0",
"allure-js-commons": "2.11.0"
},
"devDependencies": {

@@ -38,3 +52,3 @@ "@types/chai": "^4.3.6",

"@typescript-eslint/parser": "^6.7.0",
"allure-mocha": "2.10.0",
"allure-mocha": "2.11.0",
"chai": "^4.3.8",

@@ -56,16 +70,3 @@ "chai-like": "^1.1.1",

"typescript": "^5.2.2"
},
"dependencies": {
"@cucumber/cucumber": "^9.5.1",
"@cucumber/gherkin": "^27.0.0",
"@cucumber/gherkin-streams": "^5.0.1",
"@cucumber/gherkin-utils": "^8.0.5",
"@cucumber/message-streams": "^4.0.1",
"@cucumber/messages": "^22.0.0",
"allure-js-commons": "2.10.0"
},
"files": [
"dist/src/**/*",
"dist/index.*"
]
}
}
# allure-cucumberjs
> Allure integration for `cucumber-js` compatible with `@cucumber/cucumber@^8.x.x` and Allure 2+.
<!--<img src="https://allurereport.org/public/img/allure-report.svg" alt="Allure Report logo" style="float: right" />-->
[<img src="https://allurereport.org/public/img/allure-report.svg" height="85px" alt="Allure Report logo" align="right" />](https://allurereport.org "Allure Report")
- Learn more about Allure Report at https://allurereport.org

@@ -8,0 +8,0 @@ - 📚 [Documentation](https://allurereport.org/docs/) – discover official documentation for Allure Report

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