@defold-typescript/tstl-plugin 0.31.0 → 0.32.0

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -549,13 +549,13 @@ function nodeEntries(slot, cache, fileName, baseEntries) {
549
549
  function animationEntries(slot, cache, fileName, baseEntries) {
550
550
  const { projectRoot } = cache;
551
551
  if (slot.nodeParameter !== undefined) {
552
- const index2 = cache.derived("gui-flipbook", () => buildGuiFlipbookIndex2({
552
+ const index = cache.derived("gui-flipbook", () => buildGuiFlipbookIndex2({
553
553
  scenes: cache.documents(GUI_EXTENSIONS3).documents,
554
554
  assets: cache.documents(ANIMATION_ASSET_EXTENSIONS2).documents
555
555
  }));
556
- const config2 = readBuildConfigFromHost(cache.host, projectRoot);
557
- const resource2 = computeOutputRel3(displayPathOf4(projectRoot, fileName), config2, "gui-script");
558
- const declared = index2.byScriptResource.get(resource2);
556
+ const config = readBuildConfigFromHost(cache.host, projectRoot);
557
+ const resource = computeOutputRel3(displayPathOf4(projectRoot, fileName), config, "gui-script");
558
+ const declared = index.byScriptResource.get(resource);
559
559
  return declared === undefined ? [] : buildWholeLiteralCompletionEntries({ slot, ids: new Set(declared.keys()), baseEntries });
560
560
  }
561
561
  const component = componentIdOfSameObjectAddress2(slot.addressText ?? "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defold-typescript/tstl-plugin",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "description": "TypeScript language-service plugin surfacing Defold transpiler diagnostics live in the editor.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -37,8 +37,8 @@
37
37
  "test": "bun test"
38
38
  },
39
39
  "dependencies": {
40
- "@defold-typescript/transpiler": "0.31.0",
41
- "@defold-typescript/types": "0.31.0"
40
+ "@defold-typescript/transpiler": "0.32.0",
41
+ "@defold-typescript/types": "0.32.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "typescript": ">=5.0.0 <7"