@shotstack/shotstack-studio 2.0.0-beta.38 → 2.0.0-beta.39

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.
@@ -41028,7 +41028,8 @@ function ps(t, e, s) {
41028
41028
  let a = t;
41029
41029
  for (let r = 0; r < i.length - 1; r += 1) {
41030
41030
  if (a == null || typeof a != "object") return;
41031
- a = a[i[r]];
41031
+ const n = i[r], o = a[n];
41032
+ (o == null || typeof o != "object") && (a[n] = {}), a = a[n];
41032
41033
  }
41033
41034
  a != null && typeof a == "object" && (a[i[i.length - 1]] = s);
41034
41035
  }