@serenity-js/web
Advanced tools
Comparing version 3.15.1 to 3.16.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.16.0](https://github.com/serenity-js/serenity-js/compare/v3.15.1...v3.16.0) (2024-02-01) | ||
### Features | ||
* **core:** added Masked.valueOf() Question ([e9ff5ab](https://github.com/serenity-js/serenity-js/commit/e9ff5ab62e8b305aa7ef2238f482be5369d890c1)), closes [#2165](https://github.com/serenity-js/serenity-js/issues/2165) | ||
## [3.15.1](https://github.com/serenity-js/serenity-js/compare/v3.15.0...v3.15.1) (2024-01-19) | ||
@@ -8,0 +19,0 @@ |
@@ -39,2 +39,19 @@ import type { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core'; | ||
* | ||
* ## Handling sensitive information | ||
* | ||
* By design, any data handled by an actor appears in Serenity/JS reports. | ||
* To prevent the exposure of any sensitive information, such as passwords or tokens, you should use {@apilink Masked}. | ||
* | ||
* ```ts | ||
* import { actorCalled, Masked } from '@serenity-js/core' | ||
* import { Enter } from '@serenity-js/web' | ||
* | ||
* await actorCalled('Esme') | ||
* .attemptsTo( | ||
* Enter.theValue(Masked.valueOf('your little secret').into(Form.exampleInputField()), | ||
* ) | ||
* | ||
* // Gets reported as: "Esme enters [a masked value] into the example input field" | ||
* ``` | ||
* | ||
* ## Learn more | ||
@@ -41,0 +58,0 @@ * |
@@ -42,2 +42,19 @@ "use strict"; | ||
* | ||
* ## Handling sensitive information | ||
* | ||
* By design, any data handled by an actor appears in Serenity/JS reports. | ||
* To prevent the exposure of any sensitive information, such as passwords or tokens, you should use {@apilink Masked}. | ||
* | ||
* ```ts | ||
* import { actorCalled, Masked } from '@serenity-js/core' | ||
* import { Enter } from '@serenity-js/web' | ||
* | ||
* await actorCalled('Esme') | ||
* .attemptsTo( | ||
* Enter.theValue(Masked.valueOf('your little secret').into(Form.exampleInputField()), | ||
* ) | ||
* | ||
* // Gets reported as: "Esme enters [a masked value] into the example input field" | ||
* ``` | ||
* | ||
* ## Learn more | ||
@@ -44,0 +61,0 @@ * |
{ | ||
"name": "@serenity-js/web", | ||
"version": "3.15.1", | ||
"version": "3.16.0", | ||
"description": "Serenity/JS Screenplay Pattern APIs for the Web", | ||
@@ -48,4 +48,4 @@ "author": { | ||
"dependencies": { | ||
"@serenity-js/assertions": "3.15.1", | ||
"@serenity-js/core": "3.15.1", | ||
"@serenity-js/assertions": "3.16.0", | ||
"@serenity-js/core": "3.16.0", | ||
"tiny-types": "1.21.0" | ||
@@ -63,3 +63,3 @@ }, | ||
}, | ||
"gitHead": "4df79de3820acd9fb18d76843feb0468c55c8e7f" | ||
"gitHead": "242771e55bd6becc5baeaac03edf945e4cdaf7a4" | ||
} |
@@ -43,2 +43,19 @@ import type { Answerable, AnswersQuestions, Interaction, UsesAbilities } from '@serenity-js/core'; | ||
* | ||
* ## Handling sensitive information | ||
* | ||
* By design, any data handled by an actor appears in Serenity/JS reports. | ||
* To prevent the exposure of any sensitive information, such as passwords or tokens, you should use {@apilink Masked}. | ||
* | ||
* ```ts | ||
* import { actorCalled, Masked } from '@serenity-js/core' | ||
* import { Enter } from '@serenity-js/web' | ||
* | ||
* await actorCalled('Esme') | ||
* .attemptsTo( | ||
* Enter.theValue(Masked.valueOf('your little secret').into(Form.exampleInputField()), | ||
* ) | ||
* | ||
* // Gets reported as: "Esme enters [a masked value] into the example input field" | ||
* ``` | ||
* | ||
* ## Learn more | ||
@@ -45,0 +62,0 @@ * |
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
714827
15233
+ Added@serenity-js/assertions@3.16.0(transitive)
+ Added@serenity-js/core@3.16.0(transitive)
- Removed@serenity-js/assertions@3.15.1(transitive)
- Removed@serenity-js/core@3.15.1(transitive)
- Removedmoment@2.30.1(transitive)
Updated@serenity-js/core@3.16.0