knip 2.8.1 → 2.8.2

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.
package/README.md CHANGED
@@ -172,17 +172,18 @@ This example shows more output related to unused and unlisted dependencies:
172
172
 
173
173
  The report contains the following types of issues:
174
174
 
175
- | Title | Key | Description |
175
+ | Key | Title | Description |
176
176
  | :------------- | :---------------------------------- | :---------------------------------------------------- |
177
177
  | `files` | Unused files | unable to find references to this file |
178
178
  | `dependencies` | Unused dependencies | unable to find references to this dependency |
179
179
  | `dependencies` | Unused devDependencies | unable to find references to this dependency |
180
- | `unlisted` | Unlisted dependencies | used dependencies not listed in package.json _(1)_ |
180
+ | `unlisted` | Unlisted dependencies | used dependencies not listed in package.json |
181
+ | `binaries` | Unlisted binaries | binaries from dependencies not in package.json |
181
182
  | `unresolved` | Unresolved imports | unable to resolve this (import) specifier |
182
183
  | `exports` | Unused exports | unable to find references to this export |
183
- | `nsExports` | Unused exports in namespaces | unable to find direct references to this export _(2)_ |
184
+ | `nsExports` | Unused exports in namespaces | unable to find direct references to this export _(1)_ |
184
185
  | `types` | Unused exported types | unable to find references to this exported type |
185
- | `nsTypes` | Unused exported types in namespaces | unable to find direct references to this export _(2)_ |
186
+ | `nsTypes` | Unused exported types in namespaces | unable to find direct references to this export _(1)_ |
186
187
  | `enumMembers` | Unused exported enum members | unable to find references to this enum member |
187
188
  | `classMembers` | Unused exported class members | unable to find references to this class member |
188
189
  | `duplicates` | Duplicate exports | the same thing is exported more than once |
@@ -191,10 +192,7 @@ When an issue type has zero issues, it is not shown.
191
192
 
192
193
  Getting too many reported issues and false positives? Read more about [handling issues][8].
193
194
 
194
- _(1)_ If an unlisted dependency is prefixed with `bin:` it means the dependency containing that binary is unlisted. This
195
- often equals the package name, but not always (e.g. `tsc` of `typescript` or `webpack` from `webpack-cli`).
196
-
197
- _(2)_ The variable or type is not referenced directly and has become a member of a namespace. Knip can't find a
195
+ _(1)_ The variable or type is not referenced directly and has become a member of a namespace. Knip can't find a
198
196
  reference to it, so you can _probably_ remove it.
199
197
 
200
198
  ## Output
package/dist/constants.js CHANGED
@@ -66,7 +66,7 @@ export const ISSUE_TYPE_TITLE = {
66
66
  dependencies: 'Unused dependencies',
67
67
  devDependencies: 'Unused devDependencies',
68
68
  unlisted: 'Unlisted dependencies',
69
- binaries: 'Unresolved binaries',
69
+ binaries: 'Unlisted binaries',
70
70
  unresolved: 'Unresolved imports',
71
71
  exports: 'Unused exports',
72
72
  nsExports: 'Unused exports in namespaces',
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "2.8.1";
1
+ export declare const version = "2.8.2";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '2.8.1';
1
+ export const version = '2.8.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knip",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Find unused files, dependencies and exports in your TypeScript and JavaScript projects",
5
5
  "homepage": "https://github.com/webpro/knip",
6
6
  "repository": "github:webpro/knip",