Skip to content

Add parseMongoDB #392

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

Merged
merged 2 commits into from
Oct 25, 2022
Merged

Add parseMongoDB #392

merged 2 commits into from
Oct 25, 2022

Conversation

jakeboone02
Copy link
Member

No description provided.

value: getRegExStr(keyValue).replace(/^\^/, ''),
};
}
} else if (mdbOperator === '$regex' && /[^^].*\$/.test(getRegExStr(keyValue))) {

Check failure

Code scanning / CodeQL

Polynomial regular expression used on uncontrolled data

This [regular expression](1) that depends on [library input](2) may run slow on strings starting with '\]' and with many repetitions of '\]'.
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 48b75a1:

Sandbox Source
react-querybuilder-ci Configuration
react-querybuilder-dnd-example Configuration
react-querybuilder-antd-example Configuration
react-querybuilder-bootstrap-example Configuration
react-querybuilder-bulma-example Configuration
react-querybuilder-chakra-example Configuration
react-querybuilder-material-example Configuration

@codecov
Copy link

codecov bot commented Oct 25, 2022

Codecov Report

Merging #392 (48b75a1) into main (620a13a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              main      #392    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           98       100     +2     
  Lines         3039      3151   +112     
  Branches      1450      1514    +64     
==========================================
+ Hits          3039      3151   +112     
Impacted Files Coverage Δ
...uerybuilder/src/utils/parseMongoDB/parseMongoDB.ts 100.00% <100.00%> (ø)
...react-querybuilder/src/utils/parseMongoDB/utils.ts 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jakeboone02 jakeboone02 merged commit 38340dc into main Oct 25, 2022
@jakeboone02 jakeboone02 deleted the parse-mongodb branch October 25, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant