ytmusic_api_unofficial
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -199,5 +199,5 @@ "use strict"; | ||
function getPlayers(query) { | ||
return (0, utils_1.getPlayers_dv)(query); | ||
return (0, utils_1.getPlayers_dv)((0, utils_1.getYTIdFromText)(query).isValidId ? (0, utils_1.getYTIdFromText)(query).id : query); | ||
} | ||
exports.getPlayers = getPlayers; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "ytmusic_api_unofficial", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "A simple API to get music from YouTube Music", | ||
@@ -41,3 +41,3 @@ "scripts": { | ||
"axios": "^1.7.2", | ||
"cookie": "^0.6.0", | ||
"cookie": "^1.0.1", | ||
"node-cache": "^5.1.2", | ||
@@ -44,0 +44,0 @@ "sha1": "^1.1.1" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184227
+ Addedcookie@1.0.2(transitive)
- Removedcookie@0.6.0(transitive)
Updatedcookie@^1.0.1