knip 2.19.8 → 2.19.9

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
@@ -746,6 +746,7 @@ Many thanks to some of the early adopters of Knip:
746
746
  - Ask your questions in the [Knip knowledge base][65] (powered by OpenAI and [7-docs][66], experimental!)
747
747
  - Smashing Magazine: [Knip: An Automated Tool For Finding Unused Files, Exports, And Dependencies][67]
748
748
  - Effective TypeScript: [Recommendation Update: ✂️ Use knip to detect dead code and types][68]
749
+ - Josh Goldberg: [Speeding Up Centered Part 4: Unused Code Bloat][69]
749
750
 
750
751
  ## Why "Knip"?
751
752
 
@@ -763,7 +764,7 @@ each file, and traversing all of this, why not collect the various issues in one
763
764
 
764
765
  Special thanks to the wonderful people who have contributed to this project:
765
766
 
766
- [![Contributors][70]][69]
767
+ [![Contributors][71]][70]
767
768
 
768
769
  [1]: #workspaces
769
770
  [2]: #plugins
@@ -833,8 +834,9 @@ Special thanks to the wonderful people who have contributed to this project:
833
834
  [66]: https://github.com/7-docs/7-docs
834
835
  [67]: https://www.smashingmagazine.com/2023/08/knip-automated-tool-find-unused-files-exports-dependencies/
835
836
  [68]: https://effectivetypescript.com/2023/07/29/knip/
836
- [69]: https://github.com/webpro/knip/graphs/contributors
837
- [70]: https://contrib.rocks/image?repo=webpro/knip
837
+ [69]: https://www.joshuakgoldberg.com/blog/speeding-up-centered-part-4-unused-code-bloat/
838
+ [70]: https://github.com/webpro/knip/graphs/contributors
839
+ [71]: https://contrib.rocks/image?repo=webpro/knip
838
840
  [plugin-ava]: ./src/plugins/ava
839
841
  [plugin-babel]: ./src/plugins/babel
840
842
  [plugin-capacitor]: ./src/plugins/capacitor
@@ -6,4 +6,6 @@ export const ENTRY_FILE_PATTERNS = ['next.config.{js,ts,cjs,mjs}'];
6
6
  export const PRODUCTION_ENTRY_FILE_PATTERNS = [
7
7
  '{app,pages}/**/*.{js,jsx,ts,tsx}',
8
8
  'src/{app,pages}/**/*.{js,jsx,ts,tsx}',
9
+ 'middleware.{js,ts}',
10
+ 'src/middleware.{js,ts}',
9
11
  ];
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "2.19.8";
1
+ export declare const version = "2.19.9";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '2.19.8';
1
+ export const version = '2.19.9';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knip",
3
- "version": "2.19.8",
3
+ "version": "2.19.9",
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",
@@ -62,7 +62,7 @@
62
62
  "zod-validation-error": "^1.5.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@jest/types": "29.6.1",
65
+ "@jest/types": "29.6.3",
66
66
  "@npmcli/package-json": "5.0.0",
67
67
  "@release-it/bumper": "5.1.0",
68
68
  "@swc/cli": "0.1.62",
@@ -74,13 +74,13 @@
74
74
  "@types/node": "20.5.1",
75
75
  "@types/npmcli__map-workspaces": "3.0.1",
76
76
  "@types/webpack": "5.28.1",
77
- "@typescript-eslint/eslint-plugin": "6.4.0",
78
- "@typescript-eslint/parser": "6.4.0",
77
+ "@typescript-eslint/eslint-plugin": "6.4.1",
78
+ "@typescript-eslint/parser": "6.4.1",
79
79
  "c8": "8.0.1",
80
80
  "eslint": "8.47.0",
81
81
  "eslint-import-resolver-typescript": "3.6.0",
82
82
  "eslint-plugin-import": "2.28.1",
83
- "eslint-plugin-n": "16.0.1",
83
+ "eslint-plugin-n": "16.0.2",
84
84
  "prettier": "3.0.2",
85
85
  "release-it": "16.1.5",
86
86
  "remark-cli": "11.0.0",