
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@spark-web/data-table
Advanced tools
--- title: DataTable storybookPath: data-display-data-table isExperimentalPackage: true ---
The DataTable
component presents a list of data in table form.
It uses @tanstack/react-table
as a dependency to implement data selection
and filtering capabilities. As such, certain table options are available as
DataTable
props. For example, the items
and columns
prop are required
options.
Currently supported features from @tanstack/react-table
are the following:
However, certain defaults have been set for the component:
enableHiding
is enabled by default;enableMultiRowSelection
is disabled by default, meaning row selection
defaults to single-row;enableRowSelection
is automatically enabled when a callback value is passed
in onRowSelectionChange
.data
property in React Table options is renamed to items
to align
with the rest of Spark Web's usage of data
as a data attribute.<DataTable
items={[
{
id: 1,
name: 'Ken Adams',
category: 'Solar System',
amount: 3500,
},
]}
columns={[
{
id: 'id',
accessorKey: 'id',
header: 'ID',
cell: info => <Text size="small">{info.renderValue()}</Text>,
},
{
id: 'name',
accessorKey: 'name',
header: 'Name',
cell: info => <Text size="small">{info.renderValue()}</Text>,
},
{
id: 'category',
accessorKey: 'category',
header: 'Category',
cell: info => <Text size="small">{info.renderValue()}</Text>,
},
{
id: 'amount',
accessorKey: 'amount',
header: 'Amount',
cell: info => <Text size="small">{info.renderValue()}</Text>,
},
]}
/>
FAQs
--- title: DataTable storybookPath: data-display-data-table isExperimentalPackage: true ---
We found that @spark-web/data-table 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.