@galacean/effects-specification 1.2.0-beta.0 → 1.3.0-alpha.0

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.
@@ -12,4 +12,4 @@ export declare function version22Migration(json: JSONScene): JSONScene;
12
12
  * 2.5 以下版本 赫尔米特数据转换成贝塞尔数据
13
13
  */
14
14
  export declare function version24Migration(json: JSONScene): JSONScene;
15
- export declare function convertParam(content: BaseContent): void;
15
+ export declare function convertParam(content: BaseContent | undefined | null): void;
package/dist/fallback.js 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: v1.2.0-beta.0
5
+ * Version: v1.3.0-alpha.0
6
6
  */
7
7
 
8
8
  'use strict';
@@ -1495,6 +1495,9 @@ function version24Migration(json) {
1495
1495
  }
1496
1496
  function convertParam(content) {
1497
1497
  var e_2, _a;
1498
+ if (!content) {
1499
+ return;
1500
+ }
1498
1501
  try {
1499
1502
  for (var _b = __values(Object.keys(content)), _c = _b.next(); !_c.done; _c = _b.next()) {
1500
1503
  var key = _c.value;