@powerlines/deepkit 0.5.2 → 0.5.4
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 +47 -48
- package/dist/capnp.js +2 -3
- package/dist/{chunk-MNUBEEIW.js → chunk-23YNDVRG.js} +5 -12
- package/dist/chunk-5MYRXRS2.cjs +2191 -0
- package/dist/{chunk-J2FVIV7W.cjs → chunk-7FXYDYVQ.cjs} +127 -127
- package/dist/{chunk-VMRRVNO2.cjs → chunk-7QZGCBH7.cjs} +2 -2
- package/dist/{chunk-MEMIQ5AA.js → chunk-ALM6UMVU.js} +1 -1
- package/dist/chunk-BLLXF42T.cjs +41 -0
- package/dist/{chunk-6QPIKQMO.cjs → chunk-CJMS4ES3.cjs} +4 -4
- package/dist/{chunk-LPLPOVLC.js → chunk-EJIBYA23.js} +2 -2
- package/dist/{chunk-2ODODKQQ.js → chunk-JE36RI7U.js} +2 -2
- package/dist/chunk-KGCRCOJQ.cjs +22 -0
- package/dist/chunk-SHUYVCID.js +4 -0
- package/dist/{chunk-I5CVIT7W.js → chunk-TDYIUJGY.js} +41 -41
- package/dist/chunk-USNT2KNT.cjs +6 -0
- package/dist/chunk-WL27D7L7.js +2183 -0
- package/dist/chunk-XHSSGKUT.js +16 -0
- package/dist/{chunk-EKHXI2JI.cjs → chunk-YAEE7DDW.cjs} +5 -5
- package/dist/esbuild-plugin.cjs +5 -5
- package/dist/esbuild-plugin.js +4 -4
- package/dist/index.cjs +66 -67
- package/dist/index.js +8 -9
- package/dist/reflect-type.cjs +6 -7
- package/dist/reflect-type.js +5 -6
- 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/utilities.cjs +9 -10
- package/dist/utilities.js +2 -3
- package/package.json +4 -4
- package/dist/chunk-7J3ZDT6O.cjs +0 -30
- package/dist/chunk-C7BRLIIA.js +0 -187
- package/dist/chunk-GRNJVY7I.cjs +0 -19
- package/dist/chunk-IRPJW6HH.js +0 -16
- package/dist/chunk-J4SVRFV4.js +0 -127
- package/dist/chunk-QABG54Y3.cjs +0 -193
- package/dist/chunk-QLKLDV3V.cjs +0 -135
- package/dist/chunk-VXZTOOL6.cjs +0 -69
- package/dist/chunk-XGQQM64U.js +0 -8
package/dist/chunk-VXZTOOL6.cjs
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkGRNJVY7I_cjs = require('./chunk-GRNJVY7I.cjs');
|
|
4
|
-
var type_compiler_star = require('@deepkit/type-compiler');
|
|
5
|
-
var compiler_star = require('@deepkit/type-compiler/compiler');
|
|
6
|
-
var config_star = require('@deepkit/type-compiler/config');
|
|
7
|
-
var defu = require('defu');
|
|
8
|
-
|
|
9
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
|
|
11
|
-
function _interopNamespace(e) {
|
|
12
|
-
if (e && e.__esModule) return e;
|
|
13
|
-
var n = Object.create(null);
|
|
14
|
-
if (e) {
|
|
15
|
-
Object.keys(e).forEach(function (k) {
|
|
16
|
-
if (k !== 'default') {
|
|
17
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
18
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () { return e[k]; }
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
n.default = e;
|
|
26
|
-
return Object.freeze(n);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
var type_compiler_star__namespace = /*#__PURE__*/_interopNamespace(type_compiler_star);
|
|
30
|
-
var compiler_star__namespace = /*#__PURE__*/_interopNamespace(compiler_star);
|
|
31
|
-
var config_star__namespace = /*#__PURE__*/_interopNamespace(config_star);
|
|
32
|
-
var defu__default = /*#__PURE__*/_interopDefault(defu);
|
|
33
|
-
|
|
34
|
-
// src/vendor/type-compiler/index.ts
|
|
35
|
-
var type_compiler_exports = {};
|
|
36
|
-
chunkGRNJVY7I_cjs.__reExport(type_compiler_exports, type_compiler_star__namespace);
|
|
37
|
-
chunkGRNJVY7I_cjs.__reExport(type_compiler_exports, compiler_star__namespace);
|
|
38
|
-
chunkGRNJVY7I_cjs.__reExport(type_compiler_exports, config_star__namespace);
|
|
39
|
-
var cache = new type_compiler_exports.Cache();
|
|
40
|
-
function createTransformer(context, options = {}) {
|
|
41
|
-
return /* @__PURE__ */ chunkGRNJVY7I_cjs.__name(function transformer(ctx) {
|
|
42
|
-
cache.tick();
|
|
43
|
-
return new type_compiler_exports.ReflectionTransformer(ctx, cache).withReflection(defu__default.default(options, {
|
|
44
|
-
reflection: context.tsconfig.tsconfigJson.compilerOptions?.reflection || context.tsconfig.tsconfigJson.reflection,
|
|
45
|
-
reflectionLevel: context.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || context.tsconfig.tsconfigJson.reflectionLevel
|
|
46
|
-
}, {
|
|
47
|
-
exclude: [],
|
|
48
|
-
reflection: "default",
|
|
49
|
-
reflectionLevel: "minimal"
|
|
50
|
-
}));
|
|
51
|
-
}, "transformer");
|
|
52
|
-
}
|
|
53
|
-
chunkGRNJVY7I_cjs.__name(createTransformer, "createTransformer");
|
|
54
|
-
function createDeclarationTransformer(context, options = {}) {
|
|
55
|
-
return /* @__PURE__ */ chunkGRNJVY7I_cjs.__name(function declarationTransformer(ctx) {
|
|
56
|
-
return new type_compiler_exports.DeclarationTransformer(ctx, cache).withReflection(defu__default.default(options, {
|
|
57
|
-
reflection: context.tsconfig.tsconfigJson.compilerOptions?.reflection || context.tsconfig.tsconfigJson.reflection,
|
|
58
|
-
reflectionLevel: context.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel || context.tsconfig.tsconfigJson.reflectionLevel
|
|
59
|
-
}, {
|
|
60
|
-
exclude: [],
|
|
61
|
-
reflection: "default",
|
|
62
|
-
reflectionLevel: "minimal"
|
|
63
|
-
}));
|
|
64
|
-
}, "declarationTransformer");
|
|
65
|
-
}
|
|
66
|
-
chunkGRNJVY7I_cjs.__name(createDeclarationTransformer, "createDeclarationTransformer");
|
|
67
|
-
|
|
68
|
-
exports.createDeclarationTransformer = createDeclarationTransformer;
|
|
69
|
-
exports.createTransformer = createTransformer;
|