@opentui/core 0.1.85 → 0.1.87

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/3d.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  __export,
7
7
  __require,
8
8
  __toESM
9
- } from "./index-2yz42vd4.js";
9
+ } from "./index-0wbvecnk.js";
10
10
 
11
11
  // ../../node_modules/.bun/omggif@1.0.10/node_modules/omggif/omggif.js
12
12
  var require_omggif = __commonJS((exports) => {
@@ -32176,11 +32176,12 @@ class ThreeRenderable extends Renderable {
32176
32176
  }
32177
32177
  }
32178
32178
  // src/3d/TextureUtils.ts
32179
+ import { readFile as readFile2 } from "fs/promises";
32179
32180
  import { Color as Color2, DataTexture, NearestFilter, ClampToEdgeWrapping, RGBAFormat, UnsignedByteType } from "three";
32180
32181
  class TextureUtils {
32181
32182
  static async loadTextureFromFile(path) {
32182
32183
  try {
32183
- const buffer = await Bun.file(path).arrayBuffer();
32184
+ const buffer = await readFile2(path);
32184
32185
  const image2 = await Jimp.read(buffer);
32185
32186
  image2.flip({ horizontal: false, vertical: true });
32186
32187
  const texture = new DataTexture(image2.bitmap.data, image2.bitmap.width, image2.bitmap.height, RGBAFormat, UnsignedByteType);
@@ -34037,5 +34038,5 @@ export {
34037
34038
  CLICanvas
34038
34039
  };
34039
34040
 
34040
- //# debugId=A658FFDC4E7D1D3B64756E2164756E21
34041
+ //# debugId=A1DB4608951A660F64756E2164756E21
34041
34042
  //# sourceMappingURL=3d.js.map