@busy-hour/blaze
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -5,2 +5,9 @@ # Changelog | ||
## [3.1.2](https://github.com/Busy-Hour-Studio/blaze/compare/v3.1.1...v3.1.2) (2024-05-16) | ||
### Bug Fixes | ||
* openapi error ([a4d7c08](https://github.com/Busy-Hour-Studio/blaze/commit/a4d7c081ed732cfc9ea7fb8aa5fa57b3e6540d4d)) | ||
## [3.1.1](https://github.com/Busy-Hour-Studio/blaze/compare/v3.1.0...v3.1.1) (2024-05-16) | ||
@@ -7,0 +14,0 @@ |
@@ -32,4 +32,6 @@ "use strict"; | ||
} else { | ||
import_zod.z.ZodType.prototype.openapi = () => { | ||
import_zod.z.ZodType.prototype.openapi = function openapi() { | ||
import_Logger.Logger.warn(`Please install "${import_constant.ExternalModule.ZodApi}" to use OpenAPI.`); | ||
const result = new this.constructor(this._def); | ||
return result; | ||
}; | ||
@@ -36,0 +38,0 @@ } |
@@ -10,4 +10,6 @@ // src/router/validator.ts | ||
} else { | ||
z.ZodType.prototype.openapi = () => { | ||
z.ZodType.prototype.openapi = function openapi() { | ||
Logger.warn(`Please install "${ExternalModule.ZodApi}" to use OpenAPI.`); | ||
const result = new this.constructor(this._def); | ||
return result; | ||
}; | ||
@@ -14,0 +16,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
"type": "module", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "devDependencies": { |
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
193216
4981