Skip to content

Commit

Permalink
Add ua-parser-js as npm dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnil-musale committed Dec 5, 2024
1 parent 63fc352 commit 916be02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion KDeviceInfo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ kotlin {
browser {
webpackTask {
dependencies {
implementation(libs.x.cdn.jsdelivr.net.npm.ua.parser.js)
implementation(npm("ua-parser-js", "2.0.0"))
}
}
}
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ startup-runtime = { module = "androidx.startup:startup-runtime", version.ref = "
androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" }
compose-ui = { module = "org.jetbrains.compose.ui:ui", version.ref = "jetbrainsCompose" }
compose-runtime = { module = "org.jetbrains.compose.runtime:runtime", version.ref = "jetbrainsCompose" }
x_cdn-jsdelivr-net_npm_ua-parser-js = { module = "https://cdn.jsdelivr.net/npm/ua-parser-js" }

# sampleApp module libraries
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidxAppcompat" }
Expand Down

0 comments on commit 916be02

Please sign in to comment.