Skip to content

Commit

Permalink
Remove deprecated getFilter functions (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse authored Apr 14, 2022
1 parent 08c73df commit 337be23
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions src/filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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.
*
Expand All @@ -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.
*
Expand Down Expand Up @@ -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.
*
Expand All @@ -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();
}

0 comments on commit 337be23

Please sign in to comment.