Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
@bonhomme/bonnie-parallax
Advanced tools
Readme
A Javascript library.
npm i @bonhomme/bonnie-parallax
<script type="text/javascript" src="https://unpkg.com/@loupthibault/linkedlist@0.1.0/dist/linkedlist.umd.js"></script>
<script type="text/javascript" src="https://unpkg.com/@bonhommeparis/bonnie-parallax@0.1.0/dist/linkedlist.umd.js"></script>
// For install via npm
import {Parallax, BasicRule} from '@bonhomme/bonnie-parallax';
/**
* // For install via browser
* var Parallax = window.bonnieParallax.Parallax;
* var BasicRule = window.bonnieParallax.BasicRule;
*/
const parallax = new Parallax({
el: document.body
});
parallax.addRule(new BasicRule({
query: '[data-prllx-item]'
}));
const render = () => {
parallax.current = document.scrollingElement.scrollTop;
requestAnimationFrame(render);
};
parallax.init();
parallax.setViewPort(window.innerWidth, window.innerHeight);
requestAnimationFrame(render);
...
<div data-prllx-item data-speed='0.9'></div>
<div data-prllx-item data-delta-start='10%'></div>
<div data-prllx-item data-delta-end='-10v'></div>
...
var Parallax = window.
Name | Type | Default Value | Description |
---|---|---|---|
el | HTMLElement | document.body | |
isHorizontal | Boolean | false | |
hiddenClass | string | 'u-hidden' | |
precision | Number | 4 | |
isBasedOnCurrent | Boolean | true |
parallax.el [Read-Only]
parallax.current
parallax.init()
parallax.addRule(rule)
parallax.setViewPort(width, height)
parallax.render()
parallax.destroy()
MIT.
FAQs
A Javascript parallax manager
The npm package @bonhomme/bonnie-parallax receives a total of 3 weekly downloads. As such, @bonhomme/bonnie-parallax popularity was classified as not popular.
We found that @bonhomme/bonnie-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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.