pkgviz 0.1.2 → 0.1.4

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 (91) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +14 -21
  3. package/.next/app-path-routes-manifest.json +4 -5
  4. package/.next/build-manifest.json +4 -4
  5. package/.next/cache/.previewinfo +1 -1
  6. package/.next/cache/.rscinfo +1 -1
  7. package/.next/cache/.tsbuildinfo +1 -1
  8. package/.next/cache/chrome-devtools-workspace-uuid +1 -1
  9. package/.next/cache/eslint/.cache_6t30dc +1 -1
  10. package/.next/cache/webpack/client-production/0.pack +0 -0
  11. package/.next/cache/webpack/client-production/1.pack +0 -0
  12. package/.next/cache/webpack/client-production/2.pack +0 -0
  13. package/.next/cache/webpack/client-production/index.pack +0 -0
  14. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  15. package/.next/cache/webpack/edge-server-production/index.pack +0 -0
  16. package/.next/cache/webpack/server-production/0.pack +0 -0
  17. package/.next/cache/webpack/server-production/1.pack +0 -0
  18. package/.next/cache/webpack/server-production/2.pack +0 -0
  19. package/.next/cache/webpack/server-production/index.pack +0 -0
  20. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  21. package/.next/next-minimal-server.js.nft.json +1 -1
  22. package/.next/next-server.js.nft.json +1 -1
  23. package/.next/prerender-manifest.json +3 -3
  24. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/_not-found.html +1 -1
  26. package/.next/server/app/_not-found.rsc +4 -4
  27. package/.next/server/app/api/audit/json/route.js +1 -1
  28. package/.next/server/app/api/audit/json/route.js.nft.json +1 -1
  29. package/.next/server/app/api/audit/json/route_client-reference-manifest.js +1 -1
  30. package/.next/server/app/api/audit/xml/route.js +1 -1
  31. package/.next/server/app/api/audit/xml/route.js.nft.json +1 -1
  32. package/.next/server/app/api/audit/xml/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/api/fs/getAllFilesRecursive/route.js +1 -1
  34. package/.next/server/app/api/fs/getAllFilesRecursive/route.js.nft.json +1 -1
  35. package/.next/server/app/api/fs/getAllFilesRecursive/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/api/fs/getRoot/route.js +1 -0
  37. package/.next/server/app/api/fs/{getGraph → getRoot}/route.js.nft.json +1 -1
  38. package/.next/server/app/api/fs/getRoot/route_client-reference-manifest.js +1 -0
  39. package/.next/server/app/index.html +1 -1
  40. package/.next/server/app/index.rsc +5 -5
  41. package/.next/server/app/page.js +2 -2
  42. package/.next/server/app/page_client-reference-manifest.js +1 -1
  43. package/.next/server/app-paths-manifest.json +4 -5
  44. package/.next/server/chunks/437.js +2 -0
  45. package/.next/server/chunks/671.js +4 -4
  46. package/.next/server/middleware-build-manifest.js +1 -1
  47. package/.next/server/next-font-manifest.js +1 -1
  48. package/.next/server/next-font-manifest.json +1 -1
  49. package/.next/server/pages/404.html +1 -1
  50. package/.next/server/pages/500.html +1 -1
  51. package/.next/server/pages/_error.js +3 -3
  52. package/.next/server/server-reference-manifest.js +1 -1
  53. package/.next/server/server-reference-manifest.json +1 -1
  54. package/.next/static/Xqw4o8-B-nVV9nsf0EWy0/_buildManifest.js +1 -0
  55. package/.next/static/chunks/772-d286eab101bacf5b.js +1 -0
  56. package/.next/static/chunks/90542734-29e255269788f1bd.js +1 -0
  57. package/.next/static/chunks/91dbc596-b9cdccd3f5cba95d.js +1 -0
  58. package/.next/static/chunks/app/api/audit/json/route-e7260609795439d8.js +1 -0
  59. package/.next/static/chunks/app/api/audit/xml/route-e7260609795439d8.js +1 -0
  60. package/.next/static/chunks/app/api/fs/getAllFilesRecursive/route-e7260609795439d8.js +1 -0
  61. package/.next/static/chunks/app/api/fs/getRoot/route-e7260609795439d8.js +1 -0
  62. package/.next/static/chunks/app/{layout-c710aa82473a1ae2.js → layout-8aae7fba5ed8afb3.js} +1 -1
  63. package/.next/static/chunks/app/page-f5472e60dd17aadb.js +1 -0
  64. package/.next/static/chunks/framework-50754772827390f2.js +1 -0
  65. package/.next/static/css/9174fdafc1d68d49.css +3 -0
  66. package/.next/static/media/4cf2300e9c8272f7-s.p.woff2 +0 -0
  67. package/.next/trace +3 -14
  68. package/.next/types/app/api/fs/{getGraph → getRoot}/route.ts +3 -3
  69. package/bin/pkgviz.ts +4 -6
  70. package/package.json +21 -21
  71. package/.next/server/app/api/fs/detectLanguage/route.js +0 -2
  72. package/.next/server/app/api/fs/detectLanguage/route.js.nft.json +0 -1
  73. package/.next/server/app/api/fs/detectLanguage/route_client-reference-manifest.js +0 -1
  74. package/.next/server/app/api/fs/getGraph/route.js +0 -1
  75. package/.next/server/app/api/fs/getGraph/route_client-reference-manifest.js +0 -1
  76. package/.next/server/chunks/881.js +0 -2
  77. package/.next/static/QX1s18_hvzEu9EF6zFENT/_buildManifest.js +0 -1
  78. package/.next/static/chunks/485-f571e09734f16464.js +0 -1
  79. package/.next/static/chunks/90542734-bad8998e58193cb9.js +0 -1
  80. package/.next/static/chunks/app/api/audit/json/route-368bcf018f5b1da2.js +0 -1
  81. package/.next/static/chunks/app/api/audit/xml/route-368bcf018f5b1da2.js +0 -1
  82. package/.next/static/chunks/app/api/fs/detectLanguage/route-368bcf018f5b1da2.js +0 -1
  83. package/.next/static/chunks/app/api/fs/getAllFilesRecursive/route-368bcf018f5b1da2.js +0 -1
  84. package/.next/static/chunks/app/api/fs/getGraph/route-368bcf018f5b1da2.js +0 -1
  85. package/.next/static/chunks/app/page-68d264a9117783ba.js +0 -1
  86. package/.next/static/chunks/dec7c704-381848996e700553.js +0 -1
  87. package/.next/static/chunks/framework-7c95b8e5103c9e90.js +0 -1
  88. package/.next/static/css/ea77dbcae77d4605.css +0 -3
  89. package/.next/static/media/569ce4b8f30dc480-s.p.woff2 +0 -0
  90. package/.next/types/app/api/fs/detectLanguage/route.ts +0 -347
  91. /package/.next/static/{QX1s18_hvzEu9EF6zFENT → Xqw4o8-B-nVV9nsf0EWy0}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"894":{"*":{"id":"6346","name":"*","chunks":[],"async":false}},"1295":{"*":{"id":"7173","name":"*","chunks":[],"async":false}},"1362":{"*":{"id":"218","name":"*","chunks":[],"async":false}},"4346":{"*":{"id":"2695","name":"*","chunks":[],"async":false}},"4911":{"*":{"id":"8827","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"7924","name":"*","chunks":[],"async":false}},"6975":{"*":{"id":"99","name":"*","chunks":[],"async":false}},"7555":{"*":{"id":"8243","name":"*","chunks":[],"async":false}},"8175":{"*":{"id":"5587","name":"*","chunks":[],"async":false}},"8393":{"*":{"id":"5227","name":"*","chunks":[],"async":false}},"9665":{"*":{"id":"2763","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/builtin/global-error.js":{"id":8393,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":8393,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/client-page.js":{"id":894,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/client-page.js":{"id":894,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/client-segment.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":6975,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":6975,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/layout-router.js":{"id":7555,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7555,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":4911,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":4911,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":9665,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":9665,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1295,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1295,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":8175,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":8175,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next-themes/dist/index.mjs":{"id":1362,"name":"*","chunks":["177","static/chunks/app/layout-c710aa82473a1ae2.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-geist-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":4147,"name":"*","chunks":["177","static/chunks/app/layout-c710aa82473a1ae2.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":8489,"name":"*","chunks":["177","static/chunks/app/layout-c710aa82473a1ae2.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/src/app/globals.css":{"id":347,"name":"*","chunks":["177","static/chunks/app/layout-c710aa82473a1ae2.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/src/screens/home/Home.tsx":{"id":4346,"name":"*","chunks":["747","static/chunks/90542734-bad8998e58193cb9.js","870","static/chunks/dec7c704-381848996e700553.js","485","static/chunks/485-f571e09734f16464.js","974","static/chunks/app/page-68d264a9117783ba.js"],"async":false}},"entryCSSFiles":{"/Users/a_rtiphishl_e/git/pkgviz/src/":[],"/Users/a_rtiphishl_e/git/pkgviz/src/app/layout":[{"inlined":false,"path":"static/css/ea77dbcae77d4605.css"}],"/Users/a_rtiphishl_e/git/pkgviz/src/app/page":[]},"rscModuleMapping":{"347":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"894":{"*":{"id":"6444","name":"*","chunks":[],"async":false}},"1295":{"*":{"id":"1307","name":"*","chunks":[],"async":false}},"1362":{"*":{"id":"3392","name":"*","chunks":[],"async":false}},"4346":{"*":{"id":"4898","name":"*","chunks":[],"async":false}},"4911":{"*":{"id":"2089","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"6042","name":"*","chunks":[],"async":false}},"6975":{"*":{"id":"9477","name":"*","chunks":[],"async":false}},"7555":{"*":{"id":"9345","name":"*","chunks":[],"async":false}},"8175":{"*":{"id":"4817","name":"*","chunks":[],"async":false}},"8393":{"*":{"id":"6133","name":"*","chunks":[],"async":false}},"9665":{"*":{"id":"6577","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"894":{"*":{"id":"6346","name":"*","chunks":[],"async":false}},"1295":{"*":{"id":"7173","name":"*","chunks":[],"async":false}},"1362":{"*":{"id":"218","name":"*","chunks":[],"async":false}},"3709":{"*":{"id":"3402","name":"*","chunks":[],"async":false}},"4911":{"*":{"id":"8827","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"7924","name":"*","chunks":[],"async":false}},"6975":{"*":{"id":"99","name":"*","chunks":[],"async":false}},"7555":{"*":{"id":"8243","name":"*","chunks":[],"async":false}},"8175":{"*":{"id":"5587","name":"*","chunks":[],"async":false}},"8393":{"*":{"id":"5227","name":"*","chunks":[],"async":false}},"9665":{"*":{"id":"2763","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/builtin/global-error.js":{"id":8393,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":8393,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/client-page.js":{"id":894,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/client-page.js":{"id":894,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/client-segment.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/client-segment.js":{"id":4970,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":6975,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":6975,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/layout-router.js":{"id":7555,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/layout-router.js":{"id":7555,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":4911,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":4911,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":9665,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":9665,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1295,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1295,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":8175,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":8175,"name":"*","chunks":[],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next-themes/dist/index.mjs":{"id":1362,"name":"*","chunks":["177","static/chunks/app/layout-8aae7fba5ed8afb3.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-geist-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistSans\"}":{"id":4147,"name":"*","chunks":["177","static/chunks/app/layout-8aae7fba5ed8afb3.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"geistMono\"}":{"id":8489,"name":"*","chunks":["177","static/chunks/app/layout-8aae7fba5ed8afb3.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/src/app/globals.css":{"id":347,"name":"*","chunks":["177","static/chunks/app/layout-8aae7fba5ed8afb3.js"],"async":false},"/Users/a_rtiphishl_e/git/pkgviz/src/screens/home/Home.tsx":{"id":3709,"name":"*","chunks":["747","static/chunks/90542734-29e255269788f1bd.js","238","static/chunks/91dbc596-b9cdccd3f5cba95d.js","772","static/chunks/772-d286eab101bacf5b.js","974","static/chunks/app/page-f5472e60dd17aadb.js"],"async":false}},"entryCSSFiles":{"/Users/a_rtiphishl_e/git/pkgviz/src/":[],"/Users/a_rtiphishl_e/git/pkgviz/src/app/layout":[{"inlined":false,"path":"static/css/9174fdafc1d68d49.css"}],"/Users/a_rtiphishl_e/git/pkgviz/src/app/page":[]},"rscModuleMapping":{"347":{"*":{"id":"1135","name":"*","chunks":[],"async":false}},"894":{"*":{"id":"6444","name":"*","chunks":[],"async":false}},"1295":{"*":{"id":"1307","name":"*","chunks":[],"async":false}},"1362":{"*":{"id":"3392","name":"*","chunks":[],"async":false}},"3709":{"*":{"id":"4898","name":"*","chunks":[],"async":false}},"4911":{"*":{"id":"2089","name":"*","chunks":[],"async":false}},"4970":{"*":{"id":"6042","name":"*","chunks":[],"async":false}},"6975":{"*":{"id":"9477","name":"*","chunks":[],"async":false}},"7555":{"*":{"id":"9345","name":"*","chunks":[],"async":false}},"8175":{"*":{"id":"4817","name":"*","chunks":[],"async":false}},"8393":{"*":{"id":"6133","name":"*","chunks":[],"async":false}},"9665":{"*":{"id":"6577","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}}
@@ -1,10 +1,9 @@
1
1
  {
2
- "/api/audit/json/route": "app/api/audit/json/route.js",
3
2
  "/api/audit/xml/route": "app/api/audit/xml/route.js",
4
- "/api/fs/detectLanguage/route": "app/api/fs/detectLanguage/route.js",
5
- "/api/fs/getAllFilesRecursive/route": "app/api/fs/getAllFilesRecursive/route.js",
6
- "/api/fs/getGraph/route": "app/api/fs/getGraph/route.js",
7
- "/favicon.ico/route": "app/favicon.ico/route.js",
3
+ "/api/audit/json/route": "app/api/audit/json/route.js",
8
4
  "/_not-found/page": "app/_not-found/page.js",
5
+ "/api/fs/getRoot/route": "app/api/fs/getRoot/route.js",
6
+ "/favicon.ico/route": "app/favicon.ico/route.js",
7
+ "/api/fs/getAllFilesRecursive/route": "app/api/fs/getAllFilesRecursive/route.js",
9
8
  "/page": "app/page.js"
10
9
  }
@@ -0,0 +1,2 @@
1
+ exports.id=437,exports.ids=[437],exports.modules={2329:(a,b,c)=>{"use strict";c.d(b,{zV:()=>t,jY:()=>s,H6:()=>r});var d=c(7218);c(9130);var e=c(3024),f=c(6760),g=c.n(f),h=c(9444),i=c(9019),j=c(4279),k=c(1455),l=c.n(k),m=c(9899),n=c.n(m);async function o(a,b){let c=await l().readFile(a,"utf-8"),d=g().relative(b,a),e=d.split("/").slice(0,-1);return{className:function(a,b){let c=a.match(/class\s+(\w+)/);return c?c[1]:g().basename(b,".ts")}(c,a),imports:function(a){let b=n().createSourceFile("temp.ts",a,n().ScriptTarget.Latest,!0),c=[];return b.forEachChild(a=>{if(!n().isImportDeclaration(a))return;let b=a.moduleSpecifier.text,d=b.replace(/^@/,"src"),e=b.startsWith("@/"),f=d.includes("\\")?"\\":"/",g=d.split(f).join("."),h=function(a){let b=a.split("/").slice(0,-1).join("/");return(b.startsWith("@/")?b.replace(/^@/,"src"):b).split("/").join(".")}(b);c.push({name:g,pkg:h,isIntrinsic:e})}),c}(c),methods:function(a){let b=n().createSourceFile("temp.ts",a,n().ScriptTarget.Latest,!0),c=[];return!function a(b){if(n().isMethodDeclaration(b)&&b.name){let a=b.name.getText(),d=b.type?.getText()??"void",e=b.parameters.map(a=>a.getText()),f=n().getCombinedModifierFlags(b),g="default";f&n().ModifierFlags.Private?g="private":f&n().ModifierFlags.Protected?g="protected":f&n().ModifierFlags.Public&&(g="public"),c.push({name:a,returnType:d,parameters:e,visibility:g})}n().forEachChild(b,a)}(b),c}(c),calls:function(a){let b=n().createSourceFile("temp.ts",a,n().ScriptTarget.Latest,!0),c=[];return!function a(b){if(n().isCallExpression(b)&&n().isPropertyAccessExpression(b.expression)){let a=b.expression.expression.getText(),d=b.expression.name.getText();c.push({callee:a,method:d})}n().forEachChild(b,a)}(b),c}(c),package:e.join("."),path:d}}var p=c(7478);let q="src/main/java";async function r(a,b){switch(b){case i.g.Java:return!function(a){let b=(0,f.resolve)(a,q);if(!(0,e.existsSync)(b))throw Error(`Missing dir: ${q}'`);return!0}(a)&&console.error("Failed to find:",q),(0,f.resolve)(a,q);case i.g.TypeScript:return(0,f.resolve)(a);default:throw Error(`Invalid file structure for ${b}`)}}async function s(a,b={},c=a,d){let g=(0,e.readdirSync)(a,{withFileTypes:!0}),h=["@types",".cache",".git",".github",".meta",".next",".vscode","coverage","examples","node_modules","packages","test"];for(let e of g){if(h.includes(e.name))continue;let g=(0,f.join)(a,e.name);switch(e.isDirectory()&&(b[e.name]=await s(g,{},"",d)),d){case i.g.Java:e.name.endsWith(".java")&&(b[e.name]=await (0,j.q)(g,c));break;case i.g.TypeScript:(e.name.endsWith(".ts")||e.name.endsWith(".tsx"))&&(b[e.name]=await o(g,c))}}return b}async function t(a="/Users/a_rtiphishl_e/git/pkgviz"){let b=(await (0,h.od)(a)).language;if(console.log("1. Detected language:",b),![i.g.Java,i.g.TypeScript].includes(b))throw Error("Supported language is 'Java' & 'TypeScript'. More to follow.");let c=await r(a,b);return console.log("2. rootDir:",c),await s(c,{},"",b)}(0,p.D)([r,s,t]),(0,d.A)(r,"605cc72dd3ef8a560dc2c51f522d734da00c6933f0",null),(0,d.A)(s,"7843ba69829357936a9274085d9f1dd54b508120cf",null),(0,d.A)(t,"4022e0c0db6edb515f6c8bfc1f1a74d62e4510470f",null)},4279:(a,b,c)=>{"use strict";c.d(b,{q:()=>j});var d=c(7218);c(9130);var e=c(3024),f=c.n(e),g=c(6760),h=c.n(g),i=c(7792);async function j(a,b){let c=f().readFileSync(a,"utf-8"),d=h().basename(a,".java"),e=await (0,i.b)(),g=function(a,b){let c=RegExp(`(?:public\\s+)?(class|interface|enum|record)\\s+${b}\\b`);if(a.match(c))return b;let d=a.match(/(?:public\s+)?(class|interface|enum|record)\s+([A-Za-z0-9_]+)/);return d?.[2]||""}(c,d),j=function(a){let b=a.match(/^package\s+([a-zA-Z0-9_.]+);/m);return b?.[1]||""}(c),k=Array.from(c.matchAll(/^import\s+([a-zA-Z0-9_.*]+);/gm)).map(a=>a[1]).map(a=>{let b=function(a){let b=a.replace(/\.\*$/,""),c=b.split(".").reverse();if(c.length<2||c[0].toLowerCase()===c[0])return b;let d=!1,e=[];for(let a of c)!d&&/^[A-Z]/.test(a)||(d=!0,e.push(a));return e.reverse().join(".")}(a);return{name:a,pkg:b,isIntrinsic:e.includes(b)}}),l=function(a){let b,c=/(?:(public|protected|private)\s+)?(?:static\s+)?([\w<>[\]]+)\s+(\w+)\s*\(([^)]*)\)\s*\{/g,d=[];for(;null!==(b=c.exec(a));){let a=b[1]||"default",c=b[2],e=b[3],f=b[4].split(",").map(a=>a.trim()).filter(Boolean);d.push({name:e,returnType:c,parameters:f,visibility:a})}return d}(c),m=function(a){let b,c=/(\b\w+)\.(\w+)\s*\(/g,d=[];for(;null!==(b=c.exec(a));){let a=b[1],c=b[2];d.push({callee:a,method:c})}return d}(c);return{className:g,package:j,imports:k,methods:l,calls:m,path:h().relative(b,a)}}(0,c(7478).D)([j]),(0,d.A)(j,"6011c9d3c06147429d9c1d62dacba237c7d3f4694c",null)},6487:()=>{},7218:(a,b,c)=>{"use strict";Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(1369)},7478:(a,b)=>{"use strict";function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},7792:(a,b,c)=>{"use strict";c.d(b,{b:()=>g});var d=c(7218);c(9130);var e=c(3024),f=c(6760);async function g(a=(0,f.resolve)("/Users/a_rtiphishl_e/git/pkgviz"),b,c=[]){if(!a)throw Error("Required env: NEXT_PUBLIC_PROJECT_PATH");let d=(0,f.resolve)(a,"src/main/java"),h=b??d,i=(0,e.readdirSync)(h,{withFileTypes:!0}),j=i.filter(a=>a.isDirectory());if(i.filter(a=>a.isFile()&&a.name.endsWith(".java")).length>0&&0===j.length){let a=(0,f.relative)(d,h).replace(/\//g,".");c.push(a)}for(let b of j){let d=(0,f.resolve)(h,b.name);await g(a,d,c)}return c}(0,c(7478).D)([g]),(0,d.A)(g,"70e9d5633b2ad03558d658b40560e2214b3a90c0ad",null)},8335:()=>{},9019:(a,b,c)=>{"use strict";c.d(b,{g:()=>d});var d=function(a){return a.JavaScript="javascript",a.TypeScript="typescript",a.Java="java",a.Unknown="unknown",a}({})},9130:(a,b,c)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),!function(a,b){for(var c in b)Object.defineProperty(a,c,{enumerable:!0,get:b[c]})}(b,{decryptActionBoundArgs:function(){return q},encryptActionBoundArgs:function(){return p}}),c(4822);let d=c(1369),e=c(5624),f=c(7855),g=c(2602),h=c(3033),i=c(4971),j=function(a){return a&&a.__esModule?a:{default:a}}(c(1120)),k=new TextEncoder,l=new TextDecoder;async function m(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=atob(b),e=d.slice(0,16),f=d.slice(16),h=l.decode(await (0,g.decrypt)(c,(0,g.stringToUint8Array)(e),(0,g.stringToUint8Array)(f)));if(!h.startsWith(a))throw Object.defineProperty(Error("Invalid Server Action payload: failed to decrypt."),"__NEXT_ERROR_CODE",{value:"E191",enumerable:!1,configurable:!0});return h.slice(a.length)}async function n(a,b){let c=await (0,g.getActionEncryptionKey)();if(void 0===c)throw Object.defineProperty(Error("Missing encryption key for Server Action. This is a bug in Next.js"),"__NEXT_ERROR_CODE",{value:"E65",enumerable:!1,configurable:!0});let d=new Uint8Array(16);h.workUnitAsyncStorage.exit(()=>crypto.getRandomValues(d));let e=(0,g.arrayBufferToString)(d.buffer),f=await (0,g.encrypt)(c,d,k.encode(a+b));return btoa(e+(0,g.arrayBufferToString)(f))}var o=function(a){return a[a.Ready=0]="Ready",a[a.Pending=1]="Pending",a[a.Complete=2]="Complete",a}(o||{});let p=j.default.cache(async function a(b,...c){let e=h.workUnitAsyncStorage.getStore(),j=(null==e?void 0:e.type)==="prerender"?e.cacheSignal:void 0,{clientModules:k}=(0,g.getClientReferenceManifestForRsc)(),l=Error();Error.captureStackTrace(l,a);let m=!1,o=(null==e?void 0:e.type)==="prerender"?(0,i.createHangingInputAbortSignal)(e):void 0,p=0;function q(){0===p&&(p=1,null==j||j.beginRead())}function r(){1===p&&(null==j||j.endRead()),p=2}o&&j&&o.addEventListener("abort",q,{once:!0});let s=await (0,f.streamToString)((0,d.renderToReadableStream)(c,k,{filterStackFrame:void 0,signal:o,onError(a){(null==o||!o.aborted)&&(m||(m=!0,l.message=a instanceof Error?a.message:String(a)))}}),o);if(m)throw r(),l;if(!e)return n(b,s);q();let t=(0,h.getPrerenderResumeDataCache)(e),u=(0,h.getRenderResumeDataCache)(e),v=b+s,w=(null==t?void 0:t.encryptedBoundArgs.get(v))??(null==u?void 0:u.encryptedBoundArgs.get(v));if(w)return w;let x=await n(b,s);return r(),null==t||t.encryptedBoundArgs.set(v,x),x});async function q(a,b){let c,d=await b,f=h.workUnitAsyncStorage.getStore();if(f){let b="prerender"===f.type?f.cacheSignal:void 0,e=(0,h.getPrerenderResumeDataCache)(f),g=(0,h.getRenderResumeDataCache)(f);(c=(null==e?void 0:e.decryptedBoundArgs.get(d))??(null==g?void 0:g.decryptedBoundArgs.get(d)))||(null==b||b.beginRead(),c=await m(a,d),null==b||b.endRead(),null==e||e.decryptedBoundArgs.set(d,c))}else c=await m(a,d);let{edgeRscModuleMapping:i,rscModuleMapping:j}=(0,g.getClientReferenceManifestForRsc)();return await (0,e.createFromReadableStream)(new ReadableStream({start(a){a.enqueue(k.encode(c)),(null==f?void 0:f.type)==="prerender"?f.renderSignal.aborted?a.close():f.renderSignal.addEventListener("abort",()=>a.close(),{once:!0}):a.close()}}),{serverConsumerManifest:{moduleLoading:null,moduleMap:j,serverModuleMap:(0,g.getServerModuleMap)()}})}},9444:(a,b,c)=>{"use strict";c.d(b,{HD:()=>m,Wl:()=>l,ki:()=>k,od:()=>j});var d=c(7218);c(9130);var e=c(9019),f=c(3024),g=c.n(f),h=c(6760),i=c.n(h);async function j(a){if(!g().existsSync(a)||!g().statSync(a).isDirectory())throw Error(`Directory does not exist: ${a}`);let b=g().readdirSync(a),c={[e.g.JavaScript]:[],[e.g.TypeScript]:[],[e.g.Java]:[],[e.g.Unknown]:[]};if(b.includes("package.json")&&!b.includes("tsconfig.json")&&c[e.g.JavaScript].push("package.json without tsconfig.json"),b.some(a=>a.endsWith(".js")||a.endsWith(".jsx"))&&c[e.g.JavaScript].push(".js/.jsx files"),b.includes("node_modules")&&c[e.g.JavaScript].push("node_modules directory"),b.includes("tsconfig.json")&&c[e.g.TypeScript].push("tsconfig.json"),b.some(a=>a.endsWith(".ts")||a.endsWith(".tsx"))&&c[e.g.TypeScript].push(".ts/.tsx files"),b.includes("package.json"))try{let b=JSON.parse(g().readFileSync(i().join(a,"package.json"),"utf8"));(b.dependencies?.typescript||b.devDependencies?.typescript)&&c[e.g.TypeScript].push("typescript dependency")}catch(a){console.error(a)}b.includes("pom.xml")&&c[e.g.Java].push("pom.xml"),(b.includes("build.gradle")||b.includes("build.gradle.kts"))&&c[e.g.Java].push("gradle build file"),b.some(a=>a.endsWith(".java"))&&c[e.g.Java].push(".java files"),(b.includes(".mvn")||b.includes("mvnw")||b.includes("mvnw.cmd"))&&c[e.g.Java].push("Maven wrapper");let d={[e.g.JavaScript]:c[e.g.JavaScript].length,[e.g.TypeScript]:c[e.g.TypeScript].length,[e.g.Java]:c[e.g.Java].length,[e.g.Unknown]:0},f=e.g.Unknown,h=0;for(let[a,b]of Object.entries(d))b>h&&(h=b,f=a);let j=Object.values(d).reduce((a,b)=>a+b,0);return{language:f,confidence:j>0?h/j:0,indicators:c[f]}}async function k(a){let b=g().readdirSync(a);return b.includes("package.json")&&!b.includes("tsconfig.json")}async function l(a){let b=g().readdirSync(a);return b.includes("tsconfig.json")&&b.includes("package.json")}async function m(a){let b=g().readdirSync(a);return b.includes("pom.xml")||b.some(a=>a.endsWith(".java"))||b.includes("build.gradle")||b.includes("build.gradle.kts")}(0,c(7478).D)([j,k,l,m]),(0,d.A)(j,"402c5b420672b65b8c840d14ad228508e3c170835f",null),(0,d.A)(k,"40cb6c84cd9cdf6c50a5ab621022fb2e660a9cdf86",null),(0,d.A)(l,"40921e735bb46c9eee1f799a3c16e8c1fbb42fe0da",null),(0,d.A)(m,"40b55a31d409a1f08498476879badc95864546b516",null)}};