
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
In your Gemfile:
gem "binfinity-rais"
In your application.js file
\\= require binfinity
Binfinity is a javascript plugin that allows infite scroll in either up or down direction.
The format for use is to call window.scroller.initialize(your_callback_here, options_hash).
Downward infinity scroll is a built-in default. To scroll upward, you need to pass {upwardScroll: your_upscroll_callback}
as an option in the scroller.initialize
function.
Also, to change the clearance value or "cushion" as we call it, pass {cushion: your_integer_value}
into initialize.
For example:
$(function(){
var upCallback = function(){ do stuff here };
var downCallback = function(){ do stuff here };
scroller.intialize(myDownCallback, {cushion: 500, upwardScroll: upCallback});
})
This project originated as one of twelve 1-day projects of 12 appy days.
Please feel free to fork and contribute:
git clone
git checkout -b YOUR_BRANCH_NAME
FAQs
Unknown package
We found that binfinity-rails 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
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.