@woosh/meep-engine 2.43.44 → 2.43.45
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.
|
@@ -22,7 +22,9 @@ export class CodecWithFallback extends Codec {
|
|
|
22
22
|
for (let i = 0; i < codec_count; i++) {
|
|
23
23
|
const codec = codecs[i];
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
const codec_supports_data = await codec.test(data);
|
|
26
|
+
|
|
27
|
+
if (codec_supports_data) {
|
|
26
28
|
return true;
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -42,7 +44,9 @@ export class CodecWithFallback extends Codec {
|
|
|
42
44
|
for (let i = 0; i < codec_count; i++) {
|
|
43
45
|
const codec = codecs[i];
|
|
44
46
|
|
|
45
|
-
|
|
47
|
+
const codec_supports_data = await codec.test(data);
|
|
48
|
+
|
|
49
|
+
if (!codec_supports_data) {
|
|
46
50
|
errors.push({
|
|
47
51
|
index: i, error: "Codec doesn't support this data"
|
|
48
52
|
});
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"productName": "Meep",
|
|
6
6
|
"description": "production-ready JavaScript game engine based on Entity Component System Architecture",
|
|
7
7
|
"author": "Alexander Goldring",
|
|
8
|
-
"version": "2.43.
|
|
8
|
+
"version": "2.43.45",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"gl-matrix": "3.4.3",
|
|
11
11
|
"fast-levenshtein": "2.0.6",
|