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.
Hyper-minimal parallax implementation for subtle animation. 349b gzipped.
Import the library and pass a selector as its only argument. Then, call init()
on the returned instance to start watching scroll
events and animating all selected elements.
import { paralless } from 'paralless'
const para = paralless('.my-parallax-selector')
para.init()
Optionally define speeds in your markup via the data-speed
attribution. This option defaults to 2
and so halves the distance scrolled, creating a effect that is half the speed of your scroll. Increase or decrease this integer to find your desired effect.
<div class='my-parallax-selector' data-speed='4'>...children...</div>
<div class='my-parallax-selector' data-speed='10'>...children...</div>
.my-parallax-selector {
transition: transform 200ms ease-in-out;
}
MIT License
FAQs
Hyper-minimal parallax implementation for subtle animation.
The npm package paralless receives a total of 30 weekly downloads. As such, paralless popularity was classified as not popular.
We found that paralless demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.