From 337be237fbd0ad19fe63b40db655105b48b00a07 Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Thu, 14 Apr 2022 22:34:08 +0200 Subject: [PATCH] Remove deprecated getFilter functions (#218) --- src/filters.ts | 55 -------------------------------------------------- 1 file changed, 55 deletions(-) diff --git a/src/filters.ts b/src/filters.ts index a8411d1..337643a 100644 --- a/src/filters.ts +++ b/src/filters.ts @@ -23,17 +23,6 @@ export function createYouTubeFilter(): MetadataFilter { return new MetadataFilter({ track: youtube }); } -/** - * Get a filter with YouTube-related filter functions. - * - * @return Filter object - * @deprecated Use `createYouTubeFilter` function - */ -/* istanbul ignore next */ -export function getYoutubeFilter(): MetadataFilter { - return createYouTubeFilter(); -} - /** * Get a filter that removes "Remastered"-like suffixes. * @@ -46,17 +35,6 @@ export function createRemasteredFilter(): MetadataFilter { }); } -/** - * Get a filter that removes "Remastered"-like suffixes. - * - * @return Filter object - * @deprecated Use `createRemasteredFilter` function - */ -/* istanbul ignore next */ -export function getRemasteredFilter(): MetadataFilter { - return createRemasteredFilter(); -} - /** * Get a filter with Spotify-related filter functions. * @@ -75,17 +53,6 @@ export function createSpotifyFilter(): MetadataFilter { }); } -/** - * Get a filter with Spotify-related filter functions. - * - * @return Filter object - * @deprecated Use `createSpotifyFilter` function - */ -/* istanbul ignore next */ -export function getSpotifyFilter(): MetadataFilter { - return createSpotifyFilter(); -} - /** * Get a filter with Amazon-related filter functions. * @@ -114,17 +81,6 @@ export function createAmazonFilter(): MetadataFilter { }); } -/** - * Get a filter with Amazon-related filter functions. - * - * @return Filter object - * @deprecated Use `createAmazonFilter` function - */ -/* istanbul ignore next */ -export function getAmazonFilter(): MetadataFilter { - return createAmazonFilter(); -} - /** * Get a filter with Tidal-related filter functions. * @@ -136,14 +92,3 @@ export function createTidalFilter(): MetadataFilter { album: [removeRemastered, fixTrackSuffix, removeVersion, removeLive], }); } - -/** - * Get a filter with Tidal-related filter functions. - * - * @return Filter object - * @deprecated Use `createTidalFilter` function - */ -/* istanbul ignore next */ -export function getTidalFilter(): MetadataFilter { - return createTidalFilter(); -}