From 650945008d267655c6e00a1634b76fe691c3a205 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Thu, 12 Dec 2024 09:54:40 -0800 Subject: [PATCH 1/4] chore: lint --- src/utils/Utils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index a9bd3650..a32ef447 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -199,7 +199,7 @@ export const getExt = (url: string) => { interface ExecWhenTrue { loopCheck: () => Promise; - executeFn: () => void; + executeFn: () => unknown; wait?: number; loopGuard?: number; funcName?: string; @@ -223,4 +223,7 @@ export const execWhenTrue = async ({ } } executeFn(); + logger.debug( + `[ExecWhenTrue] function ${funcName} executed after ${loops} try.`, + ); }; From 31871f5583ffd8133c81bc0626723dc3630a1598 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:21:30 -0800 Subject: [PATCH 2/4] chore: yarn dep --- package.json | 10 ++-- ...ch => react-native-blob-util+0.21.1.patch} | 0 yarn.lock | 60 +++++++++---------- 3 files changed, 35 insertions(+), 35 deletions(-) rename patches/{react-native-blob-util+0.19.11.patch => react-native-blob-util+0.21.1.patch} (100%) diff --git a/package.json b/package.json index f4d3d320..5b78858e 100644 --- a/package.json +++ b/package.json @@ -40,14 +40,14 @@ "@react-native/gradle-plugin": "^0.76.5", "@react-native/metro-config": "^0.76.5", "@react-native/typescript-config": "0.76.5", - "@react-navigation/drawer": "^7.1.0", + "@react-navigation/drawer": "^7.1.1", "@react-navigation/native": "^7.0.14", "@react-navigation/native-stack": "^7.2.0", "@revenuecat/purchases-js": "^0.14.0", "@sentry/react-native": "^6.4.0", "@sharcoux/slider": "8.0.6", "@shopify/flash-list": "^1.7.2", - "@shopify/react-native-skia": "1.7.2", + "@shopify/react-native-skia": "1.7.4", "axios": "^1.7.9", "base-64": "^1.0.0", "base64-js": "^1.5.1", @@ -86,12 +86,12 @@ "postinstall-postinstall": "^2.1.0", "qs": "^6.13.1", "react": "18.3.1", - "react-i18next": "^15.1.4", + "react-i18next": "^15.2.0", "react-native": "^0.76.5", "react-native-app-auth": "^8.0.1", "react-native-background-timer": "git+https://github.com/lovegaoshi/react-native-background-timer.git", "react-native-blob-jsi-helper": "^0.3.1", - "react-native-blob-util": "^0.19.11", + "react-native-blob-util": "^0.21.1", "react-native-carplay": "2.4.1-beta.0", "react-native-device-info": "^14.0.1", "react-native-flashdrag-list": "^0.2.4", @@ -144,7 +144,7 @@ "@types/lodash": "^4.17.13", "@types/md5": "^2.3.5", "@types/node": "^22.10.2", - "@types/react": "~18.3.16", + "@types/react": "~18.3.17", "@types/react-native": "^0.73.0", "@types/react-native-background-timer": "^2.0.2", "@types/react-native-share-menu": "^5.0.5", diff --git a/patches/react-native-blob-util+0.19.11.patch b/patches/react-native-blob-util+0.21.1.patch similarity index 100% rename from patches/react-native-blob-util+0.19.11.patch rename to patches/react-native-blob-util+0.21.1.patch diff --git a/yarn.lock b/yarn.lock index 35cbd3ea..593e0a0a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3580,13 +3580,13 @@ __metadata: languageName: node linkType: hard -"@react-navigation/drawer@npm:^7.1.0": - version: 7.1.0 - resolution: "@react-navigation/drawer@npm:7.1.0" +"@react-navigation/drawer@npm:^7.1.1": + version: 7.1.1 + resolution: "@react-navigation/drawer@npm:7.1.1" dependencies: "@react-navigation/elements": "npm:^2.2.5" color: "npm:^4.2.3" - react-native-drawer-layout: "npm:^4.1.0" + react-native-drawer-layout: "npm:^4.1.1" use-latest-callback: "npm:^0.2.1" peerDependencies: "@react-navigation/native": ^7.0.14 @@ -3596,7 +3596,7 @@ __metadata: react-native-reanimated: ">= 2.0.0" react-native-safe-area-context: ">= 4.0.0" react-native-screens: ">= 4.0.0" - checksum: 10c0/5647f63e75edad0569774b10f7096af5a4ebd2a5512b12ccf2f01c66894f5419e3d2b836308db7392f9515aa65f8a4a7ead34cab57bdb7beef45762137b2b597 + checksum: 10c0/c0ab397fd783be54c61b8caf899dfb775c0c718acb61d007cb87784a3c8e48b3b3df4df30a71afcc558e3653386c56420d94680161b55a5f770b809709c3eebe languageName: node linkType: hard @@ -3935,9 +3935,9 @@ __metadata: languageName: node linkType: hard -"@shopify/react-native-skia@npm:1.7.2": - version: 1.7.2 - resolution: "@shopify/react-native-skia@npm:1.7.2" +"@shopify/react-native-skia@npm:1.7.4": + version: 1.7.4 + resolution: "@shopify/react-native-skia@npm:1.7.4" dependencies: canvaskit-wasm: "npm:0.39.1" react-reconciler: "npm:0.27.0" @@ -3952,7 +3952,7 @@ __metadata: optional: true bin: setup-skia-web: ./scripts/setup-canvaskit.js - checksum: 10c0/04ec135a1853214e4236f770072901e7519afceb95c64ddc56bb98bcaf94a9a92f6e3c7056f175e978be6a4160c2cd402a96faf85c901c1ecf154b24ff69a8b5 + checksum: 10c0/89ef2df6ff5a16f17fdc043f6a9d3f75b0de642de056df22458e020d1359bd8ee8964c954b1c0f5e9caf9201079e26741385625d074912749023a5afdad5a751 languageName: node linkType: hard @@ -4555,13 +4555,13 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:~18.3.16": - version: 18.3.16 - resolution: "@types/react@npm:18.3.16" +"@types/react@npm:~18.3.17": + version: 18.3.17 + resolution: "@types/react@npm:18.3.17" dependencies: "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/9113d3003865eda07be0fb596f5bd8d7784b8900675090c56e75bdee45499f0b0de2481cbbeb5980c3b4ad18f234a49f39c9e62fd7b89a4e8530c74789f739bd + checksum: 10c0/475191e9cd0ab5bef35cc1868295d6526cd78b25c1bb816f0747a1e92261688305f81c0e29aff52e6ea70397f133e34c399dc936cb5072f1acf465d9daacc0da languageName: node linkType: hard @@ -5562,14 +5562,14 @@ __metadata: "@react-native/gradle-plugin": "npm:^0.76.5" "@react-native/metro-config": "npm:^0.76.5" "@react-native/typescript-config": "npm:0.76.5" - "@react-navigation/drawer": "npm:^7.1.0" + "@react-navigation/drawer": "npm:^7.1.1" "@react-navigation/native": "npm:^7.0.14" "@react-navigation/native-stack": "npm:^7.2.0" "@revenuecat/purchases-js": "npm:^0.14.0" "@sentry/react-native": "npm:^6.4.0" "@sharcoux/slider": "npm:8.0.6" "@shopify/flash-list": "npm:^1.7.2" - "@shopify/react-native-skia": "npm:1.7.2" + "@shopify/react-native-skia": "npm:1.7.4" "@tsconfig/react-native": "npm:^3.0.5" "@types/base-64": "npm:^1.0.2" "@types/d3": "npm:^7.4.3" @@ -5578,7 +5578,7 @@ __metadata: "@types/lodash": "npm:^4.17.13" "@types/md5": "npm:^2.3.5" "@types/node": "npm:^22.10.2" - "@types/react": "npm:~18.3.16" + "@types/react": "npm:~18.3.17" "@types/react-native": "npm:^0.73.0" "@types/react-native-background-timer": "npm:^2.0.2" "@types/react-native-share-menu": "npm:^5.0.5" @@ -5644,12 +5644,12 @@ __metadata: prettier: "npm:^3.4.2" qs: "npm:^6.13.1" react: "npm:18.3.1" - react-i18next: "npm:^15.1.4" + react-i18next: "npm:^15.2.0" react-native: "npm:^0.76.5" react-native-app-auth: "npm:^8.0.1" react-native-background-timer: "git+https://github.com/lovegaoshi/react-native-background-timer.git" react-native-blob-jsi-helper: "npm:^0.3.1" - react-native-blob-util: "npm:^0.19.11" + react-native-blob-util: "npm:^0.21.1" react-native-carplay: "npm:2.4.1-beta.0" react-native-clean-project: "npm:^4.0.3" react-native-device-info: "npm:^14.0.1" @@ -14310,9 +14310,9 @@ __metadata: languageName: node linkType: hard -"react-i18next@npm:^15.1.4": - version: 15.1.4 - resolution: "react-i18next@npm:15.1.4" +"react-i18next@npm:^15.2.0": + version: 15.2.0 + resolution: "react-i18next@npm:15.2.0" dependencies: "@babel/runtime": "npm:^7.25.0" html-parse-stringify: "npm:^3.0.1" @@ -14324,7 +14324,7 @@ __metadata: optional: true react-native: optional: true - checksum: 10c0/6c1b053fc530c3a750c8cb0a090a54cd3580cbe2103bea26579a2855a6c0a8be7e1cbffda732d4ec9c9aa8724569783dc340564855e1fe76f48c24683fe0b3d4 + checksum: 10c0/e6dfd3f04a070777231ea50e750d74ed7a72c56e3f2da238e8666db65431c805482706bbc76bdb69e5196c4125ff4c955ea4166a1788997a679c3a5c03590654 languageName: node linkType: hard @@ -14387,16 +14387,16 @@ __metadata: languageName: node linkType: hard -"react-native-blob-util@npm:^0.19.11": - version: 0.19.11 - resolution: "react-native-blob-util@npm:0.19.11" +"react-native-blob-util@npm:^0.21.1": + version: 0.21.1 + resolution: "react-native-blob-util@npm:0.21.1" dependencies: base-64: "npm:0.1.0" glob: "npm:^10.3.10" peerDependencies: react: "*" react-native: "*" - checksum: 10c0/bc1278c74dfc6b3df9a924cd7aeb1cebcac2c08db94b2206e80ad7e1e82492c4be54e75ba8765f0ccbdbfac70e8d30cde40c303c03b0906d52a061adfc06c5ff + checksum: 10c0/12dd94989c8388e93c535ecb1129ab209736fbe823c10550222f2a83e7d44794ab7b5e4160ae790b0782c73051ba3a70d37ce942bae2ece74c87b69646a78da6 languageName: node linkType: hard @@ -14460,9 +14460,9 @@ __metadata: languageName: node linkType: hard -"react-native-drawer-layout@npm:^4.1.0": - version: 4.1.0 - resolution: "react-native-drawer-layout@npm:4.1.0" +"react-native-drawer-layout@npm:^4.1.1": + version: 4.1.1 + resolution: "react-native-drawer-layout@npm:4.1.1" dependencies: use-latest-callback: "npm:^0.2.1" peerDependencies: @@ -14470,7 +14470,7 @@ __metadata: react-native: "*" react-native-gesture-handler: ">= 2.0.0" react-native-reanimated: ">= 2.0.0" - checksum: 10c0/b7e28b1ea83d4e4ba050ed5a01237f4d7955146db4d9782e8b705fb8390f8b43ceea7531387d8e9c679ea1a8c8f3d514abd69dae2c20d30dcc76ab8b920420f1 + checksum: 10c0/5c3c083cf5a8c6716ed355f96bf605537f7a41592d3264574720f9a3aeb2aefcbdd0e745b7a4a4754b661ac61161cf7f80810630024dfb90473266b88b036378 languageName: node linkType: hard From e610871593383f514be9879317068e6ee9a288fa Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:38:37 -0800 Subject: [PATCH 3/4] Revert "chore: yarn dep" This reverts commit 31871f5583ffd8133c81bc0626723dc3630a1598. --- package.json | 10 ++-- ...h => react-native-blob-util+0.19.11.patch} | 0 yarn.lock | 60 +++++++++---------- 3 files changed, 35 insertions(+), 35 deletions(-) rename patches/{react-native-blob-util+0.21.1.patch => react-native-blob-util+0.19.11.patch} (100%) diff --git a/package.json b/package.json index 5b78858e..f4d3d320 100644 --- a/package.json +++ b/package.json @@ -40,14 +40,14 @@ "@react-native/gradle-plugin": "^0.76.5", "@react-native/metro-config": "^0.76.5", "@react-native/typescript-config": "0.76.5", - "@react-navigation/drawer": "^7.1.1", + "@react-navigation/drawer": "^7.1.0", "@react-navigation/native": "^7.0.14", "@react-navigation/native-stack": "^7.2.0", "@revenuecat/purchases-js": "^0.14.0", "@sentry/react-native": "^6.4.0", "@sharcoux/slider": "8.0.6", "@shopify/flash-list": "^1.7.2", - "@shopify/react-native-skia": "1.7.4", + "@shopify/react-native-skia": "1.7.2", "axios": "^1.7.9", "base-64": "^1.0.0", "base64-js": "^1.5.1", @@ -86,12 +86,12 @@ "postinstall-postinstall": "^2.1.0", "qs": "^6.13.1", "react": "18.3.1", - "react-i18next": "^15.2.0", + "react-i18next": "^15.1.4", "react-native": "^0.76.5", "react-native-app-auth": "^8.0.1", "react-native-background-timer": "git+https://github.com/lovegaoshi/react-native-background-timer.git", "react-native-blob-jsi-helper": "^0.3.1", - "react-native-blob-util": "^0.21.1", + "react-native-blob-util": "^0.19.11", "react-native-carplay": "2.4.1-beta.0", "react-native-device-info": "^14.0.1", "react-native-flashdrag-list": "^0.2.4", @@ -144,7 +144,7 @@ "@types/lodash": "^4.17.13", "@types/md5": "^2.3.5", "@types/node": "^22.10.2", - "@types/react": "~18.3.17", + "@types/react": "~18.3.16", "@types/react-native": "^0.73.0", "@types/react-native-background-timer": "^2.0.2", "@types/react-native-share-menu": "^5.0.5", diff --git a/patches/react-native-blob-util+0.21.1.patch b/patches/react-native-blob-util+0.19.11.patch similarity index 100% rename from patches/react-native-blob-util+0.21.1.patch rename to patches/react-native-blob-util+0.19.11.patch diff --git a/yarn.lock b/yarn.lock index 593e0a0a..35cbd3ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3580,13 +3580,13 @@ __metadata: languageName: node linkType: hard -"@react-navigation/drawer@npm:^7.1.1": - version: 7.1.1 - resolution: "@react-navigation/drawer@npm:7.1.1" +"@react-navigation/drawer@npm:^7.1.0": + version: 7.1.0 + resolution: "@react-navigation/drawer@npm:7.1.0" dependencies: "@react-navigation/elements": "npm:^2.2.5" color: "npm:^4.2.3" - react-native-drawer-layout: "npm:^4.1.1" + react-native-drawer-layout: "npm:^4.1.0" use-latest-callback: "npm:^0.2.1" peerDependencies: "@react-navigation/native": ^7.0.14 @@ -3596,7 +3596,7 @@ __metadata: react-native-reanimated: ">= 2.0.0" react-native-safe-area-context: ">= 4.0.0" react-native-screens: ">= 4.0.0" - checksum: 10c0/c0ab397fd783be54c61b8caf899dfb775c0c718acb61d007cb87784a3c8e48b3b3df4df30a71afcc558e3653386c56420d94680161b55a5f770b809709c3eebe + checksum: 10c0/5647f63e75edad0569774b10f7096af5a4ebd2a5512b12ccf2f01c66894f5419e3d2b836308db7392f9515aa65f8a4a7ead34cab57bdb7beef45762137b2b597 languageName: node linkType: hard @@ -3935,9 +3935,9 @@ __metadata: languageName: node linkType: hard -"@shopify/react-native-skia@npm:1.7.4": - version: 1.7.4 - resolution: "@shopify/react-native-skia@npm:1.7.4" +"@shopify/react-native-skia@npm:1.7.2": + version: 1.7.2 + resolution: "@shopify/react-native-skia@npm:1.7.2" dependencies: canvaskit-wasm: "npm:0.39.1" react-reconciler: "npm:0.27.0" @@ -3952,7 +3952,7 @@ __metadata: optional: true bin: setup-skia-web: ./scripts/setup-canvaskit.js - checksum: 10c0/89ef2df6ff5a16f17fdc043f6a9d3f75b0de642de056df22458e020d1359bd8ee8964c954b1c0f5e9caf9201079e26741385625d074912749023a5afdad5a751 + checksum: 10c0/04ec135a1853214e4236f770072901e7519afceb95c64ddc56bb98bcaf94a9a92f6e3c7056f175e978be6a4160c2cd402a96faf85c901c1ecf154b24ff69a8b5 languageName: node linkType: hard @@ -4555,13 +4555,13 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:~18.3.17": - version: 18.3.17 - resolution: "@types/react@npm:18.3.17" +"@types/react@npm:~18.3.16": + version: 18.3.16 + resolution: "@types/react@npm:18.3.16" dependencies: "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/475191e9cd0ab5bef35cc1868295d6526cd78b25c1bb816f0747a1e92261688305f81c0e29aff52e6ea70397f133e34c399dc936cb5072f1acf465d9daacc0da + checksum: 10c0/9113d3003865eda07be0fb596f5bd8d7784b8900675090c56e75bdee45499f0b0de2481cbbeb5980c3b4ad18f234a49f39c9e62fd7b89a4e8530c74789f739bd languageName: node linkType: hard @@ -5562,14 +5562,14 @@ __metadata: "@react-native/gradle-plugin": "npm:^0.76.5" "@react-native/metro-config": "npm:^0.76.5" "@react-native/typescript-config": "npm:0.76.5" - "@react-navigation/drawer": "npm:^7.1.1" + "@react-navigation/drawer": "npm:^7.1.0" "@react-navigation/native": "npm:^7.0.14" "@react-navigation/native-stack": "npm:^7.2.0" "@revenuecat/purchases-js": "npm:^0.14.0" "@sentry/react-native": "npm:^6.4.0" "@sharcoux/slider": "npm:8.0.6" "@shopify/flash-list": "npm:^1.7.2" - "@shopify/react-native-skia": "npm:1.7.4" + "@shopify/react-native-skia": "npm:1.7.2" "@tsconfig/react-native": "npm:^3.0.5" "@types/base-64": "npm:^1.0.2" "@types/d3": "npm:^7.4.3" @@ -5578,7 +5578,7 @@ __metadata: "@types/lodash": "npm:^4.17.13" "@types/md5": "npm:^2.3.5" "@types/node": "npm:^22.10.2" - "@types/react": "npm:~18.3.17" + "@types/react": "npm:~18.3.16" "@types/react-native": "npm:^0.73.0" "@types/react-native-background-timer": "npm:^2.0.2" "@types/react-native-share-menu": "npm:^5.0.5" @@ -5644,12 +5644,12 @@ __metadata: prettier: "npm:^3.4.2" qs: "npm:^6.13.1" react: "npm:18.3.1" - react-i18next: "npm:^15.2.0" + react-i18next: "npm:^15.1.4" react-native: "npm:^0.76.5" react-native-app-auth: "npm:^8.0.1" react-native-background-timer: "git+https://github.com/lovegaoshi/react-native-background-timer.git" react-native-blob-jsi-helper: "npm:^0.3.1" - react-native-blob-util: "npm:^0.21.1" + react-native-blob-util: "npm:^0.19.11" react-native-carplay: "npm:2.4.1-beta.0" react-native-clean-project: "npm:^4.0.3" react-native-device-info: "npm:^14.0.1" @@ -14310,9 +14310,9 @@ __metadata: languageName: node linkType: hard -"react-i18next@npm:^15.2.0": - version: 15.2.0 - resolution: "react-i18next@npm:15.2.0" +"react-i18next@npm:^15.1.4": + version: 15.1.4 + resolution: "react-i18next@npm:15.1.4" dependencies: "@babel/runtime": "npm:^7.25.0" html-parse-stringify: "npm:^3.0.1" @@ -14324,7 +14324,7 @@ __metadata: optional: true react-native: optional: true - checksum: 10c0/e6dfd3f04a070777231ea50e750d74ed7a72c56e3f2da238e8666db65431c805482706bbc76bdb69e5196c4125ff4c955ea4166a1788997a679c3a5c03590654 + checksum: 10c0/6c1b053fc530c3a750c8cb0a090a54cd3580cbe2103bea26579a2855a6c0a8be7e1cbffda732d4ec9c9aa8724569783dc340564855e1fe76f48c24683fe0b3d4 languageName: node linkType: hard @@ -14387,16 +14387,16 @@ __metadata: languageName: node linkType: hard -"react-native-blob-util@npm:^0.21.1": - version: 0.21.1 - resolution: "react-native-blob-util@npm:0.21.1" +"react-native-blob-util@npm:^0.19.11": + version: 0.19.11 + resolution: "react-native-blob-util@npm:0.19.11" dependencies: base-64: "npm:0.1.0" glob: "npm:^10.3.10" peerDependencies: react: "*" react-native: "*" - checksum: 10c0/12dd94989c8388e93c535ecb1129ab209736fbe823c10550222f2a83e7d44794ab7b5e4160ae790b0782c73051ba3a70d37ce942bae2ece74c87b69646a78da6 + checksum: 10c0/bc1278c74dfc6b3df9a924cd7aeb1cebcac2c08db94b2206e80ad7e1e82492c4be54e75ba8765f0ccbdbfac70e8d30cde40c303c03b0906d52a061adfc06c5ff languageName: node linkType: hard @@ -14460,9 +14460,9 @@ __metadata: languageName: node linkType: hard -"react-native-drawer-layout@npm:^4.1.1": - version: 4.1.1 - resolution: "react-native-drawer-layout@npm:4.1.1" +"react-native-drawer-layout@npm:^4.1.0": + version: 4.1.0 + resolution: "react-native-drawer-layout@npm:4.1.0" dependencies: use-latest-callback: "npm:^0.2.1" peerDependencies: @@ -14470,7 +14470,7 @@ __metadata: react-native: "*" react-native-gesture-handler: ">= 2.0.0" react-native-reanimated: ">= 2.0.0" - checksum: 10c0/5c3c083cf5a8c6716ed355f96bf605537f7a41592d3264574720f9a3aeb2aefcbdd0e745b7a4a4754b661ac61161cf7f80810630024dfb90473266b88b036378 + checksum: 10c0/b7e28b1ea83d4e4ba050ed5a01237f4d7955146db4d9782e8b705fb8390f8b43ceea7531387d8e9c679ea1a8c8f3d514abd69dae2c20d30dcc76ab8b920420f1 languageName: node linkType: hard From d3818744ec4dd3b8a182a227be5c85832bcb5a52 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Tue, 17 Dec 2024 08:57:38 -0800 Subject: [PATCH 4/4] fix: biliNFT --- __tests__/mediafetch/biliNFT.test.ts | 11 +- __tests__/mediafetch/biliNFTNew.test.ts | 28 +++ package.json | 14 +- src/utils/mediafetch/biliNFT.ts | 35 ++-- yarn.lock | 242 +++++++++++------------- 5 files changed, 165 insertions(+), 165 deletions(-) create mode 100644 __tests__/mediafetch/biliNFTNew.test.ts diff --git a/__tests__/mediafetch/biliNFT.test.ts b/__tests__/mediafetch/biliNFT.test.ts index aea8c7e6..3cd9ec14 100644 --- a/__tests__/mediafetch/biliNFT.test.ts +++ b/__tests__/mediafetch/biliNFT.test.ts @@ -1,32 +1,23 @@ import { biliNFTVideoFetch, biliNFTRedeemFetch, -} from '../../src/utils/mediafetch/biliNFTNew'; - -test.only('dummy fetch', () => { - expect('dummy').toBe('dummy'); -}); - -// HACK: ghactions cant connect to biliNFT for some reasons +} from '../../src/utils/mediafetch/biliNFT'; test('biliNFT', async () => { const content = await biliNFTVideoFetch({ act_id: '161', - lottery_id: '75', index: '夜间魅影 小可', }); // console.log(content); expect(content).not.toBeNull(); const content2 = await biliNFTVideoFetch({ act_id: '161', - lottery_id: '75', index: 1, }); // console.log(content); expect(content2).not.toBeNull(); const content3 = await biliNFTRedeemFetch({ act_id: '101926', - lottery_id: '101927', index: '小山重叠金明灭', }); // console.log(content); diff --git a/__tests__/mediafetch/biliNFTNew.test.ts b/__tests__/mediafetch/biliNFTNew.test.ts new file mode 100644 index 00000000..b5621629 --- /dev/null +++ b/__tests__/mediafetch/biliNFTNew.test.ts @@ -0,0 +1,28 @@ +import { + biliNFTVideoFetch, + biliNFTRedeemFetch, +} from '../../src/utils/mediafetch/biliNFTNew'; + +test('biliNFT', async () => { + const content = await biliNFTVideoFetch({ + act_id: '161', + lottery_id: '75', + index: '夜间魅影 小可', + }); + // console.log(content); + expect(content).not.toBeNull(); + const content2 = await biliNFTVideoFetch({ + act_id: '161', + lottery_id: '75', + index: 1, + }); + // console.log(content); + expect(content2).not.toBeNull(); + const content3 = await biliNFTRedeemFetch({ + act_id: '101926', + lottery_id: '101927', + index: '小山重叠金明灭', + }); + // console.log(content); + expect(content3).not.toBeNull(); +}); diff --git a/package.json b/package.json index f4d3d320..7f283539 100644 --- a/package.json +++ b/package.json @@ -40,14 +40,14 @@ "@react-native/gradle-plugin": "^0.76.5", "@react-native/metro-config": "^0.76.5", "@react-native/typescript-config": "0.76.5", - "@react-navigation/drawer": "^7.1.0", + "@react-navigation/drawer": "^7.1.1", "@react-navigation/native": "^7.0.14", "@react-navigation/native-stack": "^7.2.0", "@revenuecat/purchases-js": "^0.14.0", "@sentry/react-native": "^6.4.0", "@sharcoux/slider": "8.0.6", "@shopify/flash-list": "^1.7.2", - "@shopify/react-native-skia": "1.7.2", + "@shopify/react-native-skia": "1.7.5", "axios": "^1.7.9", "base-64": "^1.0.0", "base64-js": "^1.5.1", @@ -61,7 +61,7 @@ "deepmerge": "^4.3.1", "dropbox": "git+https://lovegaoshi@github.com/lovegaoshi/dropbox-sdk-js.git", "event-target-polyfill": "^0.0.4", - "expo": "^52.0.18", + "expo": "^52.0.19", "expo-auth-session": "~6.0.1", "expo-clipboard": "~7.0.0", "expo-crypto": "~14.0.1", @@ -86,7 +86,7 @@ "postinstall-postinstall": "^2.1.0", "qs": "^6.13.1", "react": "18.3.1", - "react-i18next": "^15.1.4", + "react-i18next": "^15.2.0", "react-native": "^0.76.5", "react-native-app-auth": "^8.0.1", "react-native-background-timer": "git+https://github.com/lovegaoshi/react-native-background-timer.git", @@ -144,14 +144,14 @@ "@types/lodash": "^4.17.13", "@types/md5": "^2.3.5", "@types/node": "^22.10.2", - "@types/react": "~18.3.16", + "@types/react": "~18.3.17", "@types/react-native": "^0.73.0", "@types/react-native-background-timer": "^2.0.2", "@types/react-native-share-menu": "^5.0.5", "@types/react-test-renderer": "^19.0.0", "@types/uuid": "^10.0.0", - "@typescript-eslint/eslint-plugin": "^8.18.0", - "@typescript-eslint/parser": "^8.18.0", + "@typescript-eslint/eslint-plugin": "^8.18.1", + "@typescript-eslint/parser": "^8.18.1", "@welldone-software/why-did-you-render": "^8.0.3", "argparse": "^2.0.1", "babel-jest": "^29.7.0", diff --git a/src/utils/mediafetch/biliNFT.ts b/src/utils/mediafetch/biliNFT.ts index ca62013c..c6b02bdb 100644 --- a/src/utils/mediafetch/biliNFT.ts +++ b/src/utils/mediafetch/biliNFT.ts @@ -1,40 +1,47 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import bfetch from '@utils/BiliFetch'; -// see https://github.com/lovegaoshi/biliNFT +// see https://github.com/SocialSisterYi/bilibili-API-collect/issues/1155 -const API = - 'https://api.bilibili.com/x/vas/dlc_act/act/item/list?act_id={act_id}'; +const API = 'https://api.bilibili.com/x/vas/dlc_act/asset_bag?act_id={act_id}'; interface Props { act_id: string; index: number | string; - resolver?: (json: any) => string; + resolver?: (v: any) => string; + filter?: (v: any) => any; } const biliNFTFetch = async ({ act_id, index, - resolver = (json: any) => json.card_img, + resolver = (json: any) => json.card_item.card_img, + filter = (json: any) => + json.item_list.filter((item: any) => item.card_item.card_name === index)[0], }: Props) => { const res = await bfetch(API.replace('{act_id}', act_id)); const json = await res.json(); if (typeof index === 'string') { - return resolver( - json.data.item_list.filter( - (item: { card_item: { card_name: string } }) => - item.card_item.card_name === index, - )[0].card_item, - ); + return resolver(filter(json.data)); } - return resolver(json.data.item_list[index].card_item); + return resolver(json.data.item_list[index]); }; const biliNFTVideoFetch = ({ act_id, index }: Props) => biliNFTFetch({ act_id, index, - resolver: (json: any) => json.video_list[0], + resolver: v => v.card_item.video_list[0], }); -export { biliNFTVideoFetch }; +const biliNFTRedeemFetch = ({ act_id, index }: Props) => + biliNFTFetch({ + act_id, + index, + resolver: v => + v.card_item.card_type_info.content.animation.animation_video_urls[0], + filter: v => + v.collect_list.filter((item: any) => item.redeem_item_name === index)[0], + }); + +export { biliNFTVideoFetch, biliNFTRedeemFetch }; diff --git a/yarn.lock b/yarn.lock index 35cbd3ea..ec003caf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1783,9 +1783,9 @@ __metadata: languageName: node linkType: hard -"@expo/cli@npm:0.22.5": - version: 0.22.5 - resolution: "@expo/cli@npm:0.22.5" +"@expo/cli@npm:0.22.6": + version: 0.22.6 + resolution: "@expo/cli@npm:0.22.6" dependencies: "@0no-co/graphql.web": "npm:^1.0.8" "@babel/runtime": "npm:^7.20.0" @@ -1796,7 +1796,7 @@ __metadata: "@expo/env": "npm:~0.4.0" "@expo/image-utils": "npm:^0.6.0" "@expo/json-file": "npm:^9.0.0" - "@expo/metro-config": "npm:~0.19.0" + "@expo/metro-config": "npm:~0.19.8" "@expo/osascript": "npm:^2.0.31" "@expo/package-manager": "npm:^1.5.0" "@expo/plist": "npm:^0.2.0" @@ -1860,7 +1860,7 @@ __metadata: ws: "npm:^8.12.1" bin: expo-internal: build/bin/cli - checksum: 10c0/8bb29cb66e4c16a981bc53434b4464daa0a376cf73e3106c1cec78d3d641fe8e71bf2f8c77e3a6c2d2bb7869f2227168e6564d68b9524e042abd5c24eff0aaa3 + checksum: 10c0/4e840ca0d9dc809ae697353fbe62c273da9cab9b1448fea094b954e41b3bf6aadf8518752cc7b8c990a3cf216e53cc58369f813a3df4a005a3849941b3cd8994 languageName: node linkType: hard @@ -2050,9 +2050,9 @@ __metadata: languageName: node linkType: hard -"@expo/fingerprint@npm:0.11.3": - version: 0.11.3 - resolution: "@expo/fingerprint@npm:0.11.3" +"@expo/fingerprint@npm:0.11.4": + version: 0.11.4 + resolution: "@expo/fingerprint@npm:0.11.4" dependencies: "@expo/spawn-async": "npm:^1.7.2" arg: "npm:^5.0.2" @@ -2066,7 +2066,7 @@ __metadata: semver: "npm:^7.6.0" bin: fingerprint: bin/cli.js - checksum: 10c0/a628f8f70ff654f18a2519c2c160f02f566f22682832f847609d192d2fa941116c123dd47f342a0c5fe5462b5446f0e199ea35606546b1b5ba01877e9804ea86 + checksum: 10c0/426e9c3a0f3742f615aecabcc06cdc94b84e908a6302664fea1d13810121e9ee32a5dfabfc1fbb310a9b53997c7595289b1d4b027a0fc60e0c0917a48158899f languageName: node linkType: hard @@ -2099,9 +2099,9 @@ __metadata: languageName: node linkType: hard -"@expo/metro-config@npm:0.19.7": - version: 0.19.7 - resolution: "@expo/metro-config@npm:0.19.7" +"@expo/metro-config@npm:0.19.8, @expo/metro-config@npm:~0.19.8": + version: 0.19.8 + resolution: "@expo/metro-config@npm:0.19.8" dependencies: "@babel/core": "npm:^7.20.0" "@babel/generator": "npm:^7.20.5" @@ -2121,33 +2121,7 @@ __metadata: minimatch: "npm:^3.0.4" postcss: "npm:~8.4.32" resolve-from: "npm:^5.0.0" - checksum: 10c0/9f2c3ffaf8cf4af7bb78dee7328bf75935568f53543bbd2861783b9a04304bc7c9e51413804e41e2f6aa58b13a906ebadb9e194b14ba667e6737ffadf2458663 - languageName: node - linkType: hard - -"@expo/metro-config@npm:~0.19.0": - version: 0.19.0 - resolution: "@expo/metro-config@npm:0.19.0" - dependencies: - "@babel/core": "npm:^7.20.0" - "@babel/generator": "npm:^7.20.5" - "@babel/parser": "npm:^7.20.0" - "@babel/types": "npm:^7.20.0" - "@expo/config": "npm:~10.0.0" - "@expo/env": "npm:~0.4.0" - "@expo/json-file": "npm:~9.0.0" - "@expo/spawn-async": "npm:^1.7.2" - chalk: "npm:^4.1.0" - debug: "npm:^4.3.2" - fs-extra: "npm:^9.1.0" - getenv: "npm:^1.0.0" - glob: "npm:^10.4.2" - jsc-safe-url: "npm:^0.2.4" - lightningcss: "npm:~1.27.0" - minimatch: "npm:^3.0.4" - postcss: "npm:~8.4.32" - resolve-from: "npm:^5.0.0" - checksum: 10c0/68001cce40d8555c8abbc641c97fae6ed57ac30417a9b251b2eacc5215beb463b43d3a4d4f2b5603544a781444c5b49d6c38e9a538d5470ba021b9bbca3a3171 + checksum: 10c0/78a9ffa5061d9b0965533a8a738a2fbf54655e969daddf1543eeadc09092d23842a2b47465ed84b71c911c92a185c53113c05e90308ca1bc74ed1053a6c72112 languageName: node linkType: hard @@ -3580,13 +3554,13 @@ __metadata: languageName: node linkType: hard -"@react-navigation/drawer@npm:^7.1.0": - version: 7.1.0 - resolution: "@react-navigation/drawer@npm:7.1.0" +"@react-navigation/drawer@npm:^7.1.1": + version: 7.1.1 + resolution: "@react-navigation/drawer@npm:7.1.1" dependencies: "@react-navigation/elements": "npm:^2.2.5" color: "npm:^4.2.3" - react-native-drawer-layout: "npm:^4.1.0" + react-native-drawer-layout: "npm:^4.1.1" use-latest-callback: "npm:^0.2.1" peerDependencies: "@react-navigation/native": ^7.0.14 @@ -3596,7 +3570,7 @@ __metadata: react-native-reanimated: ">= 2.0.0" react-native-safe-area-context: ">= 4.0.0" react-native-screens: ">= 4.0.0" - checksum: 10c0/5647f63e75edad0569774b10f7096af5a4ebd2a5512b12ccf2f01c66894f5419e3d2b836308db7392f9515aa65f8a4a7ead34cab57bdb7beef45762137b2b597 + checksum: 10c0/c0ab397fd783be54c61b8caf899dfb775c0c718acb61d007cb87784a3c8e48b3b3df4df30a71afcc558e3653386c56420d94680161b55a5f770b809709c3eebe languageName: node linkType: hard @@ -3935,9 +3909,9 @@ __metadata: languageName: node linkType: hard -"@shopify/react-native-skia@npm:1.7.2": - version: 1.7.2 - resolution: "@shopify/react-native-skia@npm:1.7.2" +"@shopify/react-native-skia@npm:1.7.5": + version: 1.7.5 + resolution: "@shopify/react-native-skia@npm:1.7.5" dependencies: canvaskit-wasm: "npm:0.39.1" react-reconciler: "npm:0.27.0" @@ -3952,7 +3926,7 @@ __metadata: optional: true bin: setup-skia-web: ./scripts/setup-canvaskit.js - checksum: 10c0/04ec135a1853214e4236f770072901e7519afceb95c64ddc56bb98bcaf94a9a92f6e3c7056f175e978be6a4160c2cd402a96faf85c901c1ecf154b24ff69a8b5 + checksum: 10c0/e6dae73b93947bccb08639d7c1798b4263e853f7f3f66170dc9c63b93a93cb9818d8750c2e7a77cd35afffd4673d0b75c9a2f586895085473280f77a3afbfccd languageName: node linkType: hard @@ -4555,13 +4529,13 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:~18.3.16": - version: 18.3.16 - resolution: "@types/react@npm:18.3.16" +"@types/react@npm:~18.3.17": + version: 18.3.17 + resolution: "@types/react@npm:18.3.17" dependencies: "@types/prop-types": "npm:*" csstype: "npm:^3.0.2" - checksum: 10c0/9113d3003865eda07be0fb596f5bd8d7784b8900675090c56e75bdee45499f0b0de2481cbbeb5980c3b4ad18f234a49f39c9e62fd7b89a4e8530c74789f739bd + checksum: 10c0/475191e9cd0ab5bef35cc1868295d6526cd78b25c1bb816f0747a1e92261688305f81c0e29aff52e6ea70397f133e34c399dc936cb5072f1acf465d9daacc0da languageName: node linkType: hard @@ -4642,15 +4616,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.18.0" +"@typescript-eslint/eslint-plugin@npm:^8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.18.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.18.0" - "@typescript-eslint/type-utils": "npm:8.18.0" - "@typescript-eslint/utils": "npm:8.18.0" - "@typescript-eslint/visitor-keys": "npm:8.18.0" + "@typescript-eslint/scope-manager": "npm:8.18.1" + "@typescript-eslint/type-utils": "npm:8.18.1" + "@typescript-eslint/utils": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" @@ -4659,7 +4633,7 @@ __metadata: "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/c338da1b96c41d7b94401a6711659d0fef3acb691eff7a958f9d3aa0442a858830daad67e3575288a4f4669572e2b690517a513519b404a465ad68fe0a82d3ec + checksum: 10c0/7994d323228f3fc3ec124291cd02761251bcd9a5a6356001d2cb8f68abdb400c3cfbeb343d6941d8e6b6c8d2d616a278bbb3b6d9ed839ba5148a05f60a1f67b4 languageName: node linkType: hard @@ -4703,19 +4677,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/parser@npm:8.18.0" +"@typescript-eslint/parser@npm:^8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/parser@npm:8.18.1" dependencies: - "@typescript-eslint/scope-manager": "npm:8.18.0" - "@typescript-eslint/types": "npm:8.18.0" - "@typescript-eslint/typescript-estree": "npm:8.18.0" - "@typescript-eslint/visitor-keys": "npm:8.18.0" + "@typescript-eslint/scope-manager": "npm:8.18.1" + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/typescript-estree": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/d3a062511c24dfcf522a645db1153022d49aa3bb05e288c22474cf04dc1d836f877eb9d2733947e448981ffb16e4de50d4ebe7570a268733a641f228ca6c4849 + checksum: 10c0/23ab30b3f00b86108137e7df03710a088046ead3582595b0f8e17d5062770365e24e0a1ae3398bb3a1c29aa0f05a0de30887e2e0f6fb86163e878dd0eed1b25c languageName: node linkType: hard @@ -4757,13 +4731,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/scope-manager@npm:8.18.0" +"@typescript-eslint/scope-manager@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/scope-manager@npm:8.18.1" dependencies: - "@typescript-eslint/types": "npm:8.18.0" - "@typescript-eslint/visitor-keys": "npm:8.18.0" - checksum: 10c0/6bf6532fd43f2b55b9b47fa8b0217c5b5a03f022e869a6a21228fc3ae04c0ac6c5ae5d6026866d189ba424d2f98cc6fbd2a34f909d241c9b86c031afd808f90c + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" + checksum: 10c0/97c503b2ece79b6c99ca8e6a5f1f40855cf72f17fbf05e42e62d19c2666e7e6f5df9bf71f13dbc4720c5ee0397670ba8052482a90441fbffa901da5f2e739565 languageName: node linkType: hard @@ -4799,18 +4773,18 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/type-utils@npm:8.18.0" +"@typescript-eslint/type-utils@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/type-utils@npm:8.18.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.18.0" - "@typescript-eslint/utils": "npm:8.18.0" + "@typescript-eslint/typescript-estree": "npm:8.18.1" + "@typescript-eslint/utils": "npm:8.18.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/c0fcf201c3b53f9374c0571198a639c81536170141caa08fd0f47094a596b1f82f839a849eac5832f954345c567dccb45b2ee1c0872c513331165f7bcb812396 + checksum: 10c0/cfe5362a22fa5e18a2662928904da024e42c84cb58a46238b9b61edafcd046f53c9505637176c8cd1c386165c6a6ed15a2b51700495cad6c20e0e33499d483a1 languageName: node linkType: hard @@ -4828,10 +4802,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/types@npm:8.18.0" - checksum: 10c0/2dd7468c3f1c305545268b72c3a333488e6ab1b628c5f65081d895866422b9376c21634a7aac437805f84b22e352b6a8fc4dcf925ef4a8fd7d1898b8359f71be +"@typescript-eslint/types@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/types@npm:8.18.1" + checksum: 10c0/0a2ca5f7cdebcc844b6bc1e5afc5d83b563f55917d20e3fea3a17ed39c54b003178e26b5ec535113f45c93c569b46628d9a67defa70c01cbdfa801573fed69a2 languageName: node linkType: hard @@ -4872,12 +4846,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.18.0" +"@typescript-eslint/typescript-estree@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.18.1" dependencies: - "@typescript-eslint/types": "npm:8.18.0" - "@typescript-eslint/visitor-keys": "npm:8.18.0" + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/visitor-keys": "npm:8.18.1" debug: "npm:^4.3.4" fast-glob: "npm:^3.3.2" is-glob: "npm:^4.0.3" @@ -4886,7 +4860,7 @@ __metadata: ts-api-utils: "npm:^1.3.0" peerDependencies: typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/87b432b190b627314f007b17b2371898db78baaa3df67a0d9a94d080d88a7a307906b54a735084cacef37f6421e2b9c3320040617e73fe54eac2bf22c610f1ec + checksum: 10c0/7ecb061dc63c729b23f4f15db5736ca93b1ae633108400e6c31cf8af782494912f25c3683f9f952dbfd10cb96031caba247a1ad406abf5d163639a00ac3ce5a3 languageName: node linkType: hard @@ -4922,18 +4896,18 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/utils@npm:8.18.0" +"@typescript-eslint/utils@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/utils@npm:8.18.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.18.0" - "@typescript-eslint/types": "npm:8.18.0" - "@typescript-eslint/typescript-estree": "npm:8.18.0" + "@typescript-eslint/scope-manager": "npm:8.18.1" + "@typescript-eslint/types": "npm:8.18.1" + "@typescript-eslint/typescript-estree": "npm:8.18.1" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.8.0" - checksum: 10c0/58a2fc1e404d1f905c2a958d995824eb4abc6e73836b186717550677f8b1d17954acc369feddb83277350915388bc3d8b721423c37777b8b8017fc29c89ec6ee + checksum: 10c0/1e29408bd8fbda9f3386dabdb2b7471dacff28342d5bd6521ca3b7932df0cae100030d2eac75d946a82cbefa33f78000eed4ce789128fdea069ffeabd4429d80 languageName: node linkType: hard @@ -4957,13 +4931,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.18.0": - version: 8.18.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.18.0" +"@typescript-eslint/visitor-keys@npm:8.18.1": + version: 8.18.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.18.1" dependencies: - "@typescript-eslint/types": "npm:8.18.0" + "@typescript-eslint/types": "npm:8.18.1" eslint-visitor-keys: "npm:^4.2.0" - checksum: 10c0/d4cdc2adab553098b5be7117fb7df76fb66cfd380528881a0a8c2a9eee03bf8baddda07d15ca0bd3ed8b35c379b3f449292183df18e3e81898dbcadafcb708b8 + checksum: 10c0/68651ae1825dbd660ea39b4e1d1618f6ad0026fa3a04aecec296750977cab316564e3e2ace8edbebf1ae86bd17d86acc98cac7b6e9aad4e1c666bd26f18706ad languageName: node linkType: hard @@ -5562,14 +5536,14 @@ __metadata: "@react-native/gradle-plugin": "npm:^0.76.5" "@react-native/metro-config": "npm:^0.76.5" "@react-native/typescript-config": "npm:0.76.5" - "@react-navigation/drawer": "npm:^7.1.0" + "@react-navigation/drawer": "npm:^7.1.1" "@react-navigation/native": "npm:^7.0.14" "@react-navigation/native-stack": "npm:^7.2.0" "@revenuecat/purchases-js": "npm:^0.14.0" "@sentry/react-native": "npm:^6.4.0" "@sharcoux/slider": "npm:8.0.6" "@shopify/flash-list": "npm:^1.7.2" - "@shopify/react-native-skia": "npm:1.7.2" + "@shopify/react-native-skia": "npm:1.7.5" "@tsconfig/react-native": "npm:^3.0.5" "@types/base-64": "npm:^1.0.2" "@types/d3": "npm:^7.4.3" @@ -5578,14 +5552,14 @@ __metadata: "@types/lodash": "npm:^4.17.13" "@types/md5": "npm:^2.3.5" "@types/node": "npm:^22.10.2" - "@types/react": "npm:~18.3.16" + "@types/react": "npm:~18.3.17" "@types/react-native": "npm:^0.73.0" "@types/react-native-background-timer": "npm:^2.0.2" "@types/react-native-share-menu": "npm:^5.0.5" "@types/react-test-renderer": "npm:^19.0.0" "@types/uuid": "npm:^10.0.0" - "@typescript-eslint/eslint-plugin": "npm:^8.18.0" - "@typescript-eslint/parser": "npm:^8.18.0" + "@typescript-eslint/eslint-plugin": "npm:^8.18.1" + "@typescript-eslint/parser": "npm:^8.18.1" "@welldone-software/why-did-you-render": "npm:^8.0.3" argparse: "npm:^2.0.1" axios: "npm:^1.7.9" @@ -5615,7 +5589,7 @@ __metadata: eslint-plugin-react: "npm:^7.37.2" eslint-plugin-react-hooks: "npm:^5.1.0" event-target-polyfill: "npm:^0.0.4" - expo: "npm:^52.0.18" + expo: "npm:^52.0.19" expo-auth-session: "npm:~6.0.1" expo-clipboard: "npm:~7.0.0" expo-crypto: "npm:~14.0.1" @@ -5644,7 +5618,7 @@ __metadata: prettier: "npm:^3.4.2" qs: "npm:^6.13.1" react: "npm:18.3.1" - react-i18next: "npm:^15.1.4" + react-i18next: "npm:^15.2.0" react-native: "npm:^0.76.5" react-native-app-auth: "npm:^8.0.1" react-native-background-timer: "git+https://github.com/lovegaoshi/react-native-background-timer.git" @@ -8788,15 +8762,15 @@ __metadata: languageName: node linkType: hard -"expo-file-system@npm:~18.0.5": - version: 18.0.5 - resolution: "expo-file-system@npm:18.0.5" +"expo-file-system@npm:~18.0.6": + version: 18.0.6 + resolution: "expo-file-system@npm:18.0.6" dependencies: web-streams-polyfill: "npm:^3.3.2" peerDependencies: expo: "*" react-native: "*" - checksum: 10c0/160040f0643711752881836eb35d4a8ee53b81a20c6984d9047a66ae2d9596e92a90dcfcdd92bad12cc026f3fea81d791ed5a68693c2051dadd215d810db9a5a + checksum: 10c0/ed1e948caab7676e14a86fb35e460d68ba42eda234da5f1ee6adc2bb9721f4c48a49d87f96f83e108c24e7421be715efd5805c6919d56222174246ce7a8e18ee languageName: node linkType: hard @@ -8888,12 +8862,12 @@ __metadata: languageName: node linkType: hard -"expo-modules-core@npm:2.1.1": - version: 2.1.1 - resolution: "expo-modules-core@npm:2.1.1" +"expo-modules-core@npm:2.1.2": + version: 2.1.2 + resolution: "expo-modules-core@npm:2.1.2" dependencies: invariant: "npm:^2.2.4" - checksum: 10c0/b454fed6da873f20bebbe71ea3095e193aef4ba6f8040784e623052ed2ecfcfb6b85b7f2810ff7a47e7cb17acbad4ff21b200886684c01d53437524792b77451 + checksum: 10c0/d8b27ac2e67b910f37677d5924325075602ad5d0ff00a62ca7ff7e2e32450d63a9ff7a65cccebe078ebd09e6bb069299efbb59bf68d1b14b8146c8ae51d26e3b languageName: node linkType: hard @@ -8916,25 +8890,25 @@ __metadata: languageName: node linkType: hard -"expo@npm:^52.0.18": - version: 52.0.18 - resolution: "expo@npm:52.0.18" +"expo@npm:^52.0.19": + version: 52.0.19 + resolution: "expo@npm:52.0.19" dependencies: "@babel/runtime": "npm:^7.20.0" - "@expo/cli": "npm:0.22.5" + "@expo/cli": "npm:0.22.6" "@expo/config": "npm:~10.0.6" "@expo/config-plugins": "npm:~9.0.12" - "@expo/fingerprint": "npm:0.11.3" - "@expo/metro-config": "npm:0.19.7" + "@expo/fingerprint": "npm:0.11.4" + "@expo/metro-config": "npm:0.19.8" "@expo/vector-icons": "npm:^14.0.0" babel-preset-expo: "npm:~12.0.4" expo-asset: "npm:~11.0.1" expo-constants: "npm:~17.0.3" - expo-file-system: "npm:~18.0.5" + expo-file-system: "npm:~18.0.6" expo-font: "npm:~13.0.1" expo-keep-awake: "npm:~14.0.1" expo-modules-autolinking: "npm:2.0.4" - expo-modules-core: "npm:2.1.1" + expo-modules-core: "npm:2.1.2" fbemitter: "npm:^3.0.0" web-streams-polyfill: "npm:^3.3.2" whatwg-url-without-unicode: "npm:8.0.0-3" @@ -8953,7 +8927,7 @@ __metadata: optional: true bin: expo: bin/cli - checksum: 10c0/79ca65dc746d979ab1842cd15051c13899d0d0db12ea5a11c8a3d498c23aff9675b7d636dc20e13fc0ba6f77b4613e1e2ec4681a1020854624528119c455adc6 + checksum: 10c0/fd5019a5fefcda9ae0b252d6255eb3ba8931f17677c26298ee22dfa4fff7e48157e814828af4c11d738737ebbbcf5597a225badea392d0c8d07a91657bc933f2 languageName: node linkType: hard @@ -14310,9 +14284,9 @@ __metadata: languageName: node linkType: hard -"react-i18next@npm:^15.1.4": - version: 15.1.4 - resolution: "react-i18next@npm:15.1.4" +"react-i18next@npm:^15.2.0": + version: 15.2.0 + resolution: "react-i18next@npm:15.2.0" dependencies: "@babel/runtime": "npm:^7.25.0" html-parse-stringify: "npm:^3.0.1" @@ -14324,7 +14298,7 @@ __metadata: optional: true react-native: optional: true - checksum: 10c0/6c1b053fc530c3a750c8cb0a090a54cd3580cbe2103bea26579a2855a6c0a8be7e1cbffda732d4ec9c9aa8724569783dc340564855e1fe76f48c24683fe0b3d4 + checksum: 10c0/e6dfd3f04a070777231ea50e750d74ed7a72c56e3f2da238e8666db65431c805482706bbc76bdb69e5196c4125ff4c955ea4166a1788997a679c3a5c03590654 languageName: node linkType: hard @@ -14460,9 +14434,9 @@ __metadata: languageName: node linkType: hard -"react-native-drawer-layout@npm:^4.1.0": - version: 4.1.0 - resolution: "react-native-drawer-layout@npm:4.1.0" +"react-native-drawer-layout@npm:^4.1.1": + version: 4.1.1 + resolution: "react-native-drawer-layout@npm:4.1.1" dependencies: use-latest-callback: "npm:^0.2.1" peerDependencies: @@ -14470,7 +14444,7 @@ __metadata: react-native: "*" react-native-gesture-handler: ">= 2.0.0" react-native-reanimated: ">= 2.0.0" - checksum: 10c0/b7e28b1ea83d4e4ba050ed5a01237f4d7955146db4d9782e8b705fb8390f8b43ceea7531387d8e9c679ea1a8c8f3d514abd69dae2c20d30dcc76ab8b920420f1 + checksum: 10c0/5c3c083cf5a8c6716ed355f96bf605537f7a41592d3264574720f9a3aeb2aefcbdd0e745b7a4a4754b661ac61161cf7f80810630024dfb90473266b88b036378 languageName: node linkType: hard