
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).
hero-parallax
Advanced tools
A cross-browser pure Javascript parallax plugin
<body>
<!-- Your content -->
<script src="parallax.js"></script>
<script>
new Parallax();
</script>
</body>
.parallax
<div class="parallax" style="background: url(myBackgroundImage.png)></div>
You can optionally pass in a configuration option
<body>
<!-- Your content -->
<script src="parallax.js"></script>
<script>
new Parallax({
speedRatio: 0.5
});
</script>
</body>
Option | Type | Description |
---|---|---|
speedRatio | number | A speed modifier to control the speed of the parallax effect. [A number between 0.1 and 0.5] |
pixelsOverflowing | number | The amount of pixels each parallax element scrolls |
selector | string | The class selector to use to target parallax elements |
debugMode | boolean | Whether to show debug statements in the log |
FAQs
A cross-browser pure Javascript parallax plugin
We found that hero-parallax 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.