
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
react-cuboid
Advanced tools
A cuboid component for react
npm install --save react-cuboid
or
yarn add react-cuboid
import React from 'react'
import Cuboid, { Front, Back, Top, Bottom, Left, Right } from 'react-cuboid'
const App = () => {
return (
<div style={{ marginLeft: 200, marginTop: 200 }}>
<Cuboid
width={150}
height={200}
depth={250}
sideStyle={{borderStyle: 'solid'}}
rotateX={10}
rotateY={20}
>
<Front> {/** front side */} </Front>
<Back> {/** back side */} </Back>
<Top> {/** top side */} </Top>
<Bottom> {/** bottom side */} </Bottom>
<Left> {/** left side */} </Left>
<Right> {/** right side */} </Right>
</Cuboid>
</div>
);
}
import React from 'react'
import Cuboid, { Front, Back, Top, Bottom, Left, Right } from 'react-cuboid'
const App = () => {
return (
<div style={{ marginLeft: 200, marginTop: 200 }}>
<Cuboid
size={100}
sideStyle={{borderStyle: 'solid'}}
rotateX={10}
rotateY={20}
>
<Front> {/** front side */} </Front>
<Back> {/** back side */} </Back>
<Top> {/** top side */} </Top>
<Bottom> {/** bottom side */} </Bottom>
<Left> {/** left side */} </Left>
<Right> {/** right side */} </Right>
</Cuboid>
</div>
);
}
name | type | default |
---|---|---|
size | ?number | 100 |
width | ?number | props.size |
height | ?number | props.size |
depth | ?number | props.size |
perspective | ?number | 1000 |
perspectiveX | ?number | 50 |
perspectiveY | ?number | 50 |
rotateX | ?number | 0 |
rotateY | ?number | 0 |
rotateZ | ?number | 0 |
skewX | ?number | 0 |
skewY | ?number | 0 |
sideStyle | ?number | {} |
MIT © dopey2
FAQs
A cuboid component for react
The npm package react-cuboid receives a total of 1 weekly downloads. As such, react-cuboid popularity was classified as not popular.
We found that react-cuboid 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.