@powerlines/deepkit 0.4.9 → 0.4.11
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-OWBO4X6O.js → chunk-36FSSQZT.js} +9 -9
- package/dist/vendor/chunk-36FSSQZT.js.map +1 -0
- package/dist/vendor/chunk-AXYJRGEC.js +3 -3
- package/dist/vendor/{chunk-KNOUMV32.cjs → chunk-JVBAZCHP.cjs} +513 -513
- package/dist/vendor/chunk-JVBAZCHP.cjs.map +1 -0
- package/dist/vendor/{chunk-2D2LOUPF.cjs → chunk-R6CPSEXA.cjs} +45 -45
- package/dist/vendor/{chunk-2D2LOUPF.cjs.map → chunk-R6CPSEXA.cjs.map} +1 -1
- package/dist/vendor/{chunk-3U3LDLIG.js → chunk-XAYJUIQW.js} +45 -45
- package/dist/vendor/{chunk-3U3LDLIG.js.map → chunk-XAYJUIQW.js.map} +1 -1
- package/dist/vendor/chunk-Y6HZBACK.cjs +3 -3
- 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/index.cjs +19 -19
- package/dist/vendor/index.cjs.map +1 -1
- package/dist/vendor/index.js +5 -5
- package/dist/vendor/index.js.map +1 -1
- package/dist/vendor/type.cjs +13 -13
- package/dist/vendor/type.cjs.map +1 -1
- package/dist/vendor/type.js +13 -13
- package/dist/vendor/type.js.map +1 -1
- package/package.json +9 -9
- package/dist/vendor/chunk-KNOUMV32.cjs.map +0 -1
- package/dist/vendor/chunk-OWBO4X6O.js.map +0 -1
|
@@ -4,7 +4,7 @@ var chunkY4GDYNGU_cjs = require('./chunk-Y4GDYNGU.cjs');
|
|
|
4
4
|
|
|
5
5
|
// ../../node_modules/.pnpm/is-obj@2.0.0/node_modules/is-obj/index.js
|
|
6
6
|
var require_is_obj = chunkY4GDYNGU_cjs.__commonJS({
|
|
7
|
-
"../../node_modules/.pnpm/is-obj@2.0.0/node_modules/is-obj/index.js"(exports, module) {
|
|
7
|
+
"../../node_modules/.pnpm/is-obj@2.0.0/node_modules/is-obj/index.js"(exports$1, module) {
|
|
8
8
|
chunkY4GDYNGU_cjs.init_cjs_shims();
|
|
9
9
|
module.exports = (value) => {
|
|
10
10
|
const type = typeof value;
|
|
@@ -15,7 +15,7 @@ var require_is_obj = chunkY4GDYNGU_cjs.__commonJS({
|
|
|
15
15
|
|
|
16
16
|
// ../../node_modules/.pnpm/dot-prop@5.3.0/node_modules/dot-prop/index.js
|
|
17
17
|
var require_dot_prop = chunkY4GDYNGU_cjs.__commonJS({
|
|
18
|
-
"../../node_modules/.pnpm/dot-prop@5.3.0/node_modules/dot-prop/index.js"(exports, module) {
|
|
18
|
+
"../../node_modules/.pnpm/dot-prop@5.3.0/node_modules/dot-prop/index.js"(exports$1, module) {
|
|
19
19
|
chunkY4GDYNGU_cjs.init_cjs_shims();
|
|
20
20
|
var isObj = require_is_obj();
|
|
21
21
|
var disallowedKeys = [
|
|
@@ -125,7 +125,7 @@ var require_dot_prop = chunkY4GDYNGU_cjs.__commonJS({
|
|
|
125
125
|
|
|
126
126
|
// ../../node_modules/.pnpm/to-fast-properties@3.0.1/node_modules/to-fast-properties/index.js
|
|
127
127
|
var require_to_fast_properties = chunkY4GDYNGU_cjs.__commonJS({
|
|
128
|
-
"../../node_modules/.pnpm/to-fast-properties@3.0.1/node_modules/to-fast-properties/index.js"(exports, module) {
|
|
128
|
+
"../../node_modules/.pnpm/to-fast-properties@3.0.1/node_modules/to-fast-properties/index.js"(exports$1, module) {
|
|
129
129
|
chunkY4GDYNGU_cjs.init_cjs_shims();
|
|
130
130
|
var fastProto = null;
|
|
131
131
|
function FastObject(o) {
|
package/dist/vendor/compiler.cjs
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkJVBAZCHP_cjs = require('./chunk-JVBAZCHP.cjs');
|
|
4
|
+
var chunkR6CPSEXA_cjs = require('./chunk-R6CPSEXA.cjs');
|
|
5
5
|
|
|
6
6
|
// src/vendor/type-compiler/compiler.ts
|
|
7
|
-
|
|
7
|
+
chunkR6CPSEXA_cjs.init_cjs_shims();
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "Cache", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkJVBAZCHP_cjs.Cache; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkJVBAZCHP_cjs.DeclarationTransformer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkJVBAZCHP_cjs.ReflectionTransformer; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkJVBAZCHP_cjs.debugPackStruct; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkJVBAZCHP_cjs.declarationTransformer; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "encodeOps", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkJVBAZCHP_cjs.encodeOps; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "packSize", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkJVBAZCHP_cjs.packSize; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "packSizeByte", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkJVBAZCHP_cjs.packSizeByte; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "transformer", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkJVBAZCHP_cjs.transformer; }
|
|
44
44
|
});
|
|
45
45
|
//# sourceMappingURL=compiler.cjs.map
|
|
46
46
|
//# sourceMappingURL=compiler.cjs.map
|
package/dist/vendor/compiler.js
CHANGED
|
@@ -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-36FSSQZT.js';
|
|
2
|
+
import { init_esm_shims } from './chunk-XAYJUIQW.js';
|
|
3
3
|
|
|
4
4
|
// src/vendor/type-compiler/compiler.ts
|
|
5
5
|
init_esm_shims();
|
package/dist/vendor/config.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkR6CPSEXA_cjs = require('./chunk-R6CPSEXA.cjs');
|
|
4
4
|
|
|
5
5
|
// src/vendor/type-compiler/config.ts
|
|
6
|
-
|
|
6
|
+
chunkR6CPSEXA_cjs.init_cjs_shims();
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "defaultExcluded", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkR6CPSEXA_cjs.defaultExcluded; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "getConfigResolver", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkR6CPSEXA_cjs.getConfigResolver; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isObject", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkR6CPSEXA_cjs.isObject; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "parseRawMode", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkR6CPSEXA_cjs.parseRawMode; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "reflectionLevel", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkR6CPSEXA_cjs.reflectionLevel; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "reflectionModeMatcher", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkR6CPSEXA_cjs.reflectionModeMatcher; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "reflectionModes", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkR6CPSEXA_cjs.reflectionModes; }
|
|
35
35
|
});
|
|
36
36
|
//# sourceMappingURL=config.cjs.map
|
|
37
37
|
//# sourceMappingURL=config.cjs.map
|
package/dist/vendor/config.js
CHANGED
|
@@ -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-XAYJUIQW.js';
|
|
2
|
+
export { defaultExcluded, getConfigResolver, isObject, parseRawMode, reflectionLevel, reflectionModeMatcher, reflectionModes } from './chunk-XAYJUIQW.js';
|
|
3
3
|
|
|
4
4
|
// src/vendor/type-compiler/config.ts
|
|
5
5
|
init_esm_shims();
|
package/dist/vendor/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkJVBAZCHP_cjs = require('./chunk-JVBAZCHP.cjs');
|
|
4
|
+
var chunkR6CPSEXA_cjs = require('./chunk-R6CPSEXA.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
|
+
chunkR6CPSEXA_cjs.init_cjs_shims();
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
15
|
-
|
|
14
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/dist/esm/index.js
|
|
15
|
+
chunkR6CPSEXA_cjs.init_cjs_shims();
|
|
16
16
|
|
|
17
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
18
|
-
|
|
17
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
18
|
+
chunkR6CPSEXA_cjs.init_cjs_shims();
|
|
19
19
|
var DeepkitLoader = class {
|
|
20
20
|
static {
|
|
21
|
-
|
|
21
|
+
chunkR6CPSEXA_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 chunkJVBAZCHP_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 chunkJVBAZCHP_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 chunkJVBAZCHP_cjs.Cache; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "DeclarationTransformer", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkJVBAZCHP_cjs.DeclarationTransformer; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "ReflectionTransformer", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkJVBAZCHP_cjs.ReflectionTransformer; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "debugPackStruct", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkJVBAZCHP_cjs.debugPackStruct; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "declarationTransformer", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkJVBAZCHP_cjs.declarationTransformer; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "encodeOps", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkJVBAZCHP_cjs.encodeOps; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "packSize", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkJVBAZCHP_cjs.packSize; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "packSizeByte", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkJVBAZCHP_cjs.packSizeByte; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "transformer", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkJVBAZCHP_cjs.transformer; }
|
|
105
105
|
});
|
|
106
106
|
exports.DeepkitLoader = DeepkitLoader;
|
|
107
107
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/vendor/type-compiler/index.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
1
|
+
{"version":3,"sources":["../../src/vendor/type-compiler/index.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/index.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/src/loader.ts"],"names":["init_cjs_shims","ts","Cache","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 Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n// Re-exported Deepkit - Type Compiler module\n\nexport * from \"@deepkit/type-compiler\";\n","/*\n * Deepkit Framework\n * Copyright (C) 2021 Deepkit UG, Marc J. Schmidt\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the MIT License.\n *\n * You should have received a copy of the MIT License along with this program.\n */\n\nimport type { Program } from \"typescript\";\nimport { declarationTransformer, transformer } from \"./src/compiler.js\";\n\nexport * from \"./src/compiler.js\";\nexport * from \"./src/loader.js\";\n\nexport default function transformerPlugin(program: Program, opts: {}) {\n return {\n before: transformer,\n afterDeclarations: declarationTransformer\n };\n}\n","import type {\n CompilerOptions,\n SourceFile,\n TransformationContext\n} from \"typescript\";\nimport ts from \"typescript\";\nimport { Cache, ReflectionTransformer } from \"./compiler.js\";\n\nexport class DeepkitLoader {\n protected options: CompilerOptions = {\n allowJs: true,\n declaration: false\n };\n\n protected host = ts.createCompilerHost(this.options);\n\n protected program = ts.createProgram([], this.options, this.host);\n\n protected printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed });\n protected cache = new Cache();\n\n protected knownFiles: { [path: string]: string } = {};\n protected sourceFiles: { [path: string]: SourceFile } = {};\n\n constructor() {\n const originReadFile = this.host.readFile;\n this.host.readFile = (fileName: string) => {\n if (this.knownFiles[fileName]) return this.knownFiles[fileName];\n return originReadFile.call(this.host, fileName);\n };\n\n //the program should not write any files\n this.host.writeFile = () => {};\n\n const originalGetSourceFile = this.host.getSourceFile;\n this.host.getSourceFile = (\n fileName: string,\n languageVersion: ts.ScriptTarget,\n onError?: (message: string) => void,\n shouldCreateNewSourceFile?: boolean\n ): SourceFile | undefined => {\n if (this.sourceFiles[fileName]) return this.sourceFiles[fileName];\n return originalGetSourceFile.call(\n this.host,\n fileName,\n languageVersion,\n onError,\n shouldCreateNewSourceFile\n );\n };\n }\n\n transform(source: string, path: string): string {\n this.knownFiles[path] = source;\n const sourceFile = ts.createSourceFile(\n path,\n source,\n ts.ScriptTarget.ESNext,\n true,\n path.endsWith(\".tsx\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS\n );\n let newSource = source;\n\n ts.transform(\n sourceFile,\n [\n (context: TransformationContext) => {\n const transformer = new ReflectionTransformer(context, this.cache)\n .forHost(this.host)\n .withReflection({\n reflection: \"default\",\n reflectionLevel: \"normal\"\n });\n return (node: SourceFile): SourceFile => {\n const sourceFile = transformer.transformSourceFile(node);\n\n newSource = this.printer.printNode(\n ts.EmitHint.SourceFile,\n sourceFile,\n sourceFile\n );\n return sourceFile;\n };\n }\n ],\n this.options\n );\n\n return newSource;\n }\n}\n"]}
|
package/dist/vendor/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-36FSSQZT.js';
|
|
2
|
+
export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer } from './chunk-36FSSQZT.js';
|
|
3
|
+
import { init_esm_shims, __name } from './chunk-XAYJUIQW.js';
|
|
4
4
|
import ts from 'typescript';
|
|
5
5
|
|
|
6
6
|
// src/vendor/type-compiler/index.ts
|
|
7
7
|
init_esm_shims();
|
|
8
8
|
|
|
9
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
9
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/dist/esm/index.js
|
|
10
10
|
init_esm_shims();
|
|
11
11
|
|
|
12
|
-
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
12
|
+
// ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/dist/esm/src/loader.js
|
|
13
13
|
init_esm_shims();
|
|
14
14
|
var DeepkitLoader = class {
|
|
15
15
|
static {
|
package/dist/vendor/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/vendor/type-compiler/index.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=
|
|
1
|
+
{"version":3,"sources":["../../src/vendor/type-compiler/index.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/index.ts","../../../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/src/loader.ts"],"names":["transformer","sourceFile"],"mappings":";;;;;;AAAA,cAAA,EAAA;;;ACAA,cAAA,EAAA;;;ACKA,cAAA,EAAA;AAGM,IAAO,gBAAP,MAAoB;EAH1B;;;EAmBE,WAAA,GAAA;AAfU,IAAA,IAAA,CAAA,OAAA,GAA2B;MACnC,OAAA,EAAS,IAAA;MACT,WAAA,EAAa;;AAGL,IAAA,IAAA,CAAA,IAAA,GAAO,EAAA,CAAG,kBAAA,CAAmB,IAAA,CAAK,OAAO,CA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CACpB,MACA,MAAA,EACA,EAAA,CAAG,aAAa,MAAA,EAChB,IAAA,EACA,IAAA,CAAK,QAAA,CAAS,MAAM,CAAA,GAAI,EAAA,CAAG,WAAW,GAAA,GAAM,EAAA,CAAG,WAAW,EAAE,CAAA;AAE9D,IAAA,IAAI,SAAA,GAAY,MAAA;AAEhB,IAAA,EAAA,CAAG,UACD,UAAA,EACA;AACE,MAAA,CAAC,OAAA,KAAgC;AAC/B,QAAA,MAAMA,YAAAA,GAAc,IAAI,qBAAA,CAAsB,OAAA,EAAS,IAAA,CAAK,KAAK,CAAA,CAC9D,OAAA,CAAQ,IAAA,CAAK,IAAI,CAAA,CACjB,cAAA,CAAe;UACd,UAAA,EAAY,SAAA;UACZ,eAAA,EAAiB;AAClB,SAAA,CAAA;AACH,QAAA,OAAO,CAAC,IAAA,KAA8B;AACpC,UAAA,MAAMC,WAAAA,GAAaD,YAAAA,CAAY,mBAAA,CAAoB,IAAI,CAAA;AAEvD,UAAA,SAAA,GAAY,KAAK,OAAA,CAAQ,SAAA,CACvB,GAAG,QAAA,CAAS,UAAA,EACZC,aACAA,WAAU,CAAA;AAEZ,UAAA,OAAOA,WAAAA;AACT,QAAA,CAAA;AACF,MAAA;AAEF,KAAA,EAAA,IAAA,CAAK,OAAO,CAAA;AAGd,IAAA,OAAO,SAAA;AACT,EAAA","file":"index.js","sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n// Re-exported Deepkit - Type Compiler module\n\nexport * from \"@deepkit/type-compiler\";\n","/*\n * Deepkit Framework\n * Copyright (C) 2021 Deepkit UG, Marc J. Schmidt\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the MIT License.\n *\n * You should have received a copy of the MIT License along with this program.\n */\n\nimport type { Program } from \"typescript\";\nimport { declarationTransformer, transformer } from \"./src/compiler.js\";\n\nexport * from \"./src/compiler.js\";\nexport * from \"./src/loader.js\";\n\nexport default function transformerPlugin(program: Program, opts: {}) {\n return {\n before: transformer,\n afterDeclarations: declarationTransformer\n };\n}\n","import type {\n CompilerOptions,\n SourceFile,\n TransformationContext\n} from \"typescript\";\nimport ts from \"typescript\";\nimport { Cache, ReflectionTransformer } from \"./compiler.js\";\n\nexport class DeepkitLoader {\n protected options: CompilerOptions = {\n allowJs: true,\n declaration: false\n };\n\n protected host = ts.createCompilerHost(this.options);\n\n protected program = ts.createProgram([], this.options, this.host);\n\n protected printer = ts.createPrinter({ newLine: ts.NewLineKind.LineFeed });\n protected cache = new Cache();\n\n protected knownFiles: { [path: string]: string } = {};\n protected sourceFiles: { [path: string]: SourceFile } = {};\n\n constructor() {\n const originReadFile = this.host.readFile;\n this.host.readFile = (fileName: string) => {\n if (this.knownFiles[fileName]) return this.knownFiles[fileName];\n return originReadFile.call(this.host, fileName);\n };\n\n //the program should not write any files\n this.host.writeFile = () => {};\n\n const originalGetSourceFile = this.host.getSourceFile;\n this.host.getSourceFile = (\n fileName: string,\n languageVersion: ts.ScriptTarget,\n onError?: (message: string) => void,\n shouldCreateNewSourceFile?: boolean\n ): SourceFile | undefined => {\n if (this.sourceFiles[fileName]) return this.sourceFiles[fileName];\n return originalGetSourceFile.call(\n this.host,\n fileName,\n languageVersion,\n onError,\n shouldCreateNewSourceFile\n );\n };\n }\n\n transform(source: string, path: string): string {\n this.knownFiles[path] = source;\n const sourceFile = ts.createSourceFile(\n path,\n source,\n ts.ScriptTarget.ESNext,\n true,\n path.endsWith(\".tsx\") ? ts.ScriptKind.TSX : ts.ScriptKind.TS\n );\n let newSource = source;\n\n ts.transform(\n sourceFile,\n [\n (context: TransformationContext) => {\n const transformer = new ReflectionTransformer(context, this.cache)\n .forHost(this.host)\n .withReflection({\n reflection: \"default\",\n reflectionLevel: \"normal\"\n });\n return (node: SourceFile): SourceFile => {\n const sourceFile = transformer.transformSourceFile(node);\n\n newSource = this.printer.printNode(\n ts.EmitHint.SourceFile,\n sourceFile,\n sourceFile\n );\n return sourceFile;\n };\n }\n ],\n this.options\n );\n\n return newSource;\n }\n}\n"]}
|
package/dist/vendor/type.cjs
CHANGED
|
@@ -6,11 +6,11 @@ var chunkY4GDYNGU_cjs = require('./chunk-Y4GDYNGU.cjs');
|
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js
|
|
8
8
|
var require_base64_js = chunkY4GDYNGU_cjs.__commonJS({
|
|
9
|
-
"../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"(exports) {
|
|
9
|
+
"../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"(exports$1) {
|
|
10
10
|
chunkY4GDYNGU_cjs.init_cjs_shims();
|
|
11
|
-
exports.byteLength = byteLength;
|
|
12
|
-
exports.toByteArray = toByteArray;
|
|
13
|
-
exports.fromByteArray = fromByteArray;
|
|
11
|
+
exports$1.byteLength = byteLength;
|
|
12
|
+
exports$1.toByteArray = toByteArray;
|
|
13
|
+
exports$1.fromByteArray = fromByteArray;
|
|
14
14
|
var lookup = [];
|
|
15
15
|
var revLookup = [];
|
|
16
16
|
var Arr = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
|
|
@@ -113,9 +113,9 @@ var require_base64_js = chunkY4GDYNGU_cjs.__commonJS({
|
|
|
113
113
|
|
|
114
114
|
// ../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js
|
|
115
115
|
var require_ieee754 = chunkY4GDYNGU_cjs.__commonJS({
|
|
116
|
-
"../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js"(exports) {
|
|
116
|
+
"../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js"(exports$1) {
|
|
117
117
|
chunkY4GDYNGU_cjs.init_cjs_shims();
|
|
118
|
-
exports.read = function(buffer, offset, isLE, mLen, nBytes) {
|
|
118
|
+
exports$1.read = function(buffer, offset, isLE, mLen, nBytes) {
|
|
119
119
|
var e, m;
|
|
120
120
|
var eLen = nBytes * 8 - mLen - 1;
|
|
121
121
|
var eMax = (1 << eLen) - 1;
|
|
@@ -145,7 +145,7 @@ var require_ieee754 = chunkY4GDYNGU_cjs.__commonJS({
|
|
|
145
145
|
}
|
|
146
146
|
return (s ? -1 : 1) * m * Math.pow(2, e - mLen);
|
|
147
147
|
};
|
|
148
|
-
exports.write = function(buffer, value, offset, isLE, mLen, nBytes) {
|
|
148
|
+
exports$1.write = function(buffer, value, offset, isLE, mLen, nBytes) {
|
|
149
149
|
var e, m, c;
|
|
150
150
|
var eLen = nBytes * 8 - mLen - 1;
|
|
151
151
|
var eMax = (1 << eLen) - 1;
|
|
@@ -197,16 +197,16 @@ var require_ieee754 = chunkY4GDYNGU_cjs.__commonJS({
|
|
|
197
197
|
|
|
198
198
|
// ../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js
|
|
199
199
|
var require_buffer = chunkY4GDYNGU_cjs.__commonJS({
|
|
200
|
-
"../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js"(exports) {
|
|
200
|
+
"../../node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js"(exports$1) {
|
|
201
201
|
chunkY4GDYNGU_cjs.init_cjs_shims();
|
|
202
202
|
var base64 = require_base64_js();
|
|
203
203
|
var ieee754 = require_ieee754();
|
|
204
204
|
var customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
|
|
205
|
-
exports.Buffer = Buffer2;
|
|
206
|
-
exports.SlowBuffer = SlowBuffer;
|
|
207
|
-
exports.INSPECT_MAX_BYTES = 50;
|
|
205
|
+
exports$1.Buffer = Buffer2;
|
|
206
|
+
exports$1.SlowBuffer = SlowBuffer;
|
|
207
|
+
exports$1.INSPECT_MAX_BYTES = 50;
|
|
208
208
|
var K_MAX_LENGTH = 2147483647;
|
|
209
|
-
exports.kMaxLength = K_MAX_LENGTH;
|
|
209
|
+
exports$1.kMaxLength = K_MAX_LENGTH;
|
|
210
210
|
Buffer2.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
211
211
|
if (!Buffer2.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
|
|
212
212
|
console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
|
|
@@ -636,7 +636,7 @@ var require_buffer = chunkY4GDYNGU_cjs.__commonJS({
|
|
|
636
636
|
}, "equals");
|
|
637
637
|
Buffer2.prototype.inspect = /* @__PURE__ */ chunkY4GDYNGU_cjs.__name(function inspect() {
|
|
638
638
|
var str = "";
|
|
639
|
-
var max = exports.INSPECT_MAX_BYTES;
|
|
639
|
+
var max = exports$1.INSPECT_MAX_BYTES;
|
|
640
640
|
str = this.toString("hex", 0, max).replace(/(.{2})/g, "$1 ").trim();
|
|
641
641
|
if (this.length > max) str += " ... ";
|
|
642
642
|
return "<Buffer " + str + ">";
|