Comparing version 1.4.2 to 1.4.3
@@ -41,2 +41,3 @@ export declare enum FormatViolation { | ||
export declare class RequiredPartTypeMissing extends Error { | ||
constructor(msg: string); | ||
} |
@@ -51,2 +51,3 @@ "use strict"; | ||
_this.actual = actual; | ||
Object.setPrototypeOf(_this, FormatException.prototype); | ||
return _this; | ||
@@ -62,2 +63,3 @@ } | ||
_this.actual = actual; | ||
Object.setPrototypeOf(_this, UnsupportedCountryException.prototype); | ||
return _this; | ||
@@ -74,2 +76,3 @@ } | ||
_this.actual = actual; | ||
Object.setPrototypeOf(_this, InvalidCheckDigitException.prototype); | ||
return _this; | ||
@@ -82,4 +85,6 @@ } | ||
__extends(RequiredPartTypeMissing, _super); | ||
function RequiredPartTypeMissing() { | ||
return _super !== null && _super.apply(this, arguments) || this; | ||
function RequiredPartTypeMissing(msg) { | ||
var _this = _super.call(this, msg) || this; | ||
Object.setPrototypeOf(_this, RequiredPartTypeMissing.prototype); | ||
return _this; | ||
} | ||
@@ -89,2 +94,2 @@ return RequiredPartTypeMissing; | ||
exports.RequiredPartTypeMissing = RequiredPartTypeMissing; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhjZXB0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9leGNlcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLElBQVksZUFnQ1g7QUFoQ0QsV0FBWSxlQUFlO0lBQ3pCLDJEQUFPLENBQUE7SUFFUCw2REFBUSxDQUFBO0lBQ1IsK0RBQVMsQ0FBQTtJQUNULGlGQUFrQixDQUFBO0lBQ2xCLG1HQUEyQixDQUFBO0lBRzNCLGlIQUFrQyxDQUFBO0lBQ2xDLHFIQUFvQyxDQUFBO0lBQ3BDLHlGQUFzQixDQUFBO0lBRXRCLDZGQUF3QixDQUFBO0lBQ3hCLHFIQ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U9YO1FBTEMsS0FBSSxDQUFDLFFBQVEsR0FBRyxRQUFRLENBQUM7UUFDekIsS0FBSSxDQUFDLE1BQU0sR0FBRyxNQUFNLENBQUM7UUFHckIsTUFBTSxDQUFDLGNBQWMsQ0FBQyxLQUFJLEVBQUUsMEJBQTBCLENBQUMsU0FBUyxDQUFDLENBQUM7O0lBQ3BFLENBQUM7SUFDSCxpQ0FBQztBQUFELENBQUMsQUFiRCxDQUFnRCxLQUFLLEdBYXBEO0FBYlksZ0VBQTBCO0FBZXZDO0lBQTZDLDJDQUFLO0lBQ2hELGlDQUFZLEdBQVc7UUFBdkIsWUFDRSxrQkFBTSxHQUFHLENBQUMsU0FJWDtRQURDLE1BQU0sQ0FBQyxjQUFjLENBQUMsS0FBSSxFQUFFLHVCQUF1QixDQUFDLFNBQVMsQ0FBQyxDQUFDOztJQUNqRSxDQUFDO0lBQ0gsOEJBQUM7QUFBRCxDQUFDLEFBUEQsQ0FBNkMsS0FBSyxHQU9qRDtBQVBZLDBEQUF1QiJ9 |
{ | ||
"name": "ibankit", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "Validation, field extraction and creation of IBAN, BBAN, BIC numbers", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -51,2 +51,5 @@ export enum FormatViolation { | ||
this.actual = actual; | ||
// https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work | ||
Object.setPrototypeOf(this, FormatException.prototype); | ||
} | ||
@@ -61,2 +64,5 @@ } | ||
this.actual = actual; | ||
// https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work | ||
Object.setPrototypeOf(this, UnsupportedCountryException.prototype); | ||
} | ||
@@ -74,5 +80,15 @@ } | ||
this.actual = actual; | ||
// https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work | ||
Object.setPrototypeOf(this, InvalidCheckDigitException.prototype); | ||
} | ||
} | ||
export class RequiredPartTypeMissing extends Error {} | ||
export class RequiredPartTypeMissing extends Error { | ||
constructor(msg: string) { | ||
super(msg); | ||
// https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work | ||
Object.setPrototypeOf(this, RequiredPartTypeMissing.prototype); | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
318876
5429