Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Downr is an easy to use rails wrapper around a couple of different notable gems
Good question, the best I can come up with is that if you're working on a rails project, this library provides a really easy way to add markdown parsing to it quickly with all the nice Github Flavored Markdown you know and love. It also allows you to edit all of the base options for Redcarpet through initializers, and finally gives you a nice view helper.
Add this line to your application's Gemfile:
gem 'downr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install downr
after run
$ rails g downr:install
this will create an initializer in
config/initializer/downr.rb
Crack open the initializer config/initializers/downr.rb
and add/change any configuration options for the markdown rendering process. These options are passed straight to Redcarpet so you can head over there to check out all of the possible options.
I know what those are!
render_markdown "# Hello World"
Downr::Markdown.render("# Hello World")
Tests are run through the wonderful RSpec so just clone the library run bundle
then rake
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)MIT
FAQs
Unknown package
We found that downr 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 malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.