Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serenity-js/web

Package Overview
Dependencies
Maintainers
1
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serenity-js/web - npm Package Compare versions

Comparing version 3.0.0-rc.14 to 3.0.0-rc.15

2

lib/screenplay/interactions/Clear.d.ts

@@ -71,3 +71,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -74,0 +74,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -81,0 +81,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -66,3 +66,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -69,0 +69,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -75,0 +75,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -83,3 +83,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -86,0 +86,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -92,0 +92,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -198,3 +198,3 @@ import { Answerable, AnswersQuestions, CollectsArtifacts, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -201,0 +201,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -205,0 +205,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -71,3 +71,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -74,0 +74,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -80,0 +80,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -177,0 +177,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -77,3 +77,3 @@ import { Activity, Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -80,0 +80,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -89,0 +89,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -82,3 +82,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -85,0 +85,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -91,0 +91,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -69,3 +69,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -72,0 +72,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -79,0 +79,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -53,3 +53,3 @@ import { Answerable, AnswersQuestions, CollectsArtifacts, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -56,0 +56,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -66,0 +66,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

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

toString() {
const selectorDescription = this.constructor.name.replace(/([a-z]+)([A-Z])/g, '$1 $2').toLowerCase();
const selectorDescription = this.constructor.name.replace(/([a-z])([A-Z])/g, '$1 $2').toLowerCase();
const parametersDescription = Object.keys(this).map(field => (0, core_1.f) `${this[field]}`).join(', ');

@@ -10,0 +10,0 @@ return `${selectorDescription} (${parametersDescription})`;

{
"name": "@serenity-js/web",
"version": "3.0.0-rc.14",
"version": "3.0.0-rc.15",
"description": "Serenity/JS Screenplay Pattern APIs for the Web",

@@ -50,4 +50,4 @@ "author": {

"dependencies": {
"@serenity-js/assertions": "3.0.0-rc.14",
"@serenity-js/core": "3.0.0-rc.14",
"@serenity-js/assertions": "3.0.0-rc.15",
"@serenity-js/core": "3.0.0-rc.15",
"tiny-types": "^1.17.0"

@@ -62,5 +62,5 @@ },

"ts-node": "^10.7.0",
"typescript": "^4.6.2"
"typescript": "^4.6.3"
},
"gitHead": "b4aa801512b45db287e10fa44c9ec1d6f08126c3"
"gitHead": "e52f8f2597f4ebf1062c752fbd9700439072d38d"
}

@@ -80,3 +80,3 @@ import { Answerable, AnswersQuestions, Interaction, LogicError, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -83,0 +83,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -75,3 +75,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -78,0 +78,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -92,3 +92,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -95,0 +95,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -218,3 +218,3 @@ import { Answerable, AnswersQuestions, CollectsArtifacts, Interaction, LogicError, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -284,3 +284,3 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

*/
performAs(actor: UsesAbilities & AnswersQuestions): PromiseLike<any> {
performAs(actor: UsesAbilities & AnswersQuestions): Promise<any> {
return BrowseTheWeb.as(actor)

@@ -287,0 +287,0 @@ .executeAsyncScript(

@@ -80,3 +80,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -83,0 +83,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -183,3 +183,3 @@ import { Answerable, AnswersQuestions, Interaction, TestCompromisedError, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -190,3 +190,3 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

*/
performAs(actor: UsesAbilities & AnswersQuestions): PromiseLike<void> {
performAs(actor: UsesAbilities & AnswersQuestions): Promise<void> {
return actor.answer(this.url)

@@ -193,0 +193,0 @@ .then(url =>

@@ -92,3 +92,3 @@ import { Activity, Answerable, AnswersQuestions, Interaction, Question, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -95,0 +95,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -90,3 +90,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -93,0 +93,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -78,3 +78,3 @@ import { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -81,0 +81,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -64,3 +64,3 @@ import { Answerable, AnswersQuestions, CollectsArtifacts, Interaction, UsesAbilities } from '@serenity-js/core';

*
* @returns {PromiseLike<void>}
* @returns {Promise<void>}
*

@@ -67,0 +67,0 @@ * @see {@link @serenity-js/core/lib/screenplay/actor~Actor}

@@ -222,3 +222,3 @@ import { Answerable, AnswersQuestions, AssertionError, Duration, Expectation, ExpectationMet, ExpectationOutcome, Interaction, UsesAbilities } from '@serenity-js/core';

*/
performAs(actor: UsesAbilities & AnswersQuestions): PromiseLike<void> {
performAs(actor: UsesAbilities & AnswersQuestions): Promise<void> {
const

@@ -225,0 +225,0 @@ actual = this.actual,

@@ -6,3 +6,3 @@ import { f } from '@serenity-js/core';

toString(): string {
const selectorDescription = this.constructor.name.replace(/([a-z]+)([A-Z])/g, '$1 $2').toLowerCase();
const selectorDescription = this.constructor.name.replace(/([a-z])([A-Z])/g, '$1 $2').toLowerCase();
const parametersDescription = Object.keys(this).map(field => f`${this[field]}`).join(', ');

@@ -9,0 +9,0 @@

Sorry, the diff of this file is too big to display

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