@babylonjs/loaders 5.13.3 → 5.15.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,9 @@ import * as Loaders from "../OBJ/index.js";
|
|
7
7
|
var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
8
8
|
if (typeof globalObject !== "undefined") {
|
9
9
|
for (var key in Loaders) {
|
10
|
-
globalObject.BABYLON[key]
|
10
|
+
if (!globalObject.BABYLON[key]) {
|
11
|
+
globalObject.BABYLON[key] = Loaders[key];
|
12
|
+
}
|
11
13
|
}
|
12
14
|
}
|
13
15
|
export * from "../OBJ/index.js";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"legacy-objFileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-objFileLoader.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,OAAO,EAAE;
|
1
|
+
{"version":3,"file":"legacy-objFileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-objFileLoader.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,OAAO,EAAE;QACvB,IAAI,CAAO,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC7B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,OAAQ,CAAC,GAAG,CAAC,CAAC;SAC1D;KACJ;CACJ;AACD,cAAc,cAAc,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as Loaders from \"../OBJ/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in Loaders) {\n if (!(<any>globalObject).BABYLON[key]) {\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\n }\n }\n}\nexport * from \"../OBJ/index\";\n"]}
|
@@ -7,7 +7,9 @@ import * as Loaders from "../STL/index.js";
|
|
7
7
|
var globalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
|
8
8
|
if (typeof globalObject !== "undefined") {
|
9
9
|
for (var key in Loaders) {
|
10
|
-
globalObject.BABYLON[key]
|
10
|
+
if (!globalObject.BABYLON[key]) {
|
11
|
+
globalObject.BABYLON[key] = Loaders[key];
|
12
|
+
}
|
11
13
|
}
|
12
14
|
}
|
13
15
|
export * from "../STL/index.js";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"legacy-stlFileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-stlFileLoader.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,OAAO,EAAE;
|
1
|
+
{"version":3,"file":"legacy-stlFileLoader.js","sourceRoot":"","sources":["../../../../../lts/loaders/generated/legacy/legacy-stlFileLoader.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC;;;GAGG;AACH,IAAM,YAAY,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AACjH,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE;IACrC,KAAK,IAAM,GAAG,IAAI,OAAO,EAAE;QACvB,IAAI,CAAO,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC7B,YAAa,CAAC,OAAO,CAAC,GAAG,CAAC,GAAS,OAAQ,CAAC,GAAG,CAAC,CAAC;SAC1D;KACJ;CACJ;AACD,cAAc,cAAc,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as Loaders from \"../STL/index\";\n/**\n * This is the entry point for the UMD module.\n * The entry point for a future ESM package should be index.ts\n */\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\nif (typeof globalObject !== \"undefined\") {\n for (const key in Loaders) {\n if (!(<any>globalObject).BABYLON[key]) {\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\n }\n }\n}\nexport * from \"../STL/index\";\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/loaders",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.15.0",
|
4
4
|
"main": "index.js",
|
5
5
|
"module": "index.js",
|
6
6
|
"types": "index.d.ts",
|
@@ -22,10 +22,10 @@
|
|
22
22
|
"tslib": "^2.4.0"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
|
-
"@babylonjs/core": "^5.
|
25
|
+
"@babylonjs/core": "^5.15.0",
|
26
26
|
"@dev/build-tools": "^1.0.0",
|
27
27
|
"@lts/loaders": "^1.0.0",
|
28
|
-
"babylonjs-gltf2interface": "^5.
|
28
|
+
"babylonjs-gltf2interface": "^5.15.0",
|
29
29
|
"rimraf": "^3.0.2",
|
30
30
|
"typescript": "^4.4.4"
|
31
31
|
},
|