pruny 1.33.0 → 1.34.0

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 +2 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15029,11 +15029,8 @@ async function scanMissingAssets(config) {
15029
15029
  if (!existsSync4(fullPath)) {
15030
15030
  const fileName = basename(assetPath);
15031
15031
  const isNextjsMetadata = NEXTJS_METADATA_PREFIXES.some((prefix) => fileName === prefix || fileName.startsWith(`${prefix}.`) || fileName.match(new RegExp(`^${prefix}\\d+\\.`)));
15032
- if (isNextjsMetadata) {
15033
- const appPath = join5(cwd, "app", fileName);
15034
- if (existsSync4(appPath))
15035
- continue;
15036
- }
15032
+ if (isNextjsMetadata)
15033
+ continue;
15037
15034
  const assetKey = assetPath;
15038
15035
  if (!missingMap.has(assetKey)) {
15039
15036
  missingMap.set(assetKey, new Set);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pruny",
3
- "version": "1.33.0",
3
+ "version": "1.34.0",
4
4
  "description": "Find and remove unused Next.js API routes & Nest.js Controllers",
5
5
  "type": "module",
6
6
  "files": [