@kubb/react-fabric 0.12.10 → 0.13.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.
@@ -1,8 +1,7 @@
1
1
  import { a as __toESM, r as __name, t as __commonJSMin } from "./chunk-DbZtQ4qb.js";
2
2
  import { t as require_react } from "./react--draJ5Pm.js";
3
3
  import { jsx } from "./jsx-runtime.js";
4
- import { NodeTreeContext, RootContext, TreeNode, provide, renderIndent } from "@kubb/fabric-core";
5
- import { onExit } from "signal-exit";
4
+ import { NodeTreeContext, RootContext, TreeNode, onProcessExit, provide, renderIndent } from "@kubb/fabric-core";
6
5
  import { definePlugin } from "@kubb/fabric-core/plugins";
7
6
  import process$1 from "node:process";
8
7
  import { createExport, createImport, print } from "@kubb/fabric-core/parsers/typescript";
@@ -17803,9 +17802,9 @@ var Runtime = class {
17803
17802
  const logRecoverableError = typeof reportError === "function" ? reportError : console.error;
17804
17803
  const rootTag = import_constants.ConcurrentRoot;
17805
17804
  _classPrivateFieldSet2(_container, this, Renderer.createContainer(_classPrivateFieldGet2(_rootNode, this), rootTag, null, false, false, "id", logRecoverableError, logRecoverableError, logRecoverableError, null));
17806
- this.unsubscribeExit = onExit((code) => {
17805
+ this.unsubscribeExit = onProcessExit((code) => {
17807
17806
  this.unmount(code);
17808
- }, { alwaysLast: false }).bind(this);
17807
+ });
17809
17808
  }
17810
17809
  get fileManager() {
17811
17810
  return _classPrivateFieldGet2(_options, this).fileManager;