Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: removed a console.log that was mistakenly left in the compileFas… #164

Merged
merged 2 commits into from
May 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
};