Socket
Socket
Sign inDemoInstall

@serenity-js/serenity-bdd

Package Overview
Dependencies
Maintainers
1
Versions
292
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.13.3 to 3.14.0

11

CHANGELOG.md

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

# [3.14.0](https://github.com/serenity-js/serenity-js/compare/v3.13.3...v3.14.0) (2023-12-02)
### Features
* **core:** nested error cause is now added to the main error message ([815c8ce](https://github.com/serenity-js/serenity-js/commit/815c8ce54205d813224cb5746e42bc48b7c388c9)), closes [#1823](https://github.com/serenity-js/serenity-js/issues/1823)
## [3.13.3](https://github.com/serenity-js/serenity-js/compare/v3.13.2...v3.13.3) (2023-11-22)

@@ -8,0 +19,0 @@

2

lib/cli/model/Credentials.js

@@ -9,2 +9,4 @@ "use strict";

class Credentials extends tiny_types_1.TinyType {
username;
password;
static fromString(value) {

@@ -11,0 +13,0 @@ if (!value) {

@@ -10,2 +10,7 @@ "use strict";

class GAV extends tiny_types_1.TinyType {
groupId;
artifactId;
version;
extension;
classifier;
static fromString(gav) {

@@ -12,0 +17,0 @@ const parts = gav.split(':');

@@ -9,2 +9,4 @@ "use strict";

class Printer {
out;
err;
constructor(out, err) {

@@ -11,0 +13,0 @@ this.out = out;

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

class UseFileSystem extends core_1.Ability {
fileSystem;
static at(root) {

@@ -12,0 +13,0 @@ return new UseFileSystem(new io_1.FileSystem(root));

@@ -12,2 +12,4 @@ "use strict";

class Spawn extends core_1.Interaction {
pathToExecutable;
args;
static the(pathToExecutable, ...args) {

@@ -14,0 +16,0 @@ return new Spawn(pathToExecutable, args);

@@ -13,2 +13,4 @@ "use strict";

class StreamResponse extends core_1.Interaction {
request;
destination;
static to(request) {

@@ -15,0 +17,0 @@ return {

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

class JavaExecutable extends core_1.Question {
subject;
constructor() {

@@ -38,0 +39,0 @@ super();

20

lib/cli/screenplay/questions/SerenityBDDArguments.js

@@ -9,2 +9,13 @@ "use strict";

class SerenityBDDArguments extends core_1.Question {
argv;
subject;
static Allowed = [
'destination',
'features',
'issueTrackerUrl',
'jiraProject',
'jiraUrl',
'project',
'source',
];
static from(argv) {

@@ -39,11 +50,2 @@ return new SerenityBDDArguments(argv);

exports.SerenityBDDArguments = SerenityBDDArguments;
SerenityBDDArguments.Allowed = [
'destination',
'features',
'issueTrackerUrl',
'jiraProject',
'jiraUrl',
'project',
'source',
];
//# sourceMappingURL=SerenityBDDArguments.js.map

@@ -14,2 +14,5 @@ "use strict";

class DownloadArtifact extends core_1.Task {
gav;
repository;
destinationDirectory;
static identifiedBy(artifactIdentifier) {

@@ -16,0 +19,0 @@ return {

@@ -13,2 +13,5 @@ "use strict";

class InvokeSerenityBDD extends core_1.Task {
pathToArtifact;
args;
props;
static at(pathToArtifact) {

@@ -15,0 +18,0 @@ return new InvokeSerenityBDD(pathToArtifact);

@@ -13,2 +13,4 @@ "use strict";

class NotificationReporter {
printer;
stage;
constructor(printer, stage) {

@@ -15,0 +17,0 @@ this.printer = printer;

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

class ProgressReporter {
printer;
stage;
progressBar;
constructor(printer, stage, progressBar) {

@@ -19,0 +22,0 @@ this.printer = printer;

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

class RunCommandActors {
cwd;
constructor(cwd) {

@@ -12,0 +13,0 @@ this.cwd = cwd;

@@ -11,2 +11,4 @@ "use strict";

class UpdateCommandActors {
cwd;
axiosConfigDefaults;
constructor(cwd, axiosConfigDefaults) {

@@ -13,0 +15,0 @@ this.cwd = cwd;

@@ -12,6 +12,4 @@ "use strict";

class EventQueueProcessors {
constructor() {
this.singleSceneProcessor = new single_scene_1.SingleSceneEventQueueProcessor();
this.sceneSequenceProcessor = new scene_sequence_1.SceneSequenceEventQueueProcessor();
}
singleSceneProcessor = new single_scene_1.SingleSceneEventQueueProcessor();
sceneSequenceProcessor = new scene_sequence_1.SceneSequenceEventQueueProcessor();
// todo: move `name` to Artifact and return Artifact[]... and sceneId?

@@ -18,0 +16,0 @@ process(queues) {

@@ -10,7 +10,4 @@ "use strict";

class SceneSequenceReportContext extends SerenityBDDReportContext_1.SerenityBDDReportContext {
constructor() {
super(...arguments);
this.parameters = [];
this.worstOutcomeSoFar = new model_1.ExecutionSuccessful();
}
parameters = [];
worstOutcomeSoFar = new model_1.ExecutionSuccessful();
build() {

@@ -17,0 +14,0 @@ const report = super.build();

@@ -8,7 +8,5 @@ "use strict";

class SerenityBDDReportContext {
constructor() {
this.report = {};
this.steps = new Map();
this.currentActivityId = undefined;
}
report = {};
steps = new Map();
currentActivityId = undefined;
with(fn) {

@@ -15,0 +13,0 @@ return fn(this);

@@ -99,2 +99,5 @@ "use strict";

class SerenityBDDReporter {
stage;
eventQueues = new core_1.DomainEventQueues();
processors = new processors_1.EventQueueProcessors();
/**

@@ -105,4 +108,2 @@ * @param [stage=undefined] stage

this.stage = stage;
this.eventQueues = new core_1.DomainEventQueues();
this.processors = new processors_1.EventQueueProcessors();
}

@@ -109,0 +110,0 @@ /**

{
"name": "@serenity-js/serenity-bdd",
"version": "3.13.3",
"version": "3.14.0",
"description": "Serenity BDD reporter for Serenity/JS",

@@ -48,5 +48,5 @@ "author": {

"dependencies": {
"@serenity-js/assertions": "3.13.3",
"@serenity-js/core": "3.13.3",
"@serenity-js/rest": "3.13.3",
"@serenity-js/assertions": "3.14.0",
"@serenity-js/core": "3.14.0",
"@serenity-js/rest": "3.14.0",
"ansi-regex": "^5.0.1",

@@ -75,3 +75,3 @@ "axios": "^1.6.2",

},
"gitHead": "35a69bfec3f813fc86efa111e317a89d5defc5c2"
"gitHead": "a81b85d03b62c662c00aecebc75ed35a97815a6b"
}

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