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.
@comunica/actor-rdf-parse-jsonld
Advanced tools
An RDF Parse actor that handles JSON-LD.
This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.
Click here if you just want to query with Comunica.
$ yarn add @comunica/actor-rdf-parse-jsonld
After installing, this package can be added to your engine's configuration as follows:
{
"@context": [
...
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-jsonld/^1.0.0/components/context.jsonld"
],
"actors": [
...
{
"@id": "config-sets:rdf-parsers.json#myRdfParserJsonLd",
"@type": "ActorRdfParseJsonLd",
"priorityScale": 0.9,
"crpjl:Actor/RdfParse/JsonLd/mediatorHttp": { "@id": "config-sets:http.json#mediatorHttp" }
}
]
}
caam:Actor/AbstractMediaTypedFixed/priorityScale
: An optional priority for this parser, used for content negotiation, defaults to 1
.crpjl:Actor/RdfParse/JsonLd/mediatorHttp
: A mediator over the HTTP bus, for fetching remote JSON-LD contexts.If you want to override how the JSON-LD parser loads external contexts,
you can pass a custom document loader via the '@comunica/actor-rdf-parse-jsonld:documentLoader'
context entry.
This document loader must implement the IDocumentLoader
interface.
Via the '@comunica/actor-rdf-parse-jsonld:strictValues'
context entry,
you can set the JSON-LD parser to run in a more strict mode.
This corresponds to the strictValues
option in JSON-LD Streaming Parser.
FAQs
A JSON-LD RDF Parse actor
The npm package @comunica/actor-rdf-parse-jsonld receives a total of 10,584 weekly downloads. As such, @comunica/actor-rdf-parse-jsonld popularity was classified as popular.
We found that @comunica/actor-rdf-parse-jsonld demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
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.