
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
antd-virtual-table
Advanced tools
实现 antd-table 的虚拟列表,支持非固定行高、动态改变行高 (antd-table 所有属性均正常可用,如筛选、排序等)
npm install --save antd-virtual-table
import * as React from "react";
import ReactDom from "react-dom";
import { VList } from "antd-virtual-table";
import { Table } from "antd";
function Example(): JSX.Element {
const dataSource = [];
const columns = [];
const rowKeyList = useMemo(() => dataSource?.map((cv) => cv?.[rest.rowKey]), [
dataSource,
rest.rowKey,
]);
const components = useMemo(() => {
if (virtualTable) {
return {
..._components,
...VList({ rowKeyList }),
};
}
return _components;
}, [_components, virtualTable]);
return (
<Table
dataSource={dataSource}
columns={columns}
components={components}
rowKey={"uuid"}
/>
);
}
ReactDom.render(<Example />, dom);
FAQs
实现antd-table的虚拟列表
We found that antd-virtual-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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 compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.