@powerlines/deepkit 0.2.2 → 0.3.0
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/vendor/{chunk-RPJZ57R3.cjs → chunk-7OECHEI7.cjs} +5 -5
- package/dist/vendor/{chunk-RPJZ57R3.cjs.map → chunk-7OECHEI7.cjs.map} +1 -1
- package/dist/vendor/{chunk-IEOTB37Y.js → chunk-7XFMK2H5.js} +4 -4
- package/dist/vendor/{chunk-IEOTB37Y.js.map → chunk-7XFMK2H5.js.map} +1 -1
- package/dist/vendor/{chunk-6RPJLSJ7.cjs → chunk-NUOTKDJW.cjs} +4 -4
- package/dist/vendor/{chunk-6RPJLSJ7.cjs.map → chunk-NUOTKDJW.cjs.map} +1 -1
- package/dist/vendor/{chunk-7MWDRXRC.cjs → chunk-QRXDRJ23.cjs} +178 -178
- package/dist/vendor/{chunk-7MWDRXRC.cjs.map → chunk-QRXDRJ23.cjs.map} +1 -1
- package/dist/vendor/{chunk-YVTAKAMT.cjs → chunk-U667FTIF.cjs} +507 -507
- package/dist/vendor/{chunk-YVTAKAMT.cjs.map → chunk-U667FTIF.cjs.map} +1 -1
- package/dist/vendor/{chunk-MFEKHQA3.cjs → chunk-UOJ5JWQ5.cjs} +4 -4
- package/dist/vendor/{chunk-MFEKHQA3.cjs.map → chunk-UOJ5JWQ5.cjs.map} +1 -1
- package/dist/vendor/{chunk-BMYCXG6Q.js → chunk-VKHEKIRG.js} +3 -3
- package/dist/vendor/{chunk-BMYCXG6Q.js.map → chunk-VKHEKIRG.js.map} +1 -1
- package/dist/vendor/compiler.cjs +12 -12
- package/dist/vendor/compiler.js +2 -2
- package/dist/vendor/config.cjs +9 -9
- package/dist/vendor/config.js +2 -2
- package/dist/vendor/core.cjs +130 -130
- package/dist/vendor/index.cjs +17 -17
- package/dist/vendor/index.js +3 -3
- package/dist/vendor/type-spec.cjs +5 -5
- package/dist/vendor/type.cjs +776 -776
- package/package.json +6 -6
package/dist/vendor/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkU667FTIF_cjs = require('./chunk-U667FTIF.cjs');
|
|
4
|
+
var chunkUOJ5JWQ5_cjs = require('./chunk-UOJ5JWQ5.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
|
+
chunkUOJ5JWQ5_cjs.init_cjs_shims();
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a17934cba501a812c663946629886f06/node_modules/@deepkit/type-compiler/dist/esm/index.js
|
|
15
|
-
|
|
15
|
+
chunkUOJ5JWQ5_cjs.init_cjs_shims();
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a17934cba501a812c663946629886f06/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
18
|
-
|
|
18
|
+
chunkUOJ5JWQ5_cjs.init_cjs_shims();
|
|
19
19
|
var DeepkitLoader = class {
|
|
20
20
|
static {
|
|
21
|
-
|
|
21
|
+
chunkUOJ5JWQ5_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 chunkU667FTIF_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 chunkU667FTIF_cjs.ReflectionTransformer(context, this.cache).forHost(this.host).withReflection({
|
|
56
56
|
reflection: "default",
|
|
57
57
|
reflectionLevel: "normal"
|
|
58
58
|
});
|
|
@@ -69,39 +69,39 @@ var DeepkitLoader = class {
|
|
|
69
69
|
|
|
70
70
|
Object.defineProperty(exports, "Cache", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkU667FTIF_cjs.Cache; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkU667FTIF_cjs.DeclarationTransformer; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkU667FTIF_cjs.ReflectionTransformer; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkU667FTIF_cjs.debugPackStruct; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkU667FTIF_cjs.declarationTransformer; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "encodeOps", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkU667FTIF_cjs.encodeOps; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "packSize", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkU667FTIF_cjs.packSize; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "packSizeByte", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkU667FTIF_cjs.packSizeByte; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "transformer", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkU667FTIF_cjs.transformer; }
|
|
105
105
|
});
|
|
106
106
|
exports.DeepkitLoader = DeepkitLoader;
|
|
107
107
|
//# sourceMappingURL=index.cjs.map
|
package/dist/vendor/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
1
|
+
import { Cache, ReflectionTransformer } from './chunk-VKHEKIRG.js';
|
|
2
|
+
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-VKHEKIRG.js';
|
|
3
|
+
import { init_esm_shims, __name } from './chunk-7XFMK2H5.js';
|
|
4
4
|
import ts from 'typescript';
|
|
5
5
|
|
|
6
6
|
// src/vendor/type-compiler/index.ts
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk7OECHEI7_cjs = require('./chunk-7OECHEI7.cjs');
|
|
4
|
+
var chunkNUOTKDJW_cjs = require('./chunk-NUOTKDJW.cjs');
|
|
5
5
|
|
|
6
6
|
// src/vendor/type-spec.ts
|
|
7
|
-
|
|
7
|
+
chunkNUOTKDJW_cjs.init_cjs_shims();
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "ReflectionOp", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunk7OECHEI7_cjs.ReflectionOp; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "TypeNumberBrand", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk7OECHEI7_cjs.TypeNumberBrand; }
|
|
16
16
|
});
|
|
17
17
|
//# sourceMappingURL=type-spec.cjs.map
|
|
18
18
|
//# sourceMappingURL=type-spec.cjs.map
|