knip 5.50.4 → 5.50.5

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.
@@ -305,6 +305,17 @@ export class DependencyDeputy {
305
305
  counters.unresolved--;
306
306
  manifest.usedIgnoreUnresolved.add(ignoreItem);
307
307
  }
308
+ else {
309
+ const manifest = this.getWorkspaceManifest(ROOT_WORKSPACE_NAME);
310
+ if (manifest) {
311
+ const ignoreItem = findMatch(manifest.ignoreUnresolved, issue.symbol);
312
+ if (ignoreItem) {
313
+ delete issueSet[issueKey];
314
+ counters.unresolved--;
315
+ manifest.usedIgnoreUnresolved.add(ignoreItem);
316
+ }
317
+ }
318
+ }
308
319
  }
309
320
  }
310
321
  }
@@ -3,7 +3,7 @@ import { compact } from '../util/array.js';
3
3
  import { toBinary, toDeferResolve, toEntry } from '../util/input.js';
4
4
  const spawningBinaries = ['cross-env', 'retry-cli'];
5
5
  const endOfCommandBinaries = ['dotenvx'];
6
- const positionals = new Set(['babel-node', 'esbuild', 'execa', 'vite-node', 'zx']);
6
+ const positionals = new Set(['babel-node', 'esbuild', 'execa', 'jiti', 'vite-node', 'zx']);
7
7
  export const resolve = (binary, args, { fromArgs }) => {
8
8
  const parsed = parseArgs(args, { boolean: ['quiet', 'verbose'], '--': endOfCommandBinaries.includes(binary) });
9
9
  const bin = binary.startsWith('.') ? toEntry(binary) : toBinary(binary);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "5.50.4";
1
+ export declare const version = "5.50.5";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '5.50.4';
1
+ export const version = '5.50.5';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knip",
3
- "version": "5.50.4",
3
+ "version": "5.50.5",
4
4
  "description": "Find and fix unused files, dependencies and exports in your TypeScript and JavaScript projects",
5
5
  "homepage": "https://knip.dev",
6
6
  "repository": {