You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(javascript): add language method to JsDependenciesSnapshot #81
This commit adds a new method called `language` to the `JsDependenciesSnapshot` class in the JavaScript codebase. The `language` method determines the language and version of the project by checking the presence of a `typescript` dependency in the `package.json` file. If `typescript` is found, the language is set to "TypeScript" and the version is extracted from the dependency. Otherwise, the language is set to "JavaScript" and the version is set to "ES5". This method provides information about the language used in the project.
0 commit comments