@galacean/effects-specification 0.0.2 → 1.0.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.
- package/LICENSE +21 -0
- package/README.md +6 -12
- package/dist/fallback.js +7 -2
- package/dist/fallback.js.map +1 -1
- package/dist/fallback.mjs +7 -2
- package/dist/fallback.mjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/binary.d.ts +6 -6
- package/dist/src/image.d.ts +5 -5
- package/dist/src/item/base-item.d.ts +1 -1
- package/dist/src/item/filter-item.d.ts +1 -1
- package/dist/src/item/interact-item.d.ts +1 -1
- package/dist/src/item/model/binary.d.ts +5 -5
- package/dist/src/item/model/light.d.ts +1 -1
- package/dist/src/item/model/material.d.ts +1 -1
- package/dist/src/item/model/mesh.d.ts +2 -2
- package/dist/src/item/particle-shape.d.ts +1 -1
- package/dist/src/item/plugin-item.d.ts +1 -1
- package/dist/src/item/spine-item.d.ts +1 -1
- package/dist/src/item.d.ts +1 -1
- package/dist/src/numberExpression.d.ts +44 -44
- package/dist/src/scene.d.ts +1 -1
- package/dist/src/type.d.ts +1 -1
- package/package.json +1 -1
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:
|
|
5
|
+
* Version: v1.0.0
|
|
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)) {
|