fix(core): update

This commit is contained in:
2020-12-31 03:56:40 +00:00
parent 08cb2392fa
commit bf3e640307
14 changed files with 10028 additions and 600 deletions

View File

@@ -51,7 +51,7 @@ export class Domain {
const regexMatches = regexString.exec(stringArg);
regexMatches.reverse(); //make sure we build the domain from toplevel to subdomain (reversed order)
regexMatches.pop(); // pop the last element, which is, since we reversed the Array, the full String of matched elements
const regexMatchesFiltered = regexMatches.filter(function(stringArg: string) {
const regexMatchesFiltered = regexMatches.filter(function (stringArg: string) {
return stringArg !== '';
});
return regexMatchesFiltered;