Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@react-querybuilder/native
Advanced tools
Official react-querybuilder components for React Native.
To see them in action, [load the example in Expo Snack](TODO: url here).
npm i react-querybuilder @react-querybuilder/native
# OR yarn add / pnpm add / bun add
To render a React Native-compatible query builder, use <QueryBuilderNative />
which accepts the same props <QueryBuilder />
.
[v7.1.0] - 2024-04-01
useQueryBuilderSelector
, props.schema.getQuery()
, and props.schema.dispatchQuery()
), the hooks useQueryBuilderDispatch
and useQueryBuilderStore
are no longer exported.controlClassnames
properties. These classnames augment—rather than replace—the classnames defined for specific controls.
actionElement
: Applied to all action elements like addRuleAction
, addGroupAction
, etc.valueSelector
: Applied to all selection elements like combinatorSelector
, fieldSelector
, etc.numberedParams
option for formatQuery
. When the format is "parameterized"
, parameter placeholders within the generated SQL string will begin with the configured paramPrefix
(default ":") followed by a numbered index beginning with 1
instead of using "?" as the placeholder for all parameters. This option was added primarily to reduce the code necessary for generating PostgreSQL-compatible SQL.
formatQuery
now passes a third parameter to custom ruleProcessor
functions when the format is "parameterized" or "parameterized_named". Currently the parameter is an object with a single property, processedParams
, which represents the current state of the params
array (for the "parameterized" format) or object (for the "parameterized_named" format) at the point the rule processor is invoked during query processing. The default ruleProcessor
for the parameterized formats uses this parameter when the numberedParams
option is true
.generateID
when crypto.randomUUID
is not available. This led to performance improvements in initial <QueryBuilder />
rendering and query update functions.FAQs
React Native components for react-querybuilder
The npm package @react-querybuilder/native receives a total of 88 weekly downloads. As such, @react-querybuilder/native popularity was classified as not popular.
We found that @react-querybuilder/native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.