Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@odopod/odo-object-fit
Advanced tools
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run.
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run. The media element should have full width and height as well as the object-fit property.
npm install @odopod/odo-object-fit --save
.my-element {
width: 100%;
height: 100%;
object-fit: cover;
}
import OdoObjectFit from '@odopod/odo-object-fit';
// Cover a single element.
OdoObjectFit.cover(myElement);
// Cover multiple media elements.
OdoObjectFit.cover([myElement, thatOtherElement]);
Visit the Odo component directory for demos, code examples, and documentation.
Scroll Feedback [1.0.2] - 2017-11-13
disable()
not removing a touchmove
event listener, preventing touch devices from scrolling the page when they should have been able to.FAQs
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run.
We found that @odopod/odo-object-fit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.