Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@interop-ui/react-announce
Advanced tools
react-announce
$ yarn add @interop-ui/react-announce
# or
$ npm install @interop-ui/react-announce
import * as React from 'react';
import { Announce, styles } from '@interop-ui/react-announce';
import { VisuallyHidden, styles as visuallyHiddenStyles } from '@interop-ui/react-visually-hidden';
function StatusChange(props) {
return (
<div>
<VisuallyHidden style={visuallyHiddenStyles.root}>
{/* Content inside Announce will inform screen reader users of a status change */}
<Announce aria-relevant="all">Your friend is {props.status}</Announce>
</VisuallyHidden>
{/*
You can render the content visually however you'd like. Announce content is added to an
aria-live region. They'll be rendered visually by default, but since we've visually hidden
the content above we can mirror it for sighted users and adapt our interface as needed, so
long as the same content is effectively delivered to users in either context.
*/}
<div style={{ background: props.status === 'online' ? 'forestgreen' : 'crimson' }}>
Friend status: {props.status}
</div>
</div>
);
}
FAQs
Unknown package
We found that @interop-ui/react-announce demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.