pruny 1.1.24 → 1.1.26

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 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7651,7 +7651,7 @@ var API_METHOD_PATTERNS = [
7651
7651
  { regex: /fetch\s*\(\s*['"`]\/api\/([^'"`\s)]+)['"`]/g, method: undefined },
7652
7652
  { regex: /fetch\s*\(\s*`\/api\/([^`\s)]+)`/g, method: undefined },
7653
7653
  { regex: /['"`]\/api\/([^'"`\s]+)['"`]/g, method: undefined },
7654
- { regex: /['"`](?:https?:\/\/[^\/]+)?\/api\/([^'"`\s]+)['"`]/g, method: undefined }
7654
+ { regex: /['"`](?:https?:\/\/[^/]+)?\/api\/([^'"`\s]+)['"`]/g, method: undefined }
7655
7655
  ];
7656
7656
  function extractApiReferences(content) {
7657
7657
  const matches = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pruny",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "Find and remove unused Next.js API routes",
5
5
  "type": "module",
6
6
  "files": [