apple-mail-mcp 2.19.21 → 2.19.22
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/build/cli.js +36 -22
- package/build/index.js +36 -22
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -45149,9 +45149,9 @@ var require_util2 = __commonJS({
|
|
|
45149
45149
|
}
|
|
45150
45150
|
});
|
|
45151
45151
|
|
|
45152
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
45152
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/address-error.js
|
|
45153
45153
|
var require_address_error = __commonJS({
|
|
45154
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
45154
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/address-error.js"(exports) {
|
|
45155
45155
|
"use strict";
|
|
45156
45156
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45157
45157
|
exports.AddressError = void 0;
|
|
@@ -45166,9 +45166,9 @@ var require_address_error = __commonJS({
|
|
|
45166
45166
|
}
|
|
45167
45167
|
});
|
|
45168
45168
|
|
|
45169
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
45169
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/common.js
|
|
45170
45170
|
var require_common = __commonJS({
|
|
45171
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
45171
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/common.js"(exports) {
|
|
45172
45172
|
"use strict";
|
|
45173
45173
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45174
45174
|
exports.isInSubnet = isInSubnet;
|
|
@@ -45189,6 +45189,9 @@ var require_common = __commonJS({
|
|
|
45189
45189
|
return isHostInSubnet.call(this, address);
|
|
45190
45190
|
}
|
|
45191
45191
|
function isHostInSubnet(address) {
|
|
45192
|
+
if (this.binaryZeroPad().length !== address.binaryZeroPad().length) {
|
|
45193
|
+
return false;
|
|
45194
|
+
}
|
|
45192
45195
|
return this.mask(address.subnetMask) === address.mask();
|
|
45193
45196
|
}
|
|
45194
45197
|
function isGloballyReachable(entries) {
|
|
@@ -45266,9 +45269,9 @@ var require_common = __commonJS({
|
|
|
45266
45269
|
}
|
|
45267
45270
|
});
|
|
45268
45271
|
|
|
45269
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
45272
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v4/constants.js
|
|
45270
45273
|
var require_constants3 = __commonJS({
|
|
45271
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
45274
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v4/constants.js"(exports) {
|
|
45272
45275
|
"use strict";
|
|
45273
45276
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45274
45277
|
exports.SPECIAL_PURPOSE = exports.RE_SUBNET_STRING = exports.RE_ADDRESS = exports.GROUPS = exports.BITS = void 0;
|
|
@@ -45307,9 +45310,9 @@ var require_constants3 = __commonJS({
|
|
|
45307
45310
|
}
|
|
45308
45311
|
});
|
|
45309
45312
|
|
|
45310
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
45313
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv4.js
|
|
45311
45314
|
var require_ipv4 = __commonJS({
|
|
45312
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
45315
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv4.js"(exports) {
|
|
45313
45316
|
"use strict";
|
|
45314
45317
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
45315
45318
|
if (k2 === void 0) k2 = k;
|
|
@@ -45367,6 +45370,10 @@ var require_ipv4 = __commonJS({
|
|
|
45367
45370
|
}
|
|
45368
45371
|
address = address.replace(constants.RE_SUBNET_STRING, "");
|
|
45369
45372
|
}
|
|
45373
|
+
const longest = constants.GROUPS * 4 - 1;
|
|
45374
|
+
if (address.length > longest) {
|
|
45375
|
+
throw new address_error_1.AddressError(`IPv4 addresses are at most ${longest} characters.`);
|
|
45376
|
+
}
|
|
45370
45377
|
this.addressMinusSuffix = address;
|
|
45371
45378
|
this.parsedAddress = this.parse(address);
|
|
45372
45379
|
}
|
|
@@ -45503,15 +45510,18 @@ var require_ipv4 = __commonJS({
|
|
|
45503
45510
|
return _Address4.fromHex(integer.toString(16).padStart(8, "0"));
|
|
45504
45511
|
}
|
|
45505
45512
|
/**
|
|
45506
|
-
* Return an address from in-addr.arpa form
|
|
45513
|
+
* Return an address from in-addr.arpa form: the four octets reversed, with
|
|
45514
|
+
* or without the `.in-addr.arpa` suffix and root dot, in any case. Throws
|
|
45515
|
+
* `AddressError` unless the reversed labels form a valid IPv4 address, so
|
|
45516
|
+
* `fromArpa(x.reverseForm())` round-trips {@link reverseForm}.
|
|
45507
45517
|
* @param {string} arpaFormAddress - an 'in-addr.arpa' form ipv4 address
|
|
45508
45518
|
* @returns {Adress4}
|
|
45509
45519
|
* @example
|
|
45510
|
-
* var address = Address4.fromArpa(42.2.0.192.in-addr.arpa.)
|
|
45520
|
+
* var address = Address4.fromArpa('42.2.0.192.in-addr.arpa.')
|
|
45511
45521
|
* address.correctForm(); // '192.0.2.42'
|
|
45512
45522
|
*/
|
|
45513
45523
|
static fromArpa(arpaFormAddress) {
|
|
45514
|
-
const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)
|
|
45524
|
+
const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)?\.?$/i, "");
|
|
45515
45525
|
const address = leader.split(".").reverse().join(".");
|
|
45516
45526
|
return new _Address4(address);
|
|
45517
45527
|
}
|
|
@@ -45865,9 +45875,9 @@ var require_ipv4 = __commonJS({
|
|
|
45865
45875
|
}
|
|
45866
45876
|
});
|
|
45867
45877
|
|
|
45868
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
45878
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/constants.js
|
|
45869
45879
|
var require_constants4 = __commonJS({
|
|
45870
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
45880
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/constants.js"(exports) {
|
|
45871
45881
|
"use strict";
|
|
45872
45882
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45873
45883
|
exports.SPECIAL_PURPOSE = exports.RE_URL_WITH_PORT = exports.RE_URL = exports.RE_ZONE_STRING = exports.RE_SUBNET_STRING = exports.RE_BAD_ADDRESS = exports.RE_BAD_CHARACTERS = exports.TYPES = exports.SCOPES = exports.GROUPS = exports.BITS = void 0;
|
|
@@ -45955,9 +45965,9 @@ var require_constants4 = __commonJS({
|
|
|
45955
45965
|
}
|
|
45956
45966
|
});
|
|
45957
45967
|
|
|
45958
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
45968
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/helpers.js
|
|
45959
45969
|
var require_helpers = __commonJS({
|
|
45960
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
45970
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/helpers.js"(exports) {
|
|
45961
45971
|
"use strict";
|
|
45962
45972
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45963
45973
|
exports.escapeHtml = escapeHtml;
|
|
@@ -45994,9 +46004,9 @@ var require_helpers = __commonJS({
|
|
|
45994
46004
|
}
|
|
45995
46005
|
});
|
|
45996
46006
|
|
|
45997
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
46007
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/regular-expressions.js
|
|
45998
46008
|
var require_regular_expressions = __commonJS({
|
|
45999
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
46009
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/regular-expressions.js"(exports) {
|
|
46000
46010
|
"use strict";
|
|
46001
46011
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
46002
46012
|
if (k2 === void 0) k2 = k;
|
|
@@ -46086,9 +46096,9 @@ var require_regular_expressions = __commonJS({
|
|
|
46086
46096
|
}
|
|
46087
46097
|
});
|
|
46088
46098
|
|
|
46089
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
46099
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv6.js
|
|
46090
46100
|
var require_ipv6 = __commonJS({
|
|
46091
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
46101
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv6.js"(exports) {
|
|
46092
46102
|
"use strict";
|
|
46093
46103
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
46094
46104
|
if (k2 === void 0) k2 = k;
|
|
@@ -46199,6 +46209,10 @@ var require_ipv6 = __commonJS({
|
|
|
46199
46209
|
this.zone = zone[0];
|
|
46200
46210
|
address = address.replace(constants6.RE_ZONE_STRING, "");
|
|
46201
46211
|
}
|
|
46212
|
+
const longest = this.groups * 5 + 5;
|
|
46213
|
+
if (address.length > longest) {
|
|
46214
|
+
throw new address_error_1.AddressError(`IPv6 addresses are at most ${longest} characters.`);
|
|
46215
|
+
}
|
|
46202
46216
|
this.addressMinusSuffix = address;
|
|
46203
46217
|
this.parsedAddress = this.parse(this.addressMinusSuffix);
|
|
46204
46218
|
}
|
|
@@ -46395,7 +46409,7 @@ var require_ipv6 = __commonJS({
|
|
|
46395
46409
|
* Address6.fromArpa('8.b.d.0.1.0.0.2.ip6.arpa.').networkForm(); // '2001:db8::/32'
|
|
46396
46410
|
*/
|
|
46397
46411
|
static fromArpa(arpaFormAddress) {
|
|
46398
|
-
const nibbles = arpaFormAddress.replace(/(\.ip6\.arpa)
|
|
46412
|
+
const nibbles = arpaFormAddress.replace(/(\.ip6\.arpa)?\.?$/i, "");
|
|
46399
46413
|
if (!/^[0-9a-f](\.[0-9a-f]){0,31}$/i.test(nibbles)) {
|
|
46400
46414
|
throw new address_error_1.AddressError("Invalid 'ip6.arpa' form.");
|
|
46401
46415
|
}
|
|
@@ -47415,9 +47429,9 @@ var require_ipv6 = __commonJS({
|
|
|
47415
47429
|
}
|
|
47416
47430
|
});
|
|
47417
47431
|
|
|
47418
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
47432
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ip-address.js
|
|
47419
47433
|
var require_ip_address = __commonJS({
|
|
47420
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
47434
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ip-address.js"(exports) {
|
|
47421
47435
|
"use strict";
|
|
47422
47436
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
47423
47437
|
if (k2 === void 0) k2 = k;
|
package/build/index.js
CHANGED
|
@@ -52883,9 +52883,9 @@ var require_util3 = __commonJS({
|
|
|
52883
52883
|
}
|
|
52884
52884
|
});
|
|
52885
52885
|
|
|
52886
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
52886
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/address-error.js
|
|
52887
52887
|
var require_address_error = __commonJS({
|
|
52888
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
52888
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/address-error.js"(exports) {
|
|
52889
52889
|
"use strict";
|
|
52890
52890
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52891
52891
|
exports.AddressError = void 0;
|
|
@@ -52900,9 +52900,9 @@ var require_address_error = __commonJS({
|
|
|
52900
52900
|
}
|
|
52901
52901
|
});
|
|
52902
52902
|
|
|
52903
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
52903
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/common.js
|
|
52904
52904
|
var require_common = __commonJS({
|
|
52905
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
52905
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/common.js"(exports) {
|
|
52906
52906
|
"use strict";
|
|
52907
52907
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
52908
52908
|
exports.isInSubnet = isInSubnet;
|
|
@@ -52923,6 +52923,9 @@ var require_common = __commonJS({
|
|
|
52923
52923
|
return isHostInSubnet.call(this, address);
|
|
52924
52924
|
}
|
|
52925
52925
|
function isHostInSubnet(address) {
|
|
52926
|
+
if (this.binaryZeroPad().length !== address.binaryZeroPad().length) {
|
|
52927
|
+
return false;
|
|
52928
|
+
}
|
|
52926
52929
|
return this.mask(address.subnetMask) === address.mask();
|
|
52927
52930
|
}
|
|
52928
52931
|
function isGloballyReachable(entries) {
|
|
@@ -53000,9 +53003,9 @@ var require_common = __commonJS({
|
|
|
53000
53003
|
}
|
|
53001
53004
|
});
|
|
53002
53005
|
|
|
53003
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
53006
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v4/constants.js
|
|
53004
53007
|
var require_constants3 = __commonJS({
|
|
53005
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
53008
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v4/constants.js"(exports) {
|
|
53006
53009
|
"use strict";
|
|
53007
53010
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53008
53011
|
exports.SPECIAL_PURPOSE = exports.RE_SUBNET_STRING = exports.RE_ADDRESS = exports.GROUPS = exports.BITS = void 0;
|
|
@@ -53041,9 +53044,9 @@ var require_constants3 = __commonJS({
|
|
|
53041
53044
|
}
|
|
53042
53045
|
});
|
|
53043
53046
|
|
|
53044
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
53047
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv4.js
|
|
53045
53048
|
var require_ipv4 = __commonJS({
|
|
53046
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
53049
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv4.js"(exports) {
|
|
53047
53050
|
"use strict";
|
|
53048
53051
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
53049
53052
|
if (k2 === void 0) k2 = k;
|
|
@@ -53101,6 +53104,10 @@ var require_ipv4 = __commonJS({
|
|
|
53101
53104
|
}
|
|
53102
53105
|
address = address.replace(constants.RE_SUBNET_STRING, "");
|
|
53103
53106
|
}
|
|
53107
|
+
const longest = constants.GROUPS * 4 - 1;
|
|
53108
|
+
if (address.length > longest) {
|
|
53109
|
+
throw new address_error_1.AddressError(`IPv4 addresses are at most ${longest} characters.`);
|
|
53110
|
+
}
|
|
53104
53111
|
this.addressMinusSuffix = address;
|
|
53105
53112
|
this.parsedAddress = this.parse(address);
|
|
53106
53113
|
}
|
|
@@ -53237,15 +53244,18 @@ var require_ipv4 = __commonJS({
|
|
|
53237
53244
|
return _Address4.fromHex(integer2.toString(16).padStart(8, "0"));
|
|
53238
53245
|
}
|
|
53239
53246
|
/**
|
|
53240
|
-
* Return an address from in-addr.arpa form
|
|
53247
|
+
* Return an address from in-addr.arpa form: the four octets reversed, with
|
|
53248
|
+
* or without the `.in-addr.arpa` suffix and root dot, in any case. Throws
|
|
53249
|
+
* `AddressError` unless the reversed labels form a valid IPv4 address, so
|
|
53250
|
+
* `fromArpa(x.reverseForm())` round-trips {@link reverseForm}.
|
|
53241
53251
|
* @param {string} arpaFormAddress - an 'in-addr.arpa' form ipv4 address
|
|
53242
53252
|
* @returns {Adress4}
|
|
53243
53253
|
* @example
|
|
53244
|
-
* var address = Address4.fromArpa(42.2.0.192.in-addr.arpa.)
|
|
53254
|
+
* var address = Address4.fromArpa('42.2.0.192.in-addr.arpa.')
|
|
53245
53255
|
* address.correctForm(); // '192.0.2.42'
|
|
53246
53256
|
*/
|
|
53247
53257
|
static fromArpa(arpaFormAddress) {
|
|
53248
|
-
const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)
|
|
53258
|
+
const leader = arpaFormAddress.replace(/(\.in-addr\.arpa)?\.?$/i, "");
|
|
53249
53259
|
const address = leader.split(".").reverse().join(".");
|
|
53250
53260
|
return new _Address4(address);
|
|
53251
53261
|
}
|
|
@@ -53599,9 +53609,9 @@ var require_ipv4 = __commonJS({
|
|
|
53599
53609
|
}
|
|
53600
53610
|
});
|
|
53601
53611
|
|
|
53602
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
53612
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/constants.js
|
|
53603
53613
|
var require_constants4 = __commonJS({
|
|
53604
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
53614
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/constants.js"(exports) {
|
|
53605
53615
|
"use strict";
|
|
53606
53616
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53607
53617
|
exports.SPECIAL_PURPOSE = exports.RE_URL_WITH_PORT = exports.RE_URL = exports.RE_ZONE_STRING = exports.RE_SUBNET_STRING = exports.RE_BAD_ADDRESS = exports.RE_BAD_CHARACTERS = exports.TYPES = exports.SCOPES = exports.GROUPS = exports.BITS = void 0;
|
|
@@ -53689,9 +53699,9 @@ var require_constants4 = __commonJS({
|
|
|
53689
53699
|
}
|
|
53690
53700
|
});
|
|
53691
53701
|
|
|
53692
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
53702
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/helpers.js
|
|
53693
53703
|
var require_helpers = __commonJS({
|
|
53694
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
53704
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/helpers.js"(exports) {
|
|
53695
53705
|
"use strict";
|
|
53696
53706
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53697
53707
|
exports.escapeHtml = escapeHtml;
|
|
@@ -53728,9 +53738,9 @@ var require_helpers = __commonJS({
|
|
|
53728
53738
|
}
|
|
53729
53739
|
});
|
|
53730
53740
|
|
|
53731
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
53741
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/regular-expressions.js
|
|
53732
53742
|
var require_regular_expressions = __commonJS({
|
|
53733
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
53743
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/v6/regular-expressions.js"(exports) {
|
|
53734
53744
|
"use strict";
|
|
53735
53745
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
53736
53746
|
if (k2 === void 0) k2 = k;
|
|
@@ -53820,9 +53830,9 @@ var require_regular_expressions = __commonJS({
|
|
|
53820
53830
|
}
|
|
53821
53831
|
});
|
|
53822
53832
|
|
|
53823
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
53833
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv6.js
|
|
53824
53834
|
var require_ipv6 = __commonJS({
|
|
53825
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
53835
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ipv6.js"(exports) {
|
|
53826
53836
|
"use strict";
|
|
53827
53837
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
53828
53838
|
if (k2 === void 0) k2 = k;
|
|
@@ -53933,6 +53943,10 @@ var require_ipv6 = __commonJS({
|
|
|
53933
53943
|
this.zone = zone[0];
|
|
53934
53944
|
address = address.replace(constants6.RE_ZONE_STRING, "");
|
|
53935
53945
|
}
|
|
53946
|
+
const longest = this.groups * 5 + 5;
|
|
53947
|
+
if (address.length > longest) {
|
|
53948
|
+
throw new address_error_1.AddressError(`IPv6 addresses are at most ${longest} characters.`);
|
|
53949
|
+
}
|
|
53936
53950
|
this.addressMinusSuffix = address;
|
|
53937
53951
|
this.parsedAddress = this.parse(this.addressMinusSuffix);
|
|
53938
53952
|
}
|
|
@@ -54129,7 +54143,7 @@ var require_ipv6 = __commonJS({
|
|
|
54129
54143
|
* Address6.fromArpa('8.b.d.0.1.0.0.2.ip6.arpa.').networkForm(); // '2001:db8::/32'
|
|
54130
54144
|
*/
|
|
54131
54145
|
static fromArpa(arpaFormAddress) {
|
|
54132
|
-
const nibbles = arpaFormAddress.replace(/(\.ip6\.arpa)
|
|
54146
|
+
const nibbles = arpaFormAddress.replace(/(\.ip6\.arpa)?\.?$/i, "");
|
|
54133
54147
|
if (!/^[0-9a-f](\.[0-9a-f]){0,31}$/i.test(nibbles)) {
|
|
54134
54148
|
throw new address_error_1.AddressError("Invalid 'ip6.arpa' form.");
|
|
54135
54149
|
}
|
|
@@ -55149,9 +55163,9 @@ var require_ipv6 = __commonJS({
|
|
|
55149
55163
|
}
|
|
55150
55164
|
});
|
|
55151
55165
|
|
|
55152
|
-
// node_modules/.pnpm/ip-address@10.7.
|
|
55166
|
+
// node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ip-address.js
|
|
55153
55167
|
var require_ip_address = __commonJS({
|
|
55154
|
-
"node_modules/.pnpm/ip-address@10.7.
|
|
55168
|
+
"node_modules/.pnpm/ip-address@10.7.2/node_modules/ip-address/dist/ip-address.js"(exports) {
|
|
55155
55169
|
"use strict";
|
|
55156
55170
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
55157
55171
|
if (k2 === void 0) k2 = k;
|
package/package.json
CHANGED