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.
== Neo4j-wrapper {}[http://travis-ci.org/andreasronge/neo4j-wrapper]
This contains the Ruby wrapper of the Neo4j::Node and Neo4j::Relationship java object defined in the neo4j-core gem. This gem is included in neo4j.
== Docs
== The public API
{Neo4j::NodeMixin} The Java Neo4j Node
{Neo4j::RelationshipMixin} The Java Relationship
{Neo4j::IdentityMap} The Identity Map (should be disabled for batch imports and Rake scripts)
== Example
class Company
include Neo4j::NodeMixin
has_n(:employees)
end
class Person
include Neo4j::NodeMixin
property :name
property :age, :size, :type => Fixnum, :index => :exact
property :description, :index => :fulltext
has_one(:best_friend)
has_n(:employed_by).from(:employees)
end
Neo4j::Transaction.run do
Person.new(:name => 'jimmy', :age => 35)
end
person = Person.find(:age => (10..42)).first
Neo4j::Transaction.run do
person.best_friend = Person.new
person.employed_by << Company.new(:name => "Foo ab")
end
# find by navigate incoming relationship
company = person.employed_by.find { |p| p[:name] == 'Foo ab' }
puts "Person #{person.name} employed by #{company[:name]}"
# navigate the outgoing relationship:
company.employees.each {|x| puts x.name}
== Changes
Changes from the neo4j.rb
This gem contains two modules: Neo4j and Neo4j::Wrapper The Neo4j module is public and the Neo4j::Wrapper(::*) are private modules.
=== License
Notice there are different license for the neo4j-community, neo4j-advanced and neo4j-enterprise jar gems. Only the neo4j-community gem is by default required.
FAQs
Unknown package
We found that neo4j-wrapper 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.