Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ang2-phaser
Advanced tools
An easy way to implement parallax scrolling for Angular2 components. (There's also an Angular 1.x directive for those that need it.)
Include the module in your scripts.
import { Component } from '@angular/core';
import { ng2Parallax } from '<pathTo>/ng2-parallax/parallax.directive';
@Component({
selector: 'my-component',
directives: [ng2Parallax],
template:`
<div style='width: 200; height: 200px'>
<div parallax speed="5" src="path/to/image.jpg"></div>
</div>
`
})
export class componentName { }
1.0.0
npm install ang2-parallax --save-dev
speed = 0 to xx (the higher the number, the slower the effect). This part requires some tinkering since different image sizes will respond differently.
src = path to image
MIT - go nuts y'all.
FAQs
A Phaser module built for Angular 2 components.
The npm package ang2-phaser receives a total of 0 weekly downloads. As such, ang2-phaser popularity was classified as not popular.
We found that ang2-phaser 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.