js-code-detector 0.0.19 → 0.0.20
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.
|
@@ -574,8 +574,11 @@ var _AstUtil = class {
|
|
|
574
574
|
const argument = property.argument;
|
|
575
575
|
this._deepFindIdentifier(argument, callback);
|
|
576
576
|
} else {
|
|
577
|
-
const value = property
|
|
577
|
+
const { value, key, computed } = property;
|
|
578
578
|
this._deepFindIdentifier(value, callback);
|
|
579
|
+
if (computed) {
|
|
580
|
+
this._deepFindIdentifier(key, callback);
|
|
581
|
+
}
|
|
579
582
|
}
|
|
580
583
|
}
|
|
581
584
|
}
|