@comunica/actor-query-result-serialize-stats 2.3.1-alpha.29.0 → 2.4.0
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,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Readable } from 'stream';
|
|
3
1
|
import type { IActionSparqlSerialize, IActorQueryResultSerializeFixedMediaTypesArgs, IActorQueryResultSerializeOutput } from '@comunica/bus-query-result-serialize';
|
|
4
2
|
import { ActorQueryResultSerializeFixedMediaTypes } from '@comunica/bus-query-result-serialize';
|
|
5
3
|
import type { IActionContext } from '@comunica/types';
|
|
4
|
+
import { Readable } from 'readable-stream';
|
|
6
5
|
import type { ActionObserverHttp } from './ActionObserverHttp';
|
|
7
6
|
/**
|
|
8
7
|
* Serializes SPARQL results for testing and debugging.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ActorQueryResultSerializeStats = void 0;
|
|
4
|
-
const stream_1 = require("stream");
|
|
5
4
|
const bus_query_result_serialize_1 = require("@comunica/bus-query-result-serialize");
|
|
5
|
+
const readable_stream_1 = require("readable-stream");
|
|
6
6
|
/**
|
|
7
7
|
* Serializes SPARQL results for testing and debugging.
|
|
8
8
|
*/
|
|
@@ -41,7 +41,7 @@ class ActorQueryResultSerializeStats extends bus_query_result_serialize_1.ActorQ
|
|
|
41
41
|
data.push(null);
|
|
42
42
|
}
|
|
43
43
|
async runHandle(action, mediaType, context) {
|
|
44
|
-
const data = new
|
|
44
|
+
const data = new readable_stream_1.Readable();
|
|
45
45
|
data._read = () => {
|
|
46
46
|
// Do nothing
|
|
47
47
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-query-result-serialize-stats",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "A stats query-result-serialize actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -31,16 +31,17 @@
|
|
|
31
31
|
"lib/**/*.js"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@comunica/bus-http": "2.
|
|
35
|
-
"@comunica/bus-http-invalidate": "2.
|
|
36
|
-
"@comunica/bus-query-result-serialize": "2.
|
|
37
|
-
"@comunica/core": "2.
|
|
38
|
-
"@comunica/types": "2.
|
|
34
|
+
"@comunica/bus-http": "^2.4.0",
|
|
35
|
+
"@comunica/bus-http-invalidate": "^2.4.0",
|
|
36
|
+
"@comunica/bus-query-result-serialize": "^2.4.0",
|
|
37
|
+
"@comunica/core": "^2.4.0",
|
|
38
|
+
"@comunica/types": "^2.4.0",
|
|
39
|
+
"readable-stream": "^4.0.0"
|
|
39
40
|
},
|
|
40
41
|
"scripts": {
|
|
41
42
|
"build": "npm run build:ts && npm run build:components",
|
|
42
43
|
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"",
|
|
43
44
|
"build:components": "componentsjs-generator"
|
|
44
45
|
},
|
|
45
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "cb5a1560c9ab9ebaf3335888a1411a7e1654de1e"
|
|
46
47
|
}
|