
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).
react-enterprise-table
Advanced tools
Fully customizable Fastest Rendering Excel Style React Table supports Searching , Sorting, Filtering, Export , Import , Add, Edit and Delete
npm install react-enterprise-table --save
import React, { Component } from 'react';
import Table from 'react-enterprise-table';
const pageData = (data, page, limit) => {
if (page < 1) {
page = 1;
}
let total = Math.round(data.length / limit);
if (page > total) {
page = total;
}
let from = (page - 1) * limit,
to = page * limit;
return data.slice(from, to);
};
class App extends Component {
render() {
const columns = [{
id: 'fname',
dataType: 'text',
name: 'Full Name'
},
{
id: 'dob',
dataType: 'date',
name: 'Date of Birth'
}, {
id: 'age',
dataType: 'number',
name: 'Age'
}];
const data = [];
for (let i = 1; i < 100; i++) {
let dt = new Date(),
age = 35 + i;
dt.setFullYear(dt.getFullYear() - age);
data.push(
{ fname: 'Test ' + i, dob: dt, age: age },
);
};
const pagination = {
limit: 20,
totalRows: 99,
currentPage: 1,
size: [20, 40, 60, 80, 100],
onPagerClick: pageData
};
return (
<div className="App">
<Table columns={columns} data={data} pagination={pagination} />
</div>
);
}
}
export default App;
FAQs
Fully customizable Fastest Rendering Excel Style React Table supports Searching , Sorting, Filtering, Export , Import , Add, Edit and Delete
The npm package react-enterprise-table receives a total of 0 weekly downloads. As such, react-enterprise-table popularity was classified as not popular.
We found that react-enterprise-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 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.