Skip to content

fix(javascript): extract computed and dynamic property methods - #2197

Merged
squid-protocol merged 4 commits into
mainfrom
fix/javascript-computed-properties
Aug 23, 2026
Merged

fix(javascript): extract computed and dynamic property methods#2197
squid-protocol merged 4 commits into
mainfrom
fix/javascript-computed-properties

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Resolves #2193
Resolves #2195

This PR fixes two missing extraction shapes in JavaScript:

  1. Computed property methods like [Symbol.iterator]: function() { ... } and [ASYNC_ITERATOR]: function() { ... }.
  2. Dynamic property assignments like s.converters["text script"] = function() { ... } and jQuery[method] = function() { ... }.

GitGalaxy now successfully finds these, correctly overtaking tree-sitter (which misses computed property methods). The tree_sitter_accuracy_audit baseline for JavaScript was intentionally regenerated to account for the extra_functions increase.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit caf8133 into main Aug 23, 2026
30 checks passed
@squid-protocol
squid-protocol deleted the fix/javascript-computed-properties branch August 23, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant