knip 5.34.2 → 5.34.3

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/dist/constants.js CHANGED
@@ -20,6 +20,7 @@ export const ALIAS_TAG = '@alias';
20
20
  export const DT_SCOPE = '@types';
21
21
  export const PROTOCOL_VIRTUAL = 'virtual:';
22
22
  export const IGNORED_GLOBAL_BINARIES = new Set([
23
+ 'amplify',
23
24
  'aws',
24
25
  'base64',
25
26
  'basename',
@@ -42,7 +42,8 @@ export default ({ report, issues, tagHints, configurationHints, noConfigHints, i
42
42
  const issuesForType = Array.from(issues._files);
43
43
  if (issuesForType.length > 0) {
44
44
  title && logTitle(title, issuesForType.length);
45
- for (const issue of issuesForType) {
45
+ const sortedIssues = issuesForType.sort((a, b) => a.filePath.localeCompare(b.filePath));
46
+ for (const issue of sortedIssues) {
46
47
  const relPath = toRelative(issue.filePath);
47
48
  if (issue.isFixed)
48
49
  console.log(dim(`${relPath} (removed)`));
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "5.34.2";
1
+ export declare const version = "5.34.3";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '5.34.2';
1
+ export const version = '5.34.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knip",
3
- "version": "5.34.2",
3
+ "version": "5.34.3",
4
4
  "description": "Find unused files, dependencies and exports in your TypeScript and JavaScript projects",
5
5
  "homepage": "https://knip.dev",
6
6
  "repository": {
@@ -66,7 +66,7 @@
66
66
  "jiti": "^2.3.3",
67
67
  "js-yaml": "^4.1.0",
68
68
  "minimist": "^1.2.8",
69
- "picocolors": "^1.0.0",
69
+ "picocolors": "^1.1.0",
70
70
  "picomatch": "^4.0.1",
71
71
  "pretty-ms": "^9.0.0",
72
72
  "smol-toml": "^1.3.0",