-
-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(
disableEval
): add static parsers (#3365)
* add static parser, currently disabled * fix PR comments * apply linting fixes * fix linting in tests * Update lib/connection_config.js Co-authored-by: Weslley Araújo <46850407+wellwelwel@users.noreply.github.com> * Update lib/parsers/static_text_parser.js Co-authored-by: Weslley Araújo <46850407+wellwelwel@users.noreply.github.com> * chore: improve assertion identification * chore: use `verbose` test reporter * ci: increase timeout * ci: test static parser through all tests and variations * chore: ensure Buffer when TypeCast is false * chore: implement `nestTables` to static parser * chore: implement `jsonStrings` to static parser * ci: check static parser coverage * ci: improve test coverage identification * chore: improve dynamic properties security * refactor: use `disableEval` instead of `useStaticParser` * feat(execute): add binary static parser * ci: adapt coverage limits --------- Co-authored-by: Andrey Sidorov <andrey.sidorov@gmail.com> Co-authored-by: Weslley Araújo <46850407+wellwelwel@users.noreply.github.com>
- Loading branch information
1 parent
409d2f9
commit 51da653
Showing
15 changed files
with
506 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.