@powerlines/deepkit 0.9.56 → 0.9.57

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/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_capnp = require('./capnp-Be787Fo8.cjs');
3
- const require_transformer = require('./transformer-BOXRRqVd.cjs');
3
+ const require_transformer = require('./transformer-BBFrHqHC.cjs');
4
4
  const require_transpile = require('./transpile.cjs');
5
5
  const require_esbuild_plugin = require('./esbuild-plugin.cjs');
6
6
  const require_resolve_reflections = require('./resolve-reflections.cjs');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-CY9QB61p.mjs";
1
+ import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-BqC4_fMK.mjs";
2
2
  import { A as convertToCapnpIndexAccessOrigin, B as convertToCapnpPropertySignature, C as convertToCapnp, D as convertToCapnpDefault, E as convertToCapnpClassType, F as convertToCapnpMethodSignature, G as convertToCapnpUnion, H as convertToCapnpTagsReflection, I as convertToCapnpObjectLiteral, L as convertToCapnpOther, M as convertToCapnpIntersection, N as convertToCapnpLiteral, O as convertToCapnpEnum, P as convertToCapnpMethod, R as convertToCapnpParameter, S as convertFromCapnpUnion, T as convertToCapnpBase, U as convertToCapnpTuple, V as convertToCapnpSimple, W as convertToCapnpTupleMember, _ as convertFromCapnpPropertySignature, a as convertFromCapnpDefault, b as convertFromCapnpTuple, c as convertFromCapnpIndexAccessOrigin, d as convertFromCapnpLiteral, f as convertFromCapnpMethodSignature, g as convertFromCapnpProperty, h as convertFromCapnpParameter, i as convertFromCapnpClassType, j as convertToCapnpInfer, k as convertToCapnpFunction, l as convertFromCapnpInfer, m as convertFromCapnpOther, n as convertFromCapnpArray, o as convertFromCapnpEnum, p as convertFromCapnpObjectLiteral, r as convertFromCapnpBase, s as convertFromCapnpFunction, t as convertFromCapnp, u as convertFromCapnpIntersection, v as convertFromCapnpSimple, w as convertToCapnpArray, x as convertFromCapnpTupleMember, y as convertFromCapnpTagsReflection, z as convertToCapnpProperty } from "./capnp-DMIKW0SW.mjs";
3
3
  import { transpile } from "./transpile.mjs";
4
4
  import { esbuildPlugin } from "./esbuild-plugin.mjs";
@@ -663,7 +663,7 @@ var require_vfs_cjs_development = /* @__PURE__ */ require_chunk.__commonJSMin(((
663
663
  hasLocalStorage = typeof localStorage !== "undefined";
664
664
  } catch (error) {}
665
665
  var hasProcess = typeof process !== "undefined";
666
- var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /* @__PURE__ */ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
666
+ var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /*#__PURE__*/ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
667
667
  return "";
668
668
  };
669
669
  /**
@@ -666,7 +666,7 @@ var require_vfs_cjs_development = /* @__PURE__ */ __commonJSMin(((exports) => {
666
666
  hasLocalStorage = typeof localStorage !== "undefined";
667
667
  } catch (error) {}
668
668
  var hasProcess = typeof process !== "undefined";
669
- var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /* @__PURE__ */ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
669
+ var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /*#__PURE__*/ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
670
670
  return "";
671
671
  };
672
672
  /**
@@ -1357,4 +1357,4 @@ function createDeclarationTransformer(context, options = {}) {
1357
1357
 
1358
1358
  //#endregion
1359
1359
  export { createTransformer as n, createDeclarationTransformer as t };
1360
- //# sourceMappingURL=transformer-CY9QB61p.mjs.map
1360
+ //# sourceMappingURL=transformer-BqC4_fMK.mjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_transformer = require('./transformer-BOXRRqVd.cjs');
2
+ const require_transformer = require('./transformer-BBFrHqHC.cjs');
3
3
 
4
4
  exports.createDeclarationTransformer = require_transformer.createDeclarationTransformer;
5
5
  exports.createTransformer = require_transformer.createTransformer;
@@ -1,3 +1,3 @@
1
- import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-CY9QB61p.mjs";
1
+ import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-BqC4_fMK.mjs";
2
2
 
3
3
  export { createDeclarationTransformer, createTransformer };
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('./chunk-fl3r8ClO.cjs');
3
- const require_transformer = require('./transformer-BOXRRqVd.cjs');
3
+ const require_transformer = require('./transformer-BBFrHqHC.cjs');
4
4
  let typescript = require("typescript");
5
5
  typescript = require_chunk.__toESM(typescript, 1);
6
6
  let _powerlines_core_plugin_utils = require("@powerlines/core/plugin-utils");
@@ -1,4 +1,4 @@
1
- import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-CY9QB61p.mjs";
1
+ import { n as createTransformer, t as createDeclarationTransformer } from "./transformer-BqC4_fMK.mjs";
2
2
  import ts from "typescript";
3
3
  import { removeVirtualPrefix } from "@powerlines/core/plugin-utils";
4
4
 
@@ -474,7 +474,7 @@ var require_vfs_cjs_development = /* @__PURE__ */ require_chunk.__commonJSMin(((
474
474
  hasLocalStorage = typeof localStorage !== "undefined";
475
475
  } catch (error) {}
476
476
  var hasProcess = typeof process !== "undefined";
477
- var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /* @__PURE__ */ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
477
+ var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /*#__PURE__*/ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
478
478
  return "";
479
479
  };
480
480
  /**
@@ -1135,9 +1135,9 @@ function normalizeNodeFactory(factory) {
1135
1135
  return updated;
1136
1136
  };
1137
1137
  const update = withOriginal ? updateWithOriginal : updateWithoutOriginal;
1138
- const createPrivateIdentifier = missingCreatePrivateIdentifier ? function(text) {
1138
+ const createPrivateIdentifier = missingCreatePrivateIdentifier ? (() => function(text) {
1139
1139
  return factory.createIdentifier(text);
1140
- } : factory.createPrivateIdentifier;
1140
+ })() : factory.createPrivateIdentifier;
1141
1141
  return {
1142
1142
  ["__compatUpgraded"]: true,
1143
1143
  ...factory,
@@ -2408,9 +2408,9 @@ function createNodeFactory(typescript) {
2408
2408
  const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
2409
2409
  return typescript.updateImportDeclaration(node, decorators, modifiers, importClause, moduleSpecifier, assertClause);
2410
2410
  }
2411
- const createPrivateIdentifier = (_a = typescript.createPrivateIdentifier) !== null && _a !== void 0 ? _a : function(text) {
2411
+ const createPrivateIdentifier = (_a = typescript.createPrivateIdentifier) !== null && _a !== void 0 ? _a : (() => function(text) {
2412
2412
  return typescript.createIdentifier(text);
2413
- };
2413
+ })();
2414
2414
  function createUniquePrivateName(text) {
2415
2415
  if (text != null && !text.startsWith("#")) throw new TypeError("First character of private identifier must be #: " + text);
2416
2416
  return createPrivateIdentifier(text !== null && text !== void 0 ? text : "");
@@ -472,7 +472,7 @@ var require_vfs_cjs_development = /* @__PURE__ */ __commonJSMin(((exports) => {
472
472
  hasLocalStorage = typeof localStorage !== "undefined";
473
473
  } catch (error) {}
474
474
  var hasProcess = typeof process !== "undefined";
475
- var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /* @__PURE__ */ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
475
+ var debugLog = hasLocalStorage && typeof localStorage.getItem === "function" && /*#__PURE__*/ localStorage.getItem("DEBUG") || hasProcess && process.env.DEBUG ? console.log : function(_message) {
476
476
  return "";
477
477
  };
478
478
  /**
@@ -1133,9 +1133,9 @@ function normalizeNodeFactory(factory) {
1133
1133
  return updated;
1134
1134
  };
1135
1135
  const update = withOriginal ? updateWithOriginal : updateWithoutOriginal;
1136
- const createPrivateIdentifier = missingCreatePrivateIdentifier ? function(text) {
1136
+ const createPrivateIdentifier = missingCreatePrivateIdentifier ? (() => function(text) {
1137
1137
  return factory.createIdentifier(text);
1138
- } : factory.createPrivateIdentifier;
1138
+ })() : factory.createPrivateIdentifier;
1139
1139
  return {
1140
1140
  ["__compatUpgraded"]: true,
1141
1141
  ...factory,
@@ -2406,9 +2406,9 @@ function createNodeFactory(typescript) {
2406
2406
  const assertClause = isShort ? moduleSpecifierOrAssertClause : assertClauseOrUndefined;
2407
2407
  return typescript.updateImportDeclaration(node, decorators, modifiers, importClause, moduleSpecifier, assertClause);
2408
2408
  }
2409
- const createPrivateIdentifier = (_a = typescript.createPrivateIdentifier) !== null && _a !== void 0 ? _a : function(text) {
2409
+ const createPrivateIdentifier = (_a = typescript.createPrivateIdentifier) !== null && _a !== void 0 ? _a : (() => function(text) {
2410
2410
  return typescript.createIdentifier(text);
2411
- };
2411
+ })();
2412
2412
  function createUniquePrivateName(text) {
2413
2413
  if (text != null && !text.startsWith("#")) throw new TypeError("First character of private identifier must be #: " + text);
2414
2414
  return createPrivateIdentifier(text !== null && text !== void 0 ? text : "");
@@ -6554,4 +6554,4 @@ const declarationTransformer = function deepkitDeclarationTransformer(context) {
6554
6554
 
6555
6555
  //#endregion
6556
6556
  export { declarationTransformer as a, packSizeByte as c, debugPackStruct as i, transformer as l, DeclarationTransformer as n, encodeOps as o, ReflectionTransformer as r, packSize as s, Cache as t };
6557
- //# sourceMappingURL=compiler-DgzWmWc_.mjs.map
6557
+ //# sourceMappingURL=compiler-X7WgmAbO.mjs.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_compiler = require('../compiler-Bw2QgszA.cjs');
2
+ const require_compiler = require('../compiler-CPd25UB4.cjs');
3
3
 
4
4
  exports.Cache = require_compiler.Cache;
5
5
  exports.DeclarationTransformer = require_compiler.DeclarationTransformer;
@@ -1,3 +1,3 @@
1
- import { a as declarationTransformer, c as packSizeByte, i as debugPackStruct, l as transformer, n as DeclarationTransformer, o as encodeOps, r as ReflectionTransformer, s as packSize, t as Cache } from "../compiler-DgzWmWc_.mjs";
1
+ import { a as declarationTransformer, c as packSizeByte, i as debugPackStruct, l as transformer, n as DeclarationTransformer, o as encodeOps, r as ReflectionTransformer, s as packSize, t as Cache } from "../compiler-X7WgmAbO.mjs";
2
2
 
3
3
  export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_chunk = require('../chunk-fl3r8ClO.cjs');
3
- const require_compiler = require('../compiler-Bw2QgszA.cjs');
3
+ const require_compiler = require('../compiler-CPd25UB4.cjs');
4
4
  const require_config = require('../config-CouaY861.cjs');
5
5
  let typescript = require("typescript");
6
6
  typescript = require_chunk.__toESM(typescript, 1);
@@ -1,4 +1,4 @@
1
- import { a as declarationTransformer, c as packSizeByte, i as debugPackStruct, l as transformer, n as DeclarationTransformer, o as encodeOps, r as ReflectionTransformer, s as packSize, t as Cache } from "../compiler-DgzWmWc_.mjs";
1
+ import { a as declarationTransformer, c as packSizeByte, i as debugPackStruct, l as transformer, n as DeclarationTransformer, o as encodeOps, r as ReflectionTransformer, s as packSize, t as Cache } from "../compiler-X7WgmAbO.mjs";
2
2
  import { a as parseRawMode, i as level, n as getConfigResolver, o as reflectionModeMatcher, r as isObject, s as reflectionModes, t as defaultExcluded } from "../config-DVzNaLGz.mjs";
3
3
  import ts from "typescript";
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/deepkit",
3
- "version": "0.9.56",
3
+ "version": "0.9.57",
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.48.24",
118
- "@storm-software/config-tools": "^1.190.34",
117
+ "@powerlines/core": "^0.48.25",
118
+ "@storm-software/config-tools": "^1.190.35",
119
119
  "@stryke/capnp": "^0.12.105",
120
120
  "@stryke/fs": "^0.33.79",
121
121
  "@stryke/path": "^0.29.6",
@@ -134,8 +134,8 @@
134
134
  "@deepkit/type-compiler": "1.0.5",
135
135
  "@deepkit/type-spec": "1.0.1",
136
136
  "@types/node": "^25.9.1",
137
- "rolldown": "^1.0.2",
138
- "tsdown": "^0.22.0",
137
+ "rolldown": "^1.0.3",
138
+ "tsdown": "^0.22.1",
139
139
  "esbuild": "^0.27.7"
140
140
  },
141
141
  "peerDependencies": { "esbuild": "*", "rolldown": "*" },
@@ -144,5 +144,5 @@
144
144
  "rolldown": { "optional": true }
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "ba29330277e0d8be78bdad08d260ddae06a95e81"
147
+ "gitHead": "2a7208605db4b9d25c7e6462fe44deb0284e3b8c"
148
148
  }