pmcf 1.79.7 → 1.79.9

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 +2 -2
  2. package/src/host.mjs +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.79.7",
3
+ "version": "1.79.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,7 +38,7 @@
38
38
  "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target es2024 --lib esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
39
39
  },
40
40
  "dependencies": {
41
- "npm-pkgbuild": "^17.3.4",
41
+ "npm-pkgbuild": "^17.4.0",
42
42
  "pacc": "^3.3.0",
43
43
  "pkg-dir": "^8.0.0"
44
44
  },
package/src/host.mjs CHANGED
@@ -257,7 +257,10 @@ export class Host extends Base {
257
257
  const domains = new Set(
258
258
  [...this.aliases].map(n => domainFromDominName(n, this.domain))
259
259
  );
260
- domains.add(this.domain);
260
+
261
+ if(this.domain) {
262
+ domains.add(this.domain);
263
+ }
261
264
  return domains;
262
265
  }
263
266