From 1f89d5765d0449b6b10727ad9c7c854b31f4372f Mon Sep 17 00:00:00 2001 From: git-action Date: Fri, 23 Oct 2026 00:57:24 +0000 Subject: [PATCH] chore: Upgrade vendored TypeScript Go port to ed4807212c28 risk: low --- CHANGELOG.md | 6 ++++++ TSGO_COMMIT | 2 +- VERSION | 2 +- internal/tsparse/tsparse.go | 5 +++-- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0db008d..02871ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.26.7] - 2026-10-23 + +### Changed +- Upgrade vendored TypeScript Go port (tsc/) to [`ed4807212c28`](https://github.com/microsoft/TypeScript/commit/ed4807212c28c90777c1d7ef2bf8e47af5d08519) + ## [0.26.6] - 2026-10-23 ### Changed @@ -483,6 +488,7 @@ Together these keep genuine import-time changes flagged while eliminating the la - Multi-stage Docker build - Automated vendor upgrade workflow +[0.26.7]: https://github.com/gooddata/gooddata-goodchanges/compare/v0.26.6...v0.26.7 [0.26.6]: https://github.com/gooddata/gooddata-goodchanges/compare/v0.26.5...v0.26.6 [0.26.5]: https://github.com/gooddata/gooddata-goodchanges/compare/v0.26.4...v0.26.5 [0.26.4]: https://github.com/gooddata/gooddata-goodchanges/compare/v0.26.3...v0.26.4 diff --git a/TSGO_COMMIT b/TSGO_COMMIT index a7af551..05393ee 100644 --- a/TSGO_COMMIT +++ b/TSGO_COMMIT @@ -1 +1 @@ -7e5d1c1c1de408086e2dd74cb42d5b9c6ba77461 \ No newline at end of file +ed4807212c28c90777c1d7ef2bf8e47af5d08519 \ No newline at end of file diff --git a/VERSION b/VERSION index 8ba0f3b..1655538 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.26.6 \ No newline at end of file +0.26.7 \ No newline at end of file diff --git a/internal/tsparse/tsparse.go b/internal/tsparse/tsparse.go index f7e47a2..b4e5b58 100644 --- a/internal/tsparse/tsparse.go +++ b/internal/tsparse/tsparse.go @@ -1,6 +1,7 @@ package tsparse import ( + "goodchanges/tsgo-vendor/pkg/tspath" "os" "path/filepath" "strings" @@ -12,7 +13,7 @@ import ( ) type Import struct { - Names []string // imported (source-side) names, or ["*:alias"] for namespace import + Names []string // imported (source-side) names, or ["*:alias"] for namespace import // LocalNames holds the local binding name for each entry in Names (parallel slice). // For a plain `import { X }` LocalNames[i] == Names[i]; for an aliased // `import { X as Y }` Names[i] is "X" (what the source exports) and @@ -66,7 +67,7 @@ func ParseContent(content string, filename string) (*FileAnalysis, error) { } sf := parser.ParseSourceFile(ast.SourceFileParseOptions{ - FileName: absPath, + FileName: tspath.RootedFilePathFromAbsolute(absPath), }, content, scriptKind) analysis := &FileAnalysis{