
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
Extra Pagy to work with cursor pagination
Add this line to your application's Gemfile:
gem 'pagy_cursor'
And then execute:
$ bundle install
Include the backend in some controller:
require "pagy_cursor/pagy/extras/cursor"
require "pagy_cursor/pagy/extras/uuid_cursor"
include Pagy::Backend
Default
pagy_cursor(Post.all)
Before and After
pagy_cursor(Post.all, after: 10)
pagy_cursor(Post.all, before: 10)
With UUID
pagy_uuid_cursor(Post.all, after: "ce5d2741-4e52-49b2-bb76-c41b67ab3aad")
pagy_uuid_cursor(Post.all, before: "ce5d2741-4e52-49b2-bb76-c41b67ab3aad")
Ordering collection
pagy_cursor(Post.all, after: 10, order: {updated_at: :desc})
Many thanks to:
To run tests in root folder of gem:
export DB=sqlite3 to work with sqlite (see support databases)bundle installbundle exec rspec To test on specific Rails version
export BUNDLE_GEMFILE=gemfiles/active_record_70.gemfile to work with Rails 7
To play with app cd test/dummy and rails s -b 0.0.0.0 (before rails db:migrate).
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that pagy_cursor 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.