pruny 1.28.0 → 1.28.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9684,10 +9684,9 @@ async function scanHttpUsage(config) {
9684
9684
  const extensions = config.extensions;
9685
9685
  const extGlob = `**/*{${extensions.join(",")}}`;
9686
9686
  console.log(` \uD83D\uDD0D Tracking HTTP usage in: ${searchDir}`);
9687
- const ignoreFolders = config.ignore.folders.filter((f) => f !== "public" && f !== "**/public");
9688
9687
  const files = await import_fast_glob4.default(extGlob, {
9689
9688
  cwd: searchDir,
9690
- ignore: [...ignoreFolders],
9689
+ ignore: [...config.ignore.folders],
9691
9690
  absolute: true
9692
9691
  });
9693
9692
  let axiosCount = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pruny",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
4
4
  "description": "Find and remove unused Next.js API routes & Nest.js Controllers",
5
5
  "type": "module",
6
6
  "files": [