pmcf 4.25.6 → 4.25.8
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.
- package/package.json +3 -3
- package/src/owner.mjs +4 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "4.25.
|
|
3
|
+
"version": "4.25.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"aggregated-map": "^1.0.4",
|
|
54
54
|
"content-entry-transform": "^1.6.9",
|
|
55
55
|
"ip-utilties": "^3.0.4",
|
|
56
|
-
"npm-pkgbuild": "^20.7.
|
|
56
|
+
"npm-pkgbuild": "^20.7.2",
|
|
57
57
|
"pacc": "^9.2.13",
|
|
58
58
|
"package-directory": "^8.2.0"
|
|
59
59
|
},
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"ava": "^8.0.1",
|
|
63
63
|
"c8": "^11.0.0",
|
|
64
64
|
"documentation": "^14.0.3",
|
|
65
|
-
"semantic-release": "^25.0.
|
|
65
|
+
"semantic-release": "^25.0.5"
|
|
66
66
|
},
|
|
67
67
|
"overrides": {
|
|
68
68
|
"c8": {
|
package/src/owner.mjs
CHANGED
|
@@ -37,7 +37,7 @@ const OwnerTypeDefinition = {
|
|
|
37
37
|
domains: string_set_attribute_writable,
|
|
38
38
|
timezone: string_attribute_writable,
|
|
39
39
|
architectures: string_set_attribute_writable,
|
|
40
|
-
locales: string_set_attribute_writable,
|
|
40
|
+
locales: { ...string_set_attribute_writable, description: "unix locale" },
|
|
41
41
|
administratorEmail: { ...email_attribute, writable: true },
|
|
42
42
|
template: { ...boolean_attribute_writable, private: true }
|
|
43
43
|
}
|
|
@@ -201,7 +201,7 @@ export class Owner extends Base {
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
subnetNamed(name) {
|
|
204
|
-
return
|
|
204
|
+
return this.subnets.values().find(s => s.name == name);
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
get subnets() {
|
|
@@ -232,11 +232,7 @@ export class Owner extends Base {
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
subnetForAddress(address) {
|
|
235
|
-
|
|
236
|
-
if (subnet.matchesAddress(address)) {
|
|
237
|
-
return subnet;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
235
|
+
return this.subnets.values().find(subnet => subnet.matchesAddress(address));
|
|
240
236
|
}
|
|
241
237
|
|
|
242
238
|
get clusters() {
|
|
@@ -354,10 +350,7 @@ export class Owner extends Base {
|
|
|
354
350
|
}
|
|
355
351
|
|
|
356
352
|
get locales() {
|
|
357
|
-
|
|
358
|
-
return this.owner.locales.union(this._locales);
|
|
359
|
-
}
|
|
360
|
-
return this._locales;
|
|
353
|
+
return this.unionFromDirections(["this", "owner"], "_locales");
|
|
361
354
|
}
|
|
362
355
|
|
|
363
356
|
_timezone;
|