From ffe1b7e5b5436b181928618d087f4b157419dcfe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 04:04:46 +0000 Subject: [PATCH] chore(deps): bump typescript from 5.5.4 to 5.6.2 Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.6.2. - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: Emilien Escalle --- src/services/file/TypescriptFile.ts | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/services/file/TypescriptFile.ts b/src/services/file/TypescriptFile.ts index 88a9c5c4..70adbed3 100644 --- a/src/services/file/TypescriptFile.ts +++ b/src/services/file/TypescriptFile.ts @@ -89,7 +89,7 @@ export class TypescriptFile extends StdFile { // eslint-disable-next-line no-case-declarations const modules: ITypescriptImportModules = {}; for (const element of namedBindings.elements) { - const propertyName = element?.propertyName?.escapedText?.toString(); + const propertyName = element?.propertyName?.text; const elementName = element.name.escapedText.toString(); const moduleName: string = propertyName ?? elementName; modules[moduleName] = propertyName ? elementName : ""; diff --git a/yarn.lock b/yarn.lock index 6f54f83f..6632059d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4254,9 +4254,9 @@ typescript@^3.2.4: integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== typescript@^5.1.6, typescript@^5.5.4: - version "5.5.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba" - integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q== + version "5.6.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.6.2.tgz#d1de67b6bef77c41823f822df8f0b3bcff60a5a0" + integrity sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw== uc.micro@^2.0.0, uc.micro@^2.1.0: version "2.1.0"