@mixd-id/web-scaffold 0.1.230406025 → 0.1.230406026

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406025",
4
+ "version": "0.1.230406026",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -126,6 +126,8 @@ const uid = function(prefix){
126
126
  }
127
127
 
128
128
  const accessNestedObject = function(obj, path) {
129
+ if(!obj || typeof path !== 'string') return undefined
130
+
129
131
  const keys = path.split('.');
130
132
  let nestedObj = obj;
131
133