diff --git a/dist/exports.js b/dist/exports.js index efbaed4..a406d54 100644 --- a/dist/exports.js +++ b/dist/exports.js @@ -259,7 +259,7 @@ class TypeAccessors { return type; if (typeStructure.kind === TypeStructureKind.Literal) return typeStructure.stringValue; - const value = TypeStructureClassesMap$1.clone(typeStructure); + const value = TypeStructureClassesMap.clone(typeStructure); return value.writerFunction; } } @@ -273,7 +273,6 @@ class TypeStructureClassesMapClass extends Map { } } const TypeStructureClassesMap = new TypeStructureClassesMapClass(); -var TypeStructureClassesMap$1 = TypeStructureClassesMap; /** * This supports setting "implements" and "extends" types for arrays behind read-only array @@ -350,7 +349,7 @@ class TypeStructureSetInternal extends Set { if (typeof value === "string") this.add(value); else - this.add(TypeStructureClassesMap$1.clone(value)); + this.add(TypeStructureClassesMap.clone(value)); }); } } @@ -700,7 +699,7 @@ function ReturnTypedNodeStructureMixin(baseClass, context) { const { returnTypeStructure } = source; if (returnTypeStructure) { target.returnTypeStructure = - TypeStructureClassesMap$1.clone(returnTypeStructure); + TypeStructureClassesMap.clone(returnTypeStructure); } else if (source.returnType) { target.returnType = source.returnType; @@ -841,7 +840,7 @@ function TypedNodeStructureMixin(baseClass, context) { super[COPY_FIELDS](source, target); const { typeStructure } = source; if (typeStructure) { - target.typeStructure = TypeStructureClassesMap$1.clone(typeStructure); + target.typeStructure = TypeStructureClassesMap.clone(typeStructure); } else if (source.type) { target.type = source.type; @@ -2264,7 +2263,7 @@ class ClassDeclarationImpl extends ClassDeclarationStructureBase { } const { extendsStructure } = source; if (extendsStructure) { - target.extendsStructure = TypeStructureClassesMap$1.clone(extendsStructure); + target.extendsStructure = TypeStructureClassesMap.clone(extendsStructure); } else if (source.extends) { target.extends = source.extends; @@ -2382,7 +2381,7 @@ class ConstructorDeclarationImpl extends ConstructorDeclarationStructureBase { declaration.leadingTrivia.push(...signature.leadingTrivia); declaration.parameters.push(...StructureClassesMap.cloneArray(signature.parameters)); if (signature.returnTypeStructure) { - declaration.returnTypeStructure = TypeStructureClassesMap$1.clone(signature.returnTypeStructure); + declaration.returnTypeStructure = TypeStructureClassesMap.clone(signature.returnTypeStructure); } declaration.trailingTrivia.push(...signature.trailingTrivia); declaration.typeParameters.push(...StructureClassesMap.cloneArray(signature.typeParameters)); @@ -2980,7 +2979,7 @@ class IndexSignatureDeclarationImpl extends IndexSignatureDeclarationStructureBa } const { keyTypeStructure } = source; if (keyTypeStructure) { - target.keyTypeStructure = TypeStructureClassesMap$1.clone(keyTypeStructure); + target.keyTypeStructure = TypeStructureClassesMap.clone(keyTypeStructure); } else if (source.keyType) { target.keyType = source.keyType; @@ -3382,7 +3381,7 @@ class MethodDeclarationImpl extends MethodDeclarationStructureBase { declaration.leadingTrivia.push(...signature.leadingTrivia); declaration.parameters.push(...StructureClassesMap.cloneArray(signature.parameters)); if (signature.returnTypeStructure) { - declaration.returnTypeStructure = TypeStructureClassesMap$1.clone(signature.returnTypeStructure); + declaration.returnTypeStructure = TypeStructureClassesMap.clone(signature.returnTypeStructure); } declaration.trailingTrivia.push(...signature.trailingTrivia); declaration.typeParameters.push(...StructureClassesMap.cloneArray(signature.typeParameters)); @@ -3619,7 +3618,7 @@ class PropertyDeclarationImpl extends PropertyDeclarationStructureBase { declaration.leadingTrivia.push(...signature.leadingTrivia); declaration.trailingTrivia.push(...signature.trailingTrivia); if (signature.typeStructure) { - declaration.typeStructure = TypeStructureClassesMap$1.clone(signature.typeStructure); + declaration.typeStructure = TypeStructureClassesMap.clone(signature.typeStructure); } return declaration; } @@ -3860,14 +3859,14 @@ class TypeParameterDeclarationImpl extends TypeParameterDeclarationStructureBase const { constraintStructure } = source; if (constraintStructure) { target.constraintStructure = - TypeStructureClassesMap$1.clone(constraintStructure); + TypeStructureClassesMap.clone(constraintStructure); } else if (source.constraint) { target.constraint = source.constraint; } const { defaultStructure } = source; if (defaultStructure) { - target.defaultStructure = TypeStructureClassesMap$1.clone(defaultStructure); + target.defaultStructure = TypeStructureClassesMap.clone(defaultStructure); } else if (source.default) { target.default = source.default; @@ -3991,7 +3990,7 @@ StructureClassesMap.set(StructureKind.VariableStatement, VariableStatementImpl); */ class ArrayTypeStructureImpl extends TypeStructuresBase { static clone(other) { - return new ArrayTypeStructureImpl(TypeStructureClassesMap$1.clone(other.objectType)); + return new ArrayTypeStructureImpl(TypeStructureClassesMap.clone(other.objectType)); } kind = TypeStructureKind.Array; objectType; @@ -4012,16 +4011,16 @@ class ArrayTypeStructureImpl extends TypeStructuresBase { yield this.objectType; } } -TypeStructureClassesMap$1.set(TypeStructureKind.Array, ArrayTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Array, ArrayTypeStructureImpl); /** `checkType` extends `extendsType` ? `trueType` : `falseType` */ class ConditionalTypeStructureImpl extends TypeStructuresBase { static clone(other) { const parts = { - checkType: TypeStructureClassesMap$1.clone(other.checkType), - extendsType: TypeStructureClassesMap$1.clone(other.extendsType), - trueType: TypeStructureClassesMap$1.clone(other.trueType), - falseType: TypeStructureClassesMap$1.clone(other.falseType), + checkType: TypeStructureClassesMap.clone(other.checkType), + extendsType: TypeStructureClassesMap.clone(other.extendsType), + trueType: TypeStructureClassesMap.clone(other.trueType), + falseType: TypeStructureClassesMap.clone(other.falseType), }; return new ConditionalTypeStructureImpl(parts); } @@ -4065,7 +4064,7 @@ class ConditionalTypeStructureImpl extends TypeStructuresBase { yield this.falseType; } } -TypeStructureClassesMap$1.set(TypeStructureKind.Conditional, ConditionalTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Conditional, ConditionalTypeStructureImpl); var _a$3; // #endregion preamble @@ -4088,7 +4087,7 @@ class FunctionTypeStructureImpl extends TypeStructuresWithTypeParameters { ? ParameterTypeStructureImpl.clone(other.restParameter) : undefined, returnType: other.returnType - ? TypeStructureClassesMap$1.clone(other.returnType) + ? TypeStructureClassesMap.clone(other.returnType) : undefined, writerStyle: other.writerStyle, }); @@ -4182,7 +4181,7 @@ class FunctionTypeStructureImpl extends TypeStructuresWithTypeParameters { } } _a$3 = FunctionTypeStructureImpl; -TypeStructureClassesMap$1.set(TypeStructureKind.Function, FunctionTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Function, FunctionTypeStructureImpl); // #endregion preamble /** @@ -4219,7 +4218,7 @@ class LiteralTypeStructureImpl extends TypeStructuresBase { } writerFunction = this.#writerFunction.bind(this); } -TypeStructureClassesMap$1.set(TypeStructureKind.Literal, LiteralTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Literal, LiteralTypeStructureImpl); /** @example `import("ts-morph").StatementStructures` */ class ImportTypeStructureImpl extends TypeStructuresBase { @@ -4279,10 +4278,10 @@ class ImportTypeStructureImpl extends TypeStructuresBase { else if (qualifier?.kind === TypeStructureKind.QualifiedName) { qualifier = QualifiedNameTypeStructureImpl.clone(qualifier); } - return new ImportTypeStructureImpl(other.argument, qualifier, TypeStructureClassesMap$1.cloneArray(other.childTypes)); + return new ImportTypeStructureImpl(other.argument, qualifier, TypeStructureClassesMap.cloneArray(other.childTypes)); } } -TypeStructureClassesMap$1.set(TypeStructureKind.Import, ImportTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Import, ImportTypeStructureImpl); /** * @example @@ -4310,7 +4309,7 @@ class IndexedAccessTypeStructureImpl extends TypeStructuresWithChildren { this.registerCallbackForTypeStructure(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.IndexedAccess, IndexedAccessTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.IndexedAccess, IndexedAccessTypeStructureImpl); // #endregion preamble /** @example infer \ (extends \)? */ @@ -4336,12 +4335,12 @@ class InferTypeStructureImpl extends TypeStructuresWithTypeParameters { yield this.typeParameter; } } -TypeStructureClassesMap$1.set(TypeStructureKind.Infer, InferTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Infer, InferTypeStructureImpl); /** @example `Foo & Bar & ...` */ class IntersectionTypeStructureImpl extends TypeStructuresWithChildren { static clone(other) { - return new IntersectionTypeStructureImpl(TypeStructureClassesMap$1.cloneArray(other.childTypes)); + return new IntersectionTypeStructureImpl(TypeStructureClassesMap.cloneArray(other.childTypes)); } kind = TypeStructureKind.Intersection; objectType = null; @@ -4356,7 +4355,7 @@ class IntersectionTypeStructureImpl extends TypeStructuresWithChildren { this.registerCallbackForTypeStructure(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.Intersection, IntersectionTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Intersection, IntersectionTypeStructureImpl); // #endregion preamble /** @@ -4403,10 +4402,10 @@ class MappedTypeStructureImpl extends TypeStructuresWithTypeParameters { static clone(other) { const clone = new MappedTypeStructureImpl(TypeParameterDeclarationImpl.clone(other.parameter)); if (other.asName) { - clone.asName = TypeStructureClassesMap$1.clone(other.asName); + clone.asName = TypeStructureClassesMap.clone(other.asName); } if (other.type) { - clone.type = TypeStructureClassesMap$1.clone(other.type); + clone.type = TypeStructureClassesMap.clone(other.type); } clone.readonlyToken = other.readonlyToken; clone.questionToken = other.questionToken; @@ -4422,7 +4421,7 @@ class MappedTypeStructureImpl extends TypeStructuresWithTypeParameters { yield this.type; } } -TypeStructureClassesMap$1.set(TypeStructureKind.Mapped, MappedTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Mapped, MappedTypeStructureImpl); /** * Properties, methods, getters, setters, and index signatures. Very much like interfaces. Usually in type aliases. @@ -4481,7 +4480,7 @@ class MemberedObjectTypeStructureImpl extends TypeStructuresBase { yield* this.setAccessors.values(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.MemberedObject, MemberedObjectTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.MemberedObject, MemberedObjectTypeStructureImpl); // #endregion preamble /** @@ -4518,7 +4517,7 @@ class NumberTypeStructureImpl extends TypeStructuresBase { } writerFunction = this.#writerFunction.bind(this); } -TypeStructureClassesMap$1.set(TypeStructureKind.Number, NumberTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Number, NumberTypeStructureImpl); // #endregion preamble /** Just a parameter name and type for a `FunctionTypeStructureImpl`. */ @@ -4526,7 +4525,7 @@ class ParameterTypeStructureImpl extends TypeStructuresBase { static clone(other) { let typeClone; if (other.typeStructure) - typeClone = TypeStructureClassesMap$1.clone(other.typeStructure); + typeClone = TypeStructureClassesMap.clone(other.typeStructure); return new ParameterTypeStructureImpl(other.name, typeClone); } kind = TypeStructureKind.Parameter; @@ -4553,7 +4552,7 @@ class ParameterTypeStructureImpl extends TypeStructuresBase { yield this.typeStructure; } } -TypeStructureClassesMap$1.set(TypeStructureKind.Parameter, ParameterTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Parameter, ParameterTypeStructureImpl); /** Wrap the child type in parentheses. */ class ParenthesesTypeStructureImpl extends TypeStructuresWithChildren { @@ -4573,12 +4572,12 @@ class ParenthesesTypeStructureImpl extends TypeStructuresWithChildren { this.registerCallbackForTypeStructure(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.Parentheses, ParenthesesTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Parentheses, ParenthesesTypeStructureImpl); /** `("..." | "keyof" | "typeof" | "readonly" | "unique")[]` (object type) */ class PrefixOperatorsTypeStructureImpl extends TypeStructuresBase { static clone(other) { - return new PrefixOperatorsTypeStructureImpl(other.operators, TypeStructureClassesMap$1.clone(other.objectType)); + return new PrefixOperatorsTypeStructureImpl(other.operators, TypeStructureClassesMap.clone(other.objectType)); } kind = TypeStructureKind.PrefixOperators; operators; @@ -4603,7 +4602,7 @@ class PrefixOperatorsTypeStructureImpl extends TypeStructuresBase { yield this.objectType; } } -TypeStructureClassesMap$1.set(TypeStructureKind.PrefixOperators, PrefixOperatorsTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.PrefixOperators, PrefixOperatorsTypeStructureImpl); /** @example `Foo.bar.baz...` */ class QualifiedNameTypeStructureImpl extends TypeStructuresBase { @@ -4622,7 +4621,7 @@ class QualifiedNameTypeStructureImpl extends TypeStructuresBase { } writerFunction = this.#writerFunction.bind(this); } -TypeStructureClassesMap$1.set(TypeStructureKind.QualifiedName, QualifiedNameTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.QualifiedName, QualifiedNameTypeStructureImpl); // #endregion preamble /** Strings, encased in double quotes. Leaf nodes. */ @@ -4656,13 +4655,13 @@ class StringTypeStructureImpl extends TypeStructuresBase { } writerFunction = this.#writerFunction.bind(this); } -TypeStructureClassesMap$1.set(TypeStructureKind.String, StringTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.String, StringTypeStructureImpl); /** `one${"A" | "B"}two${"C" | "D"}three` */ class TemplateLiteralTypeStructureImpl extends TypeStructuresBase { static clone(other) { const spans = other.spans.map((span) => [ - TypeStructureClassesMap$1.clone(span[0]), + TypeStructureClassesMap.clone(span[0]), span[1], ]); return new TemplateLiteralTypeStructureImpl(other.head, spans); @@ -4696,7 +4695,7 @@ class TemplateLiteralTypeStructureImpl extends TypeStructuresBase { } } } -TypeStructureClassesMap$1.set(TypeStructureKind.TemplateLiteral, TemplateLiteralTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.TemplateLiteral, TemplateLiteralTypeStructureImpl); /** * @example @@ -4707,7 +4706,7 @@ TypeStructureClassesMap$1.set(TypeStructureKind.TemplateLiteral, TemplateLiteral */ class TupleTypeStructureImpl extends TypeStructuresWithChildren { static clone(other) { - return new TupleTypeStructureImpl(TypeStructureClassesMap$1.cloneArray(other.childTypes)); + return new TupleTypeStructureImpl(TypeStructureClassesMap.cloneArray(other.childTypes)); } kind = TypeStructureKind.Tuple; objectType = null; @@ -4722,7 +4721,7 @@ class TupleTypeStructureImpl extends TypeStructuresWithChildren { this.registerCallbackForTypeStructure(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.Tuple, TupleTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Tuple, TupleTypeStructureImpl); /** * This resolves type parameters, as opposed to defining them. @@ -4734,7 +4733,7 @@ TypeStructureClassesMap$1.set(TypeStructureKind.Tuple, TupleTypeStructureImpl); */ class TypeArgumentedTypeStructureImpl extends TypeStructuresWithChildren { static clone(other) { - return new TypeArgumentedTypeStructureImpl(TypeStructureClassesMap$1.clone(other.objectType), TypeStructureClassesMap$1.cloneArray(other.childTypes)); + return new TypeArgumentedTypeStructureImpl(TypeStructureClassesMap.clone(other.objectType), TypeStructureClassesMap.cloneArray(other.childTypes)); } kind = TypeStructureKind.TypeArgumented; objectType; @@ -4750,7 +4749,7 @@ class TypeArgumentedTypeStructureImpl extends TypeStructuresWithChildren { this.registerCallbackForTypeStructure(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.TypeArgumented, TypeArgumentedTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.TypeArgumented, TypeArgumentedTypeStructureImpl); /** @example assert condition is true */ class TypePredicateTypeStructureImpl extends TypeStructuresBase { @@ -4778,7 +4777,7 @@ class TypePredicateTypeStructureImpl extends TypeStructuresBase { static clone(other) { let isType; if (other.isType) { - isType = TypeStructureClassesMap$1.clone(other.isType); + isType = TypeStructureClassesMap.clone(other.isType); } return new TypePredicateTypeStructureImpl(other.hasAssertsKeyword, other.parameterName, isType); } @@ -4789,12 +4788,12 @@ class TypePredicateTypeStructureImpl extends TypeStructuresBase { yield this.isType; } } -TypeStructureClassesMap$1.set(TypeStructureKind.TypePredicate, TypePredicateTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.TypePredicate, TypePredicateTypeStructureImpl); /** @example `Foo | Bar | ...` */ class UnionTypeStructureImpl extends TypeStructuresWithChildren { static clone(other) { - return new UnionTypeStructureImpl(TypeStructureClassesMap$1.cloneArray(other.childTypes)); + return new UnionTypeStructureImpl(TypeStructureClassesMap.cloneArray(other.childTypes)); } kind = TypeStructureKind.Union; objectType = null; @@ -4809,7 +4808,7 @@ class UnionTypeStructureImpl extends TypeStructuresWithChildren { this.registerCallbackForTypeStructure(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.Union, UnionTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Union, UnionTypeStructureImpl); // #endregion preamble /** Wrappers for writer functions from external sources. Leaf nodes. */ @@ -4829,7 +4828,7 @@ class WriterTypeStructureImpl extends TypeStructuresBase { this.registerCallbackForTypeStructure(); } } -TypeStructureClassesMap$1.set(TypeStructureKind.Writer, WriterTypeStructureImpl); +TypeStructureClassesMap.set(TypeStructureKind.Writer, WriterTypeStructureImpl); /** * This is a map for specifying statements across several class members for a single class field. @@ -5202,12 +5201,12 @@ class ClassMembersMap extends OrderedMap { prop.scope = getter?.scope ?? setter?.scope; prop.trailingTrivia.push(...(getter?.leadingTrivia ?? setter.leadingTrivia)); if (getter?.returnTypeStructure) { - prop.typeStructure = TypeStructureClassesMap$1.clone(getter.returnTypeStructure); + prop.typeStructure = TypeStructureClassesMap.clone(getter.returnTypeStructure); } else if (setter) { const setterParam = setter.parameters[0]; if (setterParam.typeStructure) { - prop.typeStructure = TypeStructureClassesMap$1.clone(setterParam.typeStructure); + prop.typeStructure = TypeStructureClassesMap.clone(setterParam.typeStructure); } } this.addMembers([prop]); @@ -5251,7 +5250,7 @@ class ClassMembersMap extends OrderedMap { if (toSetter) { const param = new ParameterDeclarationImpl("value"); if (prop.typeStructure) - param.typeStructure = TypeStructureClassesMap$1.clone(prop.typeStructure); + param.typeStructure = TypeStructureClassesMap.clone(prop.typeStructure); const setter = new SetAccessorDeclarationImpl(prop.isStatic, prop.name, param); if (prop.docs) { setter.docs.push(...StructureClassesMap.cloneArray(prop.docs)); @@ -5782,8 +5781,8 @@ class MemberedTypeToClass { } return false; } - #aggregateStaticTypesMap = new TypeMembersMap$1(); - #aggregateTypeMembersMap = new TypeMembersMap$1(); + #aggregateStaticTypesMap = new TypeMembersMap(); + #aggregateTypeMembersMap = new TypeMembersMap(); #classMemberToTypeMemberMap = new WeakMap(); #memberKeyToClassMember = new Map(); #classMembersMap; @@ -5862,10 +5861,10 @@ class MemberedTypeToClass { */ addTypeMember(isStatic, member) { this.#requireNotStarted(); - const typeMembersMap = new TypeMembersMap$1([ - [TypeMembersMap$1.keyFromMember(member), member], + const typeMembersMap = new TypeMembersMap([ + [TypeMembersMap.keyFromMember(member), member], ]); - const temporaryTypeMembers = new TypeMembersMap$1(); + const temporaryTypeMembers = new TypeMembersMap(); this.#importFromTypeMembers(isStatic, typeMembersMap, temporaryTypeMembers); this.#adoptTypeMembers(isStatic, temporaryTypeMembers); } @@ -5876,7 +5875,7 @@ class MemberedTypeToClass { */ importFromTypeMembersMap(isStatic, membersMap) { this.#requireNotStarted(); - const temporaryTypeMembers = new TypeMembersMap$1(); + const temporaryTypeMembers = new TypeMembersMap(); this.#importFromTypeMembers(isStatic, membersMap, temporaryTypeMembers); this.#adoptTypeMembers(isStatic, temporaryTypeMembers); } @@ -5886,7 +5885,7 @@ class MemberedTypeToClass { * @param membered - the interface or membered object type. */ importFromMemberedType(isStatic, membered) { - return this.importFromTypeMembersMap(isStatic, TypeMembersMap$1.fromMemberedObject(membered)); + return this.importFromTypeMembersMap(isStatic, TypeMembersMap.fromMemberedObject(membered)); } #importFromTypeMembers(isStatic, membersMap, temporaryTypeMembers) { for (const member of membersMap.values()) { @@ -5916,12 +5915,12 @@ class MemberedTypeToClass { }); temporaryTypeMembers.addMembers([member]); const newMembers = temporaryTypeMembers.resolveIndexSignature(member, names); - newMembers.forEach((newMember) => temporaryTypeMembers.delete(TypeMembersMap$1.keyFromMember(newMember))); + newMembers.forEach((newMember) => temporaryTypeMembers.delete(TypeMembersMap.keyFromMember(newMember))); newMembers.forEach((newMember) => this.#validateTypeMember(isStatic, newMember, temporaryTypeMembers)); return; } default: { - const key = TypeMembersMap$1.keyFromMember(member); + const key = TypeMembersMap.keyFromMember(member); const aggregateMembers = isStatic ? this.#aggregateStaticTypesMap : this.#aggregateTypeMembersMap; @@ -6191,14 +6190,14 @@ class MemberedTypeToClass { } } #applyInsertedKeys(addedKey, keyClassMap, purposeKeys) { - let fieldName = TypeMembersMap$1.keyFromName(addedKey.fieldType.kind, addedKey.fieldType.name); + let fieldName = TypeMembersMap.keyFromName(addedKey.fieldType.kind, addedKey.fieldType.name); if (addedKey.isFieldStatic) fieldName = "static " + fieldName; let groupName = "constructor"; if (addedKey.groupType !== "constructor" && addedKey.groupType !== ClassFieldStatementsMap.GROUP_INITIALIZER_OR_PROPERTY) { - groupName = TypeMembersMap$1.keyFromName(addedKey.groupType.kind, addedKey.groupType.name); + groupName = TypeMembersMap.keyFromName(addedKey.groupType.kind, addedKey.groupType.name); if (addedKey.isGroupStatic) { groupName = "static " + groupName; } @@ -6422,7 +6421,7 @@ class TypeMembersMap extends OrderedMap { static #convertParameterFromTypeToImpl(source) { const impl = new ParameterDeclarationImpl(source.name); if (source.typeStructure) - impl.typeStructure = TypeStructureClassesMap$1.clone(source.typeStructure); + impl.typeStructure = TypeStructureClassesMap.clone(source.typeStructure); return impl; } /** @@ -6472,12 +6471,12 @@ class TypeMembersMap extends OrderedMap { prop.leadingTrivia.push(...(getter?.leadingTrivia ?? setter.leadingTrivia)); prop.trailingTrivia.push(...(getter?.leadingTrivia ?? setter.leadingTrivia)); if (getter?.returnTypeStructure) { - prop.typeStructure = TypeStructureClassesMap$1.clone(getter.returnTypeStructure); + prop.typeStructure = TypeStructureClassesMap.clone(getter.returnTypeStructure); } else if (setter) { const setterParam = setter.parameters[0]; if (setterParam.typeStructure) { - prop.typeStructure = TypeStructureClassesMap$1.clone(setterParam.typeStructure); + prop.typeStructure = TypeStructureClassesMap.clone(setterParam.typeStructure); } } this.addMembers([prop]); @@ -6516,7 +6515,7 @@ class TypeMembersMap extends OrderedMap { if (toSetter) { const param = new ParameterDeclarationImpl("value"); if (prop.typeStructure) - param.typeStructure = TypeStructureClassesMap$1.clone(prop.typeStructure); + param.typeStructure = TypeStructureClassesMap.clone(prop.typeStructure); const setter = new SetAccessorDeclarationImpl(false, prop.name, param); if (prop.docs) { setter.docs.push(...StructureClassesMap.cloneArray(prop.docs)); @@ -6657,6 +6656,5 @@ class TypeMembersMap extends OrderedMap { } } _a = TypeMembersMap; -var TypeMembersMap$1 = TypeMembersMap; -export { ArrayTypeStructureImpl, CallSignatureDeclarationImpl, ClassDeclarationImpl, ClassFieldStatementsMap, ClassMembersMap, ClassStaticBlockDeclarationImpl, ClassSupportsStatementsFlags, ConditionalTypeStructureImpl, ConstructSignatureDeclarationImpl, ConstructorDeclarationImpl, ConstructorDeclarationOverloadImpl, DecoratorImpl, EnumDeclarationImpl, EnumMemberImpl, ExportAssignmentImpl, ExportDeclarationImpl, ExportManager, ExportSpecifierImpl, FunctionDeclarationImpl, FunctionDeclarationOverloadImpl, FunctionTypeStructureImpl, FunctionWriterStyle, GetAccessorDeclarationImpl, ImportAttributeImpl, ImportDeclarationImpl, ImportManager, ImportSpecifierImpl, ImportTypeStructureImpl, IndexSignatureDeclarationImpl, IndexedAccessTypeStructureImpl, InferTypeStructureImpl, InterfaceDeclarationImpl, IntersectionTypeStructureImpl, JSDocImpl, JSDocTagImpl, JsxAttributeImpl, JsxElementImpl, JsxSelfClosingElementImpl, JsxSpreadAttributeImpl, LiteralTypeStructureImpl, MappedTypeStructureImpl, MemberedObjectTypeStructureImpl, MemberedTypeToClass, MethodDeclarationImpl, MethodDeclarationOverloadImpl, MethodSignatureImpl, ModuleDeclarationImpl, NumberTypeStructureImpl, ParameterDeclarationImpl, ParameterTypeStructureImpl, ParenthesesTypeStructureImpl, PrefixOperatorsTypeStructureImpl, PropertyAssignmentImpl, PropertyDeclarationImpl, PropertySignatureImpl, QualifiedNameTypeStructureImpl, SetAccessorDeclarationImpl, ShorthandPropertyAssignmentImpl, SourceFileImpl, SpreadAssignmentImpl, StringTypeStructureImpl, TemplateLiteralTypeStructureImpl, TupleTypeStructureImpl, TypeAliasDeclarationImpl, TypeArgumentedTypeStructureImpl, TypeMembersMap$1 as TypeMembersMap, TypeParameterDeclarationImpl, TypePredicateTypeStructureImpl, TypeStructureKind, UnionTypeStructureImpl, VariableDeclarationImpl, VariableStatementImpl, VoidTypeNodeToTypeStructureConsole, WriterTypeStructureImpl, forEachAugmentedStructureChild, getTypeAugmentedStructure, parseLiteralType }; +export { ArrayTypeStructureImpl, CallSignatureDeclarationImpl, ClassDeclarationImpl, ClassFieldStatementsMap, ClassMembersMap, ClassStaticBlockDeclarationImpl, ClassSupportsStatementsFlags, ConditionalTypeStructureImpl, ConstructSignatureDeclarationImpl, ConstructorDeclarationImpl, ConstructorDeclarationOverloadImpl, DecoratorImpl, EnumDeclarationImpl, EnumMemberImpl, ExportAssignmentImpl, ExportDeclarationImpl, ExportManager, ExportSpecifierImpl, FunctionDeclarationImpl, FunctionDeclarationOverloadImpl, FunctionTypeStructureImpl, FunctionWriterStyle, GetAccessorDeclarationImpl, ImportAttributeImpl, ImportDeclarationImpl, ImportManager, ImportSpecifierImpl, ImportTypeStructureImpl, IndexSignatureDeclarationImpl, IndexedAccessTypeStructureImpl, InferTypeStructureImpl, InterfaceDeclarationImpl, IntersectionTypeStructureImpl, JSDocImpl, JSDocTagImpl, JsxAttributeImpl, JsxElementImpl, JsxSelfClosingElementImpl, JsxSpreadAttributeImpl, LiteralTypeStructureImpl, MappedTypeStructureImpl, MemberedObjectTypeStructureImpl, MemberedTypeToClass, MethodDeclarationImpl, MethodDeclarationOverloadImpl, MethodSignatureImpl, ModuleDeclarationImpl, NumberTypeStructureImpl, ParameterDeclarationImpl, ParameterTypeStructureImpl, ParenthesesTypeStructureImpl, PrefixOperatorsTypeStructureImpl, PropertyAssignmentImpl, PropertyDeclarationImpl, PropertySignatureImpl, QualifiedNameTypeStructureImpl, SetAccessorDeclarationImpl, ShorthandPropertyAssignmentImpl, SourceFileImpl, SpreadAssignmentImpl, StringTypeStructureImpl, TemplateLiteralTypeStructureImpl, TupleTypeStructureImpl, TypeAliasDeclarationImpl, TypeArgumentedTypeStructureImpl, TypeMembersMap, TypeParameterDeclarationImpl, TypePredicateTypeStructureImpl, TypeStructureKind, UnionTypeStructureImpl, VariableDeclarationImpl, VariableStatementImpl, VoidTypeNodeToTypeStructureConsole, WriterTypeStructureImpl, forEachAugmentedStructureChild, getTypeAugmentedStructure, parseLiteralType }; diff --git a/package-lock.json b/package-lock.json index 048b874..f6324bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,7 @@ "ts-node": "^10.9.2", "tslib": "^2.6.3", "type-fest": "^4.20.1", - "typescript": "^5.5.4", + "typescript": "^5.6.3", "typescript-eslint": "^8.0.1", "which": "^4.0.0" }, @@ -38,7 +38,7 @@ "node": ">=18.19" }, "peerDependencies": { - "ts-morph": "^23.0.0" + "ts-morph": "^24.0.0" } }, "node_modules/@babel/code-frame": { @@ -519,6 +519,7 @@ "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -531,6 +532,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, "engines": { "node": ">= 8" } @@ -539,6 +541,7 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -606,9 +609,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz", - "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz", + "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==", "cpu": [ "arm" ], @@ -619,9 +622,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz", - "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz", + "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==", "cpu": [ "arm64" ], @@ -632,9 +635,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz", - "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz", + "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==", "cpu": [ "arm64" ], @@ -645,9 +648,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz", - "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz", + "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==", "cpu": [ "x64" ], @@ -658,9 +661,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz", - "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz", + "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==", "cpu": [ "arm" ], @@ -671,9 +674,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz", - "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz", + "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==", "cpu": [ "arm" ], @@ -684,9 +687,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz", - "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz", + "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==", "cpu": [ "arm64" ], @@ -697,9 +700,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz", - "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz", + "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==", "cpu": [ "arm64" ], @@ -710,9 +713,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz", - "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz", + "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==", "cpu": [ "ppc64" ], @@ -723,9 +726,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz", - "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz", + "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==", "cpu": [ "riscv64" ], @@ -736,9 +739,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz", - "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz", + "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==", "cpu": [ "s390x" ], @@ -749,9 +752,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz", - "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", + "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", "cpu": [ "x64" ], @@ -762,9 +765,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz", - "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz", + "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==", "cpu": [ "x64" ], @@ -775,9 +778,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz", - "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz", + "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==", "cpu": [ "arm64" ], @@ -788,9 +791,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz", - "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz", + "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==", "cpu": [ "ia32" ], @@ -801,9 +804,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz", - "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz", + "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==", "cpu": [ "x64" ], @@ -932,15 +935,14 @@ } }, "node_modules/@ts-morph/common": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.24.0.tgz", - "integrity": "sha512-c1xMmNHWpNselmpIqursHeOHHBTIsJLbB+NuovbTTRCNiTLEr/U9dbJ8qy0jd/O2x5pc3seWuOUN5R2IoOTp8A==", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.25.0.tgz", + "integrity": "sha512-kMnZz+vGGHi4GoHnLmMhGNjm44kGtKUXGnOvrKmMwAuvNjM/PgKVGfUnL7IDvK7Jb2QQ82jq3Zmp04Gy+r3Dkg==", "peer": true, "dependencies": { - "fast-glob": "^3.3.2", "minimatch": "^9.0.4", - "mkdirp": "^3.0.1", - "path-browserify": "^1.0.1" + "path-browserify": "^1.0.1", + "tinyglobby": "^0.2.9" } }, "node_modules/@tsconfig/node10": { @@ -999,9 +1001,9 @@ } }, "node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", "dev": true }, "node_modules/@types/jasmine": { @@ -1345,6 +1347,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, "dependencies": { "fill-range": "^7.1.1" }, @@ -1374,9 +1377,9 @@ } }, "node_modules/code-block-writer": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.1.tgz", - "integrity": "sha512-c5or4P6erEA69TxaxTNcHUNcIn+oyxSRTOWV+pSYF+z4epXqNvwvJ70XPGjPNgue83oAFAPBRQYwpAJ/Hpe/Sg==", + "version": "13.0.3", + "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.3.tgz", + "integrity": "sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==", "peer": true }, "node_modules/color-convert": { @@ -1763,6 +1766,7 @@ "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -1778,6 +1782,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, "dependencies": { "is-glob": "^4.0.1" }, @@ -1801,6 +1806,7 @@ "version": "1.15.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, "dependencies": { "reusify": "^1.0.4" } @@ -1821,6 +1827,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -2061,6 +2068,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -2078,6 +2086,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -2089,6 +2098,7 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, "engines": { "node": ">=0.12.0" } @@ -2280,16 +2290,18 @@ "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, "engines": { "node": ">= 8" } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -2327,21 +2339,6 @@ "type-fest": "^4.9.0" } }, - "node_modules/mkdirp": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", - "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", - "peer": true, - "bin": { - "mkdirp": "dist/cjs/src/bin.js" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -2485,6 +2482,7 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, "engines": { "node": ">=8.6" }, @@ -2529,6 +2527,7 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, "funding": [ { "type": "github", @@ -2574,18 +2573,19 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" } }, "node_modules/rollup": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz", - "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", + "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", "dev": true, "dependencies": { - "@types/estree": "1.0.5" + "@types/estree": "1.0.6" }, "bin": { "rollup": "dist/bin/rollup" @@ -2595,22 +2595,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.18.0", - "@rollup/rollup-android-arm64": "4.18.0", - "@rollup/rollup-darwin-arm64": "4.18.0", - "@rollup/rollup-darwin-x64": "4.18.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.18.0", - "@rollup/rollup-linux-arm-musleabihf": "4.18.0", - "@rollup/rollup-linux-arm64-gnu": "4.18.0", - "@rollup/rollup-linux-arm64-musl": "4.18.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0", - "@rollup/rollup-linux-riscv64-gnu": "4.18.0", - "@rollup/rollup-linux-s390x-gnu": "4.18.0", - "@rollup/rollup-linux-x64-gnu": "4.18.0", - "@rollup/rollup-linux-x64-musl": "4.18.0", - "@rollup/rollup-win32-arm64-msvc": "4.18.0", - "@rollup/rollup-win32-ia32-msvc": "4.18.0", - "@rollup/rollup-win32-x64-msvc": "4.18.0", + "@rollup/rollup-android-arm-eabi": "4.24.0", + "@rollup/rollup-android-arm64": "4.24.0", + "@rollup/rollup-darwin-arm64": "4.24.0", + "@rollup/rollup-darwin-x64": "4.24.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", + "@rollup/rollup-linux-arm-musleabihf": "4.24.0", + "@rollup/rollup-linux-arm64-gnu": "4.24.0", + "@rollup/rollup-linux-arm64-musl": "4.24.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", + "@rollup/rollup-linux-riscv64-gnu": "4.24.0", + "@rollup/rollup-linux-s390x-gnu": "4.24.0", + "@rollup/rollup-linux-x64-gnu": "4.24.0", + "@rollup/rollup-linux-x64-musl": "4.24.0", + "@rollup/rollup-win32-arm64-msvc": "4.24.0", + "@rollup/rollup-win32-ia32-msvc": "4.24.0", + "@rollup/rollup-win32-x64-msvc": "4.24.0", "fsevents": "~2.3.2" } }, @@ -2640,6 +2640,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, "funding": [ { "type": "github", @@ -2889,10 +2890,50 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, + "node_modules/tinyglobby": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.9.tgz", + "integrity": "sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==", + "peer": true, + "dependencies": { + "fdir": "^6.4.0", + "picomatch": "^4.0.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.0.tgz", + "integrity": "sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==", + "peer": true, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "peer": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "dependencies": { "is-number": "^7.0.0" }, @@ -2913,13 +2954,13 @@ } }, "node_modules/ts-morph": { - "version": "23.0.0", - "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-23.0.0.tgz", - "integrity": "sha512-FcvFx7a9E8TUe6T3ShihXJLiJOiqyafzFKUO4aqIHDUCIvADdGNShcbc2W5PMr3LerXRv7mafvFZ9lRENxJmug==", + "version": "24.0.0", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-24.0.0.tgz", + "integrity": "sha512-2OAOg/Ob5yx9Et7ZX4CvTCc0UFoZHwLEJ+dpDPSUi5TgwwlTlX47w+iFRrEwzUZwYACjq83cgjS/Da50Ga37uw==", "peer": true, "dependencies": { - "@ts-morph/common": "~0.24.0", - "code-block-writer": "^13.0.1" + "@ts-morph/common": "~0.25.0", + "code-block-writer": "^13.0.3" } }, "node_modules/ts-node": { @@ -2995,9 +3036,9 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -3611,6 +3652,7 @@ "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, "requires": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" @@ -3619,12 +3661,14 @@ "@nodelib/fs.stat": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true }, "@nodelib/fs.walk": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, "requires": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" @@ -3659,114 +3703,114 @@ } }, "@rollup/rollup-android-arm-eabi": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz", - "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.24.0.tgz", + "integrity": "sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==", "dev": true, "optional": true }, "@rollup/rollup-android-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz", - "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.24.0.tgz", + "integrity": "sha512-ijLnS1qFId8xhKjT81uBHuuJp2lU4x2yxa4ctFPtG+MqEE6+C5f/+X/bStmxapgmwLwiL3ih122xv8kVARNAZA==", "dev": true, "optional": true }, "@rollup/rollup-darwin-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz", - "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.24.0.tgz", + "integrity": "sha512-bIv+X9xeSs1XCk6DVvkO+S/z8/2AMt/2lMqdQbMrmVpgFvXlmde9mLcbQpztXm1tajC3raFDqegsH18HQPMYtA==", "dev": true, "optional": true }, "@rollup/rollup-darwin-x64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz", - "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.24.0.tgz", + "integrity": "sha512-X6/nOwoFN7RT2svEQWUsW/5C/fYMBe4fnLK9DQk4SX4mgVBiTA9h64kjUYPvGQ0F/9xwJ5U5UfTbl6BEjaQdBQ==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz", - "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.24.0.tgz", + "integrity": "sha512-0KXvIJQMOImLCVCz9uvvdPgfyWo93aHHp8ui3FrtOP57svqrF/roSSR5pjqL2hcMp0ljeGlU4q9o/rQaAQ3AYA==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm-musleabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz", - "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.24.0.tgz", + "integrity": "sha512-it2BW6kKFVh8xk/BnHfakEeoLPv8STIISekpoF+nBgWM4d55CZKc7T4Dx1pEbTnYm/xEKMgy1MNtYuoA8RFIWw==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz", - "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.24.0.tgz", + "integrity": "sha512-i0xTLXjqap2eRfulFVlSnM5dEbTVque/3Pi4g2y7cxrs7+a9De42z4XxKLYJ7+OhE3IgxvfQM7vQc43bwTgPwA==", "dev": true, "optional": true }, "@rollup/rollup-linux-arm64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz", - "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.24.0.tgz", + "integrity": "sha512-9E6MKUJhDuDh604Qco5yP/3qn3y7SLXYuiC0Rpr89aMScS2UAmK1wHP2b7KAa1nSjWJc/f/Lc0Wl1L47qjiyQw==", "dev": true, "optional": true }, "@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz", - "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.24.0.tgz", + "integrity": "sha512-2XFFPJ2XMEiF5Zi2EBf4h73oR1V/lycirxZxHZNc93SqDN/IWhYYSYj8I9381ikUFXZrz2v7r2tOVk2NBwxrWw==", "dev": true, "optional": true }, "@rollup/rollup-linux-riscv64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz", - "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.24.0.tgz", + "integrity": "sha512-M3Dg4hlwuntUCdzU7KjYqbbd+BLq3JMAOhCKdBE3TcMGMZbKkDdJ5ivNdehOssMCIokNHFOsv7DO4rlEOfyKpg==", "dev": true, "optional": true }, "@rollup/rollup-linux-s390x-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz", - "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.24.0.tgz", + "integrity": "sha512-mjBaoo4ocxJppTorZVKWFpy1bfFj9FeCMJqzlMQGjpNPY9JwQi7OuS1axzNIk0nMX6jSgy6ZURDZ2w0QW6D56g==", "dev": true, "optional": true }, "@rollup/rollup-linux-x64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz", - "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz", + "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==", "dev": true, "optional": true }, "@rollup/rollup-linux-x64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz", - "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.24.0.tgz", + "integrity": "sha512-w1i+L7kAXZNdYl+vFvzSZy8Y1arS7vMgIy8wusXJzRrPyof5LAb02KGr1PD2EkRcl73kHulIID0M501lN+vobQ==", "dev": true, "optional": true }, "@rollup/rollup-win32-arm64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz", - "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.24.0.tgz", + "integrity": "sha512-VXBrnPWgBpVDCVY6XF3LEW0pOU51KbaHhccHw6AS6vBWIC60eqsH19DAeeObl+g8nKAz04QFdl/Cefta0xQtUQ==", "dev": true, "optional": true }, "@rollup/rollup-win32-ia32-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz", - "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.24.0.tgz", + "integrity": "sha512-xrNcGDU0OxVcPTH/8n/ShH4UevZxKIO6HJFK0e15XItZP2UcaiLFd5kiX7hJnqCbSztUF8Qot+JWBC/QXRPYWQ==", "dev": true, "optional": true }, "@rollup/rollup-win32-x64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz", - "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz", + "integrity": "sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw==", "dev": true, "optional": true }, @@ -3867,15 +3911,14 @@ } }, "@ts-morph/common": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.24.0.tgz", - "integrity": "sha512-c1xMmNHWpNselmpIqursHeOHHBTIsJLbB+NuovbTTRCNiTLEr/U9dbJ8qy0jd/O2x5pc3seWuOUN5R2IoOTp8A==", + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.25.0.tgz", + "integrity": "sha512-kMnZz+vGGHi4GoHnLmMhGNjm44kGtKUXGnOvrKmMwAuvNjM/PgKVGfUnL7IDvK7Jb2QQ82jq3Zmp04Gy+r3Dkg==", "peer": true, "requires": { - "fast-glob": "^3.3.2", "minimatch": "^9.0.4", - "mkdirp": "^3.0.1", - "path-browserify": "^1.0.1" + "path-browserify": "^1.0.1", + "tinyglobby": "^0.2.9" } }, "@tsconfig/node10": { @@ -3934,9 +3977,9 @@ } }, "@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", "dev": true }, "@types/jasmine": { @@ -4156,6 +4199,7 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, "requires": { "fill-range": "^7.1.1" } @@ -4173,9 +4217,9 @@ "dev": true }, "code-block-writer": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.1.tgz", - "integrity": "sha512-c5or4P6erEA69TxaxTNcHUNcIn+oyxSRTOWV+pSYF+z4epXqNvwvJ70XPGjPNgue83oAFAPBRQYwpAJ/Hpe/Sg==", + "version": "13.0.3", + "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.3.tgz", + "integrity": "sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==", "peer": true }, "color-convert": { @@ -4464,6 +4508,7 @@ "version": "3.3.2", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, "requires": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", @@ -4476,6 +4521,7 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, "requires": { "is-glob": "^4.0.1" } @@ -4498,6 +4544,7 @@ "version": "1.15.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dev": true, "requires": { "reusify": "^1.0.4" } @@ -4515,6 +4562,7 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, "requires": { "to-regex-range": "^5.0.1" } @@ -4678,7 +4726,8 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true }, "is-fullwidth-code-point": { "version": "3.0.0", @@ -4690,6 +4739,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "requires": { "is-extglob": "^2.1.1" } @@ -4697,7 +4747,8 @@ "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true }, "is-path-inside": { "version": "3.0.3", @@ -4853,14 +4904,16 @@ "merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } }, @@ -4886,12 +4939,6 @@ "type-fest": "^4.9.0" } }, - "mkdirp": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", - "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", - "peer": true - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -5001,7 +5048,8 @@ "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true }, "prelude-ls": { "version": "1.2.1", @@ -5024,7 +5072,8 @@ "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true }, "resolve": { "version": "1.22.4", @@ -5046,31 +5095,32 @@ "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true }, "rollup": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz", - "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==", + "version": "4.24.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.24.0.tgz", + "integrity": "sha512-DOmrlGSXNk1DM0ljiQA+i+o0rSLhtii1je5wgk60j49d1jHT5YYttBv1iWOnYSTG+fZZESUOSNiAl89SIet+Cg==", "dev": true, "requires": { - "@rollup/rollup-android-arm-eabi": "4.18.0", - "@rollup/rollup-android-arm64": "4.18.0", - "@rollup/rollup-darwin-arm64": "4.18.0", - "@rollup/rollup-darwin-x64": "4.18.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.18.0", - "@rollup/rollup-linux-arm-musleabihf": "4.18.0", - "@rollup/rollup-linux-arm64-gnu": "4.18.0", - "@rollup/rollup-linux-arm64-musl": "4.18.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0", - "@rollup/rollup-linux-riscv64-gnu": "4.18.0", - "@rollup/rollup-linux-s390x-gnu": "4.18.0", - "@rollup/rollup-linux-x64-gnu": "4.18.0", - "@rollup/rollup-linux-x64-musl": "4.18.0", - "@rollup/rollup-win32-arm64-msvc": "4.18.0", - "@rollup/rollup-win32-ia32-msvc": "4.18.0", - "@rollup/rollup-win32-x64-msvc": "4.18.0", - "@types/estree": "1.0.5", + "@rollup/rollup-android-arm-eabi": "4.24.0", + "@rollup/rollup-android-arm64": "4.24.0", + "@rollup/rollup-darwin-arm64": "4.24.0", + "@rollup/rollup-darwin-x64": "4.24.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.24.0", + "@rollup/rollup-linux-arm-musleabihf": "4.24.0", + "@rollup/rollup-linux-arm64-gnu": "4.24.0", + "@rollup/rollup-linux-arm64-musl": "4.24.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.24.0", + "@rollup/rollup-linux-riscv64-gnu": "4.24.0", + "@rollup/rollup-linux-s390x-gnu": "4.24.0", + "@rollup/rollup-linux-x64-gnu": "4.24.0", + "@rollup/rollup-linux-x64-musl": "4.24.0", + "@rollup/rollup-win32-arm64-msvc": "4.24.0", + "@rollup/rollup-win32-ia32-msvc": "4.24.0", + "@rollup/rollup-win32-x64-msvc": "4.24.0", + "@types/estree": "1.0.6", "fsevents": "~2.3.2" } }, @@ -5088,6 +5138,7 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, "requires": { "queue-microtask": "^1.2.2" } @@ -5255,10 +5306,36 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, + "tinyglobby": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.9.tgz", + "integrity": "sha512-8or1+BGEdk1Zkkw2ii16qSS7uVrQJPre5A9o/XkWPATkk23FZh/15BKFxPnlTy6vkljZxLqYCzzBMj30ZrSvjw==", + "peer": true, + "requires": { + "fdir": "^6.4.0", + "picomatch": "^4.0.2" + }, + "dependencies": { + "fdir": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.0.tgz", + "integrity": "sha512-3oB133prH1o4j/L5lLW7uOCF1PlD+/It2L0eL/iAqWMB91RBbqTewABqxhj0ibBd90EEmWZq7ntIWzVaWcXTGQ==", + "peer": true, + "requires": {} + }, + "picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "peer": true + } + } + }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, "requires": { "is-number": "^7.0.0" } @@ -5271,13 +5348,13 @@ "requires": {} }, "ts-morph": { - "version": "23.0.0", - "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-23.0.0.tgz", - "integrity": "sha512-FcvFx7a9E8TUe6T3ShihXJLiJOiqyafzFKUO4aqIHDUCIvADdGNShcbc2W5PMr3LerXRv7mafvFZ9lRENxJmug==", + "version": "24.0.0", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-24.0.0.tgz", + "integrity": "sha512-2OAOg/Ob5yx9Et7ZX4CvTCc0UFoZHwLEJ+dpDPSUi5TgwwlTlX47w+iFRrEwzUZwYACjq83cgjS/Da50Ga37uw==", "peer": true, "requires": { - "@ts-morph/common": "~0.24.0", - "code-block-writer": "^13.0.1" + "@ts-morph/common": "~0.25.0", + "code-block-writer": "^13.0.3" } }, "ts-node": { @@ -5322,9 +5399,9 @@ "integrity": "sha512-R6wDsVsoS9xYOpy8vgeBlqpdOyzJ12HNfQhC/aAKWM3YoCV9TtunJzh/QpkMgeDhkoynDcw5f1y+qF9yc/HHyg==" }, "typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true }, "typescript-eslint": { diff --git a/package.json b/package.json index 0931f86..dab14c0 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "ts-node": "^10.9.2", "tslib": "^2.6.3", "type-fest": "^4.20.1", - "typescript": "^5.5.4", + "typescript": "^5.6.3", "typescript-eslint": "^8.0.1", "which": "^4.0.0" }, @@ -89,7 +89,7 @@ "mixin-decorators": "^1.0.1" }, "peerDependencies": { - "ts-morph": "^23.0.0" + "ts-morph": "^24.0.0" }, "imports": { "#stage_one/*": "./stage_1_snapshot/*", diff --git a/stage_1_snapshot/prototype-snapshot/array-utilities/ArrayNotImplementedCanary.ts b/stage_1_snapshot/prototype-snapshot/array-utilities/ArrayNotImplementedCanary.ts index 6c3924b..4c4b2d0 100644 --- a/stage_1_snapshot/prototype-snapshot/array-utilities/ArrayNotImplementedCanary.ts +++ b/stage_1_snapshot/prototype-snapshot/array-utilities/ArrayNotImplementedCanary.ts @@ -8,7 +8,7 @@ * When this file fails to compile, it means `ReadonlyArrayProxyHandler.#safeMembers` may need updating. */ class ArrayNotImplementedCanary implements Omit, number> { - [Symbol.iterator](): IterableIterator { + [Symbol.iterator](): ArrayIterator { throw new Error("Function not implemented."); } get [Symbol.unscopables](): { @@ -88,13 +88,13 @@ class ArrayNotImplementedCanary implements Omit, number> { copyWithin(target: number, start?: number | undefined, end?: number | undefined): unknown[] { throw new Error("Function not implemented."); } - entries(): IterableIterator<[number, unknown]> { + entries(): ArrayIterator<[number, unknown]> { throw new Error("Function not implemented."); } - keys(): IterableIterator { + keys(): ArrayIterator { throw new Error("Function not implemented."); } - values(): IterableIterator { + values(): ArrayIterator { throw new Error("Function not implemented."); } includes(searchElement: unknown, fromIndex?: number | undefined): boolean { diff --git a/stage_2_integration/source/array-utilities/ArrayNotImplementedCanary.ts b/stage_2_integration/source/array-utilities/ArrayNotImplementedCanary.ts index 6c3924b..4c4b2d0 100644 --- a/stage_2_integration/source/array-utilities/ArrayNotImplementedCanary.ts +++ b/stage_2_integration/source/array-utilities/ArrayNotImplementedCanary.ts @@ -8,7 +8,7 @@ * When this file fails to compile, it means `ReadonlyArrayProxyHandler.#safeMembers` may need updating. */ class ArrayNotImplementedCanary implements Omit, number> { - [Symbol.iterator](): IterableIterator { + [Symbol.iterator](): ArrayIterator { throw new Error("Function not implemented."); } get [Symbol.unscopables](): { @@ -88,13 +88,13 @@ class ArrayNotImplementedCanary implements Omit, number> { copyWithin(target: number, start?: number | undefined, end?: number | undefined): unknown[] { throw new Error("Function not implemented."); } - entries(): IterableIterator<[number, unknown]> { + entries(): ArrayIterator<[number, unknown]> { throw new Error("Function not implemented."); } - keys(): IterableIterator { + keys(): ArrayIterator { throw new Error("Function not implemented."); } - values(): IterableIterator { + values(): ArrayIterator { throw new Error("Function not implemented."); } includes(searchElement: unknown, fromIndex?: number | undefined): boolean { diff --git a/stage_2_snapshot/snapshot/source/array-utilities/ArrayNotImplementedCanary.ts b/stage_2_snapshot/snapshot/source/array-utilities/ArrayNotImplementedCanary.ts index 9ff975c..8ff2f73 100644 --- a/stage_2_snapshot/snapshot/source/array-utilities/ArrayNotImplementedCanary.ts +++ b/stage_2_snapshot/snapshot/source/array-utilities/ArrayNotImplementedCanary.ts @@ -8,7 +8,7 @@ * When this file fails to compile, it means `ReadonlyArrayProxyHandler.#safeMembers` may need updating. */ class ArrayNotImplementedCanary implements Omit, number> { - [Symbol.iterator](): IterableIterator { + [Symbol.iterator](): ArrayIterator { throw new Error("Function not implemented."); } get [Symbol.unscopables](): { @@ -133,13 +133,13 @@ class ArrayNotImplementedCanary implements Omit, number> { ): unknown[] { throw new Error("Function not implemented."); } - entries(): IterableIterator<[number, unknown]> { + entries(): ArrayIterator<[number, unknown]> { throw new Error("Function not implemented."); } - keys(): IterableIterator { + keys(): ArrayIterator { throw new Error("Function not implemented."); } - values(): IterableIterator { + values(): ArrayIterator { throw new Error("Function not implemented."); } includes(searchElement: unknown, fromIndex?: number | undefined): boolean { diff --git a/use-cases/build/StringStringMap.ts b/use-cases/build/StringStringMap.ts index 411db6d..109a98d 100644 --- a/use-cases/build/StringStringMap.ts +++ b/use-cases/build/StringStringMap.ts @@ -140,7 +140,7 @@ function modifyMethodSignature(method: MethodSignatureImpl): void { if (method.name === "keys") { const { returnTypeStructure } = method; assert.equal(returnTypeStructure?.kind, TypeStructureKind.TypeArgumented, "Expected a type-argumented type."); - assert.equal(returnTypeStructure.objectType, LiteralTypeStructureImpl.get("IterableIterator"), "Expected an IterableIterator"); + assert.equal(returnTypeStructure.objectType, LiteralTypeStructureImpl.get("MapIterator"), "Expected a MapIterator for " + method.name); assert.equal(returnTypeStructure.childTypes.length, 1); assert.equal(returnTypeStructure.childTypes[0], LiteralTypeStructureImpl.get("K")); @@ -154,7 +154,7 @@ function modifyMethodSignature(method: MethodSignatureImpl): void { if ((method.name === "entries") || (method.name === "[Symbol.iterator]")) { const { returnTypeStructure } = method; assert.equal(returnTypeStructure?.kind, TypeStructureKind.TypeArgumented, "Expected a type-argumented type."); - assert.equal(returnTypeStructure.objectType, LiteralTypeStructureImpl.get("IterableIterator"), "Expected an IterableIterator"); + assert.equal(returnTypeStructure.objectType, LiteralTypeStructureImpl.get("MapIterator"), "Expected a MapIterator for " + method.name); assert.equal(returnTypeStructure.childTypes.length, 1); assert.equal(returnTypeStructure.childTypes[0].kind, TypeStructureKind.Tuple); diff --git a/use-cases/dist/StringStringMap.ts b/use-cases/dist/StringStringMap.ts index 59f5fb4..02ce10a 100644 --- a/use-cases/dist/StringStringMap.ts +++ b/use-cases/dist/StringStringMap.ts @@ -73,7 +73,7 @@ export default class StringStringMap { } /** Returns an iterable of entries in the map. */ - *[Symbol.iterator](): IterableIterator<[string, string, V]> { + *[Symbol.iterator](): MapIterator<[string, string, V]> { for (const x of this.#hashMap[Symbol.iterator]()) { const [ firstKey, secondKey ] = StringStringMap.#parseKeys(x[0]); yield [firstKey, secondKey, x[1]]; @@ -83,14 +83,14 @@ export default class StringStringMap { /** * Returns an iterable of key, value pairs for every entry in the map. */ - entries(): IterableIterator<[string, string, V]> { + entries(): MapIterator<[string, string, V]> { return this[Symbol.iterator](); } /** * Returns an iterable of keys in the map */ - *keys(): IterableIterator<[string, string]> { + *keys(): MapIterator<[string, string]> { for (const x of this.#hashMap.keys()) { const [ firstKey, secondKey ] = StringStringMap.#parseKeys(x[0]); yield [firstKey, secondKey]; @@ -100,7 +100,7 @@ export default class StringStringMap { /** * Returns an iterable of values in the map */ - values(): IterableIterator { + values(): MapIterator { return this.#hashMap.values() } }