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-table-drag-select
Advanced tools
npm install -S react-table-drag-select
This code was used to make the gif you see above. See the demo for advanced usage.
import React from "react";
import TableDragSelect from "react-table-drag-select";
import "react-table-drag-select/style.css";
class App extends React.Component {
state = {
cells: [
[false, false, false, false, false, false],
[false, false, false, false, false, false],
[false, false, false, false, false, false],
[false, false, false, false, false, false],
[false, false, false, false, false, false],
[false, false, false, false, false, false],
[false, false, false, false, false, false]
]
};
render = () =>
<TableDragSelect
value={this.state.cells}
onChange={cells => this.setState({ cells })}
>
<tr>
<td />
<td />
<td />
<td />
<td />
<td />
</tr>
<tr>
<td />
<td />
<td />
<td />
<td />
<td />
</tr>
<tr>
<td />
<td />
<td />
<td />
<td />
<td />
</tr>
<tr>
<td />
<td />
<td />
<td />
<td />
<td />
</tr>
<tr>
<td />
<td />
<td />
<td />
<td />
<td />
</tr>
<tr>
<td />
<td />
<td />
<td />
<td />
<td />
</tr>
<tr>
<td />
<td />
<td />
<td />
<td />
<td />
</tr>
</TableDragSelect>;
}
FAQs
React component for drag selecting table cells
The npm package react-table-drag-select receives a total of 640 weekly downloads. As such, react-table-drag-select popularity was classified as not popular.
We found that react-table-drag-select 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
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.