@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @websolutespa/bom-core
2
2
 
3
+ ## 1.8.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: collectFeatureTypes
8
+
9
+ ## 1.8.15
10
+
11
+ ### Patch Changes
12
+
13
+ - Modified: passwordStrategy
14
+
3
15
  ## 1.8.14
4
16
 
5
17
  ### Patch Changes
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\\W]{8,}$";
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\\W]{8,}$";
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();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-core",
3
- "version": "1.8.14",
3
+ "version": "1.8.16",
4
4
  "description": "Core module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",