@powerlines/deepkit 0.5.0 → 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.
- package/dist/capnp.cjs +48 -47
- package/dist/capnp.js +3 -2
- package/dist/{chunk-TVDEXHJN.js → chunk-4V4LIAN2.js} +8 -9
- package/dist/chunk-7J3ZDT6O.cjs +30 -0
- package/dist/{chunk-U4JSDAXK.js → chunk-B6GTAZEL.js} +8 -7
- package/dist/{chunk-KYFUOGZ6.cjs → chunk-ESVH44QW.cjs} +9 -10
- package/dist/chunk-FFBZWTR7.cjs +63 -0
- package/dist/chunk-GRNJVY7I.cjs +19 -0
- package/dist/{chunk-DGXATHAN.js → chunk-I5CVIT7W.js} +41 -46
- package/dist/chunk-IRPJW6HH.js +16 -0
- package/dist/{chunk-SKYW5GV2.cjs → chunk-J2FVIV7W.cjs} +127 -132
- package/dist/chunk-J4SVRFV4.js +127 -0
- package/dist/{chunk-FEBG7WWO.js → chunk-MEMIQ5AA.js} +1 -3
- package/dist/chunk-ORA4UQMU.cjs +2 -0
- package/dist/chunk-OULCUN6I.js +1 -0
- package/dist/chunk-PKLLVKY2.cjs +193 -0
- package/dist/chunk-QLKLDV3V.cjs +135 -0
- package/dist/chunk-U5O6DHJ2.js +187 -0
- package/dist/{chunk-JHEBLHYK.cjs → chunk-VMRRVNO2.cjs} +2 -4
- package/dist/{chunk-55HOZO7D.cjs → chunk-VWKKT7CM.cjs} +5 -7
- package/dist/chunk-XGQQM64U.js +8 -0
- package/dist/{chunk-BTXPY3B4.js → chunk-YQQIT5YX.js} +2 -4
- package/dist/esbuild-plugin.cjs +5 -5
- package/dist/esbuild-plugin.d.cts +3 -2
- package/dist/esbuild-plugin.d.ts +3 -2
- package/dist/esbuild-plugin.js +4 -4
- package/dist/index.cjs +69 -69
- package/dist/index.js +10 -12
- package/dist/reflect-type.cjs +7 -6
- package/dist/reflect-type.js +6 -5
- package/dist/resolve-reflections.cjs +3 -3
- package/dist/resolve-reflections.js +2 -2
- package/dist/transformer.cjs +4 -4
- package/dist/transformer.js +2 -2
- package/dist/transpile.cjs +4 -4
- package/dist/transpile.js +3 -3
- package/dist/types.cjs +1 -2
- package/dist/types.js +1 -2
- package/dist/utilities.cjs +10 -9
- package/dist/utilities.js +3 -2
- package/dist/{chunk-YKFG2BZQ.cjs → vendor/chunk-5NPGWGPO.cjs} +0 -6
- package/dist/vendor/{chunk-BLN7QVCP.js → chunk-7LAB3COT.js} +7 -154
- package/dist/vendor/chunk-IOMA7ABE.js +359 -0
- package/dist/vendor/chunk-K5KCTNDL.cjs +2678 -0
- package/dist/vendor/chunk-L3KIZV6P.js +2664 -0
- package/dist/vendor/chunk-M3FJ3QXG.cjs +377 -0
- package/dist/vendor/chunk-SHUYVCID.js +4 -0
- package/dist/vendor/chunk-USNT2KNT.cjs +6 -0
- package/dist/{chunk-4WJJKR53.js → vendor/chunk-ZDFKNN7Y.cjs} +281 -322
- package/dist/vendor/compiler.cjs +12 -13
- package/dist/vendor/compiler.js +2 -5
- package/dist/vendor/config.cjs +9 -10
- package/dist/vendor/config.js +1 -5
- package/dist/vendor/core.cjs +130 -131
- package/dist/vendor/core.js +2 -5
- package/dist/vendor/index.cjs +14 -22
- package/dist/vendor/index.js +3 -11
- package/dist/vendor/type-spec.cjs +5 -6
- package/dist/vendor/type-spec.js +2 -5
- package/dist/vendor/type.cjs +631 -758
- package/dist/vendor/type.js +15 -138
- package/package.json +4 -4
- package/dist/chunk-2V4ET57D.js +0 -6954
- package/dist/chunk-6ETLMANX.js +0 -3472
- package/dist/chunk-6IQVU53O.cjs +0 -24
- package/dist/chunk-6OXPIOZY.cjs +0 -43
- package/dist/chunk-7WAH4JD3.js +0 -115
- package/dist/chunk-B4PTD5KQ.js +0 -4
- package/dist/chunk-ITQKPDCW.cjs +0 -3859
- package/dist/chunk-LBHO5BRF.js +0 -2251
- package/dist/chunk-OYRIJX67.cjs +0 -3487
- package/dist/chunk-PANPZ6S6.cjs +0 -6
- package/dist/chunk-QPSZUUB6.cjs +0 -2259
- package/dist/chunk-QQ7GKXIS.js +0 -43
- package/dist/chunk-SA3DCC4M.cjs +0 -6968
- package/dist/chunk-WVKPC33H.cjs +0 -49
- package/dist/chunk-YUO4MCOI.js +0 -18
- package/dist/vendor/chunk-5BKT4CS5.js +0 -28
- package/dist/vendor/chunk-BDXVTHBY.cjs +0 -3859
- package/dist/vendor/chunk-EQXMWOHO.cjs +0 -115
- package/dist/vendor/chunk-MCNMRQDT.js +0 -3513
- package/dist/vendor/chunk-MO4O4UYI.cjs +0 -42
- package/dist/vendor/chunk-RH4YMONA.js +0 -7064
- package/dist/vendor/chunk-RZKB5IQZ.cjs +0 -3531
- package/dist/vendor/chunk-WOXMCJJU.cjs +0 -7078
- package/dist/vendor/type-compiler/compiler.cjs +0 -46
- package/dist/vendor/type-compiler/compiler.d.cts +0 -1
- package/dist/vendor/type-compiler/compiler.d.ts +0 -1
- package/dist/vendor/type-compiler/compiler.js +0 -7
- package/dist/vendor/type-compiler/config.cjs +0 -36
- package/dist/vendor/type-compiler/config.d.cts +0 -6
- package/dist/vendor/type-compiler/config.d.ts +0 -6
- package/dist/vendor/type-compiler/config.js +0 -5
- package/dist/vendor/type-compiler/index.cjs +0 -108
- package/dist/vendor/type-compiler/index.d.cts +0 -1
- package/dist/vendor/type-compiler/index.d.ts +0 -1
- package/dist/vendor/type-compiler/index.js +0 -67
package/dist/vendor/index.cjs
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
64
|
+
get: function () { return chunkK5KCTNDL_cjs.Cache; }
|
|
73
65
|
});
|
|
74
66
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
75
67
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkK5KCTNDL_cjs.DeclarationTransformer; }
|
|
77
69
|
});
|
|
78
70
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
79
71
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkK5KCTNDL_cjs.ReflectionTransformer; }
|
|
81
73
|
});
|
|
82
74
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
83
75
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkK5KCTNDL_cjs.debugPackStruct; }
|
|
85
77
|
});
|
|
86
78
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
87
79
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkK5KCTNDL_cjs.declarationTransformer; }
|
|
89
81
|
});
|
|
90
82
|
Object.defineProperty(exports, "encodeOps", {
|
|
91
83
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkK5KCTNDL_cjs.encodeOps; }
|
|
93
85
|
});
|
|
94
86
|
Object.defineProperty(exports, "packSize", {
|
|
95
87
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkK5KCTNDL_cjs.packSize; }
|
|
97
89
|
});
|
|
98
90
|
Object.defineProperty(exports, "packSizeByte", {
|
|
99
91
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkK5KCTNDL_cjs.packSizeByte; }
|
|
101
93
|
});
|
|
102
94
|
Object.defineProperty(exports, "transformer", {
|
|
103
95
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkK5KCTNDL_cjs.transformer; }
|
|
105
97
|
});
|
|
106
98
|
exports.DeepkitLoader = DeepkitLoader;
|
package/dist/vendor/index.js
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import { Cache, ReflectionTransformer } from './chunk-
|
|
2
|
-
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-
|
|
3
|
-
import {
|
|
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
|
|
4
|
-
|
|
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
|
|
10
|
+
get: function () { return chunk5NPGWGPO_cjs.ReflectionOp; }
|
|
12
11
|
});
|
|
13
12
|
Object.defineProperty(exports, "TypeNumberBrand", {
|
|
14
13
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk5NPGWGPO_cjs.TypeNumberBrand; }
|
|
16
15
|
});
|
package/dist/vendor/type-spec.js
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
export { ReflectionOp, TypeNumberBrand } from '
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
// src/vendor/type-spec.ts
|
|
5
|
-
init_esm_shims();
|
|
1
|
+
export { ReflectionOp, TypeNumberBrand } from './chunk-BR2FK5K7.js';
|
|
2
|
+
import './chunk-SHUYVCID.js';
|