
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@nelson-ai/graph-traversal
Advanced tools
This is a graph traversal library, loosely inspired from Gremlin.
Gremlin uses a property graph, where edges may have properties. Since Edge Factory is in JSON-LD (aka RDF), edges are predicates and cannot embed attributes.
In the Edge Factory graph, type
is mandatory. We leverage this by auto-indexing on types.
We provide a REPL to play with the edge-graph. You can start it by running npm run repl
.
You can then start playing with the API. For example, to
edgeo:Thing
> g.v('edgeo:Thing').in('subClassOf').get('id')
> g.t('Asset').get('id', 'label')
> g.t('Lever').count()
> g.t('Lever').has('timeHorizon', 12).count()
> g.v('edger:process1').out('levers').get('id', 'timeHorizon')
> g.v('edger:process1').out('levers').count()
> g.v('edger:process1').out('levers').has('timeHorizon', 12).count()
> g.v('edger:process1').out('levers').has('timeHorizon', 12).get('id', 'timeHorizon')
TODO: list all API methods
Gotchas :
The data received by a filter function is a Vertex, not a POJO. Use get() to access data fields...
const r = g.v('test:edge')
.in('worksFor')
.filter(p => p.get().age < 30)
.get('id', 'age');
FAQs
Gremlin-like graph traversal for JSON-LD
The npm package @nelson-ai/graph-traversal receives a total of 0 weekly downloads. As such, @nelson-ai/graph-traversal popularity was classified as not popular.
We found that @nelson-ai/graph-traversal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.