@powerlines/deepkit 0.7.8 → 0.8.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/{capnp-C8UENZHc.cjs → capnp-CkbeQ2uR.cjs} +8 -0
- package/dist/{capnp-BYEUkMpr.mjs → capnp-D0NNeu5y.mjs} +9 -1
- package/dist/capnp.cjs +1 -1
- package/dist/capnp.d.cts +3 -1
- package/dist/capnp.d.mts +3 -1
- package/dist/capnp.mjs +1 -1
- package/dist/config-ClUYu_c-.d.mts +40 -0
- package/dist/config-u7zg69VP.d.cts +40 -0
- package/dist/esbuild-plugin.d.cts +7 -8
- package/dist/esbuild-plugin.d.mts +7 -8
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/reflect-type.cjs +1 -1
- package/dist/reflect-type.mjs +1 -1
- package/dist/{reflection-DGOuMF8F.d.cts → reflection-8fgblw1P.d.cts} +3 -1
- package/dist/{reflection-DaLz4ZT5.d.mts → reflection-l3nKKCgX.d.mts} +3 -1
- package/dist/{transformer-BiefehPu.mjs → transformer-BseLGhId.mjs} +6 -6
- package/dist/{transformer-DS0zKU7l.cjs → transformer-Ct9lYNRY.cjs} +5 -5
- package/dist/transformer.cjs +1 -1
- package/dist/transformer.d.cts +1 -1
- package/dist/transformer.d.mts +1 -1
- package/dist/transformer.mjs +1 -1
- package/dist/transpile.cjs +2 -2
- package/dist/transpile.d.cts +1 -1
- package/dist/transpile.d.mts +1 -1
- package/dist/transpile.mjs +2 -2
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/vendor/{compiler-CqkzeoNX.mjs → compiler-Ba99lbTF.mjs} +11 -12
- package/dist/vendor/{compiler-Dz2b4nOM.d.cts → compiler-CZ0k-pTB.d.cts} +6 -6
- package/dist/vendor/{compiler-BYhFaVxE.d.mts → compiler-DIcnaeXC.d.mts} +6 -6
- package/dist/vendor/{compiler-Ci5aO9pY.cjs → compiler-DYfCGCv5.cjs} +10 -11
- package/dist/vendor/{config-eSNKiBGB.mjs → config-BFH3ETeQ.mjs} +16 -15
- package/dist/vendor/{config-BTErH18l.d.mts → config-BQtfsjwX.d.mts} +32 -18
- package/dist/vendor/{config-BbFVGRVh.cjs → config-Cadu6Rkt.cjs} +18 -17
- package/dist/vendor/{config-Cc2qE8fH.d.cts → config-D0jKbRFV.d.cts} +32 -18
- package/dist/vendor/core.cjs +97 -120
- package/dist/vendor/core.mjs +1 -24
- package/dist/vendor/type-compiler/compiler.cjs +1 -1
- package/dist/vendor/type-compiler/compiler.d.cts +1 -1
- package/dist/vendor/type-compiler/compiler.d.mts +1 -1
- package/dist/vendor/type-compiler/compiler.mjs +1 -1
- package/dist/vendor/type-compiler/config.cjs +2 -2
- package/dist/vendor/type-compiler/config.d.cts +2 -2
- package/dist/vendor/type-compiler/config.d.mts +2 -2
- package/dist/vendor/type-compiler/config.mjs +2 -2
- package/dist/vendor/type-compiler/index.cjs +5 -5
- package/dist/vendor/type-compiler/index.d.cts +4 -4
- package/dist/vendor/type-compiler/index.d.mts +4 -4
- package/dist/vendor/type-compiler/index.mjs +5 -5
- package/dist/vendor/type.cjs +11015 -4928
- package/dist/vendor/type.d.cts +220 -24
- package/dist/vendor/type.d.mts +220 -24
- package/dist/vendor/type.mjs +11521 -5630
- package/dist/vendor/{string-DoT35ViA.mjs → types--t65boB8.mjs} +25 -2
- package/dist/vendor/{string-LTCnMzW_.cjs → types-BzOSMMf1.cjs} +41 -0
- package/package.json +4 -4
- package/schemas/reflection.capnp +3 -2
- package/schemas/reflection.cjs +6 -0
- package/schemas/reflection.d.cts +2 -0
- package/schemas/reflection.d.mts +2 -0
- package/schemas/reflection.mjs +6 -0
- package/dist/config-B6lMYoYG.d.mts +0 -32
- package/dist/config-C8svu6th.d.cts +0 -32
|
@@ -2438,5 +2438,28 @@ capitalize.__type = [
|
|
|
2438
2438
|
];
|
|
2439
2439
|
|
|
2440
2440
|
//#endregion
|
|
2441
|
-
|
|
2442
|
-
|
|
2441
|
+
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/types.js
|
|
2442
|
+
const __ΩTypeAnnotation = [
|
|
2443
|
+
"T",
|
|
2444
|
+
"Options",
|
|
2445
|
+
"TypeAnnotation",
|
|
2446
|
+
"b!!c\"#w#y"
|
|
2447
|
+
];
|
|
2448
|
+
const __ΩInjectMeta = [
|
|
2449
|
+
"T",
|
|
2450
|
+
() => __ΩTypeAnnotation,
|
|
2451
|
+
"inject",
|
|
2452
|
+
"InjectMeta",
|
|
2453
|
+
"!c!.#e!!o\"#w$y"
|
|
2454
|
+
];
|
|
2455
|
+
const __ΩInject = [
|
|
2456
|
+
"Type",
|
|
2457
|
+
"Token",
|
|
2458
|
+
() => __ΩInjectMeta,
|
|
2459
|
+
"Inject",
|
|
2460
|
+
"b!!c\"Pe\"!e\"\"o#\"Kw$y"
|
|
2461
|
+
];
|
|
2462
|
+
|
|
2463
|
+
//#endregion
|
|
2464
|
+
export { isClass as $, empty as A, time as At, getClassTypeFromInstance as B, average as C, prettyPrintObject as Ct, createDynamicClass as D, size as Dt, copy as E, setPathValue as Et, fixAsyncOperation as F, getPathValue as G, getInheritanceChain as H, formatError as I, identifyType as J, hasProperty as K, forwardTypeArguments as L, escapeRegExp as M, each as Mt, first as N, eachKey as Nt, createStack as O, sleep as Ot, firstKey as P, eachPair as Pt, isAsyncFunction as Q, getClassName as R, asyncOperation as S, prependObjectKeys as St, collectForMicrotask as T, rangeArray as Tt, getObjectKeysSize as U, getCurrentFileName as V, getParentClass as W, indexOf as X, inDebugMode as Y, isArray as Z, __ΩExtractClassType as _, iterableSize as _t, indent as a, isIterable as at, assertDefined as b, mergePromiseStack as bt, arrayHasItem as c, isNumeric as ct, toFastProperties as d, isPlainObject as dt, isClassInstance as et, AsyncFunction as f, isPromise as ft, __ΩCustomError as g, isUndefined as gt, __ΩClassType as h, isString as ht, capitalize as i, isInteger as it, ensureError as j, zip as jt, deletePathValue as k, stringifyValueWithType as kt, arrayMoveItem as l, isObject as lt, __ΩAbstractClassType as m, isSet as mt, __ΩInjectMeta as n, isFunction as nt, CompilerContext as o, isNull as ot, CustomError as p, isPrototypeOfBase as pt, humanBytes as q, __ΩTypeAnnotation as r, isGlobalClass as rt, arrayClear as s, isNumber as st, __ΩInject as t, isConstructable as tt, arrayRemoveItem as u, isObjectLiteral as ut, appendObject as v, last as vt, changeClass as w, range as wt, assertInstanceOf as x, mergeStack as xt, applyDefaults as y, lastKey as yt, getClassPropertyName as z };
|
|
2465
|
+
//# sourceMappingURL=types--t65boB8.mjs.map
|
|
@@ -2437,6 +2437,29 @@ capitalize.__type = [
|
|
|
2437
2437
|
"P&2!&/\""
|
|
2438
2438
|
];
|
|
2439
2439
|
|
|
2440
|
+
//#endregion
|
|
2441
|
+
//#region ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/types.js
|
|
2442
|
+
const __ΩTypeAnnotation = [
|
|
2443
|
+
"T",
|
|
2444
|
+
"Options",
|
|
2445
|
+
"TypeAnnotation",
|
|
2446
|
+
"b!!c\"#w#y"
|
|
2447
|
+
];
|
|
2448
|
+
const __ΩInjectMeta = [
|
|
2449
|
+
"T",
|
|
2450
|
+
() => __ΩTypeAnnotation,
|
|
2451
|
+
"inject",
|
|
2452
|
+
"InjectMeta",
|
|
2453
|
+
"!c!.#e!!o\"#w$y"
|
|
2454
|
+
];
|
|
2455
|
+
const __ΩInject = [
|
|
2456
|
+
"Type",
|
|
2457
|
+
"Token",
|
|
2458
|
+
() => __ΩInjectMeta,
|
|
2459
|
+
"Inject",
|
|
2460
|
+
"b!!c\"Pe\"!e\"\"o#\"Kw$y"
|
|
2461
|
+
];
|
|
2462
|
+
|
|
2440
2463
|
//#endregion
|
|
2441
2464
|
Object.defineProperty(exports, 'AsyncFunction', {
|
|
2442
2465
|
enumerable: true,
|
|
@@ -2480,6 +2503,24 @@ Object.defineProperty(exports, '__ΩExtractClassType', {
|
|
|
2480
2503
|
return __ΩExtractClassType;
|
|
2481
2504
|
}
|
|
2482
2505
|
});
|
|
2506
|
+
Object.defineProperty(exports, '__ΩInject', {
|
|
2507
|
+
enumerable: true,
|
|
2508
|
+
get: function () {
|
|
2509
|
+
return __ΩInject;
|
|
2510
|
+
}
|
|
2511
|
+
});
|
|
2512
|
+
Object.defineProperty(exports, '__ΩInjectMeta', {
|
|
2513
|
+
enumerable: true,
|
|
2514
|
+
get: function () {
|
|
2515
|
+
return __ΩInjectMeta;
|
|
2516
|
+
}
|
|
2517
|
+
});
|
|
2518
|
+
Object.defineProperty(exports, '__ΩTypeAnnotation', {
|
|
2519
|
+
enumerable: true,
|
|
2520
|
+
get: function () {
|
|
2521
|
+
return __ΩTypeAnnotation;
|
|
2522
|
+
}
|
|
2523
|
+
});
|
|
2483
2524
|
Object.defineProperty(exports, 'appendObject', {
|
|
2484
2525
|
enumerable: true,
|
|
2485
2526
|
get: function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/deepkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"keywords": ["deepkit", "powerlines", "storm-software"],
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"bin": { "deepkit-install": "bin/deepkit-install.cjs" },
|
|
115
115
|
"files": ["bin/*", "dist/**/*", "schemas/*"],
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@powerlines/core": "^0.13.
|
|
118
|
-
"@powerlines/plugin-esbuild": "^0.13.
|
|
117
|
+
"@powerlines/core": "^0.13.9",
|
|
118
|
+
"@powerlines/plugin-esbuild": "^0.13.396",
|
|
119
119
|
"@storm-software/config-tools": "^1.189.75",
|
|
120
120
|
"@stryke/capnp": "^0.12.92",
|
|
121
121
|
"@stryke/fs": "^0.33.66",
|
|
@@ -145,5 +145,5 @@
|
|
|
145
145
|
"rolldown": { "optional": true }
|
|
146
146
|
},
|
|
147
147
|
"publishConfig": { "access": "public" },
|
|
148
|
-
"gitHead": "
|
|
148
|
+
"gitHead": "9104f99f87d0f09319d19a8eb8e1b8ac2def7cd0"
|
|
149
149
|
}
|
package/schemas/reflection.capnp
CHANGED
package/schemas/reflection.cjs
CHANGED
|
@@ -128,6 +128,12 @@ var TagsReflection = class extends _stryke_capnp.Struct {
|
|
|
128
128
|
set internal(value) {
|
|
129
129
|
_stryke_capnp.utils.setBit(3, value, this);
|
|
130
130
|
}
|
|
131
|
+
get runtime() {
|
|
132
|
+
return _stryke_capnp.utils.getBit(4, this);
|
|
133
|
+
}
|
|
134
|
+
set runtime(value) {
|
|
135
|
+
_stryke_capnp.utils.setBit(4, value, this);
|
|
136
|
+
}
|
|
131
137
|
_adoptPermission(value) {
|
|
132
138
|
_stryke_capnp.utils.adopt(value, _stryke_capnp.utils.getPointer(2, this));
|
|
133
139
|
}
|
package/schemas/reflection.d.cts
CHANGED
|
@@ -69,6 +69,8 @@ declare class TagsReflection extends $.Struct {
|
|
|
69
69
|
set ignore(value: boolean);
|
|
70
70
|
get internal(): boolean;
|
|
71
71
|
set internal(value: boolean);
|
|
72
|
+
get runtime(): boolean;
|
|
73
|
+
set runtime(value: boolean);
|
|
72
74
|
_adoptPermission(value: $.Orphan<$.List<string>>): void;
|
|
73
75
|
_disownPermission(): $.Orphan<$.List<string>>;
|
|
74
76
|
get permission(): $.List<string>;
|
package/schemas/reflection.d.mts
CHANGED
|
@@ -69,6 +69,8 @@ declare class TagsReflection extends $.Struct {
|
|
|
69
69
|
set ignore(value: boolean);
|
|
70
70
|
get internal(): boolean;
|
|
71
71
|
set internal(value: boolean);
|
|
72
|
+
get runtime(): boolean;
|
|
73
|
+
set runtime(value: boolean);
|
|
72
74
|
_adoptPermission(value: $.Orphan<$.List<string>>): void;
|
|
73
75
|
_disownPermission(): $.Orphan<$.List<string>>;
|
|
74
76
|
get permission(): $.List<string>;
|
package/schemas/reflection.mjs
CHANGED
|
@@ -99,6 +99,12 @@ var TagsReflection = class extends $.Struct {
|
|
|
99
99
|
set internal(value) {
|
|
100
100
|
$.utils.setBit(3, value, this);
|
|
101
101
|
}
|
|
102
|
+
get runtime() {
|
|
103
|
+
return $.utils.getBit(4, this);
|
|
104
|
+
}
|
|
105
|
+
set runtime(value) {
|
|
106
|
+
$.utils.setBit(4, value, this);
|
|
107
|
+
}
|
|
102
108
|
_adoptPermission(value) {
|
|
103
109
|
$.utils.adopt(value, $.utils.getPointer(2, this));
|
|
104
110
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import ts from "typescript";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=439aa6e683a9a48c3ebbf3529be5811680c45c22d6a265d_be73b50bc43bac944747b8ca0498113a/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Default means reflection is enabled for this file.
|
|
6
|
-
* Never means the whole reflection is disabled for this file.
|
|
7
|
-
* Explicit means that reflection is per default disabled for this file, but each symbol/type
|
|
8
|
-
* in it is allowed to enable it using jsdoc `@reflection`.
|
|
9
|
-
*/
|
|
10
|
-
declare const reflectionModes: readonly ["default", "explicit", "never"];
|
|
11
|
-
type Mode = (typeof reflectionModes)[number];
|
|
12
|
-
declare const reflectionLevel: string[];
|
|
13
|
-
type Level = (typeof reflectionLevel)[number];
|
|
14
|
-
interface ReflectionConfig {
|
|
15
|
-
/**
|
|
16
|
-
* Allows to exclude type definitions/TS files from being included in the type compilation step.
|
|
17
|
-
* When a global .d.ts is matched, their types won't be embedded (useful to exclude DOM for example)
|
|
18
|
-
*/
|
|
19
|
-
exclude?: string[];
|
|
20
|
-
/**
|
|
21
|
-
* Either a boolean indication general reflection mode,
|
|
22
|
-
* or a list of globs to match against.
|
|
23
|
-
*/
|
|
24
|
-
reflection?: string[] | Mode;
|
|
25
|
-
/**
|
|
26
|
-
* Defines the level of reflection to be used during the transpilation process.
|
|
27
|
-
*/
|
|
28
|
-
reflectionLevel?: Level;
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
export { Mode as n, ReflectionConfig as r, Level as t };
|
|
32
|
-
//# sourceMappingURL=config-B6lMYoYG.d.mts.map
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import ts from "typescript";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=439aa6e683a9a48c3ebbf3529be5811680c45c22d6a265d_be73b50bc43bac944747b8ca0498113a/node_modules/@deepkit/type-compiler/dist/cjs/src/config.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Default means reflection is enabled for this file.
|
|
6
|
-
* Never means the whole reflection is disabled for this file.
|
|
7
|
-
* Explicit means that reflection is per default disabled for this file, but each symbol/type
|
|
8
|
-
* in it is allowed to enable it using jsdoc `@reflection`.
|
|
9
|
-
*/
|
|
10
|
-
declare const reflectionModes: readonly ["default", "explicit", "never"];
|
|
11
|
-
type Mode = (typeof reflectionModes)[number];
|
|
12
|
-
declare const reflectionLevel: string[];
|
|
13
|
-
type Level = (typeof reflectionLevel)[number];
|
|
14
|
-
interface ReflectionConfig {
|
|
15
|
-
/**
|
|
16
|
-
* Allows to exclude type definitions/TS files from being included in the type compilation step.
|
|
17
|
-
* When a global .d.ts is matched, their types won't be embedded (useful to exclude DOM for example)
|
|
18
|
-
*/
|
|
19
|
-
exclude?: string[];
|
|
20
|
-
/**
|
|
21
|
-
* Either a boolean indication general reflection mode,
|
|
22
|
-
* or a list of globs to match against.
|
|
23
|
-
*/
|
|
24
|
-
reflection?: string[] | Mode;
|
|
25
|
-
/**
|
|
26
|
-
* Defines the level of reflection to be used during the transpilation process.
|
|
27
|
-
*/
|
|
28
|
-
reflectionLevel?: Level;
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
export { Mode as n, ReflectionConfig as r, Level as t };
|
|
32
|
-
//# sourceMappingURL=config-C8svu6th.d.cts.map
|