Skip to content

Commit

Permalink
chore(typescript): update to 5.3.2 (#5958)
Browse files Browse the repository at this point in the history
* chore(typescript): update to 5.3.2

* fix: format
  • Loading branch information
zrlk committed Dec 7, 2023
1 parent fd6d1b5 commit 59e73aa
Show file tree
Hide file tree
Showing 6 changed files with 145 additions and 138 deletions.
1 change: 1 addition & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ kythe_rule_repositories()
load("@aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies")

rules_ts_dependencies(
ts_integrity = "sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==",
ts_version_from = "//:package.json",
)

Expand Down
6 changes: 3 additions & 3 deletions kythe/typescript/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ package(default_visibility = ["//kythe:default_visibility"])

# If you need to add / update dependencies:
#
# 0. Ensure you have a recent nodejs and pnpm installed.
# 1. Edit package.json in this directory as appropriate
# 0. Ensure you have a recent npm and pnpm. npm can come from apt.
# 1. Edit //:package.json and //:WORKSPACE as appropriate
# 2. From the *root dir* of the project, run
#
# cp kythe/typescript/package.json .
# npm install
# pnpm import
#
# 3. Add the dependencies to the ts_project build rule below.
Expand Down
2 changes: 1 addition & 1 deletion kythe/typescript/indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1997,6 +1997,7 @@ class Visitor {
case ts.SyntaxKind.StringLiteral:
case ts.SyntaxKind.NumericLiteral:
case ts.SyntaxKind.PrivateIdentifier:
case ts.SyntaxKind.NoSubstitutionTemplateLiteral:
return elem.text;
case ts.SyntaxKind.ComputedPropertyName:
const name = this.host.getSymbolAtLocation(elem)?.name;
Expand All @@ -2010,7 +2011,6 @@ class Visitor {
// case" is good enough for now.
return name !== '__computed' ? name : undefined;
}
return undefined;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"once": "^1.4.0",
"source-map": "^0.7.4",
"source-map-support": "^0.5.21",
"typescript": "5.1.6",
"typescript": "5.3.2",
"wrappy": "^1.0.2"
},
"devDependencies": {
Expand Down

0 comments on commit 59e73aa

Please sign in to comment.