@comunica/bus-dereference
Advanced tools
Comparing version 3.2.1 to 3.2.4-alpha.47.0
@@ -17,3 +17,5 @@ /// <reference types="node" /> | ||
/** | ||
* @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 {Dereferencing failed: none of the configured actors were able to handle ${action.url}} busFailMessage | ||
*/ | ||
@@ -20,0 +22,0 @@ constructor(args: IActorDereferenceArgs); |
@@ -17,5 +17,9 @@ "use strict"; | ||
class ActorDereference extends ActorDereferenceBase_1.ActorDereferenceBase { | ||
/* 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 {Dereferencing failed: none of the configured actors were able to handle ${action.url}} busFailMessage | ||
*/ | ||
/* eslint-enable max-len */ | ||
constructor(args) { | ||
@@ -22,0 +26,0 @@ super(args); |
@@ -24,4 +24,4 @@ import type { IAction, IActorArgs, IActorTest } from '@comunica/core'; | ||
*/ | ||
export declare abstract class ActorDereferenceBase<I extends IAction, T extends IActorTest, O extends IActorDereferenceOutput> extends Actor<I, T, O> { | ||
constructor(args: IActorArgs<I, T, O>); | ||
export declare abstract class ActorDereferenceBase<I extends IAction, T extends IActorTest, O extends IActorDereferenceOutput, TS = undefined> extends Actor<I, T, O, TS> { | ||
constructor(args: IActorArgs<I, T, O, TS>); | ||
/** | ||
@@ -28,0 +28,0 @@ * Handle the given error as a rejection or delegate it to the logger, |
import type { MediateMediaTyped, MediateMediaTypes } from '@comunica/actor-abstract-mediatyped'; | ||
import type { IActionParse, IActorParseOutput, IParseMetadata } from '@comunica/actor-abstract-parse'; | ||
import type { IActorArgs, IActorTest } from '@comunica/core'; | ||
import type { IActorArgs, IActorTest, TestResult } from '@comunica/core'; | ||
import type { Readable } from 'readable-stream'; | ||
@@ -41,3 +41,3 @@ import type { IActionDereference, IActorDereferenceOutput, MediatorDereference } from './ActorDereference'; | ||
constructor(args: IActorDereferenceParseArgs<S, K, M>); | ||
test(_action: IActionDereference): Promise<IActorTest>; | ||
test(_action: IActionDereference): Promise<TestResult<IActorTest>>; | ||
/** | ||
@@ -44,0 +44,0 @@ * If hard errors are disabled, modify the given stream so that errors are delegated to the logger. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ActorDereferenceParse = exports.getMediaTypeFromExtension = void 0; | ||
const core_1 = require("@comunica/core"); | ||
const readable_stream_1 = require("readable-stream"); | ||
@@ -35,3 +36,3 @@ const ActorDereferenceBase_1 = require("./ActorDereferenceBase"); | ||
async test(_action) { | ||
return true; | ||
return (0, core_1.passTestVoid)(); | ||
} | ||
@@ -38,0 +39,0 @@ /** |
{ | ||
"name": "@comunica/bus-dereference", | ||
"version": "3.2.1", | ||
"version": "3.2.4-alpha.47.0", | ||
"description": "A bus for dereferencing a path or URL into a (generic) stream.", | ||
"lsd:module": true, | ||
"license": "MIT", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/comunica-association" | ||
}, | ||
"homepage": "https://comunica.dev/", | ||
@@ -39,10 +43,10 @@ "repository": { | ||
"dependencies": { | ||
"@comunica/actor-abstract-mediatyped": "^3.2.1", | ||
"@comunica/actor-abstract-parse": "^3.2.1", | ||
"@comunica/context-entries": "^3.2.1", | ||
"@comunica/core": "^3.2.1", | ||
"@comunica/types": "^3.2.1", | ||
"readable-stream": "^4.4.2" | ||
"@comunica/actor-abstract-mediatyped": "3.2.4-alpha.47.0", | ||
"@comunica/actor-abstract-parse": "3.2.4-alpha.47.0", | ||
"@comunica/context-entries": "3.2.4-alpha.47.0", | ||
"@comunica/core": "3.2.4-alpha.47.0", | ||
"@comunica/types": "3.2.4-alpha.47.0", | ||
"readable-stream": "^4.5.2" | ||
}, | ||
"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
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81291
388
1
+ Added@comunica/actor-abstract-mediatyped@3.2.4-alpha.47.0(transitive)
+ Added@comunica/actor-abstract-parse@3.2.4-alpha.47.0(transitive)
+ Added@comunica/context-entries@3.2.4-alpha.47.0(transitive)
+ Added@comunica/core@3.2.4-alpha.47.0(transitive)
+ Added@comunica/types@3.2.4-alpha.47.0(transitive)
+ Added@types/node@18.19.6622.10.0(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedundici-types@6.20.0(transitive)
- Removed@comunica/actor-abstract-mediatyped@3.3.0(transitive)
- Removed@comunica/actor-abstract-parse@3.3.0(transitive)
- Removed@comunica/context-entries@3.3.0(transitive)
- Removed@comunica/core@3.3.0(transitive)
- Removed@comunica/types@3.3.0(transitive)
- Removed@types/node@18.19.6422.9.1(transitive)
- Removedundici-types@6.19.8(transitive)
Updatedreadable-stream@^4.5.2