@descope/flow-components 2.0.484 → 2.0.485
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +7 -3
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -87974,7 +87974,7 @@ descope-boolean-field-internal {
|
|
|
87974
87974
|
|
|
87975
87975
|
if (attrName === 'data-password-policy-value-passwordstrength') {
|
|
87976
87976
|
const passwordStrength = parseInt(newValue);
|
|
87977
|
-
if (!Number.isNaN(passwordStrength) && passwordStrength
|
|
87977
|
+
if (!Number.isNaN(passwordStrength) && passwordStrength >= 0) {
|
|
87978
87978
|
this.#overrides = {
|
|
87979
87979
|
...this.#overrides,
|
|
87980
87980
|
passwordstrength: {
|
|
@@ -87987,7 +87987,7 @@ descope-boolean-field-internal {
|
|
|
87987
87987
|
|
|
87988
87988
|
if (attrName === 'data-password-policy-actual-passwordstrength') {
|
|
87989
87989
|
const ln = Number(newValue);
|
|
87990
|
-
if (!Number.isNaN(ln) && ln
|
|
87990
|
+
if (!Number.isNaN(ln) && ln >= 0) {
|
|
87991
87991
|
this.#overrides = {
|
|
87992
87992
|
...this.#overrides,
|
|
87993
87993
|
passwordstrength: { ...this.#overrides?.passwordstrength, actual: ln },
|
|
@@ -88072,7 +88072,11 @@ descope-boolean-field-internal {
|
|
|
88072
88072
|
const exp = new RegExp(interpolateString(pattern, data));
|
|
88073
88073
|
validationResult.valid = exp.test(this.value);
|
|
88074
88074
|
} else if (compare) {
|
|
88075
|
-
validationResult.valid = this.compareValues(
|
|
88075
|
+
validationResult.valid = this.compareValues(
|
|
88076
|
+
compare,
|
|
88077
|
+
data?.expected ?? -1,
|
|
88078
|
+
data?.actual ?? -1
|
|
88079
|
+
);
|
|
88076
88080
|
}
|
|
88077
88081
|
|
|
88078
88082
|
results.push(validationResult);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/flow-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.485",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"typescript": "^5.7.2"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@descope/web-components-ui": "1.
|
|
107
|
+
"@descope/web-components-ui": "1.54.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"react": ">= 18"
|