Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

libmuse

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libmuse - npm Package Compare versions

Comparing version 0.0.85 to 0.0.86

11

esm/parsers/search.js

@@ -222,3 +222,8 @@ import { BADGE_LABEL, MRLIR, NAVIGATION_BROWSE_ID, NAVIGATION_PAGE_TYPE, NAVIGATION_PLAYLIST_ID, NAVIGATION_VIDEO_ID, NAVIGATION_VIDEO_TYPE, PLAY_BUTTON, SUBTITLE, SUBTITLE2, SUBTITLE_BADGE_LABEL, TEXT_RUN, TEXT_RUN_TEXT, TEXT_RUNS, THUMBNAILS, TITLE, TITLE_TEXT, } from "../nav.js";

catch {
return parse_search_song(e);
try {
return parse_search_song(e);
}
catch {
return null;
}
}

@@ -265,3 +270,3 @@ };

}
return search_results;
return search_results.filter((e) => !!e);
}

@@ -305,3 +310,3 @@ export function parse_top_result_more(result) {

}
return more;
return more.filter((e) => !!e);
}

@@ -308,0 +313,0 @@ export function parse_top_result_artist(result) {

@@ -6,3 +6,3 @@ {

"name": "libmuse",
"version": "0.0.85",
"version": "0.0.86",
"description": "A library to interact with the YouTube Music (InnerTube) api.",

@@ -9,0 +9,0 @@ "tags": [

@@ -234,3 +234,8 @@ "use strict";

catch {
return parse_search_song(e);
try {
return parse_search_song(e);
}
catch {
return null;
}
}

@@ -278,3 +283,3 @@ };

}
return search_results;
return search_results.filter((e) => !!e);
}

@@ -319,3 +324,3 @@ exports.parse_search_results = parse_search_results;

}
return more;
return more.filter((e) => !!e);
}

@@ -322,0 +327,0 @@ exports.parse_top_result_more = parse_top_result_more;

@@ -75,3 +75,3 @@ import { AlbumType } from "./browsing.js";

export type SearchContent = SearchAlbum | SearchSong | SearchVideo | SearchArtist | SearchPlaylist | SearchRadio | SearchProfile;
export declare function parse_search_content(result: any, upload?: boolean, passed_entity?: string): SearchContent;
export declare function parse_search_content(result: any, upload?: boolean, passed_entity?: string): SearchContent | null;
export declare function parse_search_results(results: any[], scope: Scope | null, filter: Filter | null): SearchContent[];

@@ -78,0 +78,0 @@ export declare function parse_top_result_more(result: any): SearchContent[];

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc