@websolutespa/bom-core 1.8.14 → 1.8.16
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/CHANGELOG.md +12 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -343,7 +343,7 @@ async function collectFeatureTypes(items, ...keys) {
|
|
|
343
343
|
id: value2,
|
|
344
344
|
title: String(value2)
|
|
345
345
|
};
|
|
346
|
-
if (features && !features.find((x) => x.id === option.id)) {
|
|
346
|
+
if (option.id && option.title && features && !features.find((x) => x.id === option.id)) {
|
|
347
347
|
features.push(option);
|
|
348
348
|
}
|
|
349
349
|
});
|
|
@@ -1309,7 +1309,7 @@ var defaultMarket = getDefaultMarket();
|
|
|
1309
1309
|
|
|
1310
1310
|
// src/password/password.ts
|
|
1311
1311
|
function getPasswordStrategy() {
|
|
1312
|
-
const passwordStrategy2 = typeof process !== "undefined" && process.env.NEXT_PUBLIC_PASSWORD_STRATEGY ? process.env.NEXT_PUBLIC_PASSWORD_STRATEGY : "^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])[a-zA-Z0-9
|
|
1312
|
+
const passwordStrategy2 = typeof process !== "undefined" && process.env.NEXT_PUBLIC_PASSWORD_STRATEGY ? process.env.NEXT_PUBLIC_PASSWORD_STRATEGY : "^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])[a-zA-Z0-9._\\-\\W]{8,}$";
|
|
1313
1313
|
return passwordStrategy2;
|
|
1314
1314
|
}
|
|
1315
1315
|
var passwordStrategy = getPasswordStrategy();
|
package/dist/index.mjs
CHANGED
|
@@ -187,7 +187,7 @@ async function collectFeatureTypes(items, ...keys) {
|
|
|
187
187
|
id: value2,
|
|
188
188
|
title: String(value2)
|
|
189
189
|
};
|
|
190
|
-
if (features && !features.find((x) => x.id === option.id)) {
|
|
190
|
+
if (option.id && option.title && features && !features.find((x) => x.id === option.id)) {
|
|
191
191
|
features.push(option);
|
|
192
192
|
}
|
|
193
193
|
});
|
|
@@ -1153,7 +1153,7 @@ var defaultMarket = getDefaultMarket();
|
|
|
1153
1153
|
|
|
1154
1154
|
// src/password/password.ts
|
|
1155
1155
|
function getPasswordStrategy() {
|
|
1156
|
-
const passwordStrategy2 = typeof process !== "undefined" && process.env.NEXT_PUBLIC_PASSWORD_STRATEGY ? process.env.NEXT_PUBLIC_PASSWORD_STRATEGY : "^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])[a-zA-Z0-9
|
|
1156
|
+
const passwordStrategy2 = typeof process !== "undefined" && process.env.NEXT_PUBLIC_PASSWORD_STRATEGY ? process.env.NEXT_PUBLIC_PASSWORD_STRATEGY : "^(?=.*[0-9])(?=.*[A-Z])(?=.*[a-z])[a-zA-Z0-9._\\-\\W]{8,}$";
|
|
1157
1157
|
return passwordStrategy2;
|
|
1158
1158
|
}
|
|
1159
1159
|
var passwordStrategy = getPasswordStrategy();
|