pmcf 1.65.1 → 1.65.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.65.1",
3
+ "version": "1.65.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/utils.mjs CHANGED
@@ -180,7 +180,7 @@ export function hasWellKnownSubnet(address) {
180
180
  return n === IPV4_LOCALHOST || n === IPV6_LOCALHOST || isLinkLocal(address);
181
181
  }
182
182
 
183
- const IPV4_LOCALHOST = _encode(ipv4, "127.0.0.1");
184
- const IPV6_LOCALHOST = _encode(ipv6, "::1");
185
- const IPV6_LINK_LOCAL_BROADCAST = _encode(ipv6,"ff02::1");
186
- const IPV6_ROUTER_BROADCAST = _encode(ipv6,"ff02::2");
183
+ export const IPV4_LOCALHOST = _encode(ipv4, "127.0.0.1");
184
+ export const IPV6_LOCALHOST = _encode(ipv6, "::1");
185
+ export const IPV6_LINK_LOCAL_BROADCAST = _encode(ipv6,"ff02::1");
186
+ export const IPV6_ROUTER_BROADCAST = _encode(ipv6,"ff02::2");
package/types/utils.d.mts CHANGED
@@ -25,3 +25,7 @@ export function normalizeCIDR(address: any): {
25
25
  cidr: string;
26
26
  };
27
27
  export function hasWellKnownSubnet(address: any): any;
28
+ export const IPV4_LOCALHOST: bigint;
29
+ export const IPV6_LOCALHOST: bigint;
30
+ export const IPV6_LINK_LOCAL_BROADCAST: bigint;
31
+ export const IPV6_ROUTER_BROADCAST: bigint;