rdapify 0.1.2 → 0.1.6
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/CHANGELOG.md +60 -0
- package/README.md +11 -9
- package/dist/application/client/RDAPClient.d.ts +13 -0
- package/dist/application/client/RDAPClient.d.ts.map +1 -1
- package/dist/application/client/RDAPClient.js +40 -1
- package/dist/application/client/RDAPClient.js.map +1 -1
- package/dist/application/deduplication/QueryDeduplicator.d.ts +20 -0
- package/dist/application/deduplication/QueryDeduplicator.d.ts.map +1 -0
- package/dist/application/deduplication/QueryDeduplicator.js +46 -0
- package/dist/application/deduplication/QueryDeduplicator.js.map +1 -0
- package/dist/application/hooks/MiddlewareHooks.d.ts +48 -0
- package/dist/application/hooks/MiddlewareHooks.d.ts.map +1 -0
- package/dist/application/hooks/MiddlewareHooks.js +46 -0
- package/dist/application/hooks/MiddlewareHooks.js.map +1 -0
- package/dist/application/services/QueryOrchestrator.d.ts +11 -0
- package/dist/application/services/QueryOrchestrator.d.ts.map +1 -1
- package/dist/application/services/QueryOrchestrator.js +254 -38
- package/dist/application/services/QueryOrchestrator.js.map +1 -1
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +227 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/cache/CacheManager.d.ts.map +1 -1
- package/dist/infrastructure/cache/CacheManager.js +8 -1
- package/dist/infrastructure/cache/CacheManager.js.map +1 -1
- package/dist/infrastructure/cache/RedisCache.d.ts +35 -0
- package/dist/infrastructure/cache/RedisCache.d.ts.map +1 -0
- package/dist/infrastructure/cache/RedisCache.js +75 -0
- package/dist/infrastructure/cache/RedisCache.js.map +1 -0
- package/dist/infrastructure/cache/index.d.ts +1 -0
- package/dist/infrastructure/cache/index.d.ts.map +1 -1
- package/dist/infrastructure/cache/index.js +3 -1
- package/dist/infrastructure/cache/index.js.map +1 -1
- package/dist/infrastructure/http/BootstrapDiscovery.d.ts.map +1 -1
- package/dist/infrastructure/http/BootstrapDiscovery.js +5 -2
- package/dist/infrastructure/http/BootstrapDiscovery.js.map +1 -1
- package/dist/infrastructure/http/ConnectionPool.d.ts +1 -1
- package/dist/infrastructure/http/ConnectionPool.d.ts.map +1 -1
- package/dist/infrastructure/http/ConnectionPool.js +9 -4
- package/dist/infrastructure/http/ConnectionPool.js.map +1 -1
- package/dist/infrastructure/http/Fetcher.d.ts +2 -0
- package/dist/infrastructure/http/Fetcher.d.ts.map +1 -1
- package/dist/infrastructure/http/Fetcher.js +12 -4
- package/dist/infrastructure/http/Fetcher.js.map +1 -1
- package/dist/infrastructure/http/Normalizer.d.ts.map +1 -1
- package/dist/infrastructure/http/Normalizer.js +16 -9
- package/dist/infrastructure/http/Normalizer.js.map +1 -1
- package/dist/infrastructure/logging/AuditLogger.d.ts +114 -0
- package/dist/infrastructure/logging/AuditLogger.d.ts.map +1 -0
- package/dist/infrastructure/logging/AuditLogger.js +195 -0
- package/dist/infrastructure/logging/AuditLogger.js.map +1 -0
- package/dist/infrastructure/logging/Logger.d.ts.map +1 -1
- package/dist/infrastructure/logging/Logger.js +29 -5
- package/dist/infrastructure/logging/Logger.js.map +1 -1
- package/dist/infrastructure/monitoring/MetricsCollector.d.ts +37 -0
- package/dist/infrastructure/monitoring/MetricsCollector.d.ts.map +1 -1
- package/dist/infrastructure/monitoring/MetricsCollector.js +186 -6
- package/dist/infrastructure/monitoring/MetricsCollector.js.map +1 -1
- package/dist/infrastructure/security/PIIRedactor.d.ts.map +1 -1
- package/dist/infrastructure/security/PIIRedactor.js +9 -2
- package/dist/infrastructure/security/PIIRedactor.js.map +1 -1
- package/dist/infrastructure/security/SSRFProtection.d.ts.map +1 -1
- package/dist/infrastructure/security/SSRFProtection.js +7 -4
- package/dist/infrastructure/security/SSRFProtection.js.map +1 -1
- package/dist/infrastructure/validation/ResponseValidator.d.ts +38 -0
- package/dist/infrastructure/validation/ResponseValidator.d.ts.map +1 -0
- package/dist/infrastructure/validation/ResponseValidator.js +200 -0
- package/dist/infrastructure/validation/ResponseValidator.js.map +1 -0
- package/dist/shared/constants/rdap.constants.d.ts +1 -1
- package/dist/shared/constants/rdap.constants.d.ts.map +1 -1
- package/dist/shared/constants/rdap.constants.js +1 -1
- package/dist/shared/constants/rdap.constants.js.map +1 -1
- package/dist/shared/errors/base.error.d.ts +8 -0
- package/dist/shared/errors/base.error.d.ts.map +1 -1
- package/dist/shared/errors/base.error.js +30 -1
- package/dist/shared/errors/base.error.js.map +1 -1
- package/dist/shared/types/options.d.ts +21 -2
- package/dist/shared/types/options.d.ts.map +1 -1
- package/dist/shared/types/options.js +6 -1
- package/dist/shared/types/options.js.map +1 -1
- package/dist/shared/utils/helpers/index.d.ts +1 -1
- package/dist/shared/utils/helpers/index.d.ts.map +1 -1
- package/dist/shared/utils/helpers/index.js +2 -1
- package/dist/shared/utils/helpers/index.js.map +1 -1
- package/dist/shared/utils/helpers/runtime.d.ts +1 -0
- package/dist/shared/utils/helpers/runtime.d.ts.map +1 -1
- package/dist/shared/utils/helpers/runtime.js +11 -1
- package/dist/shared/utils/helpers/runtime.js.map +1 -1
- package/dist/shared/utils/validators/config-validation.d.ts +3 -0
- package/dist/shared/utils/validators/config-validation.d.ts.map +1 -0
- package/dist/shared/utils/validators/config-validation.js +97 -0
- package/dist/shared/utils/validators/config-validation.js.map +1 -0
- package/dist/shared/utils/validators/index.d.ts +1 -0
- package/dist/shared/utils/validators/index.d.ts.map +1 -1
- package/dist/shared/utils/validators/index.js +3 -1
- package/dist/shared/utils/validators/index.js.map +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateClientOptions = validateClientOptions;
|
|
4
|
+
const errors_1 = require("../../errors");
|
|
5
|
+
function validateClientOptions(options) {
|
|
6
|
+
if (options.timeout !== undefined) {
|
|
7
|
+
if (typeof options.timeout === 'number') {
|
|
8
|
+
if (options.timeout < 100 || options.timeout > 60000) {
|
|
9
|
+
throw new errors_1.ValidationError('Timeout must be between 100ms and 60s', {
|
|
10
|
+
field: 'timeout',
|
|
11
|
+
value: options.timeout,
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
else if (typeof options.timeout === 'object') {
|
|
16
|
+
const { connect, request, dns } = options.timeout;
|
|
17
|
+
if (connect !== undefined && (connect < 100 || connect > 60000)) {
|
|
18
|
+
throw new errors_1.ValidationError('Connect timeout must be between 100ms and 60s', {
|
|
19
|
+
field: 'timeout.connect',
|
|
20
|
+
value: connect,
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
if (request !== undefined && (request < 100 || request > 60000)) {
|
|
24
|
+
throw new errors_1.ValidationError('Request timeout must be between 100ms and 60s', {
|
|
25
|
+
field: 'timeout.request',
|
|
26
|
+
value: request,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
if (dns !== undefined && (dns < 100 || dns > 60000)) {
|
|
30
|
+
throw new errors_1.ValidationError('DNS timeout must be between 100ms and 60s', {
|
|
31
|
+
field: 'timeout.dns',
|
|
32
|
+
value: dns,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if (options.maxRedirects !== undefined) {
|
|
38
|
+
if (options.maxRedirects < 0 || options.maxRedirects > 100) {
|
|
39
|
+
throw new errors_1.ValidationError('maxRedirects must be between 0 and 100', {
|
|
40
|
+
field: 'maxRedirects',
|
|
41
|
+
value: options.maxRedirects,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
if (options.cache !== undefined && typeof options.cache === 'object') {
|
|
46
|
+
const { ttl, maxSize } = options.cache;
|
|
47
|
+
if (ttl !== undefined && (ttl < 1 || ttl > 86400)) {
|
|
48
|
+
throw new errors_1.ValidationError('Cache TTL must be between 1 and 86400 seconds', {
|
|
49
|
+
field: 'cache.ttl',
|
|
50
|
+
value: ttl,
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
if (maxSize !== undefined && (maxSize < 1 || maxSize > 100000)) {
|
|
54
|
+
throw new errors_1.ValidationError('Cache maxSize must be between 1 and 100000', {
|
|
55
|
+
field: 'cache.maxSize',
|
|
56
|
+
value: maxSize,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
if (options.retry !== undefined && typeof options.retry === 'object') {
|
|
61
|
+
const { maxAttempts, initialDelay, maxDelay } = options.retry;
|
|
62
|
+
if (maxAttempts !== undefined && (maxAttempts < 1 || maxAttempts > 10)) {
|
|
63
|
+
throw new errors_1.ValidationError('maxAttempts must be between 1 and 10', {
|
|
64
|
+
field: 'retry.maxAttempts',
|
|
65
|
+
value: maxAttempts,
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
if (initialDelay !== undefined && (initialDelay < 100 || initialDelay > 10000)) {
|
|
69
|
+
throw new errors_1.ValidationError('initialDelay must be between 100ms and 10s', {
|
|
70
|
+
field: 'retry.initialDelay',
|
|
71
|
+
value: initialDelay,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
if (maxDelay !== undefined && (maxDelay < 1000 || maxDelay > 60000)) {
|
|
75
|
+
throw new errors_1.ValidationError('maxDelay must be between 1s and 60s', {
|
|
76
|
+
field: 'retry.maxDelay',
|
|
77
|
+
value: maxDelay,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (options.rateLimit !== undefined && typeof options.rateLimit === 'object') {
|
|
82
|
+
const { maxRequests, windowMs } = options.rateLimit;
|
|
83
|
+
if (maxRequests !== undefined && (maxRequests < 1 || maxRequests > 10000)) {
|
|
84
|
+
throw new errors_1.ValidationError('maxRequests must be between 1 and 10000', {
|
|
85
|
+
field: 'rateLimit.maxRequests',
|
|
86
|
+
value: maxRequests,
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
if (windowMs !== undefined && (windowMs < 1000 || windowMs > 3600000)) {
|
|
90
|
+
throw new errors_1.ValidationError('windowMs must be between 1s and 1 hour', {
|
|
91
|
+
field: 'rateLimit.windowMs',
|
|
92
|
+
value: windowMs,
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=config-validation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-validation.js","sourceRoot":"","sources":["../../../../src/shared/utils/validators/config-validation.ts"],"names":[],"mappings":";;AAWA,sDA6GC;AAlHD,yCAA+C;AAK/C,SAAgB,qBAAqB,CAAC,OAA0B;IAE9D,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE,CAAC;QAClC,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;YACxC,IAAI,OAAO,CAAC,OAAO,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,GAAG,KAAK,EAAE,CAAC;gBACrD,MAAM,IAAI,wBAAe,CAAC,uCAAuC,EAAE;oBACjE,KAAK,EAAE,SAAS;oBAChB,KAAK,EAAE,OAAO,CAAC,OAAO;iBACvB,CAAC,CAAC;YACL,CAAC;QACH,CAAC;aAAM,IAAI,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;YAC/C,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC;YAElD,IAAI,OAAO,KAAK,SAAS,IAAI,CAAC,OAAO,GAAG,GAAG,IAAI,OAAO,GAAG,KAAK,CAAC,EAAE,CAAC;gBAChE,MAAM,IAAI,wBAAe,CAAC,+CAA+C,EAAE;oBACzE,KAAK,EAAE,iBAAiB;oBACxB,KAAK,EAAE,OAAO;iBACf,CAAC,CAAC;YACL,CAAC;YAED,IAAI,OA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,IAAI,WAAW,KAAK,SAAS,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,WAAW,GAAG,KAAK,CAAC,EAAE,CAAC;YAC1E,MAAM,IAAI,wBAAe,CAAC,yCAAyC,EAAE;gBACnE,KAAK,EAAE,uBAAuB;gBAC9B,KAAK,EAAE,WAAW;aACnB,CAAC,CAAC;QACL,CAAC;QAED,IAAI,QAAQ,KAAK,SAAS,IAAI,CAAC,QAAQ,GAAG,IAAI,IAAI,QAAQ,GAAG,OAAO,CAAC,EAAE,CAAC;YACtE,MAAM,IAAI,wBAAe,CAAC,wCAAwC,EAAE;gBAClE,KAAK,EAAE,oBAAoB;gBAC3B,KAAK,EAAE,QAAQ;aAChB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -2,4 +2,5 @@ export { validateDomain, normalizeDomain } from './domain';
|
|
|
2
2
|
export { validateIP, validateIPv4, validateIPv6, normalizeIP } from './ip';
|
|
3
3
|
export { validateASN, normalizeASN } from './asn';
|
|
4
4
|
export { isPrivateIP, isLocalhost, isLinkLocal } from './network';
|
|
5
|
+
export { validateClientOptions } from './config-validation';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/utils/validators/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/utils/validators/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGlE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isLinkLocal = exports.isLocalhost = exports.isPrivateIP = exports.normalizeASN = exports.validateASN = exports.normalizeIP = exports.validateIPv6 = exports.validateIPv4 = exports.validateIP = exports.normalizeDomain = exports.validateDomain = void 0;
|
|
3
|
+
exports.validateClientOptions = exports.isLinkLocal = exports.isLocalhost = exports.isPrivateIP = exports.normalizeASN = exports.validateASN = exports.normalizeIP = exports.validateIPv6 = exports.validateIPv4 = exports.validateIP = exports.normalizeDomain = exports.validateDomain = void 0;
|
|
4
4
|
var domain_1 = require("./domain");
|
|
5
5
|
Object.defineProperty(exports, "validateDomain", { enumerable: true, get: function () { return domain_1.validateDomain; } });
|
|
6
6
|
Object.defineProperty(exports, "normalizeDomain", { enumerable: true, get: function () { return domain_1.normalizeDomain; } });
|
|
@@ -16,4 +16,6 @@ var network_1 = require("./network");
|
|
|
16
16
|
Object.defineProperty(exports, "isPrivateIP", { enumerable: true, get: function () { return network_1.isPrivateIP; } });
|
|
17
17
|
Object.defineProperty(exports, "isLocalhost", { enumerable: true, get: function () { return network_1.isLocalhost; } });
|
|
18
18
|
Object.defineProperty(exports, "isLinkLocal", { enumerable: true, get: function () { return network_1.isLinkLocal; } });
|
|
19
|
+
var config_validation_1 = require("./config-validation");
|
|
20
|
+
Object.defineProperty(exports, "validateClientOptions", { enumerable: true, get: function () { return config_validation_1.validateClientOptions; } });
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/utils/validators/index.ts"],"names":[],"mappings":";;;AAKA,mCAA2D;AAAlD,wGAAA,cAAc,OAAA;AAAE,yGAAA,eAAe,OAAA;AACxC,2BAA2E;AAAlE,gGAAA,UAAU,OAAA;AAAE,kGAAA,YAAY,OAAA;AAAE,kGAAA,YAAY,OAAA;AAAE,iGAAA,WAAW,OAAA;AAC5D,6BAAkD;AAAzC,kGAAA,WAAW,OAAA;AAAE,mGAAA,YAAY,OAAA;AAClC,qCAAkE;AAAzD,sGAAA,WAAW,OAAA;AAAE,sGAAA,WAAW,OAAA;AAAE,sGAAA,WAAW,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared/utils/validators/index.ts"],"names":[],"mappings":";;;AAKA,mCAA2D;AAAlD,wGAAA,cAAc,OAAA;AAAE,yGAAA,eAAe,OAAA;AACxC,2BAA2E;AAAlE,gGAAA,UAAU,OAAA;AAAE,kGAAA,YAAY,OAAA;AAAE,kGAAA,YAAY,OAAA;AAAE,iGAAA,WAAW,OAAA;AAC5D,6BAAkD;AAAzC,kGAAA,WAAW,OAAA;AAAE,mGAAA,YAAY,OAAA;AAClC,qCAAkE;AAAzD,sGAAA,WAAW,OAAA;AAAE,sGAAA,WAAW,OAAA;AAAE,sGAAA,WAAW,OAAA;AAG9C,yDAA4D;AAAnD,0HAAA,qBAAqB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rdapify",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Unified, secure, high-performance RDAP client for enterprise applications with built-in privacy controls",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"import": "./dist/shared/utils/validators/index.js"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
+
"bin": {
|
|
30
|
+
"rdapify": "./dist/cli/index.js"
|
|
31
|
+
},
|
|
29
32
|
"sideEffects": false,
|
|
30
33
|
"files": [
|
|
31
34
|
"dist",
|