Socket
Socket
Sign inDemoInstall

@serenity-js/serenity-bdd

Package Overview
Dependencies
Maintainers
0
Versions
291
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serenity-js/serenity-bdd - npm Package Compare versions

Comparing version 3.25.3 to 3.25.4

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [3.25.4](https://github.com/serenity-js/serenity-js/compare/v3.25.3...v3.25.4) (2024-08-07)
**Note:** Version bump only for package @serenity-js/serenity-bdd
## [3.25.3](https://github.com/serenity-js/serenity-js/compare/v3.25.2...v3.25.3) (2024-07-25)

@@ -8,0 +16,0 @@

3

lib/cli/bootstrap.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bootstrap = void 0;
exports.bootstrap = bootstrap;
const yargs = require('yargs'); // eslint-disable-line @typescript-eslint/no-var-requires

@@ -26,3 +26,2 @@ const pkg = require('../../package.json'); // eslint-disable-line @typescript-eslint/no-var-requires

}
exports.bootstrap = bootstrap;
//# sourceMappingURL=bootstrap.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatError = void 0;
exports.formatError = formatError;
const core_1 = require("@serenity-js/core");

@@ -23,3 +23,2 @@ /**

}
exports.formatError = formatError;
function messages(error, acc = []) {

@@ -26,0 +25,0 @@ return error.message && error.cause

@@ -1,2 +0,1 @@

/// <reference types="node" />
/**

@@ -3,0 +2,0 @@ * @package

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { Ability } from '@serenity-js/core';

@@ -3,0 +2,0 @@ import type { Path } from '@serenity-js/core/lib/io';

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { AnswersQuestions, PerformsActivities, UsesAbilities } from '@serenity-js/core';

@@ -3,0 +2,0 @@ import { Task } from '@serenity-js/core';

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.default = create;
const stage_1 = require("./stage");

@@ -23,3 +24,2 @@ __exportStar(require("./stage"), exports);

}
exports.default = create;
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dashify = void 0;
exports.dashify = dashify;
/**

@@ -13,3 +13,2 @@ * @package

}
exports.dashify = dashify;
//# sourceMappingURL=dashify.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.errorReportFrom = void 0;
exports.errorReportFrom = errorReportFrom;
/* eslint-disable @typescript-eslint/ban-types */

@@ -21,3 +21,2 @@ const core_1 = require("@serenity-js/core");

}
exports.errorReportFrom = errorReportFrom;
/** @package */

@@ -24,0 +23,0 @@ function errorDetailsOf(maybeError) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.escapeHtml = void 0;
exports.escapeHtml = escapeHtml;
/**

@@ -18,3 +18,2 @@ * @package

}
exports.escapeHtml = escapeHtml;
//# sourceMappingURL=escapeHtml.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.outcomeReportFrom = void 0;
exports.outcomeReportFrom = outcomeReportFrom;
const model_1 = require("@serenity-js/core/lib/model");

@@ -20,3 +20,2 @@ const tiny_types_1 = require("tiny-types");

}
exports.outcomeReportFrom = outcomeReportFrom;
//# sourceMappingURL=outcomeReportFrom.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.scenarioOutlineOf = void 0;
exports.scenarioOutlineOf = scenarioOutlineOf;
function scenarioOutlineOf(outline) {

@@ -16,3 +16,2 @@ return (context) => {

}
exports.scenarioOutlineOf = scenarioOutlineOf;
//# sourceMappingURL=scenarioOutlineOf.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.scenarioParameterResult = void 0;
exports.scenarioParameterResult = scenarioParameterResult;
const mappers_1 = require("../../mappers");

@@ -15,3 +15,2 @@ function scenarioParameterResult(scenario, outcome) {

}
exports.scenarioParameterResult = scenarioParameterResult;
//# sourceMappingURL=scenarioParameterResult.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.scenarioParametersOf = void 0;
exports.scenarioParametersOf = scenarioParametersOf;
function scenarioParametersOf(scenario, parameters) {

@@ -33,3 +33,2 @@ function descriptorFor(dataTable) {

}
exports.scenarioParametersOf = scenarioParametersOf;
//# sourceMappingURL=scenarioParametersOf.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sceneSequenceOverallResult = void 0;
exports.sceneSequenceOverallResult = sceneSequenceOverallResult;
const mappers_1 = require("../../mappers");

@@ -15,3 +15,2 @@ function sceneSequenceOverallResult(outcome) {

}
exports.sceneSequenceOverallResult = sceneSequenceOverallResult;
//# sourceMappingURL=sceneSequenceOverallResult.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.activityFinished = void 0;
exports.activityFinished = activityFinished;
const core_1 = require("@serenity-js/core");

@@ -21,3 +21,2 @@ const mappers_1 = require("../mappers");

}
exports.activityFinished = activityFinished;
//# sourceMappingURL=activityFinished.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.activityRelatedArtifact = void 0;
exports.activityRelatedArtifact = activityRelatedArtifact;
const model_1 = require("@serenity-js/core/lib/model");

@@ -19,3 +19,2 @@ const crypto_1 = require("crypto");

}
exports.activityRelatedArtifact = activityRelatedArtifact;
function mapToString(dictionary) {

@@ -43,8 +42,8 @@ return Object.keys(dictionary).map(key => `${key}: ${dictionary[key]}`).join('\n');

content: bodyToString(requestResponse.request.data),
contentType: String(requestResponse.request.headers['Content-Type'] || ''),
contentType: String(requestResponse.request.headers['Content-Type'] || ''), // todo: add a case insensitive proxy around this RFC 2616: 4.2
requestHeaders: mapToString(requestResponse.request.headers || {}) || '',
requestCookies: String(requestResponse.request.headers.Cookie || ''),
requestCookies: String(requestResponse.request.headers.Cookie || ''), // todo: add a case insensitive proxy around this RFC 2616: 4.2
statusCode: requestResponse.response.status,
responseHeaders: mapToString(requestResponse.response.headers) || '',
responseCookies: requestResponse.response.headers.Cookie || '',
responseCookies: requestResponse.response.headers.Cookie || '', // todo: add a case insensitive proxy around this RFC 2616: 4.2
responseBody: bodyToString(requestResponse.response.data),

@@ -51,0 +50,0 @@ };

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.activityStarted = void 0;
exports.activityStarted = activityStarted;
/**

@@ -33,3 +33,2 @@ * @package

}
exports.activityStarted = activityStarted;
//# sourceMappingURL=activityStarted.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.archivedActivityRelatedArtifact = void 0;
exports.archivedActivityRelatedArtifact = archivedActivityRelatedArtifact;
const model_1 = require("@serenity-js/core/lib/model");

@@ -20,3 +20,2 @@ /**

}
exports.archivedActivityRelatedArtifact = archivedActivityRelatedArtifact;
//# sourceMappingURL=archivedActivityRelatedArtifact.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.backgroundOf = void 0;
exports.backgroundOf = backgroundOf;
/**

@@ -14,3 +14,2 @@ * @package

}
exports.backgroundOf = backgroundOf;
//# sourceMappingURL=backgroundOf.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.businessRuleOf = void 0;
exports.businessRuleOf = businessRuleOf;
/**

@@ -16,3 +16,2 @@ * @package

}
exports.businessRuleOf = businessRuleOf;
//# sourceMappingURL=businessRuleOf.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.descriptionOf = void 0;
exports.descriptionOf = descriptionOf;
/**

@@ -13,3 +13,2 @@ * @package

}
exports.descriptionOf = descriptionOf;
//# sourceMappingURL=descriptionOf.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.executionFinishedAt = void 0;
exports.executionFinishedAt = executionFinishedAt;
const core_1 = require("@serenity-js/core");

@@ -16,3 +16,2 @@ /**

}
exports.executionFinishedAt = executionFinishedAt;
//# sourceMappingURL=executionFinishedAt.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.executionFinishedWith = void 0;
exports.executionFinishedWith = executionFinishedWith;
const mappers_1 = require("../mappers");

@@ -26,3 +26,2 @@ /**

}
exports.executionFinishedWith = executionFinishedWith;
//# sourceMappingURL=executionFinishedWith.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.executionStartedAt = void 0;
exports.executionStartedAt = executionStartedAt;
/**

@@ -13,3 +13,2 @@ * @package

}
exports.executionStartedAt = executionStartedAt;
//# sourceMappingURL=executionStartedAt.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.featureNarrativeOf = void 0;
exports.featureNarrativeOf = featureNarrativeOf;
/**

@@ -16,3 +16,2 @@ * @package

}
exports.featureNarrativeOf = featureNarrativeOf;
//# sourceMappingURL=featureNarrativeOf.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.reportIdIncluding = void 0;
exports.reportIdIncluding = reportIdIncluding;
const mappers_1 = require("../mappers");

@@ -17,3 +17,2 @@ /**

}
exports.reportIdIncluding = reportIdIncluding;
/**

@@ -20,0 +19,0 @@ * @package

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.scenarioDetailsOf = void 0;
exports.scenarioDetailsOf = scenarioDetailsOf;
const tiny_types_1 = require("tiny-types");

@@ -35,3 +35,2 @@ const mappers_1 = require("../mappers");

}
exports.scenarioDetailsOf = scenarioDetailsOf;
function humanReadable(name) {

@@ -38,0 +37,0 @@ const result = name

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tagOf = void 0;
exports.tagOf = tagOf;
const model_1 = require("@serenity-js/core/lib/model");

@@ -80,3 +80,2 @@ const tiny_types_1 = require("tiny-types");

}
exports.tagOf = tagOf;
function simplified(aliases) {

@@ -83,0 +82,0 @@ return (actualName) => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.testRunnerCalled = void 0;
exports.testRunnerCalled = testRunnerCalled;
/**

@@ -13,3 +13,2 @@ * @package

}
exports.testRunnerCalled = testRunnerCalled;
//# sourceMappingURL=testRunnerCalled.js.map
{
"name": "@serenity-js/serenity-bdd",
"version": "3.25.3",
"version": "3.25.4",
"description": "Serenity/JS reporting module that produces detailed Serenity BDD test reports and living documentation, enhancing transparency and traceability of test results",

@@ -49,7 +49,7 @@ "author": {

"dependencies": {
"@serenity-js/assertions": "3.25.3",
"@serenity-js/core": "3.25.3",
"@serenity-js/rest": "3.25.3",
"@serenity-js/assertions": "3.25.4",
"@serenity-js/core": "3.25.4",
"@serenity-js/rest": "3.25.4",
"ansi-regex": "5.0.1",
"axios": "1.7.2",
"axios": "1.7.3",
"chalk": "4.1.2",

@@ -64,3 +64,3 @@ "find-java-home": "2.0.0",

"@integration/testing-tools": "3.0.0",
"@types/chai": "4.3.16",
"@types/chai": "4.3.17",
"@types/mocha": "10.0.7",

@@ -70,9 +70,9 @@ "@types/progress": "2.0.7",

"if-env": "1.0.4",
"memfs": "4.9.4",
"memfs": "4.11.1",
"mocha": "10.7.0",
"mocha-multi": "1.1.7",
"ts-node": "10.9.2",
"typescript": "5.2.2"
"typescript": "5.5.4"
},
"gitHead": "ddbff3edbb00910bb31f3b53c13ba5d049edff0e"
"gitHead": "aebcb7b47540576437d79f6190c867a455ea695b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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