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.
= deliruby
Deliruby is a simple ruby wrapper for the {delicious rss feeds}[http://www.delicious.com/help/json] (not the {API}[http://www.delicious.com/help/api]), so you can use that info for your projects without dealing with xml or json.
It uses {httparty}[http://github.com/jnunemaker/httparty] and does caching with the {httparty_icebox}[http://gist.github.com/209605] for extra code readability!
==Installation Easy as pi, just run sudo gem install deliruby
==Usage
The module Deliruby has two classes defined: +Bookmarks+ and +PublicInfo+
===Bookmarks Every method returns an array of instances of the class DeliciousBookmark, which has a +to_hash+ method for your convenience. If any of the attributes wasn't found in the feed, it's set to a sensible default (+""+ for strings, +[]+ for arrays and +nil+ for the published date).
require 'deliruby'
#all methods return the same kind of data
Deliruby::Bookmarks.popular.each do |bookmark|
puts "#{bookmark.creator} marked #{bookmark.url} with the tags #{bookmark.url} on #{bookmark.date.to_s}"
end
===PublicInfo
Every method returns either an array, an array of hashes or a hash:
[alerts] An array for the system alerts for delicious [userinfo] A hash of the public user info (bookmark count, network members and network fans) [tags] An array of hashes for every tag associated with the number of times it has been used by a user [network] An array of hashes with the username and profile of every user in the specified user network [network_fans] An array of hashes with the username and profile of every fan in the specified user network [urlinfo] The summary information for a url: a hash with the md5 hash, link, title, times bookmarked and top tags applied
It tries to return sensible data: empty arrays or hashes if nothing is returned. In some cases, though, it might raise an exception of delicious responds with a 4** or 5** HTTP status code.
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 lfborjas. See LICENSE for details.
FAQs
Unknown package
We found that deliruby 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.