@galacean/effects-core 2.4.1 → 2.4.2

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/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects runtime core for the web
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
6
- * Version: v2.4.1
6
+ * Version: v2.4.2
7
7
  */
8
8
 
9
9
  'use strict';
@@ -27396,13 +27396,6 @@ var refCompositions = new Map();
27396
27396
  * 3.1 版本数据适配
27397
27397
  * - 富文本插件名称的适配
27398
27398
  */ function version31Migration(json) {
27399
- var // 修正老版本数据中,富文本插件名称的问题
27400
- _json_plugins;
27401
- (_json_plugins = json.plugins) == null ? void 0 : _json_plugins.forEach(function(plugin, index) {
27402
- if (plugin === "richtext") {
27403
- json.plugins[index] = "rich-text";
27404
- }
27405
- });
27406
27399
  // Custom shape fill 属性位置迁移
27407
27400
  for(var _iterator = _create_for_of_iterator_helper_loose(json.components), _step; !(_step = _iterator()).done;){
27408
27401
  var component = _step.value;
@@ -27470,6 +27463,13 @@ function version32Migration(json) {
27470
27463
  return json;
27471
27464
  }
27472
27465
  function version33Migration(json) {
27466
+ var // 修正老版本数据中,富文本插件名称的问题
27467
+ _json_plugins;
27468
+ (_json_plugins = json.plugins) == null ? void 0 : _json_plugins.forEach(function(plugin, index) {
27469
+ if (plugin === "richtext") {
27470
+ json.plugins[index] = "rich-text";
27471
+ }
27472
+ });
27473
27473
  // 老 shape 数据兼容
27474
27474
  for(var _iterator = _create_for_of_iterator_helper_loose(json.items), _step; !(_step = _iterator()).done;){
27475
27475
  var item = _step.value;
@@ -31637,7 +31637,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem);
31637
31637
  registerPlugin("particle", ParticleLoader, exports.VFXItem);
31638
31638
  registerPlugin("cal", CalculateLoader, exports.VFXItem);
31639
31639
  registerPlugin("interact", InteractLoader, exports.VFXItem);
31640
- var version = "2.4.1";
31640
+ var version = "2.4.2";
31641
31641
  logger.info("Core version: " + version + ".");
31642
31642
 
31643
31643
  exports.AbstractPlugin = AbstractPlugin;