Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
react-table-sorter
Advanced tools
A sortable table component using [Facebook's React](http://facebook.github.io/react/).
A sortable table component using Facebook's React. Build out as a reusable component from the demo made by bgerm.
Features:
Sortable Table takes two arguments, source
and config
. source
is a string designating the path to a JSON formatted data source and config
is a JavaScript object containing information about the structure of the table.
var CONFIG = {
sort: { column: "col2", order: "desc" },
columns: {
col1: { name: "Col1", filterText: "", defaultSortOrder: "desc"},
col2: { name: "Col2", filterText: "", defaultSortOrder: "desc"},
col3: { name: "Col3", filterText: "", defaultSortOrder: "desc"}
}
};
React.renderComponent(<TableSorter dataSource="/api/data.json" config={CONFIG} headerRepeat="5" />, document.getElementById("table-sorter"));
lute is a quick solution.
npm install -g lute
lute
And now view at: http://localhost:8080/example.
FAQs
A sortable table component using [Facebook's React](http://facebook.github.io/react/).
We found that react-table-sorter 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.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.