@aroman22/codegraph-vba 1.5.0 → 1.5.1

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.
@@ -538,6 +538,14 @@ export declare class VbaExtractor {
538
538
  * caller that forgets.
539
539
  */
540
540
  private isLocalProjectClassVar;
541
+ /**
542
+ * Qualified-call eligibility is intentionally shared by paren-form
543
+ * (`Receiver.Member(...)`) and statement-form (`Receiver.Member args`) scans:
544
+ * project-class locals are processed after type resolution, declared
545
+ * primitive/external locals are silent, and undeclared receivers remain
546
+ * candidate module names.
547
+ */
548
+ private shouldProcessQualifiedCall;
541
549
  /**
542
550
  * #12a: resolve the "receiver type" used to build a qualified call-stub's
543
551
  * name/qualifiedName. When `receiverName` is a file-local variable typed
@@ -895,10 +903,11 @@ export declare class VbaExtractor {
895
903
  */
896
904
  private sweepTempVars;
897
905
  /**
898
- * Fix 2 (Issue #2): maps `variableName.toLowerCase()` → declared type info.
899
- * Built by `sweepDimsAndWithEvents`; consulted by `sweepCallsAndSql` to gate
900
- * qualified statement-form calls only receivers that are file-local variables
901
- * typed as a SIMPLE (non-qualified, non-primitive) identifier emit edges.
906
+ * Maps `variableName.toLowerCase()` → declared type info.
907
+ * Built by `sweepDimsAndWithEvents`; consulted by the unified qualified-call
908
+ * gate (`shouldProcessQualifiedCall`) so declared project-class locals emit
909
+ * edges, declared primitive/external locals stay silent, and undeclared
910
+ * receivers remain module-name candidates for the resolver (Fix 2 / Issue #2).
902
911
  */
903
912
  private localVarTypeMap;
904
913
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aroman22/codegraph-vba",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Local-first code intelligence for AI agents (MCP). Self-contained — bundles its own runtime.",
5
5
  "bin": {
6
6
  "codegraph-vba": "npm-shim.js"
@@ -15,12 +15,12 @@
15
15
  "./package.json": "./package.json"
16
16
  },
17
17
  "optionalDependencies": {
18
- "@aroman22/codegraph-vba-darwin-arm64": "1.5.0",
19
- "@aroman22/codegraph-vba-darwin-x64": "1.5.0",
20
- "@aroman22/codegraph-vba-linux-arm64": "1.5.0",
21
- "@aroman22/codegraph-vba-linux-x64": "1.5.0",
22
- "@aroman22/codegraph-vba-win32-arm64": "1.5.0",
23
- "@aroman22/codegraph-vba-win32-x64": "1.5.0"
18
+ "@aroman22/codegraph-vba-darwin-arm64": "1.5.1",
19
+ "@aroman22/codegraph-vba-darwin-x64": "1.5.1",
20
+ "@aroman22/codegraph-vba-linux-arm64": "1.5.1",
21
+ "@aroman22/codegraph-vba-linux-x64": "1.5.1",
22
+ "@aroman22/codegraph-vba-win32-arm64": "1.5.1",
23
+ "@aroman22/codegraph-vba-win32-x64": "1.5.1"
24
24
  },
25
25
  "files": [
26
26
  "npm-shim.js",