@powerlines/deepkit 0.4.92 → 0.5.1

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 (100) hide show
  1. package/bin/deepkit-install.cjs +1 -1
  2. package/dist/capnp.cjs +48 -47
  3. package/dist/capnp.js +3 -2
  4. package/dist/chunk-4V4LIAN2.js +54 -0
  5. package/dist/chunk-7J3ZDT6O.cjs +30 -0
  6. package/dist/{chunk-U4JSDAXK.js → chunk-B6GTAZEL.js} +8 -7
  7. package/dist/chunk-ESVH44QW.cjs +56 -0
  8. package/dist/chunk-FFBZWTR7.cjs +63 -0
  9. package/dist/chunk-GRNJVY7I.cjs +19 -0
  10. package/dist/{chunk-DGXATHAN.js → chunk-I5CVIT7W.js} +41 -46
  11. package/dist/chunk-IRPJW6HH.js +16 -0
  12. package/dist/{chunk-SKYW5GV2.cjs → chunk-J2FVIV7W.cjs} +127 -132
  13. package/dist/chunk-J4SVRFV4.js +127 -0
  14. package/dist/{chunk-FEBG7WWO.js → chunk-MEMIQ5AA.js} +1 -3
  15. package/dist/chunk-ORA4UQMU.cjs +2 -0
  16. package/dist/chunk-OULCUN6I.js +1 -0
  17. package/dist/chunk-PKLLVKY2.cjs +193 -0
  18. package/dist/chunk-QLKLDV3V.cjs +135 -0
  19. package/dist/chunk-U5O6DHJ2.js +187 -0
  20. package/dist/{chunk-JHEBLHYK.cjs → chunk-VMRRVNO2.cjs} +2 -4
  21. package/dist/{chunk-55HOZO7D.cjs → chunk-VWKKT7CM.cjs} +5 -7
  22. package/dist/chunk-XGQQM64U.js +8 -0
  23. package/dist/{chunk-BTXPY3B4.js → chunk-YQQIT5YX.js} +2 -4
  24. package/dist/esbuild-plugin.cjs +13 -0
  25. package/dist/esbuild-plugin.d.cts +13 -0
  26. package/dist/esbuild-plugin.d.ts +13 -0
  27. package/dist/esbuild-plugin.js +4 -0
  28. package/dist/index.cjs +93 -88
  29. package/dist/index.d.cts +3 -1
  30. package/dist/index.d.ts +3 -1
  31. package/dist/index.js +10 -11
  32. package/dist/reflect-type.cjs +7 -3
  33. package/dist/reflect-type.js +6 -2
  34. package/dist/resolve-reflections.cjs +3 -3
  35. package/dist/resolve-reflections.js +2 -2
  36. package/dist/transformer.cjs +4 -4
  37. package/dist/transformer.js +2 -2
  38. package/dist/transpile.cjs +4 -4
  39. package/dist/transpile.js +3 -3
  40. package/dist/types.cjs +1 -2
  41. package/dist/types.js +1 -2
  42. package/dist/utilities.cjs +10 -9
  43. package/dist/utilities.js +3 -2
  44. package/dist/{chunk-YKFG2BZQ.cjs → vendor/chunk-5NPGWGPO.cjs} +0 -6
  45. package/dist/vendor/{chunk-BLN7QVCP.js → chunk-7LAB3COT.js} +7 -154
  46. package/dist/vendor/chunk-IOMA7ABE.js +359 -0
  47. package/dist/vendor/chunk-K5KCTNDL.cjs +2678 -0
  48. package/dist/vendor/chunk-L3KIZV6P.js +2664 -0
  49. package/dist/vendor/chunk-M3FJ3QXG.cjs +377 -0
  50. package/dist/vendor/chunk-SHUYVCID.js +4 -0
  51. package/dist/vendor/chunk-USNT2KNT.cjs +6 -0
  52. package/dist/{chunk-4WJJKR53.js → vendor/chunk-ZDFKNN7Y.cjs} +281 -322
  53. package/dist/vendor/compiler.cjs +12 -13
  54. package/dist/vendor/compiler.js +2 -5
  55. package/dist/vendor/config.cjs +9 -10
  56. package/dist/vendor/config.js +1 -5
  57. package/dist/vendor/core.cjs +130 -131
  58. package/dist/vendor/core.js +2 -5
  59. package/dist/vendor/index.cjs +14 -22
  60. package/dist/vendor/index.js +3 -11
  61. package/dist/vendor/type-spec.cjs +5 -6
  62. package/dist/vendor/type-spec.js +2 -5
  63. package/dist/vendor/type.cjs +631 -758
  64. package/dist/vendor/type.js +15 -138
  65. package/package.json +6 -5
  66. package/dist/chunk-2V4ET57D.js +0 -6954
  67. package/dist/chunk-6ETLMANX.js +0 -3472
  68. package/dist/chunk-6OXPIOZY.cjs +0 -43
  69. package/dist/chunk-7WAH4JD3.js +0 -115
  70. package/dist/chunk-B4PTD5KQ.js +0 -4
  71. package/dist/chunk-FX2P4HL7.cjs +0 -14
  72. package/dist/chunk-ITQKPDCW.cjs +0 -3859
  73. package/dist/chunk-LBHO5BRF.js +0 -2251
  74. package/dist/chunk-MERFAWZE.js +0 -12
  75. package/dist/chunk-OYRIJX67.cjs +0 -3487
  76. package/dist/chunk-PANPZ6S6.cjs +0 -6
  77. package/dist/chunk-QPSZUUB6.cjs +0 -2259
  78. package/dist/chunk-QQ7GKXIS.js +0 -43
  79. package/dist/chunk-SA3DCC4M.cjs +0 -6968
  80. package/dist/chunk-WVKPC33H.cjs +0 -49
  81. package/dist/vendor/chunk-5BKT4CS5.js +0 -28
  82. package/dist/vendor/chunk-BDXVTHBY.cjs +0 -3859
  83. package/dist/vendor/chunk-EQXMWOHO.cjs +0 -115
  84. package/dist/vendor/chunk-MCNMRQDT.js +0 -3513
  85. package/dist/vendor/chunk-MO4O4UYI.cjs +0 -42
  86. package/dist/vendor/chunk-RH4YMONA.js +0 -7064
  87. package/dist/vendor/chunk-RZKB5IQZ.cjs +0 -3531
  88. package/dist/vendor/chunk-WOXMCJJU.cjs +0 -7078
  89. package/dist/vendor/type-compiler/compiler.cjs +0 -46
  90. package/dist/vendor/type-compiler/compiler.d.cts +0 -1
  91. package/dist/vendor/type-compiler/compiler.d.ts +0 -1
  92. package/dist/vendor/type-compiler/compiler.js +0 -7
  93. package/dist/vendor/type-compiler/config.cjs +0 -36
  94. package/dist/vendor/type-compiler/config.d.cts +0 -6
  95. package/dist/vendor/type-compiler/config.d.ts +0 -6
  96. package/dist/vendor/type-compiler/config.js +0 -5
  97. package/dist/vendor/type-compiler/index.cjs +0 -108
  98. package/dist/vendor/type-compiler/index.d.cts +0 -1
  99. package/dist/vendor/type-compiler/index.d.ts +0 -1
  100. package/dist/vendor/type-compiler/index.js +0 -67
@@ -1,24 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkWOXMCJJU_cjs = require('./chunk-WOXMCJJU.cjs');
4
- var chunkRZKB5IQZ_cjs = require('./chunk-RZKB5IQZ.cjs');
3
+ var chunkK5KCTNDL_cjs = require('./chunk-K5KCTNDL.cjs');
4
+ var chunkM3FJ3QXG_cjs = require('./chunk-M3FJ3QXG.cjs');
5
5
  var ts = require('typescript');
6
6
 
7
7
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
8
 
9
9
  var ts__default = /*#__PURE__*/_interopDefault(ts);
10
10
 
11
- // src/vendor/type-compiler/index.ts
12
- chunkRZKB5IQZ_cjs.init_cjs_shims();
13
-
14
- // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_ef8b874d406bec4900e1fddc1ea375be/node_modules/@deepkit/type-compiler/dist/esm/index.js
15
- chunkRZKB5IQZ_cjs.init_cjs_shims();
16
-
17
- // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_ef8b874d406bec4900e1fddc1ea375be/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
18
- chunkRZKB5IQZ_cjs.init_cjs_shims();
19
11
  var DeepkitLoader = class {
20
12
  static {
21
- chunkRZKB5IQZ_cjs.__name(this, "DeepkitLoader");
13
+ chunkM3FJ3QXG_cjs.__name(this, "DeepkitLoader");
22
14
  }
23
15
  constructor() {
24
16
  this.options = {
@@ -30,7 +22,7 @@ var DeepkitLoader = class {
30
22
  this.printer = ts__default.default.createPrinter({
31
23
  newLine: ts__default.default.NewLineKind.LineFeed
32
24
  });
33
- this.cache = new chunkWOXMCJJU_cjs.Cache();
25
+ this.cache = new chunkK5KCTNDL_cjs.Cache();
34
26
  this.knownFiles = {};
35
27
  this.sourceFiles = {};
36
28
  const originReadFile = this.host.readFile;
@@ -52,7 +44,7 @@ var DeepkitLoader = class {
52
44
  let newSource = source;
53
45
  ts__default.default.transform(sourceFile, [
54
46
  (context) => {
55
- const transformer2 = new chunkWOXMCJJU_cjs.ReflectionTransformer(context, this.cache).forHost(this.host).withReflection({
47
+ const transformer2 = new chunkK5KCTNDL_cjs.ReflectionTransformer(context, this.cache).forHost(this.host).withReflection({
56
48
  reflection: "default",
57
49
  reflectionLevel: "normal"
58
50
  });
@@ -69,38 +61,38 @@ var DeepkitLoader = class {
69
61
 
70
62
  Object.defineProperty(exports, "Cache", {
71
63
  enumerable: true,
72
- get: function () { return chunkWOXMCJJU_cjs.Cache; }
64
+ get: function () { return chunkK5KCTNDL_cjs.Cache; }
73
65
  });
74
66
  Object.defineProperty(exports, "DeclarationTransformer", {
75
67
  enumerable: true,
76
- get: function () { return chunkWOXMCJJU_cjs.DeclarationTransformer; }
68
+ get: function () { return chunkK5KCTNDL_cjs.DeclarationTransformer; }
77
69
  });
78
70
  Object.defineProperty(exports, "ReflectionTransformer", {
79
71
  enumerable: true,
80
- get: function () { return chunkWOXMCJJU_cjs.ReflectionTransformer; }
72
+ get: function () { return chunkK5KCTNDL_cjs.ReflectionTransformer; }
81
73
  });
82
74
  Object.defineProperty(exports, "debugPackStruct", {
83
75
  enumerable: true,
84
- get: function () { return chunkWOXMCJJU_cjs.debugPackStruct; }
76
+ get: function () { return chunkK5KCTNDL_cjs.debugPackStruct; }
85
77
  });
86
78
  Object.defineProperty(exports, "declarationTransformer", {
87
79
  enumerable: true,
88
- get: function () { return chunkWOXMCJJU_cjs.declarationTransformer; }
80
+ get: function () { return chunkK5KCTNDL_cjs.declarationTransformer; }
89
81
  });
90
82
  Object.defineProperty(exports, "encodeOps", {
91
83
  enumerable: true,
92
- get: function () { return chunkWOXMCJJU_cjs.encodeOps; }
84
+ get: function () { return chunkK5KCTNDL_cjs.encodeOps; }
93
85
  });
94
86
  Object.defineProperty(exports, "packSize", {
95
87
  enumerable: true,
96
- get: function () { return chunkWOXMCJJU_cjs.packSize; }
88
+ get: function () { return chunkK5KCTNDL_cjs.packSize; }
97
89
  });
98
90
  Object.defineProperty(exports, "packSizeByte", {
99
91
  enumerable: true,
100
- get: function () { return chunkWOXMCJJU_cjs.packSizeByte; }
92
+ get: function () { return chunkK5KCTNDL_cjs.packSizeByte; }
101
93
  });
102
94
  Object.defineProperty(exports, "transformer", {
103
95
  enumerable: true,
104
- get: function () { return chunkWOXMCJJU_cjs.transformer; }
96
+ get: function () { return chunkK5KCTNDL_cjs.transformer; }
105
97
  });
106
98
  exports.DeepkitLoader = DeepkitLoader;
@@ -1,16 +1,8 @@
1
- import { Cache, ReflectionTransformer } from './chunk-RH4YMONA.js';
2
- export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-RH4YMONA.js';
3
- import { init_esm_shims, __name } from './chunk-MCNMRQDT.js';
1
+ import { Cache, ReflectionTransformer } from './chunk-L3KIZV6P.js';
2
+ export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-L3KIZV6P.js';
3
+ import { __name } from './chunk-IOMA7ABE.js';
4
4
  import ts from 'typescript';
5
5
 
6
- // src/vendor/type-compiler/index.ts
7
- init_esm_shims();
8
-
9
- // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_ef8b874d406bec4900e1fddc1ea375be/node_modules/@deepkit/type-compiler/dist/esm/index.js
10
- init_esm_shims();
11
-
12
- // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_ef8b874d406bec4900e1fddc1ea375be/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
13
- init_esm_shims();
14
6
  var DeepkitLoader = class {
15
7
  static {
16
8
  __name(this, "DeepkitLoader");
@@ -1,16 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkYKFG2BZQ_cjs = require('../chunk-YKFG2BZQ.cjs');
4
- var chunkWVKPC33H_cjs = require('../chunk-WVKPC33H.cjs');
3
+ var chunk5NPGWGPO_cjs = require('./chunk-5NPGWGPO.cjs');
4
+ require('./chunk-USNT2KNT.cjs');
5
+
5
6
 
6
- // src/vendor/type-spec.ts
7
- chunkWVKPC33H_cjs.init_cjs_shims();
8
7
 
9
8
  Object.defineProperty(exports, "ReflectionOp", {
10
9
  enumerable: true,
11
- get: function () { return chunkYKFG2BZQ_cjs.ReflectionOp; }
10
+ get: function () { return chunk5NPGWGPO_cjs.ReflectionOp; }
12
11
  });
13
12
  Object.defineProperty(exports, "TypeNumberBrand", {
14
13
  enumerable: true,
15
- get: function () { return chunkYKFG2BZQ_cjs.TypeNumberBrand; }
14
+ get: function () { return chunk5NPGWGPO_cjs.TypeNumberBrand; }
16
15
  });
@@ -1,5 +1,2 @@
1
- export { ReflectionOp, TypeNumberBrand } from '../chunk-7WAH4JD3.js';
2
- import { init_esm_shims } from '../chunk-QQ7GKXIS.js';
3
-
4
- // src/vendor/type-spec.ts
5
- init_esm_shims();
1
+ export { ReflectionOp, TypeNumberBrand } from './chunk-BR2FK5K7.js';
2
+ import './chunk-SHUYVCID.js';