@websolutespa/bom-core 3.0.3 → 3.0.4

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,11 @@
1
1
  # @websolutespa/bom-core
2
2
 
3
+ ## 3.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixing: qsDeserializeKeys
8
+
3
9
  ## 3.0.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1441,8 +1441,7 @@ function qsDeserializeKey(value) {
1441
1441
  return value;
1442
1442
  }
1443
1443
  function qsDeserializeKeys(key) {
1444
- const keys = key.replace(/[\]]/g, "").split("[").map((x) => qsDeserializeKey(x)).filter((x) => Boolean(x));
1445
- return keys;
1444
+ return key.replace(/[\]]/g, "").split("[").map((value) => qsDeserializeKey(value)).filter((value) => value !== "");
1446
1445
  }
1447
1446
  function getNextKeyItem(key) {
1448
1447
  if (typeof key === "number") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-core",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Core module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",