
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@react-md/media
Advanced tools
This package is used for including responsive media (images, videos, etc) within your app.
This package is used for adding responsive media within your page such as images
and videos. Unlike other react-md
packages, this package does not include a
theme.
npm install --save @react-md/media
You should check out the full documentation for live examples and more customization information, but an example usage is shown below.
import React from "react";
import { render } from "react-dom";
import { MediaContainer, MediaOverlay } from "@react-md/media";
const App = () => (
<div>
<MediaContainer className="responsive-item">
<img
src="https://picsum.photos/400/400?random"
role="presentation"
alt="An image from https://picsum.photos"
/>
</MediaContainer>
<Media height={9} width={16}>
<iframe
src="https://www.youtube.com/embed/kyAn3fSs8_A"
allowFullScreen
frameBorder="0"
/>
</MediaContainer>
<MediaContainer height={9} width={16}>
<img
src="https://picsum.photos/800/800?image=430"
role="presentation"
alt="A random picture from https://picsum.photos"
/>
<MediaOverlay position={position}>
<h5>This is a random picture!</h5>
</MediaOverlay>
</MediaContainer>
</div>
);
render(<App />, document.getElementById("root"));
FAQs
This package is used for including responsive media (images, videos, etc) within your app.
The npm package @react-md/media receives a total of 0 weekly downloads. As such, @react-md/media popularity was classified as not popular.
We found that @react-md/media 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.