@comunica/bus-dereference 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { MediateMediaTyped, MediateMediaTypes } from '@comunica/actor-abstract-mediatyped';
|
|
2
2
|
import type { IActionParse, IActorParseOutput, IParseMetadata } from '@comunica/actor-abstract-parse';
|
|
3
3
|
import type { IActorArgs, IActorTest } from '@comunica/core';
|
|
4
|
-
import {
|
|
4
|
+
import type { Readable } from 'readable-stream';
|
|
5
5
|
import type { IActionDereference, IActorDereferenceOutput, MediatorDereference } from './ActorDereference';
|
|
6
6
|
import { ActorDereferenceBase } from './ActorDereferenceBase';
|
|
7
7
|
/**
|
|
@@ -45,7 +45,7 @@ export declare abstract class ActorDereferenceParse<S, K extends IParseMetadata
|
|
|
45
45
|
* @param {Readable} data A data stream.
|
|
46
46
|
* @return {Readable} The resulting data stream.
|
|
47
47
|
*/
|
|
48
|
-
protected handleDereferenceStreamErrors<L, T extends Readable>(action: IActionDereferenceParse<L>, data: T): T;
|
|
48
|
+
protected handleDereferenceStreamErrors<L extends IParseMetadata, T extends Readable>(action: IActionDereferenceParse<L>, data: T): T;
|
|
49
49
|
abstract getMetadata(dereference: IActorDereferenceOutput): Promise<K | undefined>;
|
|
50
50
|
run(action: IActionDereferenceParse<K>): Promise<IActorDereferenceParseOutput<S, M>>;
|
|
51
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/bus-dereference",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "A bus for dereferencing a path or URL into a (generic) stream.",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
|
|
43
43
|
"build:components": "componentsjs-generator"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ead42818468757f23a7837969e14b83cf19c4438"
|
|
46
46
|
}
|