From f0b647e4d24d41dab8236a019f607e7a1cac7a2d Mon Sep 17 00:00:00 2001 From: ncpa0cpl Date: Mon, 29 May 2023 14:14:44 +0200 Subject: [PATCH] fix: removed a console.log that was mistakenly left in the compileFastValidator --- CHANGELOG.md | 14 +++++++++++++- .../compile-fast-validator.ts | 2 -- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b2220d..8f1b3ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,19 @@ +## 2.1.1 (May 29, 2023) + +### Bug Fixes + +- #### fix: removed a console.log that was mistakenly left in the compileFastValidator ([#164](https://github.com/ncpa0/Dilswer/pull/164)) + + Removed a console.log that was mistakenly left in the compileFastValidator. + ## 2.1.0 (May 29, 2023) ### Features - #### feat: implemented a factory for a high performance validator ([#157](https://github.com/ncpa0/Dilswer/pull/157)) - Added a new factory function - `compileFastValidator`. Validation function produced by this factory are much more performant than all the other ones provided by Dilswer. `compileFastValidator` leverages JIT compilation via `eval()` to generated a highly optimized code specially for the given Data Type. + Added a new factory function - `compileFastValidator`. Validation function + produced by this factory are much more performant than all the other ones + provided by Dilswer. `compileFastValidator` leverages JIT compilation via + `eval()` to generated a highly optimized code specially for the given Data + Type. diff --git a/src/validation-algorithms/compile-fast-validator.ts b/src/validation-algorithms/compile-fast-validator.ts index 2eafc20..4e0d04b 100644 --- a/src/validation-algorithms/compile-fast-validator.ts +++ b/src/validation-algorithms/compile-fast-validator.ts @@ -760,7 +760,5 @@ export const compileFastValidator =
( const validator = e(validatorStr)(_$getDependency); - console.log(validator.toString()); - return validator; };