@simonklee/opentui-tex 0.2.0 → 0.3.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.
@@ -0,0 +1 @@
1
+ export declare const graphemeSegmenter: Intl.Segmenter;
@@ -44,7 +44,7 @@ export type MathNode = {
44
44
  } | {
45
45
  type: "operator";
46
46
  value: string;
47
- limits: boolean;
47
+ limits: boolean | "display";
48
48
  } | {
49
49
  type: "overunder";
50
50
  base: MathNode;
package/dist/native.js CHANGED
@@ -1,13 +1,14 @@
1
- import { createRequire } from "node:module";
2
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
1
+ import {
2
+ __require
3
+ } from "./chunk-v0bahtg2.js";
3
4
 
4
5
  // src/native/native-renderer.ts
5
6
  import { isMainThread } from "node:worker_threads";
6
7
  import { NativeImage } from "@opentui/core";
7
8
 
8
9
  // src/native/ffi.ts
9
- import { createRequire as createRequire2 } from "node:module";
10
- var require2 = createRequire2(import.meta.url);
10
+ import { createRequire } from "node:module";
11
+ var require2 = createRequire(import.meta.url);
11
12
  function openNativeLibrary(path) {
12
13
  if (globalThis.Bun) {
13
14
  const ffi2 = require2("bun:ffi");