Skip to content

Commit

Permalink
fix: removed a console.log that was mistakenly left in the compileFas…
Browse files Browse the repository at this point in the history
…tValidator
  • Loading branch information
ncpa0cpl committed May 29, 2023
1 parent a4c2539 commit f0b647e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 0 additions & 2 deletions src/validation-algorithms/compile-fast-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,5 @@ export const compileFastValidator = <DT extends AnyDataType>(

const validator = e(validatorStr)(_$getDependency);

console.log(validator.toString());

return validator;
};

0 comments on commit f0b647e

Please sign in to comment.