Splitties / refreshVersions

Life is too short to google for dependencies and versions
https://splitties.github.io/refreshVersions/
MIT License
1.65k stars 107 forks source link

[Regression] NPM dependency with group not detected(!?). E.g. npm("@fontsource/inter", "_") #718

Open jschneider opened 5 months ago

jschneider commented 5 months ago

When adding a dependency to a NPM dependency including a group, the versions are not updated recognized.

kotlin {
  js {
    nodejs()
  }

  sourceSets {
    jsMain {

      dependencies {
           implementation(npm("@fontsource/inter", "_"))
      }
}

These version used to work in some older versions. At least I have many entries in my version.properties file which are now marked as "unused"

Using version 0.60.5

jschneider commented 5 months ago
jschneider commented 5 months ago

The issue can be reproduced using https://github.com/Splitties/refreshVersions/tree/main/sample-kotlin-js I changed the version to 0.60.5 and executed "./gradlew refreshVersions". The version.properties file is updated and "unused" is added to the "@googlemaps/js-api-loader" dependency