@salesforcedevs/dx-components 0.55.3 → 0.55.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.55.3",
3
+ "version": "0.55.7",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -25,5 +25,5 @@
25
25
  "@types/lodash.get": "^4.4.6",
26
26
  "@types/vimeo__player": "^2.16.2"
27
27
  },
28
- "gitHead": "dd93f0c0ca98a79366972c0f6c063a2292a427a9"
28
+ "gitHead": "91a0fb158be75ba597dc240fce61784cd0cb74af"
29
29
  }
@@ -67,8 +67,9 @@ export const normalizePost = ({
67
67
  title
68
68
  });
69
69
 
70
- export const normalizeBoolean = (value: string | boolean | number): boolean =>
71
- typeof value === "string" ? value === "true" : !!value;
70
+ export const normalizeBoolean = (
71
+ value: string | boolean | number | undefined
72
+ ): boolean => (typeof value === "string" ? value === "true" : !!value);
72
73
 
73
74
  /**
74
75
  * Cleans characters that are invalid for DOM IDs