@powerlines/deepkit 0.5.0 → 0.5.1

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 (97) hide show
  1. package/dist/capnp.cjs +48 -47
  2. package/dist/capnp.js +3 -2
  3. package/dist/{chunk-TVDEXHJN.js → chunk-4V4LIAN2.js} +8 -9
  4. package/dist/chunk-7J3ZDT6O.cjs +30 -0
  5. package/dist/{chunk-U4JSDAXK.js → chunk-B6GTAZEL.js} +8 -7
  6. package/dist/{chunk-KYFUOGZ6.cjs → chunk-ESVH44QW.cjs} +9 -10
  7. package/dist/chunk-FFBZWTR7.cjs +63 -0
  8. package/dist/chunk-GRNJVY7I.cjs +19 -0
  9. package/dist/{chunk-DGXATHAN.js → chunk-I5CVIT7W.js} +41 -46
  10. package/dist/chunk-IRPJW6HH.js +16 -0
  11. package/dist/{chunk-SKYW5GV2.cjs → chunk-J2FVIV7W.cjs} +127 -132
  12. package/dist/chunk-J4SVRFV4.js +127 -0
  13. package/dist/{chunk-FEBG7WWO.js → chunk-MEMIQ5AA.js} +1 -3
  14. package/dist/chunk-ORA4UQMU.cjs +2 -0
  15. package/dist/chunk-OULCUN6I.js +1 -0
  16. package/dist/chunk-PKLLVKY2.cjs +193 -0
  17. package/dist/chunk-QLKLDV3V.cjs +135 -0
  18. package/dist/chunk-U5O6DHJ2.js +187 -0
  19. package/dist/{chunk-JHEBLHYK.cjs → chunk-VMRRVNO2.cjs} +2 -4
  20. package/dist/{chunk-55HOZO7D.cjs → chunk-VWKKT7CM.cjs} +5 -7
  21. package/dist/chunk-XGQQM64U.js +8 -0
  22. package/dist/{chunk-BTXPY3B4.js → chunk-YQQIT5YX.js} +2 -4
  23. package/dist/esbuild-plugin.cjs +5 -5
  24. package/dist/esbuild-plugin.d.cts +3 -2
  25. package/dist/esbuild-plugin.d.ts +3 -2
  26. package/dist/esbuild-plugin.js +4 -4
  27. package/dist/index.cjs +69 -69
  28. package/dist/index.js +10 -12
  29. package/dist/reflect-type.cjs +7 -6
  30. package/dist/reflect-type.js +6 -5
  31. package/dist/resolve-reflections.cjs +3 -3
  32. package/dist/resolve-reflections.js +2 -2
  33. package/dist/transformer.cjs +4 -4
  34. package/dist/transformer.js +2 -2
  35. package/dist/transpile.cjs +4 -4
  36. package/dist/transpile.js +3 -3
  37. package/dist/types.cjs +1 -2
  38. package/dist/types.js +1 -2
  39. package/dist/utilities.cjs +10 -9
  40. package/dist/utilities.js +3 -2
  41. package/dist/{chunk-YKFG2BZQ.cjs → vendor/chunk-5NPGWGPO.cjs} +0 -6
  42. package/dist/vendor/{chunk-BLN7QVCP.js → chunk-7LAB3COT.js} +7 -154
  43. package/dist/vendor/chunk-IOMA7ABE.js +359 -0
  44. package/dist/vendor/chunk-K5KCTNDL.cjs +2678 -0
  45. package/dist/vendor/chunk-L3KIZV6P.js +2664 -0
  46. package/dist/vendor/chunk-M3FJ3QXG.cjs +377 -0
  47. package/dist/vendor/chunk-SHUYVCID.js +4 -0
  48. package/dist/vendor/chunk-USNT2KNT.cjs +6 -0
  49. package/dist/{chunk-4WJJKR53.js → vendor/chunk-ZDFKNN7Y.cjs} +281 -322
  50. package/dist/vendor/compiler.cjs +12 -13
  51. package/dist/vendor/compiler.js +2 -5
  52. package/dist/vendor/config.cjs +9 -10
  53. package/dist/vendor/config.js +1 -5
  54. package/dist/vendor/core.cjs +130 -131
  55. package/dist/vendor/core.js +2 -5
  56. package/dist/vendor/index.cjs +14 -22
  57. package/dist/vendor/index.js +3 -11
  58. package/dist/vendor/type-spec.cjs +5 -6
  59. package/dist/vendor/type-spec.js +2 -5
  60. package/dist/vendor/type.cjs +631 -758
  61. package/dist/vendor/type.js +15 -138
  62. package/package.json +4 -4
  63. package/dist/chunk-2V4ET57D.js +0 -6954
  64. package/dist/chunk-6ETLMANX.js +0 -3472
  65. package/dist/chunk-6IQVU53O.cjs +0 -24
  66. package/dist/chunk-6OXPIOZY.cjs +0 -43
  67. package/dist/chunk-7WAH4JD3.js +0 -115
  68. package/dist/chunk-B4PTD5KQ.js +0 -4
  69. package/dist/chunk-ITQKPDCW.cjs +0 -3859
  70. package/dist/chunk-LBHO5BRF.js +0 -2251
  71. package/dist/chunk-OYRIJX67.cjs +0 -3487
  72. package/dist/chunk-PANPZ6S6.cjs +0 -6
  73. package/dist/chunk-QPSZUUB6.cjs +0 -2259
  74. package/dist/chunk-QQ7GKXIS.js +0 -43
  75. package/dist/chunk-SA3DCC4M.cjs +0 -6968
  76. package/dist/chunk-WVKPC33H.cjs +0 -49
  77. package/dist/chunk-YUO4MCOI.js +0 -18
  78. package/dist/vendor/chunk-5BKT4CS5.js +0 -28
  79. package/dist/vendor/chunk-BDXVTHBY.cjs +0 -3859
  80. package/dist/vendor/chunk-EQXMWOHO.cjs +0 -115
  81. package/dist/vendor/chunk-MCNMRQDT.js +0 -3513
  82. package/dist/vendor/chunk-MO4O4UYI.cjs +0 -42
  83. package/dist/vendor/chunk-RH4YMONA.js +0 -7064
  84. package/dist/vendor/chunk-RZKB5IQZ.cjs +0 -3531
  85. package/dist/vendor/chunk-WOXMCJJU.cjs +0 -7078
  86. package/dist/vendor/type-compiler/compiler.cjs +0 -46
  87. package/dist/vendor/type-compiler/compiler.d.cts +0 -1
  88. package/dist/vendor/type-compiler/compiler.d.ts +0 -1
  89. package/dist/vendor/type-compiler/compiler.js +0 -7
  90. package/dist/vendor/type-compiler/config.cjs +0 -36
  91. package/dist/vendor/type-compiler/config.d.cts +0 -6
  92. package/dist/vendor/type-compiler/config.d.ts +0 -6
  93. package/dist/vendor/type-compiler/config.js +0 -5
  94. package/dist/vendor/type-compiler/index.cjs +0 -108
  95. package/dist/vendor/type-compiler/index.d.cts +0 -1
  96. package/dist/vendor/type-compiler/index.d.ts +0 -1
  97. package/dist/vendor/type-compiler/index.js +0 -67
@@ -1,49 +0,0 @@
1
- 'use strict';
2
-
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
10
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
11
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
12
- }) : x)(function(x) {
13
- if (typeof require !== "undefined") return require.apply(this, arguments);
14
- throw Error('Dynamic require of "' + x + '" is not supported');
15
- });
16
- var __esm = (fn, res) => function __init() {
17
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
18
- };
19
- var __commonJS = (cb, mod) => function __require2() {
20
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
21
- };
22
- var __copyProps = (to, from, except, desc) => {
23
- if (from && typeof from === "object" || typeof from === "function") {
24
- for (let key of __getOwnPropNames(from))
25
- if (!__hasOwnProp.call(to, key) && key !== except)
26
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
27
- }
28
- return to;
29
- };
30
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
31
- // If the importer is in node compatibility mode or this is not an ESM
32
- // file that has been converted to a CommonJS file using a Babel-
33
- // compatible transform (i.e. "__esModule" has not been set), then set
34
- // "default" to the CommonJS "module.exports" for node compatibility.
35
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
36
- mod
37
- ));
38
-
39
- // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.55.2_@types+node@24.10.4__@swc+core@1.15.7_@swc+h_f8da27b0440c7f48fd09d237580fc3c9/node_modules/tsup/assets/cjs_shims.js
40
- var init_cjs_shims = __esm({
41
- "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.55.2_@types+node@24.10.4__@swc+core@1.15.7_@swc+h_f8da27b0440c7f48fd09d237580fc3c9/node_modules/tsup/assets/cjs_shims.js"() {
42
- }
43
- });
44
-
45
- exports.__commonJS = __commonJS;
46
- exports.__name = __name;
47
- exports.__require = __require;
48
- exports.__toESM = __toESM;
49
- exports.init_cjs_shims = init_cjs_shims;
@@ -1,18 +0,0 @@
1
- import { esbuildPlugin } from './chunk-TVDEXHJN.js';
2
- import { init_esm_shims, __name } from './chunk-QQ7GKXIS.js';
3
- import { reflect } from '@powerlines/deepkit/vendor/type';
4
- import defu from 'defu';
5
- import { resolve } from 'powerlines/lib/utilities/resolve';
6
-
7
- // src/reflect-type.ts
8
- init_esm_shims();
9
- async function reflectType(context, type, overrides = {}) {
10
- return reflect(await resolve(context, type, defu(overrides, {
11
- plugins: [
12
- esbuildPlugin(context)
13
- ]
14
- })));
15
- }
16
- __name(reflectType, "reflectType");
17
-
18
- export { reflectType };
@@ -1,28 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
- var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
-
28
- export { __commonJS, __name, __toESM };