@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.
- package/README.md +0 -13
- package/dist/index.cjs +11 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -14
- package/dist/index.js.map +1 -1
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.js +1 -1
- package/dist/{reactPlugin-yxgFjveE.cjs → reactPlugin-9aTetBnU.cjs} +2 -3
- package/dist/{reactPlugin-yxgFjveE.cjs.map → reactPlugin-9aTetBnU.cjs.map} +1 -1
- package/dist/{reactPlugin-DqJsInTf.js → reactPlugin-CQr7EBIP.js} +3 -4
- package/dist/{reactPlugin-DqJsInTf.js.map → reactPlugin-CQr7EBIP.js.map} +1 -1
- package/package.json +5 -8
- package/src/Runtime.tsx +6 -8
- package/src/devtools.ts +11 -15
- package/src/utils/getFunctionParams.ts +17 -23
|
@@ -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 =
|
|
17805
|
+
this.unsubscribeExit = onProcessExit((code) => {
|
|
17807
17806
|
this.unmount(code);
|
|
17808
|
-
}
|
|
17807
|
+
});
|
|
17809
17808
|
}
|
|
17810
17809
|
get fileManager() {
|
|
17811
17810
|
return _classPrivateFieldGet2(_options, this).fileManager;
|