pmcf 4.18.11 → 4.18.12

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/package.json +1 -1
  2. package/src/host.mjs +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "4.18.11",
3
+ "version": "4.18.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/host.mjs CHANGED
@@ -272,7 +272,9 @@ export class Host extends ServiceOwner {
272
272
 
273
273
  get foreignDomains() {
274
274
  return new Set(
275
- [...this.aliases].map(n => domainFromDominName(n, this.domain))
275
+ [...this.aliases]
276
+ .map(n => domainFromDominName(n, this.domain))
277
+ .filter(domain => domain !== undefined)
276
278
  );
277
279
  }
278
280