
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
datagrid-by-mino-randy
Advanced tools
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
This project was bootstrapped with Create React App.
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
integral code example
import React, { useEffect, useState } from "react";
import axios from "axios";
import DataGrid from "datagrid-by-mino-randy/dist/datagrid-by-mino-randy";
import Button from "@mui/material/Button";
function HomePage() {
const [data, setData] = useState([]);
useEffect(() => {
const fetchData = async () => {
const response = await axios.get(
"https://jsonplaceholder.typicode.com/posts"
);
setData(response.data);
};
fetchData();
}, []);
const columns = [
{
field: "id",
headerName: "RANG",
width: 50,
type: "select",
optionSelect: [1, 2, 3, 4, 5, 6],
},
{ field: "title", headerName: "TITLE", width: 200, type: "string" },
{ field: "id", headerName: "DATE", width: 50, type: "datetime" },
{
field: "userId",
headerName: "NUMBER",
width: 50,
type: "number",
condition: (element, field) => {
return element[field] > 2 ? "#d85454" : "";
},
},
{
field: "body",
headerName: "BODY",
width: 450,
type: "string",
},
{
field: "action",
headerName: "ACTION",
width: 100,
renderCell: (cellValues) => {
return (
<Button
size="small"
variant="outlined"
onClick={(event) => {
handleEditRow(event, cellValues);
}}
>
Editer
</Button>
);
},
},
];
const changeColorRow = {
background: (data) => {
var response = null;
if (data.id < 3) {
response = '#6a822fbb'
} else if(data.id > 3) {
response = '#222b'
}
return response;
},
};
const editCell = async (fullData) => {
console.log("====================================");
console.log("values******", fullData);
console.log("====================================");
};
const handleEditRow = async (e, value) => {
console.log("====================================");
console.log("cellsValue", value);
console.log("====================================");
};
return (
<div>
<DataGrid
data={data}
columns={columns}
options
// pageSize={5}
// rowsPerPageOptions={options}
columnHeight={3}
// noGlobalSearch
paginations
changeColorRow={changeColorRow}
onDoubleClickFunction={editCell}
headPositionText={"center"}
// bodyPositionText={"center"}
/>
</div>
);
}
export default HomePage;
const options = [
{
value: 5,
label: "Five",
},
{
value: 10,
label: "Ten",
},
{
value: 20,
label: "Twenty",
},
];
FAQs
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
The npm package datagrid-by-mino-randy receives a total of 0 weekly downloads. As such, datagrid-by-mino-randy popularity was classified as not popular.
We found that datagrid-by-mino-randy 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.