@powerlines/deepkit 0.6.89 → 0.6.90
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/{chunk-QIBJ3SJN.js → chunk-2S6ZGH7W.js} +247 -202
- package/dist/{chunk-6XE3MLML.cjs → chunk-7FQVHEUQ.cjs} +247 -202
- package/dist/{chunk-BW5M6IZV.js → chunk-7ZQJNPJK.js} +1 -1
- package/dist/{chunk-64Y4Q5UZ.js → chunk-ZJXW76WK.js} +1 -1
- package/dist/{chunk-DZ5A2U2B.cjs → chunk-ZOOSIZ5D.cjs} +1 -1
- package/dist/{chunk-24CKWFNY.cjs → chunk-ZORKBWGE.cjs} +2 -2
- package/dist/esbuild-plugin.cjs +2 -2
- package/dist/esbuild-plugin.js +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.js +3 -3
- package/dist/reflect-type.cjs +3 -3
- package/dist/reflect-type.js +2 -2
- package/dist/utilities.cjs +8 -8
- package/dist/utilities.js +1 -1
- package/dist/vendor/{chunk-G2YK5TOF.cjs → chunk-5L4PYRTQ.cjs} +176 -176
- package/dist/vendor/{chunk-JAA2EQ6V.cjs → chunk-DIGWWPID.cjs} +3 -3
- package/dist/vendor/{chunk-N3N3KQNO.cjs → chunk-EH4HVWS6.cjs} +2 -2
- package/dist/vendor/core.cjs +130 -130
- package/dist/vendor/type-compiler/{chunk-TZT5S6XV.cjs → chunk-OU7N5UBK.cjs} +2 -2
- package/dist/vendor/type-compiler/{chunk-JETWHI7O.js → chunk-P6BGPDLC.js} +2 -2
- package/dist/vendor/type-compiler/{chunk-MV7POLJ2.js → chunk-WIERSFXU.js} +1 -1
- package/dist/vendor/type-compiler/{chunk-EPTDVMT2.cjs → chunk-ZIBKXJM6.cjs} +505 -505
- package/dist/vendor/type-compiler/compiler.cjs +12 -12
- package/dist/vendor/type-compiler/compiler.js +2 -2
- package/dist/vendor/type-compiler/config.cjs +9 -9
- package/dist/vendor/type-compiler/config.js +2 -2
- package/dist/vendor/type-compiler/index.cjs +24 -24
- package/dist/vendor/type-compiler/index.js +4 -4
- package/dist/vendor/type-spec.cjs +5 -5
- package/dist/vendor/type.cjs +776 -776
- package/package.json +9 -9
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkZIBKXJM6_cjs = require('./chunk-ZIBKXJM6.cjs');
|
|
4
|
+
var chunkOU7N5UBK_cjs = require('./chunk-OU7N5UBK.cjs');
|
|
5
5
|
|
|
6
6
|
// src/vendor/type-compiler/compiler.ts
|
|
7
|
-
|
|
7
|
+
chunkOU7N5UBK_cjs.init_cjs_shims();
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Cache", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkZIBKXJM6_cjs.Cache; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkZIBKXJM6_cjs.DeclarationTransformer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkZIBKXJM6_cjs.ReflectionTransformer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkZIBKXJM6_cjs.debugPackStruct; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkZIBKXJM6_cjs.declarationTransformer; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "encodeOps", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkZIBKXJM6_cjs.encodeOps; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "packSize", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkZIBKXJM6_cjs.packSize; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "packSizeByte", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkZIBKXJM6_cjs.packSizeByte; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "transformer", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkZIBKXJM6_cjs.transformer; }
|
|
44
44
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-
|
|
2
|
-
import { init_esm_shims } from './chunk-
|
|
1
|
+
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-WIERSFXU.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-P6BGPDLC.js';
|
|
3
3
|
|
|
4
4
|
// src/vendor/type-compiler/compiler.ts
|
|
5
5
|
init_esm_shims();
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOU7N5UBK_cjs = require('./chunk-OU7N5UBK.cjs');
|
|
4
4
|
|
|
5
5
|
// src/vendor/type-compiler/config.ts
|
|
6
|
-
|
|
6
|
+
chunkOU7N5UBK_cjs.init_cjs_shims();
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "defaultExcluded", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkOU7N5UBK_cjs.defaultExcluded; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "getConfigResolver", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkOU7N5UBK_cjs.getConfigResolver; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isObject", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkOU7N5UBK_cjs.isObject; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "parseRawMode", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkOU7N5UBK_cjs.parseRawMode; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "reflectionLevel", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkOU7N5UBK_cjs.reflectionLevel; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "reflectionModeMatcher", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkOU7N5UBK_cjs.reflectionModeMatcher; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "reflectionModes", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkOU7N5UBK_cjs.reflectionModes; }
|
|
35
35
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_esm_shims } from './chunk-
|
|
2
|
-
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-
|
|
1
|
+
import { init_esm_shims } from './chunk-P6BGPDLC.js';
|
|
2
|
+
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-P6BGPDLC.js';
|
|
3
3
|
|
|
4
4
|
// src/vendor/type-compiler/config.ts
|
|
5
5
|
init_esm_shims();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkZIBKXJM6_cjs = require('./chunk-ZIBKXJM6.cjs');
|
|
4
|
+
var chunkOU7N5UBK_cjs = require('./chunk-OU7N5UBK.cjs');
|
|
5
5
|
var ts = require('typescript');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -9,16 +9,16 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
9
9
|
var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
10
10
|
|
|
11
11
|
// src/vendor/type-compiler/index.ts
|
|
12
|
-
|
|
12
|
+
chunkOU7N5UBK_cjs.init_cjs_shims();
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=2011488ea7d6bd63266ba61c0f89d16f9db840d58a9ba80_143b8995c1cda11bde19e9c2bed13bd6/node_modules/@deepkit/type-compiler/dist/esm/index.js
|
|
15
|
-
|
|
15
|
+
chunkOU7N5UBK_cjs.init_cjs_shims();
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=2011488ea7d6bd63266ba61c0f89d16f9db840d58a9ba80_143b8995c1cda11bde19e9c2bed13bd6/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
18
|
-
|
|
18
|
+
chunkOU7N5UBK_cjs.init_cjs_shims();
|
|
19
19
|
var DeepkitLoader = class {
|
|
20
20
|
static {
|
|
21
|
-
|
|
21
|
+
chunkOU7N5UBK_cjs.__name(this, "DeepkitLoader");
|
|
22
22
|
}
|
|
23
23
|
constructor() {
|
|
24
24
|
this.options = {
|
|
@@ -30,7 +30,7 @@ var DeepkitLoader = class {
|
|
|
30
30
|
this.printer = ts__default.default.createPrinter({
|
|
31
31
|
newLine: ts__default.default.NewLineKind.LineFeed
|
|
32
32
|
});
|
|
33
|
-
this.cache = new
|
|
33
|
+
this.cache = new chunkZIBKXJM6_cjs.Cache();
|
|
34
34
|
this.knownFiles = {};
|
|
35
35
|
this.sourceFiles = {};
|
|
36
36
|
const originReadFile = this.host.readFile;
|
|
@@ -52,7 +52,7 @@ var DeepkitLoader = class {
|
|
|
52
52
|
let newSource = source;
|
|
53
53
|
ts__default.default.transform(sourceFile, [
|
|
54
54
|
(context) => {
|
|
55
|
-
const transformer2 = new
|
|
55
|
+
const transformer2 = new chunkZIBKXJM6_cjs.ReflectionTransformer(context, this.cache).forHost(this.host).withReflection({
|
|
56
56
|
reflection: "default",
|
|
57
57
|
reflectionLevel: "normal"
|
|
58
58
|
});
|
|
@@ -69,66 +69,66 @@ var DeepkitLoader = class {
|
|
|
69
69
|
|
|
70
70
|
Object.defineProperty(exports, "Cache", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkZIBKXJM6_cjs.Cache; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkZIBKXJM6_cjs.DeclarationTransformer; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkZIBKXJM6_cjs.ReflectionTransformer; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkZIBKXJM6_cjs.debugPackStruct; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkZIBKXJM6_cjs.declarationTransformer; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "encodeOps", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkZIBKXJM6_cjs.encodeOps; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "packSize", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkZIBKXJM6_cjs.packSize; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "packSizeByte", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkZIBKXJM6_cjs.packSizeByte; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "transformer", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkZIBKXJM6_cjs.transformer; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "defaultExcluded", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkOU7N5UBK_cjs.defaultExcluded; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "getConfigResolver", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkOU7N5UBK_cjs.getConfigResolver; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "isObject", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkOU7N5UBK_cjs.isObject; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "parseRawMode", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkOU7N5UBK_cjs.parseRawMode; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "reflectionLevel", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkOU7N5UBK_cjs.reflectionLevel; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "reflectionModeMatcher", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkOU7N5UBK_cjs.reflectionModeMatcher; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "reflectionModes", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkOU7N5UBK_cjs.reflectionModes; }
|
|
133
133
|
});
|
|
134
134
|
exports.DeepkitLoader = DeepkitLoader;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Cache, ReflectionTransformer } from './chunk-
|
|
2
|
-
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-
|
|
3
|
-
import { init_esm_shims, __name } from './chunk-
|
|
4
|
-
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-
|
|
1
|
+
import { Cache, ReflectionTransformer } from './chunk-WIERSFXU.js';
|
|
2
|
+
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-WIERSFXU.js';
|
|
3
|
+
import { init_esm_shims, __name } from './chunk-P6BGPDLC.js';
|
|
4
|
+
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-P6BGPDLC.js';
|
|
5
5
|
import ts from 'typescript';
|
|
6
6
|
|
|
7
7
|
// src/vendor/type-compiler/index.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkDIGWWPID_cjs = require('./chunk-DIGWWPID.cjs');
|
|
4
|
+
var chunkEH4HVWS6_cjs = require('./chunk-EH4HVWS6.cjs');
|
|
5
5
|
|
|
6
6
|
// src/vendor/type-spec.ts
|
|
7
|
-
|
|
7
|
+
chunkEH4HVWS6_cjs.init_cjs_shims();
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "ReflectionOp", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkDIGWWPID_cjs.ReflectionOp; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "TypeNumberBrand", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkDIGWWPID_cjs.TypeNumberBrand; }
|
|
16
16
|
});
|