@galacean/effects-specification 0.0.2 → 1.0.1

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/dist/fallback.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  * Name: @galacean/effects-specification
3
3
  * Description: Galacean Effects JSON Specification
4
4
  * Author: Ant Group CO., Ltd.
5
- * Version: v0.0.2
5
+ * Version: v1.0.1
6
6
  */
7
7
 
8
8
  /*********************************************/
@@ -719,7 +719,12 @@ function __read(o, n) {
719
719
  finally { if (e) throw e.error; }
720
720
  }
721
721
  return ar;
722
- }
722
+ }
723
+
724
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
725
+ var e = new Error(message);
726
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
727
+ };
723
728
 
724
729
  function arrAdd(arr, item) {
725
730
  if (!arr.includes(item)) {
@@ -872,9 +877,9 @@ function ensureFixedVec3(a) {
872
877
  function objectValueToNumber(o) {
873
878
  var e_1, _a;
874
879
  try {
875
- for (var _b = __values(Object.entries(o)), _c = _b.next(); !_c.done; _c = _b.next()) {
876
- var _d = __read(_c.value, 2), key = _d[0], value = _d[1];
877
- o[key] = Number(value);
880
+ for (var _b = __values(Object.keys(o)), _c = _b.next(); !_c.done; _c = _b.next()) {
881
+ var key = _c.value;
882
+ o[key] = Number(o[key]);
878
883
  }
879
884
  }
880
885
  catch (e_1_1) { e_1 = { error: e_1_1 }; }