@powerlines/deepkit 0.7.4 → 0.7.5

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.
Files changed (91) hide show
  1. package/dist/{capnp-BLx1WTBU.cjs → capnp-BLCHrDSY.cjs} +42 -42
  2. package/dist/{capnp-BiGNkOmV.mjs → capnp-BqAglxrS.mjs} +265 -265
  3. package/dist/capnp.cjs +1 -1
  4. package/dist/capnp.d.cts +42 -44
  5. package/dist/capnp.d.mts +42 -44
  6. package/dist/capnp.mjs +1 -1
  7. package/dist/{chunk-C0xms8kb.cjs → chunk-BmvPcxpV.cjs} +7 -0
  8. package/dist/chunk-CgI6uo-e.mjs +32 -0
  9. package/dist/{vendor/type-compiler/compiler-D1z5h1MK.d.cts → compiler-B-zwyGQf.d.cts} +3 -201
  10. package/dist/{vendor/type-compiler/compiler-Bg8jX6qU.mjs → compiler-BUUdv7wG.mjs} +4 -191
  11. package/dist/{vendor/type-compiler/compiler-Nkxc4PLJ.d.mts → compiler-BzOZmhWO.d.mts} +3 -201
  12. package/dist/{vendor/type-compiler/compiler-BUrWMhGi.cjs → compiler-DTp8Jvav.cjs} +207 -394
  13. package/dist/{vendor/type-compiler/config-B_cKkYZm.d.cts → config-B2hS4_tR.d.mts} +1 -1
  14. package/dist/config-C0OHvihx.d.mts +1 -0
  15. package/dist/{vendor/type-compiler/config-y0HNkbCH.mjs → config-CuXC21KA.mjs} +3 -32
  16. package/dist/{vendor/type-compiler/config-D9DM7Du_.d.mts → config-DCmu3CV2.d.cts} +1 -1
  17. package/dist/config-GPeRZeGl.d.cts +1 -0
  18. package/dist/{vendor/type-compiler/config-BEX924PC.cjs → config-GVyELKY1.cjs} +20 -59
  19. package/dist/esbuild-plugin-BUYqx8_5.cjs +80 -0
  20. package/dist/esbuild-plugin-CRQUmm86.mjs +75 -0
  21. package/dist/esbuild-plugin.cjs +2 -47
  22. package/dist/esbuild-plugin.d.cts +18 -4
  23. package/dist/esbuild-plugin.d.mts +18 -4
  24. package/dist/esbuild-plugin.mjs +2 -47
  25. package/dist/index.cjs +3 -3
  26. package/dist/index.d.cts +4 -4
  27. package/dist/index.d.mts +4 -4
  28. package/dist/index.mjs +3 -3
  29. package/dist/reflect-type.cjs +4 -4
  30. package/dist/reflect-type.d.cts +1 -1
  31. package/dist/reflect-type.d.mts +1 -1
  32. package/dist/reflect-type.mjs +2 -2
  33. package/dist/{reflection-C4IlLDrv.d.cts → reflection-Bhe75GyI.d.mts} +2 -2
  34. package/dist/{reflection-BB3pXP5l.d.mts → reflection-DGOuMF8F.d.cts} +2 -2
  35. package/dist/resolve-reflections.cjs +1 -1
  36. package/dist/rolldown-plugin.cjs +1 -1
  37. package/dist/{vendor/string-BuMgdahD.mjs → string-CjkshhTG.mjs} +2 -28
  38. package/dist/{vendor/string-BoXo0wS7.cjs → string-CpVz34Gv.cjs} +6 -39
  39. package/dist/transformer.cjs +6 -7
  40. package/dist/transformer.d.cts +1 -1
  41. package/dist/transformer.d.mts +1 -1
  42. package/dist/transformer.mjs +2 -3
  43. package/dist/transpile.cjs +6 -2
  44. package/dist/transpile.d.cts +1 -1
  45. package/dist/transpile.d.mts +1 -1
  46. package/dist/transpile.mjs +5 -1
  47. package/dist/type-8AL5U7vn.d.cts +2969 -0
  48. package/dist/type-BDuj5wg2.d.mts +2969 -0
  49. package/dist/{vendor/type-Dgeqs-rL.mjs → type-BWm74eaQ.mjs} +1 -1
  50. package/dist/type-C7UXbXfx.cjs +10688 -0
  51. package/dist/{vendor/type-2yMJb9Mw.d.cts → type-DR66Hepn.d.cts} +1 -1
  52. package/dist/{vendor/type-DEpHWwMt.d.mts → type-DfwJ6GTs.d.mts} +1 -1
  53. package/dist/type-ma8o4dJG.mjs +9110 -0
  54. package/dist/{vendor/types-Ur6a2Srw.d.mts → types-BO3PJV5p.d.mts} +1 -1
  55. package/dist/{vendor/types-exLGvFgG.d.cts → types-Bb6lL3KL.d.cts} +1 -1
  56. package/dist/types.d.cts +4 -7
  57. package/dist/types.d.mts +4 -7
  58. package/dist/utilities-CT_jcB5h.mjs +1483 -0
  59. package/dist/utilities-Dr3TzxMb.cjs +1523 -0
  60. package/dist/utilities.cjs +8 -116
  61. package/dist/utilities.d.cts +1 -1
  62. package/dist/utilities.d.mts +1 -1
  63. package/dist/utilities.mjs +2 -110
  64. package/dist/vendor/core.cjs +1 -1
  65. package/dist/vendor/core.d.cts +1 -1
  66. package/dist/vendor/core.d.mts +1 -1
  67. package/dist/vendor/core.mjs +1 -1
  68. package/dist/vendor/type-compiler/compiler.cjs +1 -1
  69. package/dist/vendor/type-compiler/compiler.d.cts +1 -1
  70. package/dist/vendor/type-compiler/compiler.d.mts +1 -1
  71. package/dist/vendor/type-compiler/compiler.mjs +1 -1
  72. package/dist/vendor/type-compiler/config.cjs +1 -1
  73. package/dist/vendor/type-compiler/config.d.cts +1 -1
  74. package/dist/vendor/type-compiler/config.d.mts +1 -1
  75. package/dist/vendor/type-compiler/config.mjs +1 -1
  76. package/dist/vendor/type-compiler/index.cjs +11 -3
  77. package/dist/vendor/type-compiler/index.d.cts +3 -2
  78. package/dist/vendor/type-compiler/index.d.mts +3 -2
  79. package/dist/vendor/type-compiler/index.mjs +3 -2
  80. package/dist/vendor/type-spec.cjs +1 -1
  81. package/dist/vendor/type-spec.d.cts +1 -1
  82. package/dist/vendor/type-spec.d.mts +1 -1
  83. package/dist/vendor/type-spec.mjs +1 -1
  84. package/dist/vendor/type.cjs +268 -9374
  85. package/dist/vendor/type.d.cts +3 -2969
  86. package/dist/vendor/type.d.mts +3 -2969
  87. package/dist/vendor/type.mjs +3 -9109
  88. package/package.json +9 -14
  89. package/schemas/reflection.d.cts +1 -6
  90. package/schemas/reflection.d.mts +1 -6
  91. /package/dist/{vendor/type-BMLjRtLY.cjs → type-DhqntM0q.cjs} +0 -0
@@ -508,4 +508,4 @@ declare type __ΩInjectMeta = any[];
508
508
  declare type __ΩInject = any[];
509
509
  //#endregion
510
510
  export { isClassInstance as $, ensureError as A, zip as At, getCurrentFileName as B, changeClass as C, range as Ct, createStack as D, sleep as Dt, createDynamicClass as E, size as Et, formatError as F, hasProperty as G, getObjectKeysSize as H, forwardTypeArguments as I, inDebugMode as J, humanBytes as K, getClassName as L, first as M, firstKey as N, deletePathValue as O, stringifyValueWithType as Ot, fixAsyncOperation as P, isClass as Q, getClassPropertyName as R, average as S, prettyPrintObject as St, copy as T, setPathValue as Tt, getParentClass as U, getInheritanceChain as V, getPathValue as W, isArray as X, indexOf as Y, isAsyncFunction as Z, appendObject as _, last as _t, __ΩInjectMeta as a, isNull as at, assertInstanceOf as b, mergeStack as bt, AbstractClassType as c, isObject as ct, CustomError as d, isPromise as dt, isConstructable as et, ExtractClassType as f, isPrototypeOfBase as ft, __ΩExtractClassType as g, iterableSize as gt, __ΩCustomError as h, isUndefined as ht, __ΩInject as i, isIterable as it, escapeRegExp as j, empty as k, time as kt, AsyncFunction as l, isObjectLiteral as lt, __ΩClassType as m, isString as mt, InjectMeta as n, isGlobalClass as nt, __ΩTypeAnnotation as o, isNumber as ot, __ΩAbstractClassType as p, isSet as pt, identifyType as q, TypeAnnotation as r, isInteger as rt, CompilerContext as s, isNumeric as st, Inject as t, isFunction as tt, ClassType as u, isPlainObject as ut, applyDefaults as v, lastKey as vt, collectForMicrotask as w, rangeArray as wt, asyncOperation as x, prependObjectKeys as xt, assertDefined as y, mergePromiseStack as yt, getClassTypeFromInstance as z };
511
- //# sourceMappingURL=types-Ur6a2Srw.d.mts.map
511
+ //# sourceMappingURL=types-BO3PJV5p.d.mts.map
@@ -508,4 +508,4 @@ declare type __ΩInjectMeta = any[];
508
508
  declare type __ΩInject = any[];
509
509
  //#endregion
510
510
  export { isClassInstance as $, ensureError as A, zip as At, getCurrentFileName as B, changeClass as C, range as Ct, createStack as D, sleep as Dt, createDynamicClass as E, size as Et, formatError as F, hasProperty as G, getObjectKeysSize as H, forwardTypeArguments as I, inDebugMode as J, humanBytes as K, getClassName as L, first as M, firstKey as N, deletePathValue as O, stringifyValueWithType as Ot, fixAsyncOperation as P, isClass as Q, getClassPropertyName as R, average as S, prettyPrintObject as St, copy as T, setPathValue as Tt, getParentClass as U, getInheritanceChain as V, getPathValue as W, isArray as X, indexOf as Y, isAsyncFunction as Z, appendObject as _, last as _t, __ΩInjectMeta as a, isNull as at, assertInstanceOf as b, mergeStack as bt, AbstractClassType as c, isObject as ct, CustomError as d, isPromise as dt, isConstructable as et, ExtractClassType as f, isPrototypeOfBase as ft, __ΩExtractClassType as g, iterableSize as gt, __ΩCustomError as h, isUndefined as ht, __ΩInject as i, isIterable as it, escapeRegExp as j, empty as k, time as kt, AsyncFunction as l, isObjectLiteral as lt, __ΩClassType as m, isString as mt, InjectMeta as n, isGlobalClass as nt, __ΩTypeAnnotation as o, isNumber as ot, __ΩAbstractClassType as p, isSet as pt, identifyType as q, TypeAnnotation as r, isInteger as rt, CompilerContext as s, isNumeric as st, Inject as t, isFunction as tt, ClassType as u, isPlainObject as ut, applyDefaults as v, lastKey as vt, collectForMicrotask as w, rangeArray as wt, asyncOperation as x, prependObjectKeys as xt, assertDefined as y, mergePromiseStack as yt, getClassTypeFromInstance as z };
511
- //# sourceMappingURL=types-exLGvFgG.d.cts.map
511
+ //# sourceMappingURL=types-Bb6lL3KL.d.cts.map
package/dist/types.d.cts CHANGED
@@ -1,16 +1,13 @@
1
- import { S as SerializedTypes$1 } from "./reflection-C4IlLDrv.cjs";
2
- import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
1
+ import { S as SerializedTypes } from "./reflection-DGOuMF8F.cjs";
2
+ import { Yt as ReflectionClass } from "./type-8AL5U7vn.cjs";
3
3
 
4
4
  //#region src/types.d.ts
5
5
  type Reflection<T extends Record<string, any> = Record<string, any>> = ReflectionClass<T> & {
6
6
  dataBuffer?: ArrayBuffer;
7
- messageRoot?: SerializedTypes$1;
7
+ messageRoot?: SerializedTypes;
8
8
  };
9
9
  type ReflectionRecord<T extends Record<string, any> = Record<string, any>> = Record<string, Reflection<T>>;
10
10
  interface ContextReflectionRecord<T extends Record<string, any> = Record<string, any>> extends Record<string, Reflection<T> | ContextReflectionRecord<T>> {}
11
- declare type __ΩReflection = any[];
12
- declare type __ΩReflectionRecord = any[];
13
- declare type __ΩContextReflectionRecord = any[];
14
11
  //#endregion
15
- export { ContextReflectionRecord, Reflection, ReflectionRecord, __ΩContextReflectionRecord, __ΩReflection, __ΩReflectionRecord };
12
+ export { ContextReflectionRecord, Reflection, ReflectionRecord };
16
13
  //# sourceMappingURL=types.d.cts.map
package/dist/types.d.mts CHANGED
@@ -1,16 +1,13 @@
1
- import { S as SerializedTypes$1 } from "./reflection-BB3pXP5l.mjs";
2
- import { ReflectionClass } from "@powerlines/deepkit/vendor/type";
1
+ import { S as SerializedTypes } from "./reflection-Bhe75GyI.mjs";
2
+ import { Yt as ReflectionClass } from "./type-BDuj5wg2.mjs";
3
3
 
4
4
  //#region src/types.d.ts
5
5
  type Reflection<T extends Record<string, any> = Record<string, any>> = ReflectionClass<T> & {
6
6
  dataBuffer?: ArrayBuffer;
7
- messageRoot?: SerializedTypes$1;
7
+ messageRoot?: SerializedTypes;
8
8
  };
9
9
  type ReflectionRecord<T extends Record<string, any> = Record<string, any>> = Record<string, Reflection<T>>;
10
10
  interface ContextReflectionRecord<T extends Record<string, any> = Record<string, any>> extends Record<string, Reflection<T> | ContextReflectionRecord<T>> {}
11
- declare type __ΩReflection = any[];
12
- declare type __ΩReflectionRecord = any[];
13
- declare type __ΩContextReflectionRecord = any[];
14
11
  //#endregion
15
- export { ContextReflectionRecord, Reflection, ReflectionRecord, __ΩContextReflectionRecord, __ΩReflection, __ΩReflectionRecord };
12
+ export { ContextReflectionRecord, Reflection, ReflectionRecord };
16
13
  //# sourceMappingURL=types.d.mts.map