Detect and mark Typescript test modules. Previously, there was no easy way to identify Typescript test modules. Since the source of Typescript projects is scanned (opposed to artifacts like jar for Java), tests are of course also included. Now, there are additional Labels like TestRelated, Test, Mock that are detected based on the file name.
Fix namespaces containing version numbers with pnpm. With an "ExternalModule.globalFqn" like react-router-6.24.1/node_modules/.pnpm/@types+react@18.2.18/node_modules/@types/react/index.d.ts it is much more reliable to extract the namespace (here @types) after the last occurrence of /node_modules/. Otherwise, a version number could be interpreted as the namespace.
🚀 Feature
⚙️ Optimization
🛠 Fix
react-router-6.24.1/node_modules/.pnpm/@types+react@18.2.18/node_modules/@types/react/index.d.ts
it is much more reliable to extract the namespace (here@types
) after the last occurrence of/node_modules/
. Otherwise, a version number could be interpreted as the namespace.