pmcf 6.7.3 → 6.7.4
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 +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"aggregated-map": "^1.0.7",
|
|
54
54
|
"content-entry-transform": "^1.6.9",
|
|
55
|
-
"ip-utilties": "^3.6.
|
|
55
|
+
"ip-utilties": "^3.6.2",
|
|
56
56
|
"npm-pkgbuild": "^20.8.1",
|
|
57
57
|
"pacc": "^10.4.1",
|
|
58
58
|
"package-directory": "^8.2.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"ava": "^8.0.1",
|
|
64
64
|
"c8": "^11.0.0",
|
|
65
65
|
"documentation": "^14.0.3",
|
|
66
|
-
"semantic-release": "^25.0.
|
|
66
|
+
"semantic-release": "^25.0.7"
|
|
67
67
|
},
|
|
68
68
|
"overrides": {
|
|
69
69
|
"c8": {
|
package/src/owner.mjs
CHANGED
|
@@ -127,18 +127,18 @@ export class Owner extends ServiceOwner {
|
|
|
127
127
|
return assign(subnets_attribute, this, address);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
const { cidr, prefixLength } = normalizeCIDR(address);
|
|
131
|
-
|
|
132
|
-
if (cidr && prefixLength !== 0) {
|
|
133
|
-
return (
|
|
134
|
-
this._subnets.get(cidr) ||
|
|
135
|
-
assign(subnets_attribute, this, new Subnet(cidr))
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
130
|
let subnet = this.subnetForAddress(address);
|
|
140
131
|
|
|
141
132
|
if (!subnet) {
|
|
133
|
+
const { cidr, prefixLength } = normalizeCIDR(address);
|
|
134
|
+
|
|
135
|
+
if (cidr && prefixLength !== 0) {
|
|
136
|
+
return (
|
|
137
|
+
this._subnets.get(cidr) ||
|
|
138
|
+
assign(subnets_attribute, this, new Subnet(cidr))
|
|
139
|
+
);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
142
|
subnet =
|
|
143
143
|
familyIP(address) === FAMILY_IPV4
|
|
144
144
|
? SUBNET_GLOBAL_IPV4
|