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.value;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-code-detector",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",