@opentui/core 0.3.3 → 0.4.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.
Files changed (42) hide show
  1. package/NativeSpanFeed.d.ts +4 -0
  2. package/{index-mn090kzf.js → index-59t85rvq.js} +3153 -2503
  3. package/index-59t85rvq.js.map +84 -0
  4. package/index.js +11256 -77
  5. package/index.js.map +29 -3
  6. package/lib/selection.d.ts +2 -1
  7. package/lib/singleton.d.ts +1 -0
  8. package/lib/tree-sitter/client.d.ts +17 -1
  9. package/lib/tree-sitter/index.d.ts +1 -0
  10. package/lib/tree-sitter/types.d.ts +104 -1
  11. package/lib/tree-sitter/update-assets.js +8 -6
  12. package/lib/tree-sitter/update-assets.js.map +3 -3
  13. package/package.json +27 -34
  14. package/parser.worker.js +452 -78
  15. package/parser.worker.js.map +8 -7
  16. package/platform/ffi.d.ts +6 -3
  17. package/platform/test.d.ts +12 -0
  18. package/platform/worker.d.ts +26 -4
  19. package/platform/worker.node-test.d.ts +1 -0
  20. package/renderables/Code.d.ts +4 -0
  21. package/renderables/Markdown.d.ts +1 -0
  22. package/runtime-plugin-support-configure.js +36 -18
  23. package/runtime-plugin-support-configure.js.map +1 -9
  24. package/runtime-plugin-support-configure.node.js +15 -0
  25. package/runtime-plugin-support.js +4 -19
  26. package/runtime-plugin-support.js.map +1 -10
  27. package/runtime-plugin-support.node.js +15 -0
  28. package/runtime-plugin.js +473 -16
  29. package/runtime-plugin.js.map +1 -9
  30. package/runtime-plugin.node.js +15 -0
  31. package/testing/bun-test-node.d.ts +87 -0
  32. package/testing/mock-tree-sitter-client.d.ts +4 -0
  33. package/testing.js +15 -9
  34. package/testing.js.map +3 -3
  35. package/zig.d.ts +1 -1
  36. package/index-jh82sd41.js +0 -44
  37. package/index-jh82sd41.js.map +0 -10
  38. package/index-mbck6rbg.js +0 -421
  39. package/index-mbck6rbg.js.map +0 -10
  40. package/index-mn090kzf.js.map +0 -84
  41. package/index-qndc8vq8.js +0 -11670
  42. package/index-qndc8vq8.js.map +0 -35
@@ -28,6 +28,8 @@ export declare class NativeSpanFeed {
28
28
  private inCallback;
29
29
  private closeQueued;
30
30
  private idleResolvers;
31
+ private pendingHandlerError;
32
+ private pendingHandlerErrorQueued;
31
33
  private constructor();
32
34
  private ensureDrainBuffer;
33
35
  onData(handler: DataHandler): () => void;
@@ -43,6 +45,8 @@ export declare class NativeSpanFeed {
43
45
  idle(): Promise<void>;
44
46
  private handleEvent;
45
47
  private decrementRefcount;
48
+ private queuePendingHandlerError;
49
+ private throwPendingHandlerError;
46
50
  private drainOnce;
47
51
  drainAll(): void;
48
52
  }