
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).
@cypress/react-tooltip
Advanced tools
A tooltip component for React apps utilizing the excellent popper.js library.
npm install --save @cypress/react-tooltip
import Tooltip from '@cypress/react-tooltip'
<Tooltip title="Hello World">
<button>Click me</button>
</Tooltip>
The tooltip will automatically appear when mousing over the button and disappear when mousing out from the button.
option | default | description | supported values |
---|---|---|---|
title | undefined | Required. The tooltip content | Anything renderable by React (string, number, element, etc) |
placement | 'top' | The placement of the tooltip | Placements supported by popper.js |
visible | undefined | Whether to show the tooltip when rendered. This overrides the default showing/hiding on mouse-over/mouse-out | true or false |
className | 'tooltip' | Class applied to the tooltip | |
wrapperClassName | '' | Class applied to the <span> that wraps the children of <Tooltip> | |
updateCue | undefined | A prop that indicates that the tooltip's position should update. If the size of the tooltip target changes while the tooltip is showing, the tooltip won't know to update its position. Set this to something that's tied to the target's size or just to a new value to trigger an update of the tooltip's position. |
# watches JS and SCSS for changes and compiles
# runs tests for associated
npm run watch
# run all tests
npm test
# creates a demo page at http:localhost:8888/design.html for design purposes
npm run design
For latest changelog see cypress-io/react-tooltip/releases. Older changes are below:
FAQs
A tooltip component for React apps
The npm package @cypress/react-tooltip receives a total of 1,366 weekly downloads. As such, @cypress/react-tooltip popularity was classified as popular.
We found that @cypress/react-tooltip 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.