amazon-route-53-dns-zone-file
Version:
Makes DNS Zone File easy. Parses and validates BIND zone files and can be extended for custom features. Functionality is modular. Features are made open for extension and closed for runtime mutation. Written in TypeScript.
28 lines • 2.21 kB
JavaScript
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var ParserInvalidArgumentsError = /** @class */ (function (_super) {
__extends(ParserInvalidArgumentsError, _super);
function ParserInvalidArgumentsError(type, actual, expected) {
var _this = _super.call(this, '') || this;
_this.type = type;
_this.actual = actual;
_this.expected = expected;
return _this;
}
return ParserInvalidArgumentsError;
}(TypeError));
export { ParserInvalidArgumentsError };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyc2luZ19lcnJvcl9pbnZhbGlkX2FyZ3VtZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9lcnJvcnMvcGFyc2luZ19lcnJvcl9pbnZhbGlkX2FyZ3VtZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFFQTtJQUFpRCwrQ0FBUztJQUN4RCxxQ0FDUyxJQUFzQyxFQUN0QyxNQUFjLEVBQ2QsUUFBeUI7UUFIbEMsWUFLRSxrQkFBTSxFQUFFLENBQUMsU0FDVjtRQUxRLFVBQUksR0FBSixJQUFJLENBQWtDO1FBQ3RDLFlBQU0sR0FBTixNQUFNLENBQVE7UUFDZCxjQUFRLEdBQVIsUUFBUSxDQUFpQjs7SUFHbEMsQ0FBQztJQUNILGtDQUFDO0FBQUQsQ0FBQyxBQVJELENBQWlELFNBQVMsR0FRekQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbnB1dFR5cGluZ3MgfSBmcm9tICcuLi9wYXJzZXIvdHlwZXNfcGFyc2VyJztcblxuZXhwb3J0IGNsYXNzIFBhcnNlckludmFsaWRBcmd1bWVudHNFcnJvciBleHRlbmRzIFR5cGVFcnJvciB7XG4gIGNvbnN0cnVjdG9yKFxuICAgIHB1YmxpYyB0eXBlOiBJbnB1dFR5cGluZ3MuU3VwcG9ydGVkUmVjb3JkVHlwZSxcbiAgICBwdWJsaWMgYWN0dWFsOiBudW1iZXIsXG4gICAgcHVibGljIGV4cGVjdGVkOiBzdHJpbmcgfCBudW1iZXJcbiAgKSB7XG4gICAgc3VwZXIoJycpO1xuICB9XG59XG4iXX0=