@powerlines/deepkit 0.4.8 → 0.4.10

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.
@@ -1,7 +1,7 @@
1
- import { init_esm_shims, __name, Resolver, getConfigResolver, debug, __require, reflectionModeMatcher, debug2 } from './chunk-3U3LDLIG.js';
1
+ import { init_esm_shims, __name, Resolver, getConfigResolver, debug, __require, reflectionModeMatcher, debug2 } from './chunk-XAYJUIQW.js';
2
2
  import ts3, { isBigIntLiteral } from 'typescript';
3
3
 
4
- // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a17934cba501a812c663946629886f06/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
4
+ // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
5
5
  init_esm_shims();
6
6
 
7
7
  // ../../node_modules/.pnpm/@deepkit+type-spec@1.0.1_patch_hash=f3c3a4fd486751022d78f17d39a5a79f493bca20b185964ca1aba41fbfc93244/node_modules/@deepkit/type-spec/dist/esm/index.js
@@ -240,7 +240,7 @@ var knownLibFilesForCompilerOptions = /* @__PURE__ */ __name(function knownLibFi
240
240
  return files.slice(0, finalCutIndex + 1);
241
241
  }, "knownLibFilesForCompilerOptions");
242
242
 
243
- // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a17934cba501a812c663946629886f06/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
243
+ // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/dist/esm/src/reflection-ast.js
244
244
  init_esm_shims();
245
245
 
246
246
  // ../../node_modules/.pnpm/@marcj+ts-clone-node@2.2.0_typescript@5.9.3/node_modules/@marcj/ts-clone-node/dist/esm/index.js
@@ -4808,7 +4808,7 @@ function finish(oldNode, newNode) {
4808
4808
  }
4809
4809
  __name(finish, "finish");
4810
4810
 
4811
- // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_a17934cba501a812c663946629886f06/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
4811
+ // ../../node_modules/.pnpm/@deepkit+type-compiler@1.0.5_patch_hash=88e8267ac73f46799c551ae3696181dc1f272895f490f8c_059f482e475ee87aa7d146392302455c/node_modules/@deepkit/type-compiler/dist/esm/src/compiler.js
4812
4812
  var { visitEachChild, visitNode, isPropertyAssignment, isArrayTypeNode, isArrowFunction: isArrowFunction2, isBlock, isCallExpression, isCallSignatureDeclaration, isClassDeclaration, isClassExpression, isConstructorDeclaration, isConstructorTypeNode, isConstructSignatureDeclaration, isEnumDeclaration, isExportDeclaration, isExpression, isExpressionWithTypeArguments, isFunctionDeclaration, isFunctionExpression, isFunctionLike, isIdentifier: isIdentifier2, isImportClause, isImportDeclaration, isImportSpecifier, isInferTypeNode, isInterfaceDeclaration, isMethodDeclaration, isMethodSignature, isModuleDeclaration, isNamedExports, isNamedTupleMember: isNamedTupleMember2, isNewExpression, isObjectLiteralExpression, isOptionalTypeNode: isOptionalTypeNode2, isParameter, isParenthesizedExpression, isParenthesizedTypeNode, isPropertyAccessExpression, isQualifiedName, isSourceFile, isStringLiteral: isStringLiteral2, isTypeAliasDeclaration, isTypeLiteralNode, isTypeParameterDeclaration, isTypeQueryNode, isTypeReferenceNode, isUnionTypeNode, isExpressionStatement, isVariableDeclaration, getEffectiveConstraintOfTypeParameter, addSyntheticLeadingComment, createCompilerHost, createPrinter, escapeLeadingUnderscores, EmitHint, NodeFlags: NodeFlags2, SyntaxKind: SyntaxKind2, ScriptTarget, ModifierFlags, ScriptKind } = ts3;
4813
4813
  function encodeOps(ops) {
4814
4814
  return ops.map((v) => String.fromCharCode(v + 33)).join("");
@@ -7028,19 +7028,19 @@ var DeclarationTransformer = class extends ReflectionTransformer {
7028
7028
  }, "visitor");
7029
7029
  this.sourceFile = visitNode(this.sourceFile, visitor);
7030
7030
  if (this.addExports.length) {
7031
- const exports = [];
7031
+ const exports$1 = [];
7032
7032
  const handledIdentifier = [];
7033
7033
  for (const imp of this.addExports) {
7034
7034
  if (handledIdentifier.includes(imp.identifier)) continue;
7035
7035
  handledIdentifier.push(imp.identifier);
7036
- exports.push(this.f.createTypeAliasDeclaration([
7036
+ exports$1.push(this.f.createTypeAliasDeclaration([
7037
7037
  this.f.createModifier(SyntaxKind2.ExportKeyword),
7038
7038
  this.f.createModifier(SyntaxKind2.DeclareKeyword)
7039
7039
  ], this.f.createIdentifier(imp.identifier), void 0, this.f.createArrayTypeNode(this.f.createKeywordTypeNode(SyntaxKind2.AnyKeyword))));
7040
7040
  }
7041
7041
  this.sourceFile = this.f.updateSourceFile(this.sourceFile, [
7042
7042
  ...this.sourceFile.statements,
7043
- ...exports
7043
+ ...exports$1
7044
7044
  ]);
7045
7045
  }
7046
7046
  this.sourceFile.deepkitDeclarationTransformed = true;
@@ -7062,5 +7062,5 @@ var declarationTransformer = /* @__PURE__ */ __name(function deepkitDeclarationT
7062
7062
  }, "deepkitDeclarationTransformer");
7063
7063
 
7064
7064
  export { Cache, DeclarationTransformer, ReflectionTransformer, debugPackStruct, declarationTransformer, encodeOps, packSize, packSizeByte, transformer };
7065
- //# sourceMappingURL=chunk-OWBO4X6O.js.map
7066
- //# sourceMappingURL=chunk-OWBO4X6O.js.map
7065
+ //# sourceMappingURL=chunk-36FSSQZT.js.map
7066
+ //# sourceMappingURL=chunk-36FSSQZT.js.map