@viren070/parse-torrent-title 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/utils.js +1 -1
  2. package/package.json +1 -1
package/dist/utils.js CHANGED
@@ -21,7 +21,7 @@ export const nonAlphasRegex = /\W+/g;
21
21
  export const underscoresRegex = /_+/g;
22
22
  export const whitespacesRegex = /\s+/g;
23
23
  export const redundantSymbolsAtEnd = /[ \-:./\\]+$/;
24
- export const trailingEpisodePattern = /[ .]*-[ .]*\d{1,4}[ .]*$/;
24
+ export const trailingEpisodePattern = /[ .]+-[ .]*\d{1,4}[ .]*$/;
25
25
  export const curlyBrackets = ['{', '}'];
26
26
  export const squareBrackets = ['[', ']'];
27
27
  export const parentheses = ['(', ')'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viren070/parse-torrent-title",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "A TypeScript library for parsing torrent titles",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",