Skip to content

Commit

Permalink
Merge pull request #540 from lovegaoshi/dev
Browse files Browse the repository at this point in the history
fix: cleanPlaylist
  • Loading branch information
lovegaoshi authored Aug 29, 2024
2 parents faf187c + 5dbc35a commit a111a1f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-syntax-import-attributes": "^7.24.7",
"@babel/plugin-syntax-import-attributes": "^7.25.6",
"@babel/plugin-transform-export-namespace-from": "^7.24.7",
"@babel/plugin-transform-private-methods": "^7.25.4",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@babel/runtime": "^7.25.4",
"@babel/runtime": "^7.25.6",
"@react-native-community/eslint-config": "^3.2.0",
"@tsconfig/react-native": "^3.0.5",
"@types/base-64": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/usePlaylistCRUD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const usePlaylistCRUD = (mPlaylist?: NoxMedia.Playlist) => {
uniqBVIds.forEach(bvid =>
promises.push(
fetchBiliBVIDs([bvid]).then(val => {
if (val) validBVIds.push(bvid);
if (val.length > 0) validBVIds.push(bvid);
})
)
);
Expand Down
23 changes: 17 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,17 @@ __metadata:
languageName: node
linkType: hard

"@babel/plugin-syntax-import-attributes@npm:^7.25.6":
version: 7.25.6
resolution: "@babel/plugin-syntax-import-attributes@npm:7.25.6"
dependencies:
"@babel/helper-plugin-utils": "npm:^7.24.8"
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 10c0/0e9359cf2d117476310961dfcfd7204ed692e933707da10d6194153d3996cd2ea5b7635fc90d720dce3612083af89966bb862561064a509c350320dc98644751
languageName: node
linkType: hard

"@babel/plugin-syntax-import-meta@npm:^7.10.4, @babel/plugin-syntax-import-meta@npm:^7.8.3":
version: 7.10.4
resolution: "@babel/plugin-syntax-import-meta@npm:7.10.4"
Expand Down Expand Up @@ -2701,12 +2712,12 @@ __metadata:
languageName: node
linkType: hard

"@babel/runtime@npm:^7.25.4":
version: 7.25.4
resolution: "@babel/runtime@npm:7.25.4"
"@babel/runtime@npm:^7.25.6":
version: 7.25.6
resolution: "@babel/runtime@npm:7.25.6"
dependencies:
regenerator-runtime: "npm:^0.14.0"
checksum: 10c0/33e937e685f0bfc2d40c219261e2e50d0df7381a6e7cbf56b770e0c5d77cb0c21bf4d97da566cf0164317ed7508e992082c7b6cce7aaa3b17da5794f93fbfb46
checksum: 10c0/d6143adf5aa1ce79ed374e33fdfd74fa975055a80bc6e479672ab1eadc4e4bfd7484444e17dd063a1d180e051f3ec62b357c7a2b817e7657687b47313158c3d2
languageName: node
linkType: hard

Expand Down Expand Up @@ -7037,12 +7048,12 @@ __metadata:
resolution: "azusa-player-mobile@workspace:."
dependencies:
"@babel/core": "npm:^7.25.2"
"@babel/plugin-syntax-import-attributes": "npm:^7.24.7"
"@babel/plugin-syntax-import-attributes": "npm:^7.25.6"
"@babel/plugin-transform-export-namespace-from": "npm:^7.24.7"
"@babel/plugin-transform-private-methods": "npm:^7.25.4"
"@babel/preset-env": "npm:^7.25.4"
"@babel/preset-typescript": "npm:^7.24.7"
"@babel/runtime": "npm:^7.25.4"
"@babel/runtime": "npm:^7.25.6"
"@react-native-async-storage/async-storage": "npm:^2.0.0"
"@react-native-community/eslint-config": "npm:^3.2.0"
"@react-native-community/netinfo": "npm:^11.3.2"
Expand Down

0 comments on commit a111a1f

Please sign in to comment.