@powerlines/deepkit 0.5.0 → 0.5.2

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 (92) hide show
  1. package/dist/capnp.cjs +48 -47
  2. package/dist/capnp.js +3 -2
  3. package/dist/{chunk-TVDEXHJN.js → chunk-2ODODKQQ.js} +8 -9
  4. package/dist/{chunk-KYFUOGZ6.cjs → chunk-6QPIKQMO.cjs} +9 -10
  5. package/dist/chunk-7J3ZDT6O.cjs +30 -0
  6. package/dist/chunk-C7BRLIIA.js +187 -0
  7. package/dist/{chunk-55HOZO7D.cjs → chunk-EKHXI2JI.cjs} +5 -7
  8. package/dist/chunk-GRNJVY7I.cjs +19 -0
  9. package/dist/{chunk-DGXATHAN.js → chunk-I5CVIT7W.js} +41 -46
  10. package/dist/chunk-IRPJW6HH.js +16 -0
  11. package/dist/{chunk-SKYW5GV2.cjs → chunk-J2FVIV7W.cjs} +127 -132
  12. package/dist/chunk-J4SVRFV4.js +127 -0
  13. package/dist/{chunk-BTXPY3B4.js → chunk-LPLPOVLC.js} +2 -4
  14. package/dist/{chunk-FEBG7WWO.js → chunk-MEMIQ5AA.js} +1 -3
  15. package/dist/{chunk-U4JSDAXK.js → chunk-MNUBEEIW.js} +12 -7
  16. package/dist/chunk-ORA4UQMU.cjs +2 -0
  17. package/dist/chunk-OULCUN6I.js +1 -0
  18. package/dist/chunk-QABG54Y3.cjs +193 -0
  19. package/dist/chunk-QLKLDV3V.cjs +135 -0
  20. package/dist/{chunk-JHEBLHYK.cjs → chunk-VMRRVNO2.cjs} +2 -4
  21. package/dist/chunk-VXZTOOL6.cjs +69 -0
  22. package/dist/chunk-XGQQM64U.js +8 -0
  23. package/dist/esbuild-plugin.cjs +5 -5
  24. package/dist/esbuild-plugin.d.cts +3 -2
  25. package/dist/esbuild-plugin.d.ts +3 -2
  26. package/dist/esbuild-plugin.js +4 -4
  27. package/dist/index.cjs +69 -69
  28. package/dist/index.js +10 -12
  29. package/dist/reflect-type.cjs +7 -6
  30. package/dist/reflect-type.js +6 -5
  31. package/dist/resolve-reflections.cjs +3 -3
  32. package/dist/resolve-reflections.js +2 -2
  33. package/dist/transformer.cjs +4 -4
  34. package/dist/transformer.js +2 -2
  35. package/dist/transpile.cjs +4 -4
  36. package/dist/transpile.js +3 -3
  37. package/dist/types.cjs +1 -2
  38. package/dist/types.js +1 -2
  39. package/dist/utilities.cjs +10 -9
  40. package/dist/utilities.js +3 -2
  41. package/dist/vendor/chunk-IOMA7ABE.js +359 -0
  42. package/dist/vendor/chunk-K5KCTNDL.cjs +2678 -0
  43. package/dist/vendor/chunk-L3KIZV6P.js +2664 -0
  44. package/dist/vendor/chunk-M3FJ3QXG.cjs +377 -0
  45. package/dist/vendor/compiler.cjs +12 -13
  46. package/dist/vendor/compiler.js +2 -5
  47. package/dist/vendor/config.cjs +9 -10
  48. package/dist/vendor/config.js +1 -5
  49. package/dist/vendor/core.cjs +130 -130
  50. package/dist/vendor/core.js +2 -5
  51. package/dist/vendor/index.cjs +42 -22
  52. package/dist/vendor/index.d.cts +2 -0
  53. package/dist/vendor/index.d.ts +2 -0
  54. package/dist/vendor/index.js +4 -11
  55. package/dist/vendor/type-spec.cjs +5 -5
  56. package/dist/vendor/type-spec.js +2 -5
  57. package/dist/vendor/type.cjs +2269 -691
  58. package/dist/vendor/type.js +1607 -92
  59. package/package.json +5 -5
  60. package/dist/chunk-2V4ET57D.js +0 -6954
  61. package/dist/chunk-4WJJKR53.js +0 -3731
  62. package/dist/chunk-6ETLMANX.js +0 -3472
  63. package/dist/chunk-6IQVU53O.cjs +0 -24
  64. package/dist/chunk-6OXPIOZY.cjs +0 -43
  65. package/dist/chunk-7WAH4JD3.js +0 -115
  66. package/dist/chunk-B4PTD5KQ.js +0 -4
  67. package/dist/chunk-ITQKPDCW.cjs +0 -3859
  68. package/dist/chunk-LBHO5BRF.js +0 -2251
  69. package/dist/chunk-OYRIJX67.cjs +0 -3487
  70. package/dist/chunk-PANPZ6S6.cjs +0 -6
  71. package/dist/chunk-QPSZUUB6.cjs +0 -2259
  72. package/dist/chunk-QQ7GKXIS.js +0 -43
  73. package/dist/chunk-SA3DCC4M.cjs +0 -6968
  74. package/dist/chunk-WVKPC33H.cjs +0 -49
  75. package/dist/chunk-YKFG2BZQ.cjs +0 -115
  76. package/dist/chunk-YUO4MCOI.js +0 -18
  77. package/dist/vendor/chunk-MCNMRQDT.js +0 -3513
  78. package/dist/vendor/chunk-RH4YMONA.js +0 -7064
  79. package/dist/vendor/chunk-RZKB5IQZ.cjs +0 -3531
  80. package/dist/vendor/chunk-WOXMCJJU.cjs +0 -7078
  81. package/dist/vendor/type-compiler/compiler.cjs +0 -46
  82. package/dist/vendor/type-compiler/compiler.d.cts +0 -1
  83. package/dist/vendor/type-compiler/compiler.d.ts +0 -1
  84. package/dist/vendor/type-compiler/compiler.js +0 -7
  85. package/dist/vendor/type-compiler/config.cjs +0 -36
  86. package/dist/vendor/type-compiler/config.d.cts +0 -6
  87. package/dist/vendor/type-compiler/config.d.ts +0 -6
  88. package/dist/vendor/type-compiler/config.js +0 -5
  89. package/dist/vendor/type-compiler/index.cjs +0 -108
  90. package/dist/vendor/type-compiler/index.d.cts +0 -1
  91. package/dist/vendor/type-compiler/index.d.ts +0 -1
  92. 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,66 @@ 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; }
97
+ });
98
+ Object.defineProperty(exports, "defaultExcluded", {
99
+ enumerable: true,
100
+ get: function () { return chunkM3FJ3QXG_cjs.defaultExcluded; }
101
+ });
102
+ Object.defineProperty(exports, "getConfigResolver", {
103
+ enumerable: true,
104
+ get: function () { return chunkM3FJ3QXG_cjs.getConfigResolver; }
105
+ });
106
+ Object.defineProperty(exports, "isObject", {
107
+ enumerable: true,
108
+ get: function () { return chunkM3FJ3QXG_cjs.isObject; }
109
+ });
110
+ Object.defineProperty(exports, "parseRawMode", {
111
+ enumerable: true,
112
+ get: function () { return chunkM3FJ3QXG_cjs.parseRawMode; }
113
+ });
114
+ Object.defineProperty(exports, "reflectionLevel", {
115
+ enumerable: true,
116
+ get: function () { return chunkM3FJ3QXG_cjs.reflectionLevel; }
117
+ });
118
+ Object.defineProperty(exports, "reflectionModeMatcher", {
119
+ enumerable: true,
120
+ get: function () { return chunkM3FJ3QXG_cjs.reflectionModeMatcher; }
121
+ });
122
+ Object.defineProperty(exports, "reflectionModes", {
123
+ enumerable: true,
124
+ get: function () { return chunkM3FJ3QXG_cjs.reflectionModes; }
105
125
  });
106
126
  exports.DeepkitLoader = DeepkitLoader;
@@ -1 +1,3 @@
1
1
  export * from '@deepkit/type-compiler';
2
+ export * from '@deepkit/type-compiler/compiler';
3
+ export * from '@deepkit/type-compiler/config';
@@ -1 +1,3 @@
1
1
  export * from '@deepkit/type-compiler';
2
+ export * from '@deepkit/type-compiler/compiler';
3
+ export * from '@deepkit/type-compiler/config';
@@ -1,16 +1,9 @@
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
+ export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-IOMA7ABE.js';
4
5
  import ts from 'typescript';
5
6
 
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
7
  var DeepkitLoader = class {
15
8
  static {
16
9
  __name(this, "DeepkitLoader");
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkYKFG2BZQ_cjs = require('../chunk-YKFG2BZQ.cjs');
4
- var chunkWVKPC33H_cjs = require('../chunk-WVKPC33H.cjs');
3
+ var chunkEQXMWOHO_cjs = require('./chunk-EQXMWOHO.cjs');
4
+ var chunkMO4O4UYI_cjs = require('./chunk-MO4O4UYI.cjs');
5
5
 
6
6
  // src/vendor/type-spec.ts
7
- chunkWVKPC33H_cjs.init_cjs_shims();
7
+ chunkMO4O4UYI_cjs.init_cjs_shims();
8
8
 
9
9
  Object.defineProperty(exports, "ReflectionOp", {
10
10
  enumerable: true,
11
- get: function () { return chunkYKFG2BZQ_cjs.ReflectionOp; }
11
+ get: function () { return chunkEQXMWOHO_cjs.ReflectionOp; }
12
12
  });
13
13
  Object.defineProperty(exports, "TypeNumberBrand", {
14
14
  enumerable: true,
15
- get: function () { return chunkYKFG2BZQ_cjs.TypeNumberBrand; }
15
+ get: function () { return chunkEQXMWOHO_cjs.TypeNumberBrand; }
16
16
  });
@@ -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-5BKT4CS5.js';