New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@comunica/bus-rdf-resolve-hypermedia-links

Package Overview
Dependencies
Maintainers
5
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/bus-rdf-resolve-hypermedia-links - npm Package Compare versions

Comparing version 3.2.1 to 3.2.4-alpha.47.0

40

lib/ActorRdfResolveHypermediaLinks.d.ts
import type { IAction, IActorArgs, IActorOutput, IActorTest, Mediate } from '@comunica/core';
import { Actor } from '@comunica/core';
import type { IActionContext } from '@comunica/types';
import type * as RDF from '@rdfjs/types';
import type { ILink } from '@comunica/types';
/**

@@ -16,7 +15,9 @@ * A comunica actor for rdf-resolve-hypermedia-links events.

*/
export declare abstract class ActorRdfResolveHypermediaLinks extends Actor<IActionRdfResolveHypermediaLinks, IActorTest, IActorRdfResolveHypermediaLinksOutput> {
export declare abstract class ActorRdfResolveHypermediaLinks<TS = undefined> extends Actor<IActionRdfResolveHypermediaLinks, IActorTest, IActorRdfResolveHypermediaLinksOutput, TS> {
/**
* @param args - @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus
* @param args -
* \ @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus
* \ @defaultNested {Hypermedia link resolution failed: none of the configured actors were able to resolve links from metadata} busFailMessage
*/
constructor(args: IActorRdfResolveHypermediaLinksArgs);
constructor(args: IActorRdfResolveHypermediaLinksArgs<TS>);
}

@@ -35,30 +36,3 @@ export interface IActionRdfResolveHypermediaLinks extends IAction {

}
/**
* A link holder that can expose additional properties.
*/
export interface ILink {
/**
* The URL identifying this link.
*/
url: string;
/**
* An optional stream modifier.
* This transformation will be applied on the stream of data quads that is obtained from dereferencing the given URL.
* @param input The stream of data quads on the given URL.
* @returns The stream of data quads to be used for this link instead of the given stream.
*/
transform?: (input: RDF.Stream) => Promise<RDF.Stream>;
/**
* Optional context to apply onto mediators when handling this link as source.
* All entries of this context will be added (or overwritten) into the existing context.
*/
context?: IActionContext;
/**
* An optional link-specific metadata object.
* This may be used to keep track of data that is relevant to links,
* which could be used across actors.
*/
metadata?: Record<string, any>;
}
export type IActorRdfResolveHypermediaLinksArgs = IActorArgs<IActionRdfResolveHypermediaLinks, IActorTest, IActorRdfResolveHypermediaLinksOutput>;
export type IActorRdfResolveHypermediaLinksArgs<TS = undefined> = IActorArgs<IActionRdfResolveHypermediaLinks, IActorTest, IActorRdfResolveHypermediaLinksOutput, TS>;
export type MediatorRdfResolveHypermediaLinks = Mediate<IActionRdfResolveHypermediaLinks, IActorRdfResolveHypermediaLinksOutput>;

6

lib/ActorRdfResolveHypermediaLinks.js

@@ -17,5 +17,9 @@ "use strict";

class ActorRdfResolveHypermediaLinks extends core_1.Actor {
/* eslint-disable max-len */
/**
* @param args - @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus
* @param args -
* \ @defaultNested {<default_bus> a <cc:components/Bus.jsonld#Bus>} bus
* \ @defaultNested {Hypermedia link resolution failed: none of the configured actors were able to resolve links from metadata} busFailMessage
*/
/* eslint-enable max-len */
constructor(args) {

@@ -22,0 +26,0 @@ super(args);

{
"name": "@comunica/bus-rdf-resolve-hypermedia-links",
"version": "3.2.1",
"version": "3.2.4-alpha.47.0",
"description": "A comunica bus for rdf-resolve-hypermedia-links events.",
"lsd:module": true,
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/comunica-association"
},
"homepage": "https://comunica.dev/",

@@ -39,7 +43,6 @@ "repository": {

"dependencies": {
"@comunica/core": "^3.2.1",
"@comunica/types": "^3.2.1",
"@rdfjs/types": "*"
"@comunica/core": "3.2.4-alpha.47.0",
"@comunica/types": "3.2.4-alpha.47.0"
},
"gitHead": "f558377c3cefbd1606c51ede80440b862e7dda4f"
"gitHead": "85bd4c5cf07dfc293ebbc3a1416b70e2db8bfc48"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc