Skip to content

Commit e39433e

Browse files
dependabot[bot]mikehardy
authored andcommitted
build(deps): Dependency Updates 20260119
---- build(deps-dev): bump globals in /tools/localization Bumps [globals](https://github.com/sindresorhus/globals) from 16.5.0 to 17.0.0. - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v16.5.0...v17.0.0) --- updated-dependencies: - dependency-name: globals dependency-version: 17.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> build(deps-dev): bump the non-breaking group Bumps the non-breaking group in /tools/localization with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 8.50.1 to 8.51.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.51.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.50.1 to 8.51.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.51.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.51.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@typescript-eslint/parser" dependency-version: 8.51.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.jsoup:jsoup from 1.21.2 to 1.22.1 Bumps [org.jsoup:jsoup](https://github.com/jhy/jsoup) from 1.21.2 to 1.22.1. - [Release notes](https://github.com/jhy/jsoup/releases) - [Changelog](https://github.com/jhy/jsoup/blob/master/CHANGES.md) - [Commits](jhy/jsoup@jsoup-1.21.2...jsoup-1.22.1) --- updated-dependencies: - dependency-name: org.jsoup:jsoup dependency-version: 1.22.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): ignore optional re2j class dependency that the r8 shrinker finds in jsoup - all access of the concrete references to the optional re2j library are gated via reflective inspection of the classpath to see if it is available, so ignoring warnings should be safe - testing in note editor adding an image (which should pass through the code that uses jsoup) survived with no crash build(deps): bump junit from 6.0.1 to 6.0.2 Bumps `junit` from 6.0.1 to 6.0.2. Updates `org.junit.jupiter:junit-jupiter` from 6.0.1 to 6.0.2 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](junit-team/junit-framework@r6.0.1...r6.0.2) Updates `org.junit.jupiter:junit-jupiter-params` from 6.0.1 to 6.0.2 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](junit-team/junit-framework@r6.0.1...r6.0.2) Updates `org.junit.platform:junit-platform-launcher` from 6.0.1 to 6.0.2 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](junit-team/junit-framework@r6.0.1...r6.0.2) Updates `org.junit.vintage:junit-vintage-engine` from 6.0.1 to 6.0.2 - [Release notes](https://github.com/junit-team/junit-framework/releases) - [Commits](junit-team/junit-framework@r6.0.1...r6.0.2) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.jupiter:junit-jupiter-params dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.platform:junit-platform-launcher dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.junit.vintage:junit-vintage-engine dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 4.33.2 to 4.33.3. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-version: 4.33.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps-dev): bump the non-breaking group Bumps the non-breaking group in /tools/localization with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@types/node` from 25.0.3 to 25.0.6 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.51.0 to 8.52.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.52.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.51.0 to 8.52.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.52.0/packages/parser) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.0.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.52.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@typescript-eslint/parser" dependency-version: 8.52.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump com.google.protobuf:protobuf-kotlin-lite Bumps com.google.protobuf:protobuf-kotlin-lite from 4.33.3 to 4.33.4. --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-kotlin-lite dependency-version: 4.33.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump lint from 31.13.2 to 32.0.0 Bumps `lint` from 31.13.2 to 32.0.0. Updates `com.android.tools.lint:lint-api` from 31.13.2 to 32.0.0 Updates `com.android.tools.lint:lint` from 31.13.2 to 32.0.0 Updates `com.android.tools.lint:lint-tests` from 31.13.2 to 32.0.0 --- updated-dependencies: - dependency-name: com.android.tools.lint:lint-api dependency-version: 32.0.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint dependency-version: 32.0.0 dependency-type: direct:production update-type: version-update:semver-major - dependency-name: com.android.tools.lint:lint-tests dependency-version: 32.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.mockito.kotlin:mockito-kotlin from 6.1.0 to 6.2.0 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 6.1.0 to 6.2.0. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](mockito/mockito-kotlin@v6.1.0...v6.2.0) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Update Gradle Wrapper from 9.2.1 to 9.3.0 Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc> build(deps): bump the non-breaking group Bumps the non-breaking group in /tools/localization with 6 updates: | Package | From | To | | --- | --- | --- | | [@crowdin/crowdin-api-client](https://github.com/crowdin/crowdin-api-client-js) | `1.51.1` | `1.52.0` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `25.0.6` | `25.0.9` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.52.0` | `8.53.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.52.0` | `8.53.0` | | [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) | `17.23.1` | `17.23.2` | | [prettier](https://github.com/prettier/prettier) | `3.7.4` | `3.8.0` | Updates `@crowdin/crowdin-api-client` from 1.51.1 to 1.52.0 - [Release notes](https://github.com/crowdin/crowdin-api-client-js/releases) - [Commits](crowdin/crowdin-api-client-js@1.51.1...1.52.0) Updates `@types/node` from 25.0.6 to 25.0.9 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.52.0 to 8.53.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.53.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.52.0 to 8.53.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.53.0/packages/parser) Updates `eslint-plugin-n` from 17.23.1 to 17.23.2 - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md) - [Commits](eslint-community/eslint-plugin-n@v17.23.1...v17.23.2) Updates `prettier` from 3.7.4 to 3.8.0 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.7.4...3.8.0) --- updated-dependencies: - dependency-name: "@crowdin/crowdin-api-client" dependency-version: 1.52.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@types/node" dependency-version: 25.0.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.53.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: "@typescript-eslint/parser" dependency-version: 8.53.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking - dependency-name: eslint-plugin-n dependency-version: 17.23.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: non-breaking - dependency-name: prettier dependency-version: 3.8.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: non-breaking ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump org.mockito.kotlin:mockito-kotlin from 6.2.0 to 6.2.1 Bumps [org.mockito.kotlin:mockito-kotlin](https://github.com/mockito/mockito-kotlin) from 6.2.0 to 6.2.1. - [Release notes](https://github.com/mockito/mockito-kotlin/releases) - [Commits](mockito/mockito-kotlin@v6.2.0...v6.2.1) --- updated-dependencies: - dependency-name: org.mockito.kotlin:mockito-kotlin dependency-version: 6.2.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> build(deps): bump roborazzi from 1.54.0 to 1.56.0 Bumps `roborazzi` from 1.54.0 to 1.56.0. Updates `io.github.takahirom.roborazzi:roborazzi` from 1.54.0 to 1.56.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](takahirom/roborazzi@1.54.0...1.56.0) Updates `io.github.takahirom.roborazzi:roborazzi-junit-rule` from 1.54.0 to 1.56.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](takahirom/roborazzi@1.54.0...1.56.0) Updates `io.github.takahirom.roborazzi` from 1.54.0 to 1.56.0 - [Release notes](https://github.com/takahirom/roborazzi/releases) - [Commits](takahirom/roborazzi@1.54.0...1.56.0) --- updated-dependencies: - dependency-name: io.github.takahirom.roborazzi:roborazzi dependency-version: 1.56.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi:roborazzi-junit-rule dependency-version: 1.56.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.github.takahirom.roborazzi dependency-version: 1.56.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent e4c6e89 commit e39433e

7 files changed

Lines changed: 149 additions & 127 deletions

File tree

AnkiDroid/proguard-rules.pro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,9 @@
3333
# Ignore unused packages
3434
-dontwarn javax.naming.**
3535
-dontwarn org.ietf.jgss.**
36+
37+
# Ignore intended-to-be-optional re2j classes - only needed if using re2j for jsoup regex
38+
# jsoup safely falls back to JDK regex if re2j not on classpath, but has concrete re2j refs
39+
# See https://github.com/jhy/jsoup/issues/2459 - may be resolved in future, then this may be removed
40+
# See https://github.com/ankidroid/Anki-Android/pull/19985
41+
-dontwarn com.google.re2j.**

AnkiDroid/src/test/java/com/ichi2/anki/multiprofile/ProfileContextWrapperTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
package com.ichi2.anki.multiprofile
1919

20+
import android.annotation.SuppressLint
2021
import android.content.Context
2122
import android.content.SharedPreferences
2223
import androidx.test.core.app.ApplicationProvider
@@ -137,6 +138,7 @@ class ProfileContextWrapperTest {
137138
// --- Shared pref tests ---
138139

139140
@Test
141+
@SuppressLint("WrongConstant") // mockito eq support
140142
fun `getSharedPreferences prefixes name for custom profile`() {
141143
val wrapper = ProfileContextWrapper.create(baseContext, profileId, profileBaseDir)
142144
val originalName = "deck_options"
@@ -152,6 +154,7 @@ class ProfileContextWrapperTest {
152154
}
153155

154156
@Test
157+
@SuppressLint("WrongConstant") // mockito eq support
155158
fun `getSharedPreferences does not prefix name for default profile`() {
156159
val wrapper = ProfileContextWrapper.create(baseContext, ProfileId.DEFAULT, profileBaseDir)
157160
val originalName = "deck_options"
@@ -166,6 +169,7 @@ class ProfileContextWrapperTest {
166169
}
167170

168171
@Test
172+
@SuppressLint("WrongConstant") // mockito eq support
169173
fun `getSharedPreferences does not double-prefix if name is already prefixed`() {
170174
val wrapper = ProfileContextWrapper.create(baseContext, profileId, profileBaseDir)
171175
val alreadyPrefixedName = "profile_${profileId.value}_deck_options"

gradle/libs.versions.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,30 +83,31 @@ jacoco = "0.8.14"
8383
javaSemver = "0.10.2"
8484
jetbrainsAnnotations = "26.0.2-1"
8585
json = "20251224"
86-
jsoup = "1.21.2"
86+
# https://github.com/jhy/jsoup/releases
87+
jsoup = "1.22.1"
8788
androidTestJunit = "1.3.0"
8889
# https://github.com/junit-team/junit5/releases/
89-
junit = "6.0.1"
90+
junit = "6.0.2"
9091
# https://github.com/JetBrains/kotlin/releases/
9192
kotlin = '2.2.10'
9293
# https://github.com/Kotlin/kotlinx.serialization/releases
9394
kotlinxSerializationJson = "1.9.0"
9495
ktlintGradlePlugin = "14.0.1"
9596
leakcanaryAndroid = "2.14"
96-
lint = '31.13.2'
97+
lint = '32.0.0'
9798
material = "1.13.0"
9899

99100
mockitoInline = "5.2.0"
100-
mockitoKotlin = "6.1.0"
101+
mockitoKotlin = "6.2.1"
101102
mockk = "1.14.7"
102103
nanohttpd = "2.3.1"
103104
okhttp = "5.3.2"
104105
# https://github.com/protocolbuffers/protobuf/releases
105-
protobufKotlinLite = "4.33.2"
106+
protobufKotlinLite = "4.33.4"
106107
# ../AnkiDroid/robolectricDownload.gradle may need changes - read instructions in that file
107108
robolectric = "4.16"
108109
# https://github.com/takahirom/roborazzi/releases
109-
roborazzi = "1.54.0"
110+
roborazzi = "1.56.0"
110111
searchpreference = "2.7.3"
111112
seismic = "1.0.3"
112113
sharedPreferencesMock = "1.2.4"

gradle/wrapper/gradle-wrapper.jar

542 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

tools/localization/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "AnkiDroid Open Source Team",
1818
"license": "GPL-3.0",
1919
"dependencies": {
20-
"@crowdin/crowdin-api-client": "^1.51.1",
20+
"@crowdin/crowdin-api-client": "^1.52.0",
2121
"axios": "^1.13.2",
2222
"dotenv": "^17.2.3",
2323
"extract-zip": "^2.0.1",
@@ -27,18 +27,18 @@
2727
"@eslint/eslintrc": "^3.3.3",
2828
"@eslint/js": "^9.39.2",
2929
"@types/jest": "^30.0.0",
30-
"@types/node": "^25.0.3",
31-
"@typescript-eslint/eslint-plugin": "^8.50.1",
32-
"@typescript-eslint/parser": "^8.50.1",
30+
"@types/node": "^25.0.9",
31+
"@typescript-eslint/eslint-plugin": "^8.53.0",
32+
"@typescript-eslint/parser": "^8.53.0",
3333
"eslint": "^9.39.2",
3434
"eslint-config-prettier": "^10.1.8",
3535
"eslint-config-standard": "^17.1.0",
3636
"eslint-plugin-import": "^2.32.0",
37-
"eslint-plugin-n": "^17.23.1",
37+
"eslint-plugin-n": "^17.23.2",
3838
"eslint-plugin-promise": "^7.2.1",
39-
"globals": "^16.5.0",
39+
"globals": "^17.0.0",
4040
"jest": "^30.2.0",
41-
"prettier": "^3.7.4",
41+
"prettier": "^3.8.0",
4242
"ts-jest": "^29.4.6",
4343
"ts-node": "^10.9.2"
4444
},

0 commit comments

Comments
 (0)