@babylonjs/loaders 6.10.0 → 6.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. package/OBJ/index.js.map +1 -1
  2. package/OBJ/mtlFileLoader.js.map +1 -1
  3. package/OBJ/objFileLoader.js.map +1 -1
  4. package/OBJ/objLoadingOptions.js.map +1 -1
  5. package/OBJ/solidParser.js.map +1 -1
  6. package/STL/index.js.map +1 -1
  7. package/STL/stlFileLoader.js.map +1 -1
  8. package/glTF/1.0/glTFBinaryExtension.js.map +1 -1
  9. package/glTF/1.0/glTFLoader.js.map +1 -1
  10. package/glTF/1.0/glTFLoaderInterfaces.js.map +1 -1
  11. package/glTF/1.0/glTFLoaderUtils.js.map +1 -1
  12. package/glTF/1.0/glTFMaterialsCommonExtension.js.map +1 -1
  13. package/glTF/1.0/index.js.map +1 -1
  14. package/glTF/2.0/Extensions/EXT_lights_image_based.js.map +1 -1
  15. package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js.map +1 -1
  16. package/glTF/2.0/Extensions/EXT_meshopt_compression.js.map +1 -1
  17. package/glTF/2.0/Extensions/EXT_texture_webp.js.map +1 -1
  18. package/glTF/2.0/Extensions/ExtrasAsMetadata.js.map +1 -1
  19. package/glTF/2.0/Extensions/KHR_animation_pointer.data.js.map +1 -1
  20. package/glTF/2.0/Extensions/KHR_animation_pointer.js.map +1 -1
  21. package/glTF/2.0/Extensions/KHR_draco_mesh_compression.js.map +1 -1
  22. package/glTF/2.0/Extensions/KHR_lights_punctual.js.map +1 -1
  23. package/glTF/2.0/Extensions/KHR_materials_anisotropy.js.map +1 -1
  24. package/glTF/2.0/Extensions/KHR_materials_clearcoat.js.map +1 -1
  25. package/glTF/2.0/Extensions/KHR_materials_emissive_strength.js.map +1 -1
  26. package/glTF/2.0/Extensions/KHR_materials_ior.js.map +1 -1
  27. package/glTF/2.0/Extensions/KHR_materials_iridescence.js.map +1 -1
  28. package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js.map +1 -1
  29. package/glTF/2.0/Extensions/KHR_materials_sheen.js.map +1 -1
  30. package/glTF/2.0/Extensions/KHR_materials_specular.js.map +1 -1
  31. package/glTF/2.0/Extensions/KHR_materials_translucency.js.map +1 -1
  32. package/glTF/2.0/Extensions/KHR_materials_transmission.js.map +1 -1
  33. package/glTF/2.0/Extensions/KHR_materials_unlit.js.map +1 -1
  34. package/glTF/2.0/Extensions/KHR_materials_variants.js.map +1 -1
  35. package/glTF/2.0/Extensions/KHR_materials_volume.js.map +1 -1
  36. package/glTF/2.0/Extensions/KHR_mesh_quantization.js.map +1 -1
  37. package/glTF/2.0/Extensions/KHR_texture_basisu.js.map +1 -1
  38. package/glTF/2.0/Extensions/KHR_texture_transform.js.map +1 -1
  39. package/glTF/2.0/Extensions/KHR_xmp_json_ld.js.map +1 -1
  40. package/glTF/2.0/Extensions/MSFT_audio_emitter.js.map +1 -1
  41. package/glTF/2.0/Extensions/MSFT_lod.js.map +1 -1
  42. package/glTF/2.0/Extensions/MSFT_minecraftMesh.js.map +1 -1
  43. package/glTF/2.0/Extensions/MSFT_sRGBFactors.js.map +1 -1
  44. package/glTF/2.0/Extensions/index.js.map +1 -1
  45. package/glTF/2.0/glTFLoader.js.map +1 -1
  46. package/glTF/2.0/glTFLoaderAnimation.js.map +1 -1
  47. package/glTF/2.0/glTFLoaderExtension.js.map +1 -1
  48. package/glTF/2.0/glTFLoaderInterfaces.js.map +1 -1
  49. package/glTF/2.0/index.js.map +1 -1
  50. package/glTF/glTFFileLoader.js.map +1 -1
  51. package/glTF/glTFValidation.js.map +1 -1
  52. package/glTF/index.js.map +1 -1
  53. package/index.js.map +1 -1
  54. package/legacy/legacy-glTF.d.ts +2 -2
  55. package/legacy/legacy-glTF.js.map +1 -1
  56. package/legacy/legacy-glTF1.d.ts +1 -1
  57. package/legacy/legacy-glTF1.js.map +1 -1
  58. package/legacy/legacy-glTF1FileLoader.js.map +1 -1
  59. package/legacy/legacy-glTF2.d.ts +1 -1
  60. package/legacy/legacy-glTF2.js.map +1 -1
  61. package/legacy/legacy-glTF2FileLoader.js.map +1 -1
  62. package/legacy/legacy-glTFFileLoader.js.map +1 -1
  63. package/legacy/legacy-objFileLoader.d.ts +1 -1
  64. package/legacy/legacy-objFileLoader.js.map +1 -1
  65. package/legacy/legacy-stlFileLoader.d.ts +1 -1
  66. package/legacy/legacy-stlFileLoader.js.map +1 -1
  67. package/legacy/legacy.d.ts +1 -1
  68. package/legacy/legacy.js.map +1 -1
  69. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTF1.js","sourceRoot":"","sources":["../../../../lts/loaders/generated/legacy/legacy-glTF1.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAC3C;;;GAGG;AACH,MAAM,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;IAC/B,YAAa,CAAC,OAAO,GAAS,YAAa,CAAC,OAAO,IAAI,EAAE,CAAC;IAC1D,YAAa,CAAC,OAAO,CAAC,KAAK,GAAS,YAAa,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;IAC5E,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;QACf,YAAa,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAS,KAAM,CAAC,GAAG,CAAC,CAAC;KAC9D;CACJ;AACD,OAAO,EAAE,KAAK,EAAE,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as GLTF1 from \"../glTF/1.0/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 (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};\n (<any>globalObject).BABYLON.GLTF1 = (<any>globalObject).BABYLON.GLTF1 || {};\n for (const key in GLTF1) {\n (<any>globalObject).BABYLON.GLTF1[key] = (<any>GLTF1)[key];\n }\n}\nexport { GLTF1 };\n"]}
1
+ {"version":3,"file":"legacy-glTF1.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy-glTF1.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,KAAK,6BAA+B;AAEhD;;;GAGG;AACH,MAAM,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;IAC/B,YAAa,CAAC,OAAO,GAAS,YAAa,CAAC,OAAO,IAAI,EAAE,CAAC;IAC1D,YAAa,CAAC,OAAO,CAAC,KAAK,GAAS,YAAa,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;IAC5E,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;QACf,YAAa,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAS,KAAM,CAAC,GAAG,CAAC,CAAC;KAC9D;CACJ;AAED,OAAO,EAAE,KAAK,EAAE,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nimport * as GLTF1 from \"loaders/glTF/1.0/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};\r\n (<any>globalObject).BABYLON.GLTF1 = (<any>globalObject).BABYLON.GLTF1 || {};\r\n for (const key in GLTF1) {\r\n (<any>globalObject).BABYLON.GLTF1[key] = (<any>GLTF1)[key];\r\n }\r\n}\r\n\r\nexport { GLTF1 };\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTF1FileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/generated/legacy/legacy-glTF1FileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\nexport * from \"./legacy-glTF\";\nexport * from \"./legacy-glTF1\";\n"]}
1
+ {"version":3,"file":"legacy-glTF1FileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy-glTF1FileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF1\";\r\n"]}
@@ -1,2 +1,2 @@
1
- import * as GLTF2 from "../glTF/2.0/index";
1
+ import * as GLTF2 from "../glTF/2.0/index.js";
2
2
  export { GLTF2 };
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTF2.js","sourceRoot":"","sources":["../../../../lts/loaders/generated/legacy/legacy-glTF2.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAC3C;;;GAGG;AACH,MAAM,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;IAC/B,YAAa,CAAC,OAAO,GAAS,YAAa,CAAC,OAAO,IAAI,EAAE,CAAC;IAChE,MAAM,OAAO,GAAS,YAAa,CAAC,OAAO,CAAC;IAC5C,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;IACpC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAClD,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;IACxE,MAAM,IAAI,GAAG,EAAE,CAAC;IAChB,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE;QAC1B,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IACD,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE;QAC1B,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IACD,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;QACrB,wBAAwB;QACxB,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;YACxB,SAAS;SACZ;QACD,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAS,KAAM,CAAC,GAAG,CAAC,CAAC;KAC1C;CACJ;AACD,OAAO,EAAE,KAAK,EAAE,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\nimport * as Extensions from \"../glTF/2.0/Extensions/index\";\nimport * as Interfaces from \"../glTF/2.0/glTFLoaderInterfaces\";\nimport * as GLTF2 from \"../glTF/2.0/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 (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};\n const BABYLON = (<any>globalObject).BABYLON;\n BABYLON.GLTF2 = BABYLON.GLTF2 || {};\n BABYLON.GLTF2.Loader = BABYLON.GLTF2.Loader || {};\n BABYLON.GLTF2.Loader.Extensions = BABYLON.GLTF2.Loader.Extensions || {};\n const keys = [];\n for (const key in Extensions) {\n BABYLON.GLTF2.Loader.Extensions[key] = (<any>Extensions)[key];\n keys.push(key);\n }\n for (const key in Interfaces) {\n BABYLON.GLTF2.Loader[key] = (<any>Interfaces)[key];\n keys.push(key);\n }\n for (const key in GLTF2) {\n // Prevent Reassignment.\n if (keys.indexOf(key) > -1) {\n continue;\n }\n BABYLON.GLTF2[key] = (<any>GLTF2)[key];\n }\n}\nexport { GLTF2 };\n"]}
1
+ {"version":3,"file":"legacy-glTF2.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy-glTF2.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,UAAU,wCAA0C;AAChE,OAAO,KAAK,UAAU,4CAA8C;AACpE,OAAO,KAAK,KAAK,6BAA+B;AAEhD;;;GAGG;AACH,MAAM,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;IAC/B,YAAa,CAAC,OAAO,GAAS,YAAa,CAAC,OAAO,IAAI,EAAE,CAAC;IAChE,MAAM,OAAO,GAAS,YAAa,CAAC,OAAO,CAAC;IAC5C,OAAO,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;IACpC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC;IAClD,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;IAExE,MAAM,IAAI,GAAG,EAAE,CAAC;IAChB,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE;QAC1B,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QAC9D,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IACD,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE;QAC1B,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAS,UAAW,CAAC,GAAG,CAAC,CAAC;QACnD,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KAClB;IAED,KAAK,MAAM,GAAG,IAAI,KAAK,EAAE;QACrB,wBAAwB;QACxB,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE;YACxB,SAAS;SACZ;QAED,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,GAAS,KAAM,CAAC,GAAG,CAAC,CAAC;KAC1C;CACJ;AAED,OAAO,EAAE,KAAK,EAAE,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nimport * as Extensions from \"loaders/glTF/2.0/Extensions/index\";\r\nimport * as Interfaces from \"loaders/glTF/2.0/glTFLoaderInterfaces\";\r\nimport * as GLTF2 from \"loaders/glTF/2.0/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n (<any>globalObject).BABYLON = (<any>globalObject).BABYLON || {};\r\n const BABYLON = (<any>globalObject).BABYLON;\r\n BABYLON.GLTF2 = BABYLON.GLTF2 || {};\r\n BABYLON.GLTF2.Loader = BABYLON.GLTF2.Loader || {};\r\n BABYLON.GLTF2.Loader.Extensions = BABYLON.GLTF2.Loader.Extensions || {};\r\n\r\n const keys = [];\r\n for (const key in Extensions) {\r\n BABYLON.GLTF2.Loader.Extensions[key] = (<any>Extensions)[key];\r\n keys.push(key);\r\n }\r\n for (const key in Interfaces) {\r\n BABYLON.GLTF2.Loader[key] = (<any>Interfaces)[key];\r\n keys.push(key);\r\n }\r\n\r\n for (const key in GLTF2) {\r\n // Prevent Reassignment.\r\n if (keys.indexOf(key) > -1) {\r\n continue;\r\n }\r\n\r\n BABYLON.GLTF2[key] = (<any>GLTF2)[key];\r\n }\r\n}\r\n\r\nexport { GLTF2 };\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTF2FileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/generated/legacy/legacy-glTF2FileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\nexport * from \"./legacy-glTF\";\nexport * from \"./legacy-glTF2\";\n"]}
1
+ {"version":3,"file":"legacy-glTF2FileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy-glTF2FileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF2\";\r\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-glTFFileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/generated/legacy/legacy-glTFFileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\nexport * from \"./legacy-glTF\";\nexport * from \"./legacy-glTF1\";\nexport * from \"./legacy-glTF2\";\n"]}
1
+ {"version":3,"file":"legacy-glTFFileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy-glTFFileLoader.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC","sourcesContent":["// eslint-disable-next-line import/export\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF1\";\r\nexport * from \"./legacy-glTF2\";\r\n"]}
@@ -1 +1 @@
1
- export * from "../OBJ/index";
1
+ 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,MAAM,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,MAAM,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"]}
1
+ {"version":3,"file":"legacy-objFileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy-objFileLoader.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,OAAO,wBAA0B;AAE7C;;;GAGG;AACH,MAAM,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,MAAM,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;AAED,gCAAkC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nimport * as Loaders from \"loaders/OBJ/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in Loaders) {\r\n if (!(<any>globalObject).BABYLON[key]) {\r\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\r\n }\r\n }\r\n}\r\n\r\nexport * from \"loaders/OBJ/index\";\r\n"]}
@@ -1 +1 @@
1
- export * from "../STL/index";
1
+ 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,MAAM,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,MAAM,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"]}
1
+ {"version":3,"file":"legacy-stlFileLoader.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy-stlFileLoader.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,OAAO,KAAK,OAAO,wBAA0B;AAE7C;;;GAGG;AACH,MAAM,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,MAAM,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;AAED,gCAAkC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nimport * as Loaders from \"loaders/STL/index\";\r\n\r\n/**\r\n * This is the entry point for the UMD module.\r\n * The entry point for a future ESM package should be index.ts\r\n */\r\nconst globalObject = typeof global !== \"undefined\" ? global : typeof window !== \"undefined\" ? window : undefined;\r\nif (typeof globalObject !== \"undefined\") {\r\n for (const key in Loaders) {\r\n if (!(<any>globalObject).BABYLON[key]) {\r\n (<any>globalObject).BABYLON[key] = (<any>Loaders)[key];\r\n }\r\n }\r\n}\r\n\r\nexport * from \"loaders/STL/index\";\r\n"]}
@@ -1,4 +1,4 @@
1
- export * from "../index";
1
+ export * from "../index.js";
2
2
  export * from "./legacy-glTF";
3
3
  export * from "./legacy-glTF1";
4
4
  export * from "./legacy-glTF2";
@@ -1 +1 @@
1
- {"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../../lts/loaders/generated/legacy/legacy.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,+CAA+C;AAC/C,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC","sourcesContent":["/* eslint-disable import/export */\n/* eslint-disable import/no-internal-modules */\nexport * from \"../index\";\nexport * from \"./legacy-glTF\";\nexport * from \"./legacy-glTF1\";\nexport * from \"./legacy-glTF2\";\nexport * from \"./legacy-objFileLoader\";\nexport * from \"./legacy-stlFileLoader\";\n"]}
1
+ {"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../../lts/loaders/src/legacy/legacy.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,+CAA+C;AAC/C,4BAA8B;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC","sourcesContent":["/* eslint-disable import/export */\r\n/* eslint-disable import/no-internal-modules */\r\nexport * from \"loaders/index\";\r\nexport * from \"./legacy-glTF\";\r\nexport * from \"./legacy-glTF1\";\r\nexport * from \"./legacy-glTF2\";\r\nexport * from \"./legacy-objFileLoader\";\r\nexport * from \"./legacy-stlFileLoader\";\r\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/loaders",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "types": "index.d.ts",
@@ -13,15 +13,15 @@
13
13
  ],
14
14
  "scripts": {
15
15
  "build": "npm run clean && npm run compile",
16
- "clean": "rimraf dist && rimraf *.tsbuildinfo && rimraf \"./**/*.!(md|json|build.json)\"",
17
- "compile": "tsc -b tsconfig.build.json",
16
+ "clean": "rimraf dist && rimraf *.tsbuildinfo && rimraf \"./**/*.!(md|json|build.json|lts.json)\"",
17
+ "compile": "tsc -b tsconfig.build.json && tsc -b tsconfig.lts.json",
18
18
  "postcompile": "build-tools -c add-js-to-es6"
19
19
  },
20
20
  "devDependencies": {
21
- "@babylonjs/core": "^6.10.0",
21
+ "@babylonjs/core": "^6.11.0",
22
22
  "@dev/build-tools": "^1.0.0",
23
23
  "@lts/loaders": "^1.0.0",
24
- "babylonjs-gltf2interface": "^6.10.0"
24
+ "babylonjs-gltf2interface": "^6.11.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@babylonjs/core": "^6.0.0",