knip 6.0.0 → 6.0.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.
@@ -190,6 +190,8 @@ const visitor = new Visitor({
190
190
  MemberExpression(node) {
191
191
  if (node.object?.type === 'Identifier')
192
192
  add(node.object.name);
193
+ if (node.computed && node.property?.type === 'Identifier')
194
+ add(node.property.name);
193
195
  },
194
196
  TaggedTemplateExpression(node) {
195
197
  if (node.tag?.type === 'Identifier')
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "6.0.0";
1
+ export declare const version = "6.0.1";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '6.0.0';
1
+ export const version = '6.0.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knip",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects",
5
5
  "keywords": [
6
6
  "analysis",