mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-04 05:50:50 +00:00
nhj
more
This commit is contained in:
14
unified-ai-platform/node_modules/ip-address/dist/address-error.js
generated
vendored
Normal file
14
unified-ai-platform/node_modules/ip-address/dist/address-error.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AddressError = void 0;
|
||||
class AddressError extends Error {
|
||||
constructor(message, parseMessage) {
|
||||
super(message);
|
||||
this.name = 'AddressError';
|
||||
if (parseMessage !== null) {
|
||||
this.parseMessage = parseMessage;
|
||||
}
|
||||
}
|
||||
}
|
||||
exports.AddressError = AddressError;
|
||||
//# sourceMappingURL=address-error.js.map
|
||||
26
unified-ai-platform/node_modules/ip-address/dist/common.js
generated
vendored
Normal file
26
unified-ai-platform/node_modules/ip-address/dist/common.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.isCorrect = exports.isInSubnet = void 0;
|
||||
function isInSubnet(address) {
|
||||
if (this.subnetMask < address.subnetMask) {
|
||||
return false;
|
||||
}
|
||||
if (this.mask(address.subnetMask) === address.mask()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
exports.isInSubnet = isInSubnet;
|
||||
function isCorrect(defaultBits) {
|
||||
return function () {
|
||||
if (this.addressMinusSuffix !== this.correctForm()) {
|
||||
return false;
|
||||
}
|
||||
if (this.subnetMask === defaultBits && !this.parsedSubnet) {
|
||||
return true;
|
||||
}
|
||||
return this.parsedSubnet === String(this.subnetMask);
|
||||
};
|
||||
}
|
||||
exports.isCorrect = isCorrect;
|
||||
//# sourceMappingURL=common.js.map
|
||||
0
unified-ai-platform/node_modules/ip-address/dist/v4/constants.js
generated
vendored
Normal file
0
unified-ai-platform/node_modules/ip-address/dist/v4/constants.js
generated
vendored
Normal file
Reference in New Issue
Block a user