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-minimap-redux
Advanced tools
A minimap for React based on jquery-minimap
yarn add react-minimap-redux
import Minimap from "react-minimap-redux";
import "react-minimap-redux/dist/react-minimap.css";
<Minimap selector=".card">
<div className="card">
<h1>Title</h1>
</div>
<div className="card">
<h1>Title 2</h1>
<div className="card">
<h1>Titles are never rendered by the Minimap</h1>
</div>
</div>
</Minimap>
The Minimap
supports the following props:
Prop name | Type | Default value | Description |
---|---|---|---|
selector | string | is required | A css selector for specify what you want to render inside the minimap |
className | string | '' | A className for the minimap component |
width | number | 200 | |
height | number | 200 | |
keepAspectRatio | boolean | false | |
childComponent | any | Internal Component | Allows customizing how components matched by selector are rendered (optional) |
onMountCenterOnX | boolean | false | |
onMountCenterOnY | boolean | false |
[v0.9.1 + v0.9.2] - 2022-12-01
componentWillReceiveProps
to UNSAFE_componentWillReceiveProps
FAQs
A minimap for React
The npm package react-minimap-redux receives a total of 154 weekly downloads. As such, react-minimap-redux popularity was classified as not popular.
We found that react-minimap-redux 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.