theokit 0.2.1 → 0.2.3

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 (86) hide show
  1. package/dist/{agent-events-lSIS9uYs.d.ts → agent-events-B3KNV9ER.d.ts} +1 -1
  2. package/dist/{app-typed-client-4L4L4BWD.js → app-typed-client-FOWJP534.js} +8 -16
  3. package/dist/app-typed-client-FOWJP534.js.map +1 -0
  4. package/dist/{app-typed-client-6PAT6VOL.js → app-typed-client-IMILAGER.js} +8 -16
  5. package/dist/app-typed-client-IMILAGER.js.map +1 -0
  6. package/dist/{aws-lambda-PONVF3UX.js → aws-lambda-XYCGZH3I.js} +2 -2
  7. package/dist/{build-EWZDEDT3.js → build-KRSHWXMJ.js} +9 -8
  8. package/dist/build-KRSHWXMJ.js.map +1 -0
  9. package/dist/{bun-DITMZMKL.js → bun-K73TQEWC.js} +2 -2
  10. package/dist/{chunk-M23FP2AS.js → chunk-64JI5LTO.js} +1 -1
  11. package/dist/{chunk-M23FP2AS.js.map → chunk-64JI5LTO.js.map} +1 -1
  12. package/dist/{chunk-OJHO2X7C.js → chunk-CZM6WWWS.js} +1 -1
  13. package/dist/{chunk-OJHO2X7C.js.map → chunk-CZM6WWWS.js.map} +1 -1
  14. package/dist/{chunk-TFECHXR5.js → chunk-F7RLPDXW.js} +25 -25
  15. package/dist/{chunk-TFECHXR5.js.map → chunk-F7RLPDXW.js.map} +1 -1
  16. package/dist/{chunk-4W447H7M.js → chunk-RIBIAL7A.js} +26 -26
  17. package/dist/{chunk-4W447H7M.js.map → chunk-RIBIAL7A.js.map} +1 -1
  18. package/dist/{chunk-C27AZN46.js → chunk-TPCT3MXV.js} +1 -1
  19. package/dist/{chunk-C27AZN46.js.map → chunk-TPCT3MXV.js.map} +1 -1
  20. package/dist/{chunk-ZBWROIIO.js → chunk-X4JAX2U3.js} +3 -3
  21. package/dist/{chunk-ZBWROIIO.js.map → chunk-X4JAX2U3.js.map} +1 -1
  22. package/dist/{chunk-MG7H3LAW.js → chunk-XP7YXRHO.js} +2 -2
  23. package/dist/{chunk-Y5KE6YFP.js → chunk-ZJW5FFYJ.js} +3 -3
  24. package/dist/chunk-ZJW5FFYJ.js.map +1 -0
  25. package/dist/cli/index.js +7 -7
  26. package/dist/client/index.d.ts +2 -2
  27. package/dist/{cloudflare-RBANU3SE.js → cloudflare-LCAOTRYZ.js} +2 -2
  28. package/dist/{deno-deploy-J7LI6HNL.js → deno-deploy-ZN4RE5HF.js} +2 -2
  29. package/dist/{dev-74KPI5C5.js → dev-UZJVBUF3.js} +5 -5
  30. package/dist/{dev-74KPI5C5.js.map → dev-UZJVBUF3.js.map} +1 -1
  31. package/dist/{dist-R2Q7GVDW.js → dist-E6BL4ZVY.js} +9 -9
  32. package/dist/dist-E6BL4ZVY.js.map +1 -0
  33. package/dist/index.d.ts +2 -2
  34. package/dist/index.js +2 -2
  35. package/dist/{info-VM7EK4JC.js → info-FJ4NXKTB.js} +3 -3
  36. package/dist/{lib-NST3PNZX.js → lib-NL5JXGEB.js} +31 -31
  37. package/dist/lib-NL5JXGEB.js.map +1 -0
  38. package/dist/{netlify-IFY6ZGFV.js → netlify-5VQ22Z2P.js} +2 -2
  39. package/dist/{node-KWZI3CKV.js → node-3APTLGWB.js} +2 -2
  40. package/dist/{openapi-CBASKC7W.js → openapi-ILYEJ6OR.js} +3 -3
  41. package/dist/{proper-lockfile-MVKMQGFK.js → proper-lockfile-4Y3DP3RP.js} +27 -27
  42. package/dist/proper-lockfile-4Y3DP3RP.js.map +1 -0
  43. package/dist/registry-5QFTLOL2.js +25 -0
  44. package/dist/{routes-7O4NUDYS.js → routes-IGT42JJO.js} +3 -3
  45. package/dist/{schema-JAKF23GR.js → schema-VR6YNVLQ.js} +2 -2
  46. package/dist/server/cost/index.d.ts +1 -1
  47. package/dist/server/cost/index.js +1 -1
  48. package/dist/server/index.d.ts +12 -12
  49. package/dist/server/index.js +5 -5
  50. package/dist/server/index.js.map +1 -1
  51. package/dist/{sqlite-vec-54KB4RD3.js → sqlite-vec-ARPNUBWT.js} +2 -2
  52. package/dist/sqlite-vec-ARPNUBWT.js.map +1 -0
  53. package/dist/{start-5JTFWF4T.js → start-UX2IPPSH.js} +7 -7
  54. package/dist/{start-5JTFWF4T.js.map → start-UX2IPPSH.js.map} +1 -1
  55. package/dist/{static-6PZZBY7G.js → static-TZBVBDTB.js} +2 -2
  56. package/dist/{upgrade-readiness-Q46KTG2J.js → upgrade-readiness-GUJBCJIS.js} +5 -5
  57. package/dist/{upgrade-readiness-Q46KTG2J.js.map → upgrade-readiness-GUJBCJIS.js.map} +1 -1
  58. package/dist/{vercel-RHADE5IP.js → vercel-MWW24ABC.js} +2 -2
  59. package/dist/vite-plugin/index.d.ts +2 -2
  60. package/dist/vite-plugin/index.js +2 -2
  61. package/dist/{vite-plugin-3EQP2JYM.js → vite-plugin-FTYXDKKG.js} +5 -5
  62. package/package.json +4 -4
  63. package/dist/app-typed-client-4L4L4BWD.js.map +0 -1
  64. package/dist/app-typed-client-6PAT6VOL.js.map +0 -1
  65. package/dist/build-EWZDEDT3.js.map +0 -1
  66. package/dist/chunk-Y5KE6YFP.js.map +0 -1
  67. package/dist/dist-R2Q7GVDW.js.map +0 -1
  68. package/dist/lib-NST3PNZX.js.map +0 -1
  69. package/dist/proper-lockfile-MVKMQGFK.js.map +0 -1
  70. package/dist/registry-QGSNLJKJ.js +0 -25
  71. package/dist/sqlite-vec-54KB4RD3.js.map +0 -1
  72. /package/dist/{aws-lambda-PONVF3UX.js.map → aws-lambda-XYCGZH3I.js.map} +0 -0
  73. /package/dist/{bun-DITMZMKL.js.map → bun-K73TQEWC.js.map} +0 -0
  74. /package/dist/{chunk-MG7H3LAW.js.map → chunk-XP7YXRHO.js.map} +0 -0
  75. /package/dist/{cloudflare-RBANU3SE.js.map → cloudflare-LCAOTRYZ.js.map} +0 -0
  76. /package/dist/{deno-deploy-J7LI6HNL.js.map → deno-deploy-ZN4RE5HF.js.map} +0 -0
  77. /package/dist/{info-VM7EK4JC.js.map → info-FJ4NXKTB.js.map} +0 -0
  78. /package/dist/{netlify-IFY6ZGFV.js.map → netlify-5VQ22Z2P.js.map} +0 -0
  79. /package/dist/{node-KWZI3CKV.js.map → node-3APTLGWB.js.map} +0 -0
  80. /package/dist/{openapi-CBASKC7W.js.map → openapi-ILYEJ6OR.js.map} +0 -0
  81. /package/dist/{registry-QGSNLJKJ.js.map → registry-5QFTLOL2.js.map} +0 -0
  82. /package/dist/{routes-7O4NUDYS.js.map → routes-IGT42JJO.js.map} +0 -0
  83. /package/dist/{schema-JAKF23GR.js.map → schema-VR6YNVLQ.js.map} +0 -0
  84. /package/dist/{static-6PZZBY7G.js.map → static-TZBVBDTB.js.map} +0 -0
  85. /package/dist/{vercel-RHADE5IP.js.map → vercel-MWW24ABC.js.map} +0 -0
  86. /package/dist/{vite-plugin-3EQP2JYM.js.map → vite-plugin-FTYXDKKG.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -286,7 +286,7 @@ declare const theoConfigSchema: z.ZodEffects<z.ZodObject<{
286
286
  logger?: unknown;
287
287
  }>>;
288
288
  /** TheoUI auto-wire (T2.1). `false` = opt-out; object = explicit theme/fonts;
289
- * undefined = enabled when @usetheo/ui is detected in node_modules. */
289
+ * undefined = enabled when @theokit/ui is detected in node_modules. */
290
290
  ui: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
291
291
  theme: z.ZodOptional<z.ZodEnum<["violet-forge", "noir", "paper"]>>;
292
292
  fonts: z.ZodOptional<z.ZodEnum<["bundled", "cdn"]>>;
@@ -415,7 +415,7 @@ declare const theoConfigSchema: z.ZodEffects<z.ZodObject<{
415
415
  /**
416
416
  * Extra package names to pre-bundle via Vite's `optimizeDeps.include`.
417
417
  *
418
- * Framework auto-includes `@usetheo/ui` and `lucide-react` when present.
418
+ * Framework auto-includes `@theokit/ui` and `lucide-react` when present.
419
419
  * Apps adding plugin peer-deps that rely on a runtime `import('<pkg>')`
420
420
  * (dynamic specifier) — e.g. `@theokit/plugin-canvas` consumers
421
421
  * installing `mermaid` for Mermaid SVG rendering — must declare those
package/dist/index.js CHANGED
@@ -8,10 +8,10 @@ import {
8
8
  scanRoutes,
9
9
  theoConfigSchema,
10
10
  theoPlugin
11
- } from "./chunk-4W447H7M.js";
11
+ } from "./chunk-RIBIAL7A.js";
12
12
  import "./chunk-7BIM27LV.js";
13
13
  import "./chunk-O4BLVPML.js";
14
- import "./chunk-OJHO2X7C.js";
14
+ import "./chunk-CZM6WWWS.js";
15
15
  import "./chunk-2BQYEBCK.js";
16
16
  import "./chunk-7DHGV77J.js";
17
17
  import "./chunk-PB4GR7EP.js";
@@ -2,8 +2,8 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  loadConfig
5
- } from "./chunk-MG7H3LAW.js";
6
- import "./chunk-ZBWROIIO.js";
5
+ } from "./chunk-XP7YXRHO.js";
6
+ import "./chunk-X4JAX2U3.js";
7
7
  import {
8
8
  scanRoutes
9
9
  } from "./chunk-O7335ZGH.js";
@@ -101,4 +101,4 @@ export {
101
101
  buildInfo,
102
102
  infoCommand
103
103
  };
104
- //# sourceMappingURL=info-VM7EK4JC.js.map
104
+ //# sourceMappingURL=info-FJ4NXKTB.js.map
@@ -5,9 +5,9 @@ import {
5
5
  __require
6
6
  } from "./chunk-KT3MWNZG.js";
7
7
 
8
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js
8
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js
9
9
  var require_util = __commonJS({
10
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js"(exports) {
10
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js"(exports) {
11
11
  "use strict";
12
12
  exports.getBooleanOption = (options, key) => {
13
13
  let value = false;
@@ -21,9 +21,9 @@ var require_util = __commonJS({
21
21
  }
22
22
  });
23
23
 
24
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js
24
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js
25
25
  var require_sqlite_error = __commonJS({
26
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js"(exports, module) {
26
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js"(exports, module) {
27
27
  "use strict";
28
28
  var descriptor = { value: "SqliteError", writable: true, enumerable: false, configurable: true };
29
29
  function SqliteError(message, code) {
@@ -46,9 +46,9 @@ var require_sqlite_error = __commonJS({
46
46
  }
47
47
  });
48
48
 
49
- // ../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js
49
+ // ../../../theokit-plugins/node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js
50
50
  var require_file_uri_to_path = __commonJS({
51
- "../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js"(exports, module) {
51
+ "../../../theokit-plugins/node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js"(exports, module) {
52
52
  "use strict";
53
53
  var sep = __require("path").sep || "/";
54
54
  module.exports = fileUriToPath;
@@ -77,9 +77,9 @@ var require_file_uri_to_path = __commonJS({
77
77
  }
78
78
  });
79
79
 
80
- // ../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js
80
+ // ../../../theokit-plugins/node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js
81
81
  var require_bindings = __commonJS({
82
- "../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js"(exports, module) {
82
+ "../../../theokit-plugins/node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js"(exports, module) {
83
83
  "use strict";
84
84
  var fs = __require("fs");
85
85
  var path = __require("path");
@@ -220,9 +220,9 @@ var require_bindings = __commonJS({
220
220
  }
221
221
  });
222
222
 
223
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js
223
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js
224
224
  var require_wrappers = __commonJS({
225
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js"(exports) {
225
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js"(exports) {
226
226
  "use strict";
227
227
  var { cppdb } = require_util();
228
228
  exports.prepare = function prepare(sql) {
@@ -283,9 +283,9 @@ var require_wrappers = __commonJS({
283
283
  }
284
284
  });
285
285
 
286
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js
286
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js
287
287
  var require_transaction = __commonJS({
288
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js"(exports, module) {
288
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js"(exports, module) {
289
289
  "use strict";
290
290
  var { cppdb } = require_util();
291
291
  var controllers = /* @__PURE__ */ new WeakMap();
@@ -356,9 +356,9 @@ var require_transaction = __commonJS({
356
356
  }
357
357
  });
358
358
 
359
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js
359
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js
360
360
  var require_pragma = __commonJS({
361
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js"(exports, module) {
361
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js"(exports, module) {
362
362
  "use strict";
363
363
  var { getBooleanOption, cppdb } = require_util();
364
364
  module.exports = function pragma(source, options) {
@@ -372,9 +372,9 @@ var require_pragma = __commonJS({
372
372
  }
373
373
  });
374
374
 
375
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js
375
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js
376
376
  var require_backup = __commonJS({
377
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js"(exports, module) {
377
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js"(exports, module) {
378
378
  "use strict";
379
379
  var fs = __require("fs");
380
380
  var path = __require("path");
@@ -433,9 +433,9 @@ var require_backup = __commonJS({
433
433
  }
434
434
  });
435
435
 
436
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js
436
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js
437
437
  var require_serialize = __commonJS({
438
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js"(exports, module) {
438
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js"(exports, module) {
439
439
  "use strict";
440
440
  var { cppdb } = require_util();
441
441
  module.exports = function serialize(options) {
@@ -449,9 +449,9 @@ var require_serialize = __commonJS({
449
449
  }
450
450
  });
451
451
 
452
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js
452
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js
453
453
  var require_function = __commonJS({
454
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js"(exports, module) {
454
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js"(exports, module) {
455
455
  "use strict";
456
456
  var { getBooleanOption, cppdb } = require_util();
457
457
  module.exports = function defineFunction(name, options, fn) {
@@ -480,9 +480,9 @@ var require_function = __commonJS({
480
480
  }
481
481
  });
482
482
 
483
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js
483
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js
484
484
  var require_aggregate = __commonJS({
485
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js"(exports, module) {
485
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js"(exports, module) {
486
486
  "use strict";
487
487
  var { getBooleanOption, cppdb } = require_util();
488
488
  module.exports = function defineAggregate(name, options) {
@@ -520,9 +520,9 @@ var require_aggregate = __commonJS({
520
520
  }
521
521
  });
522
522
 
523
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js
523
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js
524
524
  var require_table = __commonJS({
525
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js"(exports, module) {
525
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js"(exports, module) {
526
526
  "use strict";
527
527
  var { cppdb } = require_util();
528
528
  module.exports = function defineTable(name, factory) {
@@ -682,9 +682,9 @@ var require_table = __commonJS({
682
682
  }
683
683
  });
684
684
 
685
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js
685
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js
686
686
  var require_inspect = __commonJS({
687
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js"(exports, module) {
687
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js"(exports, module) {
688
688
  "use strict";
689
689
  var DatabaseInspection = function Database() {
690
690
  };
@@ -694,9 +694,9 @@ var require_inspect = __commonJS({
694
694
  }
695
695
  });
696
696
 
697
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js
697
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js
698
698
  var require_database = __commonJS({
699
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js"(exports, module) {
699
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js"(exports, module) {
700
700
  "use strict";
701
701
  var fs = __require("fs");
702
702
  var path = __require("path");
@@ -770,12 +770,12 @@ var require_database = __commonJS({
770
770
  }
771
771
  });
772
772
 
773
- // ../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js
773
+ // ../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js
774
774
  var require_lib = __commonJS({
775
- "../../node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js"(exports, module) {
775
+ "../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js"(exports, module) {
776
776
  module.exports = require_database();
777
777
  module.exports.SqliteError = require_sqlite_error();
778
778
  }
779
779
  });
780
780
  export default require_lib();
781
- //# sourceMappingURL=lib-NST3PNZX.js.map
781
+ //# sourceMappingURL=lib-NL5JXGEB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/util.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../theokit-plugins/node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../theokit-plugins/node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/backup.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/function.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/table.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/database.js","../../../../theokit-plugins/node_modules/.pnpm/better-sqlite3@12.10.0/node_modules/better-sqlite3/lib/index.js"],"sourcesContent":["'use strict';\n\nexports.getBooleanOption = (options, key) => {\n\tlet value = false;\n\tif (key in options && typeof (value = options[key]) !== 'boolean') {\n\t\tthrow new TypeError(`Expected the \"${key}\" option to be a boolean`);\n\t}\n\treturn value;\n};\n\nexports.cppdb = Symbol();\nexports.inspect = Symbol.for('nodejs.util.inspect.custom');\n","'use strict';\nconst descriptor = { value: 'SqliteError', writable: true, enumerable: false, configurable: true };\n\nfunction SqliteError(message, code) {\n\tif (new.target !== SqliteError) {\n\t\treturn new SqliteError(message, code);\n\t}\n\tif (typeof code !== 'string') {\n\t\tthrow new TypeError('Expected second argument to be a string');\n\t}\n\tError.call(this, message);\n\tdescriptor.value = '' + message;\n\tObject.defineProperty(this, 'message', descriptor);\n\tError.captureStackTrace(this, SqliteError);\n\tthis.code = code;\n}\nObject.setPrototypeOf(SqliteError, Error);\nObject.setPrototypeOf(SqliteError.prototype, Error.prototype);\nObject.defineProperty(SqliteError.prototype, 'name', descriptor);\nmodule.exports = SqliteError;\n","\n/**\n * Module dependencies.\n */\n\nvar sep = require('path').sep || '/';\n\n/**\n * Module exports.\n */\n\nmodule.exports = fileUriToPath;\n\n/**\n * File URI to Path function.\n *\n * @param {String} uri\n * @return {String} path\n * @api public\n */\n\nfunction fileUriToPath (uri) {\n if ('string' != typeof uri ||\n uri.length <= 7 ||\n 'file://' != uri.substring(0, 7)) {\n throw new TypeError('must pass in a file:// URI to convert to a file path');\n }\n\n var rest = decodeURI(uri.substring(7));\n var firstSlash = rest.indexOf('/');\n var host = rest.substring(0, firstSlash);\n var path = rest.substring(firstSlash + 1);\n\n // 2. Scheme Definition\n // As a special case, <host> can be the string \"localhost\" or the empty\n // string; this is interpreted as \"the machine from which the URL is\n // being interpreted\".\n if ('localhost' == host) host = '';\n\n if (host) {\n host = sep + sep + host;\n }\n\n // 3.2 Drives, drive letters, mount points, file system root\n // Drive letters are mapped into the top of a file URI in various ways,\n // depending on the implementation; some applications substitute\n // vertical bar (\"|\") for the colon after the drive letter, yielding\n // \"file:///c|/tmp/test.txt\". In some cases, the colon is left\n // unchanged, as in \"file:///c:/tmp/test.txt\". In other cases, the\n // colon is simply omitted, as in \"file:///c/tmp/test.txt\".\n path = path.replace(/^(.+)\\|/, '$1:');\n\n // for Windows, we need to invert the path separators from what a URI uses\n if (sep == '\\\\') {\n path = path.replace(/\\//g, '\\\\');\n }\n\n if (/^.+\\:/.test(path)) {\n // has Windows drive at beginning of path\n } else {\n // unix path…\n path = sep + path;\n }\n\n return host + path;\n}\n","/**\n * Module dependencies.\n */\n\nvar fs = require('fs'),\n path = require('path'),\n fileURLToPath = require('file-uri-to-path'),\n join = path.join,\n dirname = path.dirname,\n exists =\n (fs.accessSync &&\n function(path) {\n try {\n fs.accessSync(path);\n } catch (e) {\n return false;\n }\n return true;\n }) ||\n fs.existsSync ||\n path.existsSync,\n defaults = {\n arrow: process.env.NODE_BINDINGS_ARROW || ' → ',\n compiled: process.env.NODE_BINDINGS_COMPILED_DIR || 'compiled',\n platform: process.platform,\n arch: process.arch,\n nodePreGyp:\n 'node-v' +\n process.versions.modules +\n '-' +\n process.platform +\n '-' +\n process.arch,\n version: process.versions.node,\n bindings: 'bindings.node',\n try: [\n // node-gyp's linked version in the \"build\" dir\n ['module_root', 'build', 'bindings'],\n // node-waf and gyp_addon (a.k.a node-gyp)\n ['module_root', 'build', 'Debug', 'bindings'],\n ['module_root', 'build', 'Release', 'bindings'],\n // Debug files, for development (legacy behavior, remove for node v0.9)\n ['module_root', 'out', 'Debug', 'bindings'],\n ['module_root', 'Debug', 'bindings'],\n // Release files, but manually compiled (legacy behavior, remove for node v0.9)\n ['module_root', 'out', 'Release', 'bindings'],\n ['module_root', 'Release', 'bindings'],\n // Legacy from node-waf, node <= 0.4.x\n ['module_root', 'build', 'default', 'bindings'],\n // Production \"Release\" buildtype binary (meh...)\n ['module_root', 'compiled', 'version', 'platform', 'arch', 'bindings'],\n // node-qbs builds\n ['module_root', 'addon-build', 'release', 'install-root', 'bindings'],\n ['module_root', 'addon-build', 'debug', 'install-root', 'bindings'],\n ['module_root', 'addon-build', 'default', 'install-root', 'bindings'],\n // node-pre-gyp path ./lib/binding/{node_abi}-{platform}-{arch}\n ['module_root', 'lib', 'binding', 'nodePreGyp', 'bindings']\n ]\n };\n\n/**\n * The main `bindings()` function loads the compiled bindings for a given module.\n * It uses V8's Error API to determine the parent filename that this function is\n * being invoked from, which is then used to find the root directory.\n */\n\nfunction bindings(opts) {\n // Argument surgery\n if (typeof opts == 'string') {\n opts = { bindings: opts };\n } else if (!opts) {\n opts = {};\n }\n\n // maps `defaults` onto `opts` object\n Object.keys(defaults).map(function(i) {\n if (!(i in opts)) opts[i] = defaults[i];\n });\n\n // Get the module root\n if (!opts.module_root) {\n opts.module_root = exports.getRoot(exports.getFileName());\n }\n\n // Ensure the given bindings name ends with .node\n if (path.extname(opts.bindings) != '.node') {\n opts.bindings += '.node';\n }\n\n // https://github.com/webpack/webpack/issues/4175#issuecomment-342931035\n var requireFunc =\n typeof __webpack_require__ === 'function'\n ? __non_webpack_require__\n : require;\n\n var tries = [],\n i = 0,\n l = opts.try.length,\n n,\n b,\n err;\n\n for (; i < l; i++) {\n n = join.apply(\n null,\n opts.try[i].map(function(p) {\n return opts[p] || p;\n })\n );\n tries.push(n);\n try {\n b = opts.path ? requireFunc.resolve(n) : requireFunc(n);\n if (!opts.path) {\n b.path = n;\n }\n return b;\n } catch (e) {\n if (e.code !== 'MODULE_NOT_FOUND' &&\n e.code !== 'QUALIFIED_PATH_RESOLUTION_FAILED' &&\n !/not find/i.test(e.message)) {\n throw e;\n }\n }\n }\n\n err = new Error(\n 'Could not locate the bindings file. Tried:\\n' +\n tries\n .map(function(a) {\n return opts.arrow + a;\n })\n .join('\\n')\n );\n err.tries = tries;\n throw err;\n}\nmodule.exports = exports = bindings;\n\n/**\n * Gets the filename of the JavaScript file that invokes this function.\n * Used to help find the root directory of a module.\n * Optionally accepts an filename argument to skip when searching for the invoking filename\n */\n\nexports.getFileName = function getFileName(calling_file) {\n var origPST = Error.prepareStackTrace,\n origSTL = Error.stackTraceLimit,\n dummy = {},\n fileName;\n\n Error.stackTraceLimit = 10;\n\n Error.prepareStackTrace = function(e, st) {\n for (var i = 0, l = st.length; i < l; i++) {\n fileName = st[i].getFileName();\n if (fileName !== __filename) {\n if (calling_file) {\n if (fileName !== calling_file) {\n return;\n }\n } else {\n return;\n }\n }\n }\n };\n\n // run the 'prepareStackTrace' function above\n Error.captureStackTrace(dummy);\n dummy.stack;\n\n // cleanup\n Error.prepareStackTrace = origPST;\n Error.stackTraceLimit = origSTL;\n\n // handle filename that starts with \"file://\"\n var fileSchema = 'file://';\n if (fileName.indexOf(fileSchema) === 0) {\n fileName = fileURLToPath(fileName);\n }\n\n return fileName;\n};\n\n/**\n * Gets the root directory of a module, given an arbitrary filename\n * somewhere in the module tree. The \"root directory\" is the directory\n * containing the `package.json` file.\n *\n * In: /home/nate/node-native-module/lib/index.js\n * Out: /home/nate/node-native-module\n */\n\nexports.getRoot = function getRoot(file) {\n var dir = dirname(file),\n prev;\n while (true) {\n if (dir === '.') {\n // Avoids an infinite loop in rare cases, like the REPL\n dir = process.cwd();\n }\n if (\n exists(join(dir, 'package.json')) ||\n exists(join(dir, 'node_modules'))\n ) {\n // Found the 'package.json' file or 'node_modules' dir; we're done\n return dir;\n }\n if (prev === dir) {\n // Got to the top\n throw new Error(\n 'Could not find module root given file: \"' +\n file +\n '\". Do you have a `package.json` file? '\n );\n }\n // Try the parent dir next\n prev = dir;\n dir = join(dir, '..');\n }\n};\n","'use strict';\nconst { cppdb } = require('../util');\n\nexports.prepare = function prepare(sql) {\n\treturn this[cppdb].prepare(sql, this, false);\n};\n\nexports.exec = function exec(sql) {\n\tthis[cppdb].exec(sql);\n\treturn this;\n};\n\nexports.close = function close() {\n\tthis[cppdb].close();\n\treturn this;\n};\n\nexports.loadExtension = function loadExtension(...args) {\n\tthis[cppdb].loadExtension(...args);\n\treturn this;\n};\n\nexports.defaultSafeIntegers = function defaultSafeIntegers(...args) {\n\tthis[cppdb].defaultSafeIntegers(...args);\n\treturn this;\n};\n\nexports.unsafeMode = function unsafeMode(...args) {\n\tthis[cppdb].unsafeMode(...args);\n\treturn this;\n};\n\nexports.getters = {\n\tname: {\n\t\tget: function name() { return this[cppdb].name; },\n\t\tenumerable: true,\n\t},\n\topen: {\n\t\tget: function open() { return this[cppdb].open; },\n\t\tenumerable: true,\n\t},\n\tinTransaction: {\n\t\tget: function inTransaction() { return this[cppdb].inTransaction; },\n\t\tenumerable: true,\n\t},\n\treadonly: {\n\t\tget: function readonly() { return this[cppdb].readonly; },\n\t\tenumerable: true,\n\t},\n\tmemory: {\n\t\tget: function memory() { return this[cppdb].memory; },\n\t\tenumerable: true,\n\t},\n};\n","'use strict';\nconst { cppdb } = require('../util');\nconst controllers = new WeakMap();\n\nmodule.exports = function transaction(fn) {\n\tif (typeof fn !== 'function') throw new TypeError('Expected first argument to be a function');\n\n\tconst db = this[cppdb];\n\tconst controller = getController(db, this);\n\tconst { apply } = Function.prototype;\n\n\t// Each version of the transaction function has these same properties\n\tconst properties = {\n\t\tdefault: { value: wrapTransaction(apply, fn, db, controller.default) },\n\t\tdeferred: { value: wrapTransaction(apply, fn, db, controller.deferred) },\n\t\timmediate: { value: wrapTransaction(apply, fn, db, controller.immediate) },\n\t\texclusive: { value: wrapTransaction(apply, fn, db, controller.exclusive) },\n\t\tdatabase: { value: this, enumerable: true },\n\t};\n\n\tObject.defineProperties(properties.default.value, properties);\n\tObject.defineProperties(properties.deferred.value, properties);\n\tObject.defineProperties(properties.immediate.value, properties);\n\tObject.defineProperties(properties.exclusive.value, properties);\n\n\t// Return the default version of the transaction function\n\treturn properties.default.value;\n};\n\n// Return the database's cached transaction controller, or create a new one\nconst getController = (db, self) => {\n\tlet controller = controllers.get(db);\n\tif (!controller) {\n\t\tconst shared = {\n\t\t\tcommit: db.prepare('COMMIT', self, false),\n\t\t\trollback: db.prepare('ROLLBACK', self, false),\n\t\t\tsavepoint: db.prepare('SAVEPOINT `\\t_bs3.\\t`', self, false),\n\t\t\trelease: db.prepare('RELEASE `\\t_bs3.\\t`', self, false),\n\t\t\trollbackTo: db.prepare('ROLLBACK TO `\\t_bs3.\\t`', self, false),\n\t\t};\n\t\tcontrollers.set(db, controller = {\n\t\t\tdefault: Object.assign({ begin: db.prepare('BEGIN', self, false) }, shared),\n\t\t\tdeferred: Object.assign({ begin: db.prepare('BEGIN DEFERRED', self, false) }, shared),\n\t\t\timmediate: Object.assign({ begin: db.prepare('BEGIN IMMEDIATE', self, false) }, shared),\n\t\t\texclusive: Object.assign({ begin: db.prepare('BEGIN EXCLUSIVE', self, false) }, shared),\n\t\t});\n\t}\n\treturn controller;\n};\n\n// Return a new transaction function by wrapping the given function\nconst wrapTransaction = (apply, fn, db, { begin, commit, rollback, savepoint, release, rollbackTo }) => function sqliteTransaction() {\n\tlet before, after, undo;\n\tif (db.inTransaction) {\n\t\tbefore = savepoint;\n\t\tafter = release;\n\t\tundo = rollbackTo;\n\t} else {\n\t\tbefore = begin;\n\t\tafter = commit;\n\t\tundo = rollback;\n\t}\n\tbefore.run();\n\ttry {\n\t\tconst result = apply.call(fn, this, arguments);\n\t\tif (result && typeof result.then === 'function') {\n\t\t\tthrow new TypeError('Transaction function cannot return a promise');\n\t\t}\n\t\tafter.run();\n\t\treturn result;\n\t} catch (ex) {\n\t\tif (db.inTransaction) {\n\t\t\tundo.run();\n\t\t\tif (undo !== rollback) after.run();\n\t\t}\n\t\tthrow ex;\n\t}\n};\n","'use strict';\nconst { getBooleanOption, cppdb } = require('../util');\n\nmodule.exports = function pragma(source, options) {\n\tif (options == null) options = {};\n\tif (typeof source !== 'string') throw new TypeError('Expected first argument to be a string');\n\tif (typeof options !== 'object') throw new TypeError('Expected second argument to be an options object');\n\tconst simple = getBooleanOption(options, 'simple');\n\n\tconst stmt = this[cppdb].prepare(`PRAGMA ${source}`, this, true);\n\treturn simple ? stmt.pluck().get() : stmt.all();\n};\n","'use strict';\nconst fs = require('fs');\nconst path = require('path');\nconst { promisify } = require('util');\nconst { cppdb } = require('../util');\nconst fsAccess = promisify(fs.access);\n\nmodule.exports = async function backup(filename, options) {\n\tif (options == null) options = {};\n\n\t// Validate arguments\n\tif (typeof filename !== 'string') throw new TypeError('Expected first argument to be a string');\n\tif (typeof options !== 'object') throw new TypeError('Expected second argument to be an options object');\n\n\t// Interpret options\n\tfilename = filename.trim();\n\tconst attachedName = 'attached' in options ? options.attached : 'main';\n\tconst handler = 'progress' in options ? options.progress : null;\n\n\t// Validate interpreted options\n\tif (!filename) throw new TypeError('Backup filename cannot be an empty string');\n\tif (filename === ':memory:') throw new TypeError('Invalid backup filename \":memory:\"');\n\tif (typeof attachedName !== 'string') throw new TypeError('Expected the \"attached\" option to be a string');\n\tif (!attachedName) throw new TypeError('The \"attached\" option cannot be an empty string');\n\tif (handler != null && typeof handler !== 'function') throw new TypeError('Expected the \"progress\" option to be a function');\n\n\t// Make sure the specified directory exists\n\tawait fsAccess(path.dirname(filename)).catch(() => {\n\t\tthrow new TypeError('Cannot save backup because the directory does not exist');\n\t});\n\n\tconst isNewFile = await fsAccess(filename).then(() => false, () => true);\n\treturn runBackup(this[cppdb].backup(this, attachedName, filename, isNewFile), handler || null);\n};\n\nconst runBackup = (backup, handler) => {\n\tlet rate = 0;\n\tlet useDefault = true;\n\n\treturn new Promise((resolve, reject) => {\n\t\tsetImmediate(function step() {\n\t\t\ttry {\n\t\t\t\tconst progress = backup.transfer(rate);\n\t\t\t\tif (!progress.remainingPages) {\n\t\t\t\t\tbackup.close();\n\t\t\t\t\tresolve(progress);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (useDefault) {\n\t\t\t\t\tuseDefault = false;\n\t\t\t\t\trate = 100;\n\t\t\t\t}\n\t\t\t\tif (handler) {\n\t\t\t\t\tconst ret = handler(progress);\n\t\t\t\t\tif (ret !== undefined) {\n\t\t\t\t\t\tif (typeof ret === 'number' && ret === ret) rate = Math.max(0, Math.min(0x7fffffff, Math.round(ret)));\n\t\t\t\t\t\telse throw new TypeError('Expected progress callback to return a number or undefined');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetImmediate(step);\n\t\t\t} catch (err) {\n\t\t\t\tbackup.close();\n\t\t\t\treject(err);\n\t\t\t}\n\t\t});\n\t});\n};\n","'use strict';\nconst { cppdb } = require('../util');\n\nmodule.exports = function serialize(options) {\n\tif (options == null) options = {};\n\n\t// Validate arguments\n\tif (typeof options !== 'object') throw new TypeError('Expected first argument to be an options object');\n\n\t// Interpret and validate options\n\tconst attachedName = 'attached' in options ? options.attached : 'main';\n\tif (typeof attachedName !== 'string') throw new TypeError('Expected the \"attached\" option to be a string');\n\tif (!attachedName) throw new TypeError('The \"attached\" option cannot be an empty string');\n\n\treturn this[cppdb].serialize(attachedName);\n};\n","'use strict';\nconst { getBooleanOption, cppdb } = require('../util');\n\nmodule.exports = function defineFunction(name, options, fn) {\n\t// Apply defaults\n\tif (options == null) options = {};\n\tif (typeof options === 'function') { fn = options; options = {}; }\n\n\t// Validate arguments\n\tif (typeof name !== 'string') throw new TypeError('Expected first argument to be a string');\n\tif (typeof fn !== 'function') throw new TypeError('Expected last argument to be a function');\n\tif (typeof options !== 'object') throw new TypeError('Expected second argument to be an options object');\n\tif (!name) throw new TypeError('User-defined function name cannot be an empty string');\n\n\t// Interpret options\n\tconst safeIntegers = 'safeIntegers' in options ? +getBooleanOption(options, 'safeIntegers') : 2;\n\tconst deterministic = getBooleanOption(options, 'deterministic');\n\tconst directOnly = getBooleanOption(options, 'directOnly');\n\tconst varargs = getBooleanOption(options, 'varargs');\n\tlet argCount = -1;\n\n\t// Determine argument count\n\tif (!varargs) {\n\t\targCount = fn.length;\n\t\tif (!Number.isInteger(argCount) || argCount < 0) throw new TypeError('Expected function.length to be a positive integer');\n\t\tif (argCount > 100) throw new RangeError('User-defined functions cannot have more than 100 arguments');\n\t}\n\n\tthis[cppdb].function(fn, name, argCount, safeIntegers, deterministic, directOnly);\n\treturn this;\n};\n","'use strict';\nconst { getBooleanOption, cppdb } = require('../util');\n\nmodule.exports = function defineAggregate(name, options) {\n\t// Validate arguments\n\tif (typeof name !== 'string') throw new TypeError('Expected first argument to be a string');\n\tif (typeof options !== 'object' || options === null) throw new TypeError('Expected second argument to be an options object');\n\tif (!name) throw new TypeError('User-defined function name cannot be an empty string');\n\n\t// Interpret options\n\tconst start = 'start' in options ? options.start : null;\n\tconst step = getFunctionOption(options, 'step', true);\n\tconst inverse = getFunctionOption(options, 'inverse', false);\n\tconst result = getFunctionOption(options, 'result', false);\n\tconst safeIntegers = 'safeIntegers' in options ? +getBooleanOption(options, 'safeIntegers') : 2;\n\tconst deterministic = getBooleanOption(options, 'deterministic');\n\tconst directOnly = getBooleanOption(options, 'directOnly');\n\tconst varargs = getBooleanOption(options, 'varargs');\n\tlet argCount = -1;\n\n\t// Determine argument count\n\tif (!varargs) {\n\t\targCount = Math.max(getLength(step), inverse ? getLength(inverse) : 0);\n\t\tif (argCount > 0) argCount -= 1;\n\t\tif (argCount > 100) throw new RangeError('User-defined functions cannot have more than 100 arguments');\n\t}\n\n\tthis[cppdb].aggregate(start, step, inverse, result, name, argCount, safeIntegers, deterministic, directOnly);\n\treturn this;\n};\n\nconst getFunctionOption = (options, key, required) => {\n\tconst value = key in options ? options[key] : null;\n\tif (typeof value === 'function') return value;\n\tif (value != null) throw new TypeError(`Expected the \"${key}\" option to be a function`);\n\tif (required) throw new TypeError(`Missing required option \"${key}\"`);\n\treturn null;\n};\n\nconst getLength = ({ length }) => {\n\tif (Number.isInteger(length) && length >= 0) return length;\n\tthrow new TypeError('Expected function.length to be a positive integer');\n};\n","'use strict';\nconst { cppdb } = require('../util');\n\nmodule.exports = function defineTable(name, factory) {\n\t// Validate arguments\n\tif (typeof name !== 'string') throw new TypeError('Expected first argument to be a string');\n\tif (!name) throw new TypeError('Virtual table module name cannot be an empty string');\n\n\t// Determine whether the module is eponymous-only or not\n\tlet eponymous = false;\n\tif (typeof factory === 'object' && factory !== null) {\n\t\teponymous = true;\n\t\tfactory = defer(parseTableDefinition(factory, 'used', name));\n\t} else {\n\t\tif (typeof factory !== 'function') throw new TypeError('Expected second argument to be a function or a table definition object');\n\t\tfactory = wrapFactory(factory);\n\t}\n\n\tthis[cppdb].table(factory, name, eponymous);\n\treturn this;\n};\n\nfunction wrapFactory(factory) {\n\treturn function virtualTableFactory(moduleName, databaseName, tableName, ...args) {\n\t\tconst thisObject = {\n\t\t\tmodule: moduleName,\n\t\t\tdatabase: databaseName,\n\t\t\ttable: tableName,\n\t\t};\n\n\t\t// Generate a new table definition by invoking the factory\n\t\tconst def = apply.call(factory, thisObject, args);\n\t\tif (typeof def !== 'object' || def === null) {\n\t\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" did not return a table definition object`);\n\t\t}\n\n\t\treturn parseTableDefinition(def, 'returned', moduleName);\n\t};\n}\n\nfunction parseTableDefinition(def, verb, moduleName) {\n\t// Validate required properties\n\tif (!hasOwnProperty.call(def, 'rows')) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition without a \"rows\" property`);\n\t}\n\tif (!hasOwnProperty.call(def, 'columns')) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition without a \"columns\" property`);\n\t}\n\n\t// Validate \"rows\" property\n\tconst rows = def.rows;\n\tif (typeof rows !== 'function' || Object.getPrototypeOf(rows) !== GeneratorFunctionPrototype) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with an invalid \"rows\" property (should be a generator function)`);\n\t}\n\n\t// Validate \"columns\" property\n\tlet columns = def.columns;\n\tif (!Array.isArray(columns) || !(columns = [...columns]).every(x => typeof x === 'string')) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with an invalid \"columns\" property (should be an array of strings)`);\n\t}\n\tif (columns.length !== new Set(columns).size) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with duplicate column names`);\n\t}\n\tif (!columns.length) {\n\t\tthrow new RangeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with zero columns`);\n\t}\n\n\t// Validate \"parameters\" property\n\tlet parameters;\n\tif (hasOwnProperty.call(def, 'parameters')) {\n\t\tparameters = def.parameters;\n\t\tif (!Array.isArray(parameters) || !(parameters = [...parameters]).every(x => typeof x === 'string')) {\n\t\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with an invalid \"parameters\" property (should be an array of strings)`);\n\t\t}\n\t} else {\n\t\tparameters = inferParameters(rows);\n\t}\n\tif (parameters.length !== new Set(parameters).size) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with duplicate parameter names`);\n\t}\n\tif (parameters.length > 32) {\n\t\tthrow new RangeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with more than the maximum number of 32 parameters`);\n\t}\n\tfor (const parameter of parameters) {\n\t\tif (columns.includes(parameter)) {\n\t\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with column \"${parameter}\" which was ambiguously defined as both a column and parameter`);\n\t\t}\n\t}\n\n\t// Validate \"safeIntegers\" option\n\tlet safeIntegers = 2;\n\tif (hasOwnProperty.call(def, 'safeIntegers')) {\n\t\tconst bool = def.safeIntegers;\n\t\tif (typeof bool !== 'boolean') {\n\t\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with an invalid \"safeIntegers\" property (should be a boolean)`);\n\t\t}\n\t\tsafeIntegers = +bool;\n\t}\n\n\t// Validate \"directOnly\" option\n\tlet directOnly = false;\n\tif (hasOwnProperty.call(def, 'directOnly')) {\n\t\tdirectOnly = def.directOnly;\n\t\tif (typeof directOnly !== 'boolean') {\n\t\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" ${verb} a table definition with an invalid \"directOnly\" property (should be a boolean)`);\n\t\t}\n\t}\n\n\t// Generate SQL for the virtual table definition\n\tconst columnDefinitions = [\n\t\t...parameters.map(identifier).map(str => `${str} HIDDEN`),\n\t\t...columns.map(identifier),\n\t];\n\treturn [\n\t\t`CREATE TABLE x(${columnDefinitions.join(', ')});`,\n\t\twrapGenerator(rows, new Map(columns.map((x, i) => [x, parameters.length + i])), moduleName),\n\t\tparameters,\n\t\tsafeIntegers,\n\t\tdirectOnly,\n\t];\n}\n\nfunction wrapGenerator(generator, columnMap, moduleName) {\n\treturn function* virtualTable(...args) {\n\t\t/*\n\t\t\tWe must defensively clone any buffers in the arguments, because\n\t\t\totherwise the generator could mutate one of them, which would cause\n\t\t\tus to return incorrect values for hidden columns, potentially\n\t\t\tcorrupting the database.\n\t\t */\n\t\tconst output = args.map(x => Buffer.isBuffer(x) ? Buffer.from(x) : x);\n\t\tfor (let i = 0; i < columnMap.size; ++i) {\n\t\t\toutput.push(null); // Fill with nulls to prevent gaps in array (v8 optimization)\n\t\t}\n\t\tfor (const row of generator(...args)) {\n\t\t\tif (Array.isArray(row)) {\n\t\t\t\textractRowArray(row, output, columnMap.size, moduleName);\n\t\t\t\tyield output;\n\t\t\t} else if (typeof row === 'object' && row !== null) {\n\t\t\t\textractRowObject(row, output, columnMap, moduleName);\n\t\t\t\tyield output;\n\t\t\t} else {\n\t\t\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" yielded something that isn't a valid row object`);\n\t\t\t}\n\t\t}\n\t};\n}\n\nfunction extractRowArray(row, output, columnCount, moduleName) {\n\tif (row.length !== columnCount) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" yielded a row with an incorrect number of columns`);\n\t}\n\tconst offset = output.length - columnCount;\n\tfor (let i = 0; i < columnCount; ++i) {\n\t\toutput[i + offset] = row[i];\n\t}\n}\n\nfunction extractRowObject(row, output, columnMap, moduleName) {\n\tlet count = 0;\n\tfor (const key of Object.keys(row)) {\n\t\tconst index = columnMap.get(key);\n\t\tif (index === undefined) {\n\t\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" yielded a row with an undeclared column \"${key}\"`);\n\t\t}\n\t\toutput[index] = row[key];\n\t\tcount += 1;\n\t}\n\tif (count !== columnMap.size) {\n\t\tthrow new TypeError(`Virtual table module \"${moduleName}\" yielded a row with missing columns`);\n\t}\n}\n\nfunction inferParameters({ length }) {\n\tif (!Number.isInteger(length) || length < 0) {\n\t\tthrow new TypeError('Expected function.length to be a positive integer');\n\t}\n\tconst params = [];\n\tfor (let i = 0; i < length; ++i) {\n\t\tparams.push(`$${i + 1}`);\n\t}\n\treturn params;\n}\n\nconst { hasOwnProperty } = Object.prototype;\nconst { apply } = Function.prototype;\nconst GeneratorFunctionPrototype = Object.getPrototypeOf(function*(){});\nconst identifier = str => `\"${str.replace(/\"/g, '\"\"')}\"`;\nconst defer = x => () => x;\n","'use strict';\nconst DatabaseInspection = function Database() {};\n\nmodule.exports = function inspect(depth, opts) {\n\treturn Object.assign(new DatabaseInspection(), this);\n};\n\n","'use strict';\nconst fs = require('fs');\nconst path = require('path');\nconst util = require('./util');\nconst SqliteError = require('./sqlite-error');\n\nlet DEFAULT_ADDON;\n\nfunction Database(filenameGiven, options) {\n\tif (new.target == null) {\n\t\treturn new Database(filenameGiven, options);\n\t}\n\n\t// Apply defaults\n\tlet buffer;\n\tif (Buffer.isBuffer(filenameGiven)) {\n\t\tbuffer = filenameGiven;\n\t\tfilenameGiven = ':memory:';\n\t}\n\tif (filenameGiven == null) filenameGiven = '';\n\tif (options == null) options = {};\n\n\t// Validate arguments\n\tif (typeof filenameGiven !== 'string') throw new TypeError('Expected first argument to be a string');\n\tif (typeof options !== 'object') throw new TypeError('Expected second argument to be an options object');\n\tif ('readOnly' in options) throw new TypeError('Misspelled option \"readOnly\" should be \"readonly\"');\n\tif ('memory' in options) throw new TypeError('Option \"memory\" was removed in v7.0.0 (use \":memory:\" filename instead)');\n\n\t// Interpret options\n\tconst filename = filenameGiven.trim();\n\tconst anonymous = filename === '' || filename === ':memory:';\n\tconst readonly = util.getBooleanOption(options, 'readonly');\n\tconst fileMustExist = util.getBooleanOption(options, 'fileMustExist');\n\tconst timeout = 'timeout' in options ? options.timeout : 5000;\n\tconst verbose = 'verbose' in options ? options.verbose : null;\n\tconst nativeBinding = 'nativeBinding' in options ? options.nativeBinding : null;\n\n\t// Validate interpreted options\n\tif (readonly && anonymous && !buffer) throw new TypeError('In-memory/temporary databases cannot be readonly');\n\tif (!Number.isInteger(timeout) || timeout < 0) throw new TypeError('Expected the \"timeout\" option to be a positive integer');\n\tif (timeout > 0x7fffffff) throw new RangeError('Option \"timeout\" cannot be greater than 2147483647');\n\tif (verbose != null && typeof verbose !== 'function') throw new TypeError('Expected the \"verbose\" option to be a function');\n\tif (nativeBinding != null && typeof nativeBinding !== 'string' && typeof nativeBinding !== 'object') throw new TypeError('Expected the \"nativeBinding\" option to be a string or addon object');\n\n\t// Load the native addon\n\tlet addon;\n\tif (nativeBinding == null) {\n\t\taddon = DEFAULT_ADDON || (DEFAULT_ADDON = require('bindings')('better_sqlite3.node'));\n\t} else if (typeof nativeBinding === 'string') {\n\t\t// See <https://webpack.js.org/api/module-variables/#__non_webpack_require__-webpack-specific>\n\t\tconst requireFunc = typeof __non_webpack_require__ === 'function' ? __non_webpack_require__ : require;\n\t\taddon = requireFunc(path.resolve(nativeBinding).replace(/(\\.node)?$/, '.node'));\n\t} else {\n\t\t// See <https://github.com/WiseLibs/better-sqlite3/issues/972>\n\t\taddon = nativeBinding;\n\t}\n\n\tif (!addon.isInitialized) {\n\t\taddon.setErrorConstructor(SqliteError);\n\t\taddon.isInitialized = true;\n\t}\n\n\t// Make sure the specified directory exists\n\tif (!anonymous && !filename.startsWith('file:') && !fs.existsSync(path.dirname(filename))) {\n\t\tthrow new TypeError('Cannot open database because the directory does not exist');\n\t}\n\n\tObject.defineProperties(this, {\n\t\t[util.cppdb]: { value: new addon.Database(filename, filenameGiven, anonymous, readonly, fileMustExist, timeout, verbose || null, buffer || null) },\n\t\t...wrappers.getters,\n\t});\n}\n\nconst wrappers = require('./methods/wrappers');\nDatabase.prototype.prepare = wrappers.prepare;\nDatabase.prototype.transaction = require('./methods/transaction');\nDatabase.prototype.pragma = require('./methods/pragma');\nDatabase.prototype.backup = require('./methods/backup');\nDatabase.prototype.serialize = require('./methods/serialize');\nDatabase.prototype.function = require('./methods/function');\nDatabase.prototype.aggregate = require('./methods/aggregate');\nDatabase.prototype.table = require('./methods/table');\nDatabase.prototype.loadExtension = wrappers.loadExtension;\nDatabase.prototype.exec = wrappers.exec;\nDatabase.prototype.close = wrappers.close;\nDatabase.prototype.defaultSafeIntegers = wrappers.defaultSafeIntegers;\nDatabase.prototype.unsafeMode = wrappers.unsafeMode;\nDatabase.prototype[util.inspect] = require('./methods/inspect');\n\nmodule.exports = Database;\n","'use strict';\nmodule.exports = require('./database');\nmodule.exports.SqliteError = require('./sqlite-error');\n"],"mappings":";;;;;;;;AAAA;AAAA;AAAA;AAEA,YAAQ,mBAAmB,CAAC,SAAS,QAAQ;AAC5C,UAAI,QAAQ;AACZ,UAAI,OAAO,WAAW,QAAQ,QAAQ,QAAQ,GAAG,OAAO,WAAW;AAClE,cAAM,IAAI,UAAU,iBAAiB,GAAG,0BAA0B;AAAA,MACnE;AACA,aAAO;AAAA,IACR;AAEA,YAAQ,QAAQ,uBAAO;AACvB,YAAQ,UAAU,uBAAO,IAAI,4BAA4B;AAAA;AAAA;;;ACXzD;AAAA;AAAA;AACA,QAAM,aAAa,EAAE,OAAO,eAAe,UAAU,MAAM,YAAY,OAAO,cAAc,KAAK;AAEjG,aAAS,YAAY,SAAS,MAAM;AACnC,UAAI,eAAe,aAAa;AAC/B,eAAO,IAAI,YAAY,SAAS,IAAI;AAAA,MACrC;AACA,UAAI,OAAO,SAAS,UAAU;AAC7B,cAAM,IAAI,UAAU,yCAAyC;AAAA,MAC9D;AACA,YAAM,KAAK,MAAM,OAAO;AACxB,iBAAW,QAAQ,KAAK;AACxB,aAAO,eAAe,MAAM,WAAW,UAAU;AACjD,YAAM,kBAA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 +2,7 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  nodeAdapter
5
- } from "./chunk-Y5KE6YFP.js";
5
+ } from "./chunk-ZJW5FFYJ.js";
6
6
  import {
7
7
  assertServicesUnsupported,
8
8
  readManifest
@@ -148,4 +148,4 @@ export {
148
148
  netlifyAdapter,
149
149
  renderNetlifyFunction
150
150
  };
151
- //# sourceMappingURL=netlify-IFY6ZGFV.js.map
151
+ //# sourceMappingURL=netlify-5VQ22Z2P.js.map
@@ -2,10 +2,10 @@
2
2
  import "tsx/esm";
3
3
  import {
4
4
  nodeAdapter
5
- } from "./chunk-Y5KE6YFP.js";
5
+ } from "./chunk-ZJW5FFYJ.js";
6
6
  import "./chunk-WZ7CPVQB.js";
7
7
  import "./chunk-KT3MWNZG.js";
8
8
  export {
9
9
  nodeAdapter
10
10
  };
11
- //# sourceMappingURL=node-KWZI3CKV.js.map
11
+ //# sourceMappingURL=node-3APTLGWB.js.map
@@ -6,8 +6,8 @@ import {
6
6
  } from "./chunk-ZOXNJV2O.js";
7
7
  import {
8
8
  loadConfig
9
- } from "./chunk-MG7H3LAW.js";
10
- import "./chunk-ZBWROIIO.js";
9
+ } from "./chunk-XP7YXRHO.js";
10
+ import "./chunk-X4JAX2U3.js";
11
11
  import "./chunk-WZ7CPVQB.js";
12
12
  import {
13
13
  generateManifest
@@ -81,4 +81,4 @@ function emitOpenApiInMemory(manifest, config) {
81
81
  export {
82
82
  openapiCommand
83
83
  };
84
- //# sourceMappingURL=openapi-CBASKC7W.js.map
84
+ //# sourceMappingURL=openapi-ILYEJ6OR.js.map
@@ -5,9 +5,9 @@ import {
5
5
  __require
6
6
  } from "./chunk-KT3MWNZG.js";
7
7
 
8
- // ../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
8
+ // ../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
9
9
  var require_polyfills = __commonJS({
10
- "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports, module) {
10
+ "../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports, module) {
11
11
  "use strict";
12
12
  var constants = __require("constants");
13
13
  var origCwd = process.cwd;
@@ -294,9 +294,9 @@ var require_polyfills = __commonJS({
294
294
  }
295
295
  });
296
296
 
297
- // ../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js
297
+ // ../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js
298
298
  var require_legacy_streams = __commonJS({
299
- "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports, module) {
299
+ "../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js"(exports, module) {
300
300
  "use strict";
301
301
  var Stream = __require("stream").Stream;
302
302
  module.exports = legacy;
@@ -391,9 +391,9 @@ var require_legacy_streams = __commonJS({
391
391
  }
392
392
  });
393
393
 
394
- // ../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js
394
+ // ../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js
395
395
  var require_clone = __commonJS({
396
- "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports, module) {
396
+ "../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js"(exports, module) {
397
397
  "use strict";
398
398
  module.exports = clone;
399
399
  var getPrototypeOf = Object.getPrototypeOf || function(obj) {
@@ -414,9 +414,9 @@ var require_clone = __commonJS({
414
414
  }
415
415
  });
416
416
 
417
- // ../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
417
+ // ../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js
418
418
  var require_graceful_fs = __commonJS({
419
- "../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports, module) {
419
+ "../../../theokit-plugins/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"(exports, module) {
420
420
  "use strict";
421
421
  var fs = __require("fs");
422
422
  var polyfills = require_polyfills();
@@ -785,9 +785,9 @@ var require_graceful_fs = __commonJS({
785
785
  }
786
786
  });
787
787
 
788
- // ../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry_operation.js
788
+ // ../../../theokit-plugins/node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry_operation.js
789
789
  var require_retry_operation = __commonJS({
790
- "../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry_operation.js"(exports, module) {
790
+ "../../../theokit-plugins/node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry_operation.js"(exports, module) {
791
791
  "use strict";
792
792
  function RetryOperation(timeouts, options) {
793
793
  if (typeof options === "boolean") {
@@ -917,9 +917,9 @@ var require_retry_operation = __commonJS({
917
917
  }
918
918
  });
919
919
 
920
- // ../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry.js
920
+ // ../../../theokit-plugins/node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry.js
921
921
  var require_retry = __commonJS({
922
- "../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry.js"(exports) {
922
+ "../../../theokit-plugins/node_modules/.pnpm/retry@0.12.0/node_modules/retry/lib/retry.js"(exports) {
923
923
  "use strict";
924
924
  var RetryOperation = require_retry_operation();
925
925
  exports.operation = function(options) {
@@ -1004,17 +1004,17 @@ var require_retry = __commonJS({
1004
1004
  }
1005
1005
  });
1006
1006
 
1007
- // ../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/index.js
1007
+ // ../../../theokit-plugins/node_modules/.pnpm/retry@0.12.0/node_modules/retry/index.js
1008
1008
  var require_retry2 = __commonJS({
1009
- "../../node_modules/.pnpm/retry@0.12.0/node_modules/retry/index.js"(exports, module) {
1009
+ "../../../theokit-plugins/node_modules/.pnpm/retry@0.12.0/node_modules/retry/index.js"(exports, module) {
1010
1010
  "use strict";
1011
1011
  module.exports = require_retry();
1012
1012
  }
1013
1013
  });
1014
1014
 
1015
- // ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
1015
+ // ../../../theokit-plugins/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js
1016
1016
  var require_signals = __commonJS({
1017
- "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module) {
1017
+ "../../../theokit-plugins/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js"(exports, module) {
1018
1018
  "use strict";
1019
1019
  module.exports = [
1020
1020
  "SIGABRT",
@@ -1050,9 +1050,9 @@ var require_signals = __commonJS({
1050
1050
  }
1051
1051
  });
1052
1052
 
1053
- // ../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
1053
+ // ../../../theokit-plugins/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
1054
1054
  var require_signal_exit = __commonJS({
1055
- "../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
1055
+ "../../../theokit-plugins/node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module) {
1056
1056
  "use strict";
1057
1057
  var process2 = global.process;
1058
1058
  var processOk = function(process3) {
@@ -1210,9 +1210,9 @@ var require_signal_exit = __commonJS({
1210
1210
  }
1211
1211
  });
1212
1212
 
1213
- // ../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/mtime-precision.js
1213
+ // ../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/mtime-precision.js
1214
1214
  var require_mtime_precision = __commonJS({
1215
- "../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/mtime-precision.js"(exports, module) {
1215
+ "../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/mtime-precision.js"(exports, module) {
1216
1216
  "use strict";
1217
1217
  var cacheSymbol = /* @__PURE__ */ Symbol();
1218
1218
  function probe(file, fs, callback) {
@@ -1252,9 +1252,9 @@ var require_mtime_precision = __commonJS({
1252
1252
  }
1253
1253
  });
1254
1254
 
1255
- // ../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/lockfile.js
1255
+ // ../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/lockfile.js
1256
1256
  var require_lockfile = __commonJS({
1257
- "../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/lockfile.js"(exports, module) {
1257
+ "../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/lockfile.js"(exports, module) {
1258
1258
  "use strict";
1259
1259
  var path = __require("path");
1260
1260
  var fs = require_graceful_fs();
@@ -1489,9 +1489,9 @@ var require_lockfile = __commonJS({
1489
1489
  }
1490
1490
  });
1491
1491
 
1492
- // ../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/adapter.js
1492
+ // ../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/adapter.js
1493
1493
  var require_adapter = __commonJS({
1494
- "../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/adapter.js"(exports, module) {
1494
+ "../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/lib/adapter.js"(exports, module) {
1495
1495
  "use strict";
1496
1496
  var fs = require_graceful_fs();
1497
1497
  function createSyncFs(fs2) {
@@ -1554,9 +1554,9 @@ var require_adapter = __commonJS({
1554
1554
  }
1555
1555
  });
1556
1556
 
1557
- // ../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/index.js
1557
+ // ../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/index.js
1558
1558
  var require_proper_lockfile = __commonJS({
1559
- "../../node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/index.js"(exports, module) {
1559
+ "../../../theokit-plugins/node_modules/.pnpm/proper-lockfile@4.1.2/node_modules/proper-lockfile/index.js"(exports, module) {
1560
1560
  var lockfile = require_lockfile();
1561
1561
  var { toPromise, toSync, toSyncOptions } = require_adapter();
1562
1562
  async function lock(file, options) {
@@ -1589,4 +1589,4 @@ var require_proper_lockfile = __commonJS({
1589
1589
  }
1590
1590
  });
1591
1591
  export default require_proper_lockfile();
1592
- //# sourceMappingURL=proper-lockfile-MVKMQGFK.js.map
1592
+ //# sourceMappingURL=proper-lockfile-4Y3DP3RP.js.map