pruny 1.44.7 → 1.44.8

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16188,6 +16188,8 @@ async function scanBrokenLinks(config) {
16188
16188
  const extracted = extractPath(match2);
16189
16189
  if (!extracted)
16190
16190
  continue;
16191
+ if (/\$\{/.test(extracted))
16192
+ continue;
16191
16193
  const rawPath = normalizePath(extracted);
16192
16194
  if (shouldSkipPath(rawPath))
16193
16195
  continue;
@@ -16665,7 +16667,7 @@ function findImport(ident, source) {
16665
16667
  return null;
16666
16668
  }
16667
16669
  function resolveModulePath(spec, fromFile, appDir, aliasMap) {
16668
- let candidates = [];
16670
+ const candidates = [];
16669
16671
  if (spec.startsWith(".")) {
16670
16672
  candidates.push(resolve3(dirname5(fromFile), spec));
16671
16673
  } else if (aliasMap.size > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pruny",
3
- "version": "1.44.7",
3
+ "version": "1.44.8",
4
4
  "description": "Find and remove unused Next.js API routes & Nest.js Controllers",
5
5
  "type": "module",
6
6
  "files": [