@rdfc/js-runner 0.2.2 → 0.3.0-alpha.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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Js-runner
2
2
 
3
- [![Bun CI](https://github.com/rdf-connect/js-runner/actions/workflows/build-test.yml/badge.svg)](https://github.com/rdf-connect/js-runner/actions/workflows/build-test.yml) [![npm](https://img.shields.io/npm/v/@rdfc/js-runner.svg?style=popout)](https://npmjs.com/package/@rdfc/js-runner)
3
+ [![Build and tests with Node.js](https://github.com/rdf-connect/js-runner/actions/workflows/build-test.yml/badge.svg)](https://github.com/rdf-connect/js-runner/actions/workflows/build-test.yml) [![npm](https://img.shields.io/npm/v/@rdfc/js-runner.svg?style=popout)](https://npmjs.com/package/@rdfc/js-runner)
4
4
 
5
5
  Typescript/Javascript executor for an [RDF-Connect](https://rdf-connect.github.io/rdfc.github.io/) pipeline. Starting from a declarative RDF file describing the pipeline.
6
6
 
@@ -34,7 +34,7 @@ You can execute this pipeline with
34
34
 
35
35
  ```bash
36
36
  tsc
37
- bun bin/js-runner.js input.ttl
37
+ npx bin/js-runner.js input.ttl
38
38
  ```
39
39
 
40
- This example input configuration file uses `owl:imports` to specify additional configuration files.
40
+ This example input configuration file uses `owl:imports` to specify additional configuration files.
package/bin/bundle.mjs CHANGED
@@ -31803,8 +31803,18 @@ function getArgs() {
31803
31803
  return args;
31804
31804
  }
31805
31805
  var optionDefinitions = [
31806
- { name: "input", type: String, defaultOption: true, summary: "Specify what input file to start up" },
31807
- { name: "help", alias: "h", type: Boolean, description: "Display this help message" }
31806
+ {
31807
+ name: "input",
31808
+ type: String,
31809
+ defaultOption: true,
31810
+ summary: "Specify what input file to start up"
31811
+ },
31812
+ {
31813
+ name: "help",
31814
+ alias: "h",
31815
+ type: Boolean,
31816
+ description: "Display this help message"
31817
+ }
31808
31818
  ];
31809
31819
  var sections = [
31810
31820
  {
@@ -31817,7 +31827,9 @@ var sections = [
31817
31827
  },
31818
31828
  {
31819
31829
  header: "Command List",
31820
- content: [{ name: "input", summary: "Specify what input file to start up" }]
31830
+ content: [
31831
+ { name: "input", summary: "Specify what input file to start up" }
31832
+ ]
31821
31833
  },
31822
31834
  {
31823
31835
  optionList: [optionDefinitions[1]]
@@ -31880,7 +31892,7 @@ async function load_store(location, store, recursive = true) {
31880
31892
  if (recursive) {
31881
31893
  const loc = location.type === "remote" ? location.location : location.baseIRI;
31882
31894
  const other_imports = store.getObjects(namedNode(loc), OWL.terms.imports, null);
31883
- for (let other of other_imports) {
31895
+ for (const other of other_imports) {
31884
31896
  await load_store({ location: other.value, type: "remote" }, store, true);
31885
31897
  }
31886
31898
  }
@@ -31896,6 +31908,10 @@ var CONN2 = types.createUriAndTermNamespace("https://w3id.org/conn#", "install",
31896
31908
  var { namedNode, literal } = import_n3.DataFactory;
31897
31909
  var loaded = new Set;
31898
31910
 
31911
+ // dist/index.js
31912
+ var types5 = __toESM(require_dist2(), 1);
31913
+ import path from "path";
31914
+
31899
31915
  // dist/connectors.js
31900
31916
  var types2 = __toESM(require_dist2(), 1);
31901
31917
 
@@ -31966,21 +31982,20 @@ var startFileStreamReader = (config) => {
31966
31982
  var startFileStreamWriter = (config) => {
31967
31983
  const path = isAbsolute(config.path) ? config.path : `${process.cwd()}/${config.path}`;
31968
31984
  const encoding = config.encoding || "utf-8";
31985
+ const writer = new SimpleStream;
31969
31986
  const init = async () => {
31970
31987
  if (!config.onReplace) {
31971
31988
  await writeFile(path, "", { encoding });
31972
31989
  }
31973
31990
  };
31974
- const push = async (item) => {
31991
+ writer.push = async (item) => {
31975
31992
  if (config.onReplace) {
31976
31993
  await writeFile(path, item, { encoding });
31977
31994
  } else {
31978
31995
  await appendFile(path, item, { encoding });
31979
31996
  }
31980
31997
  };
31981
- const end = async () => {
31982
- };
31983
- return { writer: { push, end }, init };
31998
+ return { writer, init };
31984
31999
  };
31985
32000
  // node_modules/ws/wrapper.mjs
31986
32001
  var stream = __toESM(require_stream2(), 1);
@@ -32049,13 +32064,13 @@ var startWsStreamWriter = (config) => {
32049
32064
  ws = await connectWs(config.url);
32050
32065
  ws.on("open", () => console.log("open"));
32051
32066
  };
32052
- const push = async (item) => {
32053
- ws.send(item);
32054
- };
32055
- const end = async () => {
32067
+ const writer = new SimpleStream(async () => {
32056
32068
  ws.close();
32069
+ });
32070
+ writer.push = async (item) => {
32071
+ ws.send(item);
32057
32072
  };
32058
- return { writer: { push, end }, init };
32073
+ return { writer, init };
32059
32074
  };
32060
32075
  // dist/connectors/kafka.js
32061
32076
  var import_kafkajs = __toESM(require_kafkajs(), 1);
@@ -32110,14 +32125,14 @@ var startKafkaStreamWriter = (config) => {
32110
32125
  }
32111
32126
  const kafka = new import_kafkajs.Kafka(brokerConfig);
32112
32127
  const producer = kafka.producer(config.producer);
32128
+ const writer = new SimpleStream(async () => {
32129
+ await producer.disconnect();
32130
+ });
32113
32131
  const init = () => producer.connect();
32114
- const push = async (item) => {
32132
+ writer.push = async (item) => {
32115
32133
  await producer.send({ topic, messages: [{ value: item }] });
32116
32134
  };
32117
- const end = async () => {
32118
- await producer.disconnect();
32119
- };
32120
- return { writer: { push, end }, init };
32135
+ return { writer, init };
32121
32136
  };
32122
32137
  // dist/connectors/http.js
32123
32138
  import * as http2 from "http";
@@ -32135,7 +32150,7 @@ var streamToString = function(stream2, binary) {
32135
32150
  });
32136
32151
  };
32137
32152
  var startHttpStreamReader = (config) => {
32138
- let server;
32153
+ let server = undefined;
32139
32154
  const stream2 = new SimpleStream(() => new Promise((res) => {
32140
32155
  if (server !== undefined) {
32141
32156
  server.close(() => {
@@ -32175,8 +32190,9 @@ var startHttpStreamReader = (config) => {
32175
32190
  };
32176
32191
  var startHttpStreamWriter = (config) => {
32177
32192
  const requestConfig = new URL(config.endpoint);
32178
- const push = async (item) => {
32179
- await new Promise(async (resolve) => {
32193
+ const writer = new SimpleStream;
32194
+ writer.push = async (item) => {
32195
+ await new Promise((resolve) => {
32180
32196
  const options = {
32181
32197
  hostname: requestConfig.hostname,
32182
32198
  path: requestConfig.path,
@@ -32191,13 +32207,12 @@ var startHttpStreamWriter = (config) => {
32191
32207
  });
32192
32208
  };
32193
32209
  const req = http2.request(options, cb);
32194
- await new Promise((res) => req.write(item, res));
32195
- await new Promise((res) => req.end(res));
32210
+ req.write(item, () => {
32211
+ req.end();
32212
+ });
32196
32213
  });
32197
32214
  };
32198
- const end = async () => {
32199
- };
32200
- return { writer: { push, end }, init: async () => {
32215
+ return { writer, init: async () => {
32201
32216
  } };
32202
32217
  };
32203
32218
 
@@ -32305,6 +32320,7 @@ class SimpleStream {
32305
32320
  endHandlers = [];
32306
32321
  disconnect;
32307
32322
  lastElement;
32323
+ ended = false;
32308
32324
  constructor(onDisconnect) {
32309
32325
  this.disconnect = onDisconnect || (async () => {
32310
32326
  });
@@ -32314,12 +32330,16 @@ class SimpleStream {
32314
32330
  return this;
32315
32331
  }
32316
32332
  async push(data) {
32333
+ if (this.ended) {
32334
+ throw new Error("Trying to push to a stream that has ended!");
32335
+ }
32317
32336
  this.lastElement = data;
32318
32337
  await Promise.all(this.dataHandlers.map((handler) => handler(data)));
32319
32338
  }
32320
32339
  async end() {
32321
32340
  await this.disconnect();
32322
32341
  await Promise.all(this.endHandlers.map((handler) => handler()));
32342
+ this.ended = true;
32323
32343
  }
32324
32344
  on(event, listener) {
32325
32345
  if (event === "data") {
@@ -32332,10 +32352,6 @@ class SimpleStream {
32332
32352
  }
32333
32353
  }
32334
32354
 
32335
- // dist/index.js
32336
- var types5 = __toESM(require_dist2(), 1);
32337
- import path from "path";
32338
-
32339
32355
  // node_modules/rdf-lens/dist/lens.js
32340
32356
  function pred(pred2) {
32341
32357
  return new BasicLensM(({ quads, id }) => {
@@ -32886,10 +32902,10 @@ function extractSteps(proc, quads, config) {
32886
32902
  const subjects2 = quads.filter((x) => x.predicate.equals(types5.RDF.terms.type) && x.object.equals(proc.ty)).map((x) => x.subject);
32887
32903
  const processorLens = config.lenses[proc.ty.value];
32888
32904
  const fields = proc.mapping.parameters;
32889
- for (let id of subjects2) {
32905
+ for (const id of subjects2) {
32890
32906
  const obj = processorLens.execute({ id, quads });
32891
32907
  const functionArgs = new Array(fields.length);
32892
- for (let field2 of fields) {
32908
+ for (const field2 of fields) {
32893
32909
  functionArgs[field2.position] = obj[field2.parameter];
32894
32910
  }
32895
32911
  out.push(functionArgs);
@@ -32910,16 +32926,16 @@ async function jsRunner() {
32910
32926
  const { processors, quads, shapes: config } = await extractProcessors(source, apply);
32911
32927
  LOG.main("Found %d processors", processors.length);
32912
32928
  const starts = [];
32913
- for (let proc of processors) {
32929
+ for (const proc of processors) {
32914
32930
  const argss = extractSteps(proc, quads, config);
32915
32931
  const jsProgram = await import("file://" + proc.file);
32916
32932
  process.chdir(proc.location);
32917
- for (let args3 of argss) {
32933
+ for (const args3 of argss) {
32918
32934
  starts.push(await jsProgram[proc.func](...args3));
32919
32935
  }
32920
32936
  }
32921
32937
  await factory.init();
32922
- for (let s of starts) {
32938
+ for (const s of starts) {
32923
32939
  if (s && typeof s === "function") {
32924
32940
  s();
32925
32941
  }
package/dist/args.js CHANGED
@@ -1,25 +1,37 @@
1
1
  import commandLineArgs from "command-line-args";
2
2
  import commandLineUsage from "command-line-usage";
3
3
  const optionDefinitions = [
4
- { name: 'input', type: String, defaultOption: true, summary: "Specify what input file to start up" },
5
- { name: 'help', alias: 'h', type: Boolean, description: "Display this help message" },
4
+ {
5
+ name: "input",
6
+ type: String,
7
+ defaultOption: true,
8
+ summary: "Specify what input file to start up",
9
+ },
10
+ {
11
+ name: "help",
12
+ alias: "h",
13
+ type: Boolean,
14
+ description: "Display this help message",
15
+ },
6
16
  ];
7
17
  const sections = [
8
18
  {
9
19
  header: "Js-runner",
10
- content: "JS-runner is part of the {italic connector architecture}. Starting from an input file start up all JsProcessors that are defined. Please do not use blank nodes, skolemize your data somewhere else!"
20
+ content: "JS-runner is part of the {italic connector architecture}. Starting from an input file start up all JsProcessors that are defined. Please do not use blank nodes, skolemize your data somewhere else!",
11
21
  },
12
22
  {
13
23
  header: "Synopsis",
14
- content: "$ js-runner <input>"
24
+ content: "$ js-runner <input>",
15
25
  },
16
26
  {
17
27
  header: "Command List",
18
- content: [{ name: "input", summary: "Specify what input file to start up" }],
28
+ content: [
29
+ { name: "input", summary: "Specify what input file to start up" },
30
+ ],
19
31
  },
20
32
  {
21
- optionList: [optionDefinitions[1]]
22
- }
33
+ optionList: [optionDefinitions[1]],
34
+ },
23
35
  ];
24
36
  function validArgs(args) {
25
37
  if (!args.input)
@@ -71,12 +71,13 @@ export const startFileStreamWriter = (config) => {
71
71
  ? config.path
72
72
  : `${process.cwd()}/${config.path}`;
73
73
  const encoding = config.encoding || "utf-8";
74
+ const writer = new SimpleStream();
74
75
  const init = async () => {
75
76
  if (!config.onReplace) {
76
77
  await writeFile(path, "", { encoding });
77
78
  }
78
79
  };
79
- const push = async (item) => {
80
+ writer.push = async (item) => {
80
81
  if (config.onReplace) {
81
82
  await writeFile(path, item, { encoding });
82
83
  }
@@ -84,6 +85,5 @@ export const startFileStreamWriter = (config) => {
84
85
  await appendFile(path, item, { encoding });
85
86
  }
86
87
  };
87
- const end = async () => { };
88
- return { writer: { push, end }, init };
88
+ return { writer, init };
89
89
  };
@@ -14,7 +14,7 @@ function streamToString(stream, binary) {
14
14
  });
15
15
  }
16
16
  export const startHttpStreamReader = (config) => {
17
- let server;
17
+ let server = undefined;
18
18
  const stream = new SimpleStream(() => new Promise((res) => {
19
19
  if (server !== undefined) {
20
20
  server.close(() => {
@@ -57,8 +57,9 @@ export const startHttpStreamReader = (config) => {
57
57
  };
58
58
  export const startHttpStreamWriter = (config) => {
59
59
  const requestConfig = new URL(config.endpoint);
60
- const push = async (item) => {
61
- await new Promise(async (resolve) => {
60
+ const writer = new SimpleStream();
61
+ writer.push = async (item) => {
62
+ await new Promise((resolve) => {
62
63
  const options = {
63
64
  hostname: requestConfig.hostname,
64
65
  path: requestConfig.path,
@@ -72,10 +73,10 @@ export const startHttpStreamWriter = (config) => {
72
73
  });
73
74
  };
74
75
  const req = http.request(options, cb);
75
- await new Promise((res) => req.write(item, res));
76
- await new Promise((res) => req.end(res));
76
+ req.write(item, () => {
77
+ req.end();
78
+ });
77
79
  });
78
80
  };
79
- const end = async () => { };
80
- return { writer: { push, end }, init: async () => { } };
81
+ return { writer, init: async () => { } };
81
82
  };
@@ -10,7 +10,7 @@ export const startKafkaStreamReader = (config) => {
10
10
  Object.assign(brokerConfig, config.broker);
11
11
  }
12
12
  if (brokerConfig && brokerConfig.hosts) {
13
- brokerConfig.brokers = brokerConfig.hosts;
13
+ brokerConfig.brokers = (brokerConfig).hosts;
14
14
  }
15
15
  const kafka = new Kafka(brokerConfig);
16
16
  const consumer = kafka.consumer(config.consumer);
@@ -29,9 +29,7 @@ export const startKafkaStreamReader = (config) => {
29
29
  async eachMessage({ topic, message, }) {
30
30
  if (topic === config.topic.name) {
31
31
  const element = message.value?.toString() ?? "";
32
- stream.push(element).catch((error) => {
33
- throw error;
34
- });
32
+ await stream.push(element);
35
33
  }
36
34
  },
37
35
  })
@@ -51,16 +49,16 @@ export const startKafkaStreamWriter = (config) => {
51
49
  Object.assign(brokerConfig, config.broker);
52
50
  }
53
51
  if (brokerConfig && brokerConfig.hosts) {
54
- brokerConfig.brokers = brokerConfig.hosts;
52
+ brokerConfig.brokers = (brokerConfig).hosts;
55
53
  }
56
54
  const kafka = new Kafka(brokerConfig);
57
55
  const producer = kafka.producer(config.producer);
56
+ const writer = new SimpleStream(async () => {
57
+ await producer.disconnect();
58
+ });
58
59
  const init = () => producer.connect();
59
- const push = async (item) => {
60
+ writer.push = async (item) => {
60
61
  await producer.send({ topic, messages: [{ value: item }] });
61
62
  };
62
- const end = async () => {
63
- await producer.disconnect();
64
- };
65
- return { writer: { push, end }, init };
63
+ return { writer, init };
66
64
  };
@@ -59,11 +59,11 @@ export const startWsStreamWriter = (config) => {
59
59
  ws = await connectWs(config.url);
60
60
  ws.on("open", () => console.log("open"));
61
61
  };
62
- const push = async (item) => {
63
- ws.send(item);
64
- };
65
- const end = async () => {
62
+ const writer = new SimpleStream(async () => {
66
63
  ws.close();
64
+ });
65
+ writer.push = async (item) => {
66
+ ws.send(item);
67
67
  };
68
- return { writer: { push, end }, init };
68
+ return { writer, init };
69
69
  };
@@ -29,6 +29,7 @@ export declare class ChannelFactory {
29
29
  export interface Writer<T> {
30
30
  push(item: T): Promise<void>;
31
31
  end(): Promise<void>;
32
+ on(event: "end", listener: Handler<void>): this;
32
33
  }
33
34
  export interface Stream<T> {
34
35
  lastElement?: T;
@@ -43,6 +44,7 @@ export declare class SimpleStream<T> implements Stream<T> {
43
44
  private readonly endHandlers;
44
45
  readonly disconnect: () => Promise<void>;
45
46
  lastElement?: T | undefined;
47
+ private ended;
46
48
  constructor(onDisconnect?: () => Promise<void>);
47
49
  data(listener: Handler<T>): this;
48
50
  push(data: T): Promise<void>;
@@ -42,13 +42,15 @@ export class ChannelFactory {
42
42
  const id = c.channel.id.value;
43
43
  if (c.channel.id.termType === "NamedNode") {
44
44
  if (!this.jsChannelsNamedNodes[id]) {
45
- this.jsChannelsNamedNodes[id] = new SimpleStream();
45
+ this.jsChannelsNamedNodes[id] =
46
+ new SimpleStream();
46
47
  }
47
48
  return this.jsChannelsNamedNodes[id];
48
49
  }
49
50
  if (c.channel.id.termType === "BlankNode") {
50
51
  if (!this.jsChannelsBlankNodes[id]) {
51
- this.jsChannelsBlankNodes[id] = new SimpleStream();
52
+ this.jsChannelsBlankNodes[id] =
53
+ new SimpleStream();
52
54
  }
53
55
  return this.jsChannelsBlankNodes[id];
54
56
  }
@@ -85,13 +87,15 @@ export class ChannelFactory {
85
87
  const id = c.channel.id.value;
86
88
  if (c.channel.id.termType === "NamedNode") {
87
89
  if (!this.jsChannelsNamedNodes[id]) {
88
- this.jsChannelsNamedNodes[id] = new SimpleStream();
90
+ this.jsChannelsNamedNodes[id] =
91
+ new SimpleStream();
89
92
  }
90
93
  return this.jsChannelsNamedNodes[id];
91
94
  }
92
95
  if (c.channel.id.termType === "BlankNode") {
93
96
  if (!this.jsChannelsBlankNodes[id]) {
94
- this.jsChannelsBlankNodes[id] = new SimpleStream();
97
+ this.jsChannelsBlankNodes[id] =
98
+ new SimpleStream();
95
99
  }
96
100
  return this.jsChannelsBlankNodes[id];
97
101
  }
@@ -109,6 +113,7 @@ export class SimpleStream {
109
113
  endHandlers = [];
110
114
  disconnect;
111
115
  lastElement;
116
+ ended = false;
112
117
  constructor(onDisconnect) {
113
118
  this.disconnect = onDisconnect || (async () => { });
114
119
  }
@@ -117,12 +122,16 @@ export class SimpleStream {
117
122
  return this;
118
123
  }
119
124
  async push(data) {
125
+ if (this.ended) {
126
+ throw new Error("Trying to push to a stream that has ended!");
127
+ }
120
128
  this.lastElement = data;
121
129
  await Promise.all(this.dataHandlers.map((handler) => handler(data)));
122
130
  }
123
131
  async end() {
124
132
  await this.disconnect();
125
133
  await Promise.all(this.endHandlers.map((handler) => handler()));
134
+ this.ended = true;
126
135
  }
127
136
  on(event, listener) {
128
137
  if (event === "data") {
package/dist/index.cjs CHANGED
@@ -8,8 +8,8 @@ var http = require('http');
8
8
  var https = require('https');
9
9
  var types = require('@treecg/types');
10
10
  var debug = require('debug');
11
- var promises = require('fs/promises');
12
11
  var path = require('path');
12
+ var promises = require('fs/promises');
13
13
  var node_fs = require('node:fs');
14
14
  var ws = require('ws');
15
15
  var kafkajs = require('kafkajs');
@@ -35,25 +35,37 @@ function _interopNamespaceDefault(e) {
35
35
  var http__namespace = /*#__PURE__*/_interopNamespaceDefault(http);
36
36
 
37
37
  const optionDefinitions = [
38
- { name: 'input', type: String, defaultOption: true, summary: "Specify what input file to start up" },
39
- { name: 'help', alias: 'h', type: Boolean, description: "Display this help message" },
38
+ {
39
+ name: "input",
40
+ type: String,
41
+ defaultOption: true,
42
+ summary: "Specify what input file to start up",
43
+ },
44
+ {
45
+ name: "help",
46
+ alias: "h",
47
+ type: Boolean,
48
+ description: "Display this help message",
49
+ },
40
50
  ];
41
51
  const sections = [
42
52
  {
43
53
  header: "Js-runner",
44
- content: "JS-runner is part of the {italic connector architecture}. Starting from an input file start up all JsProcessors that are defined. Please do not use blank nodes, skolemize your data somewhere else!"
54
+ content: "JS-runner is part of the {italic connector architecture}. Starting from an input file start up all JsProcessors that are defined. Please do not use blank nodes, skolemize your data somewhere else!",
45
55
  },
46
56
  {
47
57
  header: "Synopsis",
48
- content: "$ js-runner <input>"
58
+ content: "$ js-runner <input>",
49
59
  },
50
60
  {
51
61
  header: "Command List",
52
- content: [{ name: "input", summary: "Specify what input file to start up" }],
62
+ content: [
63
+ { name: "input", summary: "Specify what input file to start up" },
64
+ ],
53
65
  },
54
66
  {
55
- optionList: [optionDefinitions[1]]
56
- }
67
+ optionList: [optionDefinitions[1]],
68
+ },
57
69
  ];
58
70
  function validArgs(args) {
59
71
  if (!args.input)
@@ -144,7 +156,7 @@ async function load_store(location, store, recursive = true) {
144
156
  if (recursive) {
145
157
  const loc = location.type === "remote" ? location.location : location.baseIRI;
146
158
  const other_imports = store.getObjects(namedNode(loc), OWL.terms.imports, null);
147
- for (let other of other_imports) {
159
+ for (const other of other_imports) {
148
160
  await load_store({ location: other.value, type: "remote" }, store, true);
149
161
  }
150
162
  }
@@ -218,12 +230,13 @@ const startFileStreamWriter = (config) => {
218
230
  ? config.path
219
231
  : `${process.cwd()}/${config.path}`;
220
232
  const encoding = config.encoding || "utf-8";
233
+ const writer = new SimpleStream();
221
234
  const init = async () => {
222
235
  if (!config.onReplace) {
223
236
  await promises.writeFile(path$1, "", { encoding });
224
237
  }
225
238
  };
226
- const push = async (item) => {
239
+ writer.push = async (item) => {
227
240
  if (config.onReplace) {
228
241
  await promises.writeFile(path$1, item, { encoding });
229
242
  }
@@ -231,8 +244,7 @@ const startFileStreamWriter = (config) => {
231
244
  await promises.appendFile(path$1, item, { encoding });
232
245
  }
233
246
  };
234
- const end = async () => { };
235
- return { writer: { push, end }, init };
247
+ return { writer, init };
236
248
  };
237
249
 
238
250
  function _connectWs(url, res) {
@@ -293,13 +305,13 @@ const startWsStreamWriter = (config) => {
293
305
  ws = await connectWs(config.url);
294
306
  ws.on("open", () => console.log("open"));
295
307
  };
296
- const push = async (item) => {
297
- ws.send(item);
298
- };
299
- const end = async () => {
308
+ const writer = new SimpleStream(async () => {
300
309
  ws.close();
310
+ });
311
+ writer.push = async (item) => {
312
+ ws.send(item);
301
313
  };
302
- return { writer: { push, end }, init };
314
+ return { writer, init };
303
315
  };
304
316
 
305
317
  const startKafkaStreamReader = (config) => {
@@ -311,7 +323,7 @@ const startKafkaStreamReader = (config) => {
311
323
  Object.assign(brokerConfig, config.broker);
312
324
  }
313
325
  if (brokerConfig && brokerConfig.hosts) {
314
- brokerConfig.brokers = brokerConfig.hosts;
326
+ brokerConfig.brokers = (brokerConfig).hosts;
315
327
  }
316
328
  const kafka = new kafkajs.Kafka(brokerConfig);
317
329
  const consumer = kafka.consumer(config.consumer);
@@ -352,18 +364,18 @@ const startKafkaStreamWriter = (config) => {
352
364
  Object.assign(brokerConfig, config.broker);
353
365
  }
354
366
  if (brokerConfig && brokerConfig.hosts) {
355
- brokerConfig.brokers = brokerConfig.hosts;
367
+ brokerConfig.brokers = (brokerConfig).hosts;
356
368
  }
357
369
  const kafka = new kafkajs.Kafka(brokerConfig);
358
370
  const producer = kafka.producer(config.producer);
371
+ const writer = new SimpleStream(async () => {
372
+ await producer.disconnect();
373
+ });
359
374
  const init = () => producer.connect();
360
- const push = async (item) => {
375
+ writer.push = async (item) => {
361
376
  await producer.send({ topic, messages: [{ value: item }] });
362
377
  };
363
- const end = async () => {
364
- await producer.disconnect();
365
- };
366
- return { writer: { push, end }, init };
378
+ return { writer, init };
367
379
  };
368
380
 
369
381
  function streamToString(stream, binary) {
@@ -379,7 +391,7 @@ function streamToString(stream, binary) {
379
391
  });
380
392
  }
381
393
  const startHttpStreamReader = (config) => {
382
- let server;
394
+ let server = undefined;
383
395
  const stream = new SimpleStream(() => new Promise((res) => {
384
396
  if (server !== undefined) {
385
397
  server.close(() => {
@@ -422,8 +434,9 @@ const startHttpStreamReader = (config) => {
422
434
  };
423
435
  const startHttpStreamWriter = (config) => {
424
436
  const requestConfig = new URL(config.endpoint);
425
- const push = async (item) => {
426
- await new Promise(async (resolve) => {
437
+ const writer = new SimpleStream();
438
+ writer.push = async (item) => {
439
+ await new Promise((resolve) => {
427
440
  const options = {
428
441
  hostname: requestConfig.hostname,
429
442
  path: requestConfig.path,
@@ -437,12 +450,12 @@ const startHttpStreamWriter = (config) => {
437
450
  });
438
451
  };
439
452
  const req = http__namespace.request(options, cb);
440
- await new Promise((res) => req.write(item, res));
441
- await new Promise((res) => req.end(res));
453
+ req.write(item, () => {
454
+ req.end();
455
+ });
442
456
  });
443
457
  };
444
- const end = async () => { };
445
- return { writer: { push, end }, init: async () => { } };
458
+ return { writer, init: async () => { } };
446
459
  };
447
460
 
448
461
  const Conn = types.createTermNamespace("https://w3id.org/conn#", "FileReaderChannel", "FileWriterChannel", "HttpReaderChannel", "HttpWriterChannel", "KafkaReaderChannel", "KafkaWriterChannel", "WsReaderChannel", "WsWriterChannel", "WriterChannel", "ReaderChannel");
@@ -479,13 +492,15 @@ class ChannelFactory {
479
492
  const id = c.channel.id.value;
480
493
  if (c.channel.id.termType === "NamedNode") {
481
494
  if (!this.jsChannelsNamedNodes[id]) {
482
- this.jsChannelsNamedNodes[id] = new SimpleStream();
495
+ this.jsChannelsNamedNodes[id] =
496
+ new SimpleStream();
483
497
  }
484
498
  return this.jsChannelsNamedNodes[id];
485
499
  }
486
500
  if (c.channel.id.termType === "BlankNode") {
487
501
  if (!this.jsChannelsBlankNodes[id]) {
488
- this.jsChannelsBlankNodes[id] = new SimpleStream();
502
+ this.jsChannelsBlankNodes[id] =
503
+ new SimpleStream();
489
504
  }
490
505
  return this.jsChannelsBlankNodes[id];
491
506
  }
@@ -522,13 +537,15 @@ class ChannelFactory {
522
537
  const id = c.channel.id.value;
523
538
  if (c.channel.id.termType === "NamedNode") {
524
539
  if (!this.jsChannelsNamedNodes[id]) {
525
- this.jsChannelsNamedNodes[id] = new SimpleStream();
540
+ this.jsChannelsNamedNodes[id] =
541
+ new SimpleStream();
526
542
  }
527
543
  return this.jsChannelsNamedNodes[id];
528
544
  }
529
545
  if (c.channel.id.termType === "BlankNode") {
530
546
  if (!this.jsChannelsBlankNodes[id]) {
531
- this.jsChannelsBlankNodes[id] = new SimpleStream();
547
+ this.jsChannelsBlankNodes[id] =
548
+ new SimpleStream();
532
549
  }
533
550
  return this.jsChannelsBlankNodes[id];
534
551
  }
@@ -546,6 +563,7 @@ class SimpleStream {
546
563
  endHandlers = [];
547
564
  disconnect;
548
565
  lastElement;
566
+ ended = false;
549
567
  constructor(onDisconnect) {
550
568
  this.disconnect = onDisconnect || (async () => { });
551
569
  }
@@ -554,12 +572,16 @@ class SimpleStream {
554
572
  return this;
555
573
  }
556
574
  async push(data) {
575
+ if (this.ended) {
576
+ throw new Error("Trying to push to a stream that has ended!");
577
+ }
557
578
  this.lastElement = data;
558
579
  await Promise.all(this.dataHandlers.map((handler) => handler(data)));
559
580
  }
560
581
  async end() {
561
582
  await this.disconnect();
562
583
  await Promise.all(this.endHandlers.map((handler) => handler()));
584
+ this.ended = true;
563
585
  }
564
586
  on(event, listener) {
565
587
  if (event === "data") {
@@ -598,10 +620,10 @@ function extractSteps(proc, quads, config) {
598
620
  .map((x) => x.subject);
599
621
  const processorLens = config.lenses[proc.ty.value];
600
622
  const fields = proc.mapping.parameters;
601
- for (let id of subjects) {
623
+ for (const id of subjects) {
602
624
  const obj = processorLens.execute({ id, quads });
603
625
  const functionArgs = new Array(fields.length);
604
- for (let field of fields) {
626
+ for (const field of fields) {
605
627
  functionArgs[field.position] = obj[field.parameter];
606
628
  }
607
629
  out.push(functionArgs);
@@ -622,16 +644,16 @@ async function jsRunner() {
622
644
  const { processors, quads, shapes: config, } = await extractProcessors(source, apply);
623
645
  LOG.main("Found %d processors", processors.length);
624
646
  const starts = [];
625
- for (let proc of processors) {
647
+ for (const proc of processors) {
626
648
  const argss = extractSteps(proc, quads, config);
627
649
  const jsProgram = await import("file://" + proc.file);
628
650
  process.chdir(proc.location);
629
- for (let args of argss) {
651
+ for (const args of argss) {
630
652
  starts.push(await jsProgram[proc.func](...args));
631
653
  }
632
654
  }
633
655
  await factory.init();
634
- for (let s of starts) {
656
+ for (const s of starts) {
635
657
  if (s && typeof s === "function") {
636
658
  s();
637
659
  }
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from "./connectors.js";
2
1
  import { Quad, Term } from "@rdfjs/types";
3
2
  import { Shapes } from "rdf-lens";
3
+ export * from "./connectors.js";
4
4
  type Processor = {
5
5
  ty: Term;
6
6
  file: string;
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { Store } from "n3";
2
2
  import { getArgs } from "./args.js";
3
3
  import { load_store, LOG } from "./util.js";
4
- export * from "./connectors.js";
5
4
  import path from "path";
6
5
  import { RDF } from "@treecg/types";
7
6
  import { ChannelFactory, Conn, JsOntology } from "./connectors.js";
8
- import { extractShapes } from "rdf-lens";
7
+ import { envReplace, extractShapes } from "rdf-lens";
8
+ export * from "./connectors.js";
9
9
  function safeJoin(a, b) {
10
10
  if (b.startsWith("/")) {
11
11
  return b;
@@ -23,7 +23,8 @@ export async function extractProcessors(source, apply) {
23
23
  .map((x) => x.subject);
24
24
  const processorLens = config.lenses[JsOntology.JsProcess.value];
25
25
  const processors = subjects.map((id) => processorLens.execute({ id, quads }));
26
- return { processors, quads, shapes: config };
26
+ const newQuads = envReplace().execute(quads);
27
+ return { processors, quads: newQuads, shapes: config };
27
28
  }
28
29
  export function extractSteps(proc, quads, config) {
29
30
  const out = [];
@@ -32,10 +33,10 @@ export function extractSteps(proc, quads, config) {
32
33
  .map((x) => x.subject);
33
34
  const processorLens = config.lenses[proc.ty.value];
34
35
  const fields = proc.mapping.parameters;
35
- for (let id of subjects) {
36
+ for (const id of subjects) {
36
37
  const obj = processorLens.execute({ id, quads });
37
38
  const functionArgs = new Array(fields.length);
38
- for (let field of fields) {
39
+ for (const field of fields) {
39
40
  functionArgs[field.position] = obj[field.parameter];
40
41
  }
41
42
  out.push(functionArgs);
@@ -56,16 +57,16 @@ export async function jsRunner() {
56
57
  const { processors, quads, shapes: config, } = await extractProcessors(source, apply);
57
58
  LOG.main("Found %d processors", processors.length);
58
59
  const starts = [];
59
- for (let proc of processors) {
60
+ for (const proc of processors) {
60
61
  const argss = extractSteps(proc, quads, config);
61
62
  const jsProgram = await import("file://" + proc.file);
62
63
  process.chdir(proc.location);
63
- for (let args of argss) {
64
+ for (const args of argss) {
64
65
  starts.push(await jsProgram[proc.func](...args));
65
66
  }
66
67
  }
67
68
  await factory.init();
68
- for (let s of starts) {
69
+ for (const s of starts) {
69
70
  if (s && typeof s === "function") {
70
71
  s();
71
72
  }
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/@types/command-line-args/index.d.ts","../node_modules/@types/command-line-usage/index.d.ts","../src/args.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@rdfjs/types/data-model.d.ts","../node_modules/@rdfjs/types/stream.d.ts","../node_modules/@rdfjs/types/dataset.d.ts","../node_modules/@rdfjs/types/query/common.d.ts","../node_modules/@rdfjs/types/query/queryable.d.ts","../node_modules/@rdfjs/types/query.d.ts","../node_modules/@rdfjs/types/index.d.ts","../node_modules/@treecg/types/dist/lib/Bucketizer.d.ts","../node_modules/@treecg/types/dist/lib/BucketizerOptions.d.ts","../node_modules/@treecg/types/dist/lib/Member.d.ts","../node_modules/@treecg/types/dist/lib/RelationParameters.d.ts","../node_modules/@treecg/types/dist/lib/Fragment.d.ts","../node_modules/@treecg/types/dist/lib/utils/Logger-Browser.d.ts","../node_modules/@treecg/types/dist/lib/Vocabularies.d.ts","../node_modules/@treecg/types/dist/index.d.ts","../src/connectors/file.ts","../node_modules/@types/ws/index.d.ts","../src/connectors/ws.ts","../node_modules/kafkajs/types/index.d.ts","../src/connectors/kafka.ts","../src/connectors/http.ts","../node_modules/@types/n3/index.d.ts","../node_modules/rdf-lens/dist/lens.d.ts","../node_modules/rdf-lens/dist/shacl.d.ts","../node_modules/rdf-lens/dist/index.d.ts","../src/index.ts","../node_modules/@types/ms/index.d.ts","../node_modules/@types/debug/index.d.ts","../src/util.ts","../src/connectors.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"5b7206ca5f2f6eeaac6daa285664f424e0b728f3e31937da89deb8696c5f1dbc","53dd92e141efe47b413a058f3fbcc6e40a84f5afdde16f45de550a476da25d98",{"version":"da5342725395c9c1bb7bb90e035613b480e9cafda92001a9e9e95c1261e27759","signature":"868c24a79becad6edb3001a86ccade1033cb9b3553b200e71f6eb43cb32f78e3"},"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"e7be367719c613d580d4b27fdf8fe64c9736f48217f4b322c0d63b2971460918","affectsGlobalScope":true},"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true},"62f1c00d3d246e0e3cf0224f91e122d560428ec1ccc36bb51d4574a84f1dbad0","53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6",{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true},"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","0364f8bb461d6e84252412d4e5590feda4eb582f77d47f7a024a7a9ff105dfdc","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true},"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900",{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true},"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927",{"version":"071d4b4af5755e1a081aa3b785b5526d09276af5a50e4725dea26edd4e7deb31","affectsGlobalScope":true},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0",{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true},"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"8704423bf338bff381ebc951ed819935d0252d90cd6de7dffe5b0a5debb65d07","affectsGlobalScope":true},"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","c0156ff6b3c5f5b6699fafa0e36635590651aa70a07314425cf212f11c2443f8","b1cac4e06205000177d05342bc524983550157a72fcf450b701e747deb19e6af","d2cdba5be077b28a91fd380157e423d093279590aedb605f51ed6b6f398657c1","0d278d3cf006676a7c6c30424326bd38aba8344c471b64289ab89e4dcdb6e799","8953bf122fc832d335954e3a9188cbe4766ee2ef9be51f577de52234cd8a630e","642970856d429003a8a04298231d0dedac726519411a8b88afd90e2ab689f094","25006341224db03de63a44dea009de6523428c1bfe214ce069d10d0748838f12","aa1196da64d7fb641934dbf9683d45c2feea84f8aed23795c7793564bb2b8e08","a8b9548c59b33326a9fe601dad0242350e801af3091d2cf8f29279bd3d766a84","691ca3c93dc4aa9e14880dfcaa141df361b8cff75a8d298ed026b3e342561e02","ad44c5b327076d4f9c1fa00aaa41a3a0d2858df3adfb8cd0cdd944e05dd4a86a","5ee0f472c2200c82722e5b0f33646ac2dc8529204d81a32ac74ec794a07758ac","4a7e35c3dca7a40e70c2eefd62458ba6d84fcac7e1a3ed7ffe90a76b576af6dd","7b4903e52d29404a1be01654d222dc5b4e69323c6dc1be4842ba1718eec364c5","588f0e8ab710dca145e2ea80f0ecad3a072b06c110c31728027aa23024b5d06d",{"version":"0bb63a686c33cd8774f0c94d41ccf8a2ae4bbb5d7ac5502ed953f2ca68ecfd03","signature":"d60e1442381b68677b579286e409d292d7a72b05aca68cd12e6612ec8c581072"},"f7163a5d37d21f636f6a5cd1c064ce95fada21917859a64b6cc49a8b6fd5c1a8",{"version":"7a38699ef13ab44b31fa51ab790904606299558a8e1dffb69ae2f10cb81f04de","signature":"bc7e6cc3b1a0f4bafb908fb25abe8f4e02f971ab3b6861e589a890e44082037f"},"c724034e22cbbde98550aca4ee32006f7f4c566885328949ac16ff9ff2f76e89",{"version":"45da32b5d99afc24a81e16da4d847a1cf1ddf72c65ebf7c42c28120d5d231ca9","signature":"663b1f2f533658817dbc0a077a3b7c7731912848ee265846207ea8f69b48d185"},{"version":"4f9f655e8028f5ee1d0d5f228de6ba4550c506e6cb1725551a5e7b5c653daeb9","signature":"96c7eabd37baeeb90ee8b4636a0e17aefd2d1ffd8062e8c34889793bc52b018f"},"74a4b426b437193f77a8ddcfa6059660403e0773f17f304b907542ebbb865b06","0df4c76f4dbf8986e9979ea8d4d9551d527bfe933c1d8d7c4c3743031455d469","1e7aa39114c8ecaec6292f8174d32cf8dfa2af491b29ce7b0d57b29063a3a21a","0231e5425f539b30c9665bbff15496ab31c7ce9f29fcfb834b988f790218fe87",{"version":"4755fa07d84e1bd7d204b58110e768f488dc169b39aac642ca3c60ab72474dea","signature":"0dcf71c7268ffcdbc4d406f6f26b32e32f8979e7d6cc5cd5f233717acdb59b03"},"68cc8d6fcc2f270d7108f02f3ebc59480a54615be3e09a47e14527f349e9d53e","3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1",{"version":"871860d7c7323bbef559e0c7b18a754b29a88e3d5e1ed0920f564c4cb62e7d3e","signature":"86cba14112bed01fa31e1af2c49cb2f77572e81805ce584d288dc25d8676fee5"},{"version":"fc4adb06b4fe3e7669b22999164701b89a3ec8199a4297aef556ebf9af5f3e6e","signature":"1d9229a9079897133dd0c49a5a23f7b06297ae4e7790be2e13fdf1f023031e84"},"ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea","afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","5d30d04a14ed8527ac5d654dc345a4db11b593334c11a65efb6e4facc5484a0e"],"root":[61,165,167,169,170,175,178,179],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":7,"outDir":"./","preserveConstEnums":true,"removeComments":true,"skipLibCheck":true,"strict":true,"strictFunctionTypes":false,"strictPropertyInitialization":false,"target":9},"fileIdsList":[[150,151],[149,150,151,152,155],[153,154],[111,150],[150,153],[111,130,150],[157,158,159,160,161,162,163],[156],[156,159,160],[176],[112,149],[182],[183],[111,130,149,156],[62],[98],[99,104,133],[100,105,111,112,119,130,141],[100,101,111,119],[102,142],[103,104,112,120],[104,130,138],[105,107,111,119],[98,106],[107,108],[111],[109,111],[98,111],[111,112,113,130,141],[111,112,113,126,130,133],[96,99,146],[107,111,114,119,130,141],[111,112,114,115,119,130,138,141],[114,116,130,138,141],[62,63,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148],[111,117],[118,141,146],[107,111,119,130],[120],[121],[98,122],[119,120,123,140,146],[124],[125],[111,126,127],[126,128,142,144],[99,111,130,131,132,133],[99,130,132],[130,131],[133],[134],[98,130],[111,136,137],[136,137],[104,119,130,138],[139],[119,140],[99,114,125,141],[104,142],[130,143],[118,144],[145],[99,104,111,113,122,130,141,144,146],[130,147],[111,114,116,130,138,141,147,149],[187],[119,138,149],[172,173],[156,172],[73,77,141],[73,130,141],[68],[70,73,138,141],[119,138],[149],[68,149],[70,73,119,141],[65,66,69,72,99,111,130,141],[65,71],[69,73,99,133,141,149],[99,149],[89,99,149],[67,68,149],[73],[67,68,69,70,71,72,73,74,75,77,78,79,80,81,82,83,84,85,86,87,88,90,91,92,93,94,95],[73,80,81],[71,73,81,82],[72],[65,68,73],[73,77,81,82],[77],[71,73,76,141],[65,70,71,73,77,80],[99,130],[68,73,89,99,146,149],[59,60],[156,164,165,167,169,170,178],[112,113,121,179],[114,116,130,179],[112,168,179],[166,179],[61,121,156,164,171,174,178,179],[112,114,116,130,156,164,171,175,177]],"referencedMap":[[152,1],[156,2],[155,3],[153,4],[154,5],[151,6],[164,7],[157,8],[158,8],[161,9],[159,8],[160,8],[163,8],[177,10],[181,11],[183,12],[184,13],[171,14],[62,15],[63,15],[98,16],[99,17],[100,18],[101,19],[102,20],[103,21],[104,22],[105,23],[106,24],[107,25],[108,25],[110,26],[109,27],[111,28],[112,29],[113,30],[97,31],[114,32],[115,33],[116,34],[149,35],[117,36],[118,37],[119,38],[120,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,45],[128,46],[130,47],[132,48],[131,49],[133,50],[134,51],[135,52],[136,53],[137,54],[138,55],[139,56],[140,57],[141,58],[142,59],[143,60],[144,61],[145,62],[146,63],[147,64],[166,65],[188,66],[168,67],[174,68],[172,8],[173,69],[80,70],[87,71],[79,70],[94,72],[71,73],[70,74],[93,75],[88,76],[91,77],[73,78],[72,79],[68,80],[67,81],[90,82],[69,83],[74,84],[78,84],[96,85],[95,84],[82,86],[83,87],[85,88],[81,89],[84,90],[89,75],[76,91],[77,92],[86,93],[66,94],[92,95],[61,96],[179,97],[165,98],[170,99],[169,100],[167,101],[175,102],[178,103]]},"version":"5.5.3"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/@types/command-line-args/index.d.ts","../node_modules/@types/command-line-usage/index.d.ts","../src/args.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/buffer/index.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@rdfjs/types/data-model.d.ts","../node_modules/@rdfjs/types/stream.d.ts","../node_modules/@rdfjs/types/dataset.d.ts","../node_modules/@rdfjs/types/query/common.d.ts","../node_modules/@rdfjs/types/query/queryable.d.ts","../node_modules/@rdfjs/types/query.d.ts","../node_modules/@rdfjs/types/index.d.ts","../node_modules/@treecg/types/dist/lib/bucketizer.d.ts","../node_modules/@treecg/types/dist/lib/bucketizeroptions.d.ts","../node_modules/@treecg/types/dist/lib/member.d.ts","../node_modules/@treecg/types/dist/lib/relationparameters.d.ts","../node_modules/@treecg/types/dist/lib/fragment.d.ts","../node_modules/@treecg/types/dist/lib/utils/logger-browser.d.ts","../node_modules/@treecg/types/dist/lib/vocabularies.d.ts","../node_modules/@treecg/types/dist/index.d.ts","../src/connectors/file.ts","../node_modules/@types/ws/index.d.ts","../src/connectors/ws.ts","../node_modules/kafkajs/types/index.d.ts","../src/connectors/kafka.ts","../src/connectors/http.ts","../node_modules/@types/n3/index.d.ts","../node_modules/rdf-lens/dist/lens.d.ts","../node_modules/rdf-lens/dist/shacl.d.ts","../node_modules/rdf-lens/dist/index.d.ts","../src/index.ts","../node_modules/@types/ms/index.d.ts","../node_modules/@types/debug/index.d.ts","../src/util.ts","../src/connectors.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"d3d7b04b45033f57351c8434f60b6be1ea71a2dfec2d0a0c3c83badbb0e3e693","affectsGlobalScope":true},{"version":"956d27abdea9652e8368ce029bb1e0b9174e9678a273529f426df4b3d90abd60","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"d8670852241d4c6e03f2b89d67497a4bbefe29ecaa5a444e2c11a9b05e6fccc6","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"5b7206ca5f2f6eeaac6daa285664f424e0b728f3e31937da89deb8696c5f1dbc","53dd92e141efe47b413a058f3fbcc6e40a84f5afdde16f45de550a476da25d98",{"version":"7c2809ab9b3e9be9c1600d16b39df3367487275efbf995ea8fd9c478f5580f01","signature":"868c24a79becad6edb3001a86ccade1033cb9b3553b200e71f6eb43cb32f78e3"},"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"e7be367719c613d580d4b27fdf8fe64c9736f48217f4b322c0d63b2971460918","affectsGlobalScope":true},"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true},"62f1c00d3d246e0e3cf0224f91e122d560428ec1ccc36bb51d4574a84f1dbad0","53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6",{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true},"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","0364f8bb461d6e84252412d4e5590feda4eb582f77d47f7a024a7a9ff105dfdc","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true},"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900",{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true},"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927",{"version":"071d4b4af5755e1a081aa3b785b5526d09276af5a50e4725dea26edd4e7deb31","affectsGlobalScope":true},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0",{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true},"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"8704423bf338bff381ebc951ed819935d0252d90cd6de7dffe5b0a5debb65d07","affectsGlobalScope":true},"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","c0156ff6b3c5f5b6699fafa0e36635590651aa70a07314425cf212f11c2443f8","b1cac4e06205000177d05342bc524983550157a72fcf450b701e747deb19e6af","d2cdba5be077b28a91fd380157e423d093279590aedb605f51ed6b6f398657c1","0d278d3cf006676a7c6c30424326bd38aba8344c471b64289ab89e4dcdb6e799","8953bf122fc832d335954e3a9188cbe4766ee2ef9be51f577de52234cd8a630e","642970856d429003a8a04298231d0dedac726519411a8b88afd90e2ab689f094","25006341224db03de63a44dea009de6523428c1bfe214ce069d10d0748838f12","aa1196da64d7fb641934dbf9683d45c2feea84f8aed23795c7793564bb2b8e08","a8b9548c59b33326a9fe601dad0242350e801af3091d2cf8f29279bd3d766a84","691ca3c93dc4aa9e14880dfcaa141df361b8cff75a8d298ed026b3e342561e02","ad44c5b327076d4f9c1fa00aaa41a3a0d2858df3adfb8cd0cdd944e05dd4a86a","5ee0f472c2200c82722e5b0f33646ac2dc8529204d81a32ac74ec794a07758ac","4a7e35c3dca7a40e70c2eefd62458ba6d84fcac7e1a3ed7ffe90a76b576af6dd","7b4903e52d29404a1be01654d222dc5b4e69323c6dc1be4842ba1718eec364c5","588f0e8ab710dca145e2ea80f0ecad3a072b06c110c31728027aa23024b5d06d",{"version":"8fa34c73c0e31cc904487597822d444fe82430d211b553b734235df7b25dd9fa","signature":"d60e1442381b68677b579286e409d292d7a72b05aca68cd12e6612ec8c581072"},"f7163a5d37d21f636f6a5cd1c064ce95fada21917859a64b6cc49a8b6fd5c1a8",{"version":"abf42c502b8c2c7b0535eb2444076220178e7d9a66004d7e13b47b7df8531789","signature":"bc7e6cc3b1a0f4bafb908fb25abe8f4e02f971ab3b6861e589a890e44082037f"},"c724034e22cbbde98550aca4ee32006f7f4c566885328949ac16ff9ff2f76e89",{"version":"c80b256621ce182e6e7f592c53f54c8e5ccbb390543b0cb7cd142ff9d3cd96c2","signature":"663b1f2f533658817dbc0a077a3b7c7731912848ee265846207ea8f69b48d185"},{"version":"4fdf97ba577722cd94e450586cc0c6e487d9092425eb2c2f217e38c0f627d683","signature":"96c7eabd37baeeb90ee8b4636a0e17aefd2d1ffd8062e8c34889793bc52b018f"},"74a4b426b437193f77a8ddcfa6059660403e0773f17f304b907542ebbb865b06","bb8d3fcddcd872a9851da284e333678133a3389d6d2fc5eb91856500f87786f7","db2a2230814e8d7356529a0eb23e63ba37a2966ae719f29b98c26e06df2200b7","0231e5425f539b30c9665bbff15496ab31c7ce9f29fcfb834b988f790218fe87",{"version":"6c5500fd43c2b467395e6c6bc45c82a208fc6c2b4f4b18fe88f768940ed6e50a","signature":"82f6f5ac64b69f2367b66c2b3ebeb38c76701cb4925bc2bcb2a51eeed00c33dc"},"68cc8d6fcc2f270d7108f02f3ebc59480a54615be3e09a47e14527f349e9d53e","3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1",{"version":"6ea4efd97efb41755c0387fb300a2c343565ad638540da5ecdd14bd556946d25","signature":"86cba14112bed01fa31e1af2c49cb2f77572e81805ce584d288dc25d8676fee5"},{"version":"21aae63bafe6ceafe74c5174a79d5a4ceb6ab0f0b5ef6c1b8aee857aad76567d","signature":"ad8a231202df1ce6e66ddfffd4ec8b134bbd34fd46a4039a59b6eb6cb582771d"},"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5","035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54","5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434","22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66","bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960","5d30d04a14ed8527ac5d654dc345a4db11b593334c11a65efb6e4facc5484a0e"],"root":[61,165,167,169,170,175,178,179],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"experimentalDecorators":true,"module":7,"outDir":"./","preserveConstEnums":true,"removeComments":true,"skipLibCheck":true,"strict":true,"strictFunctionTypes":false,"strictPropertyInitialization":false,"target":9},"fileIdsList":[[150,151],[149,150,151,152,155],[153,154],[111,150],[150,153],[111,130,150],[157,158,159,160,161,162,163],[156],[156,159,160],[176],[112,149],[182],[183],[111,130,149,156],[62],[98],[99,104,133],[100,105,111,112,119,130,141],[100,101,111,119],[102,142],[103,104,112,120],[104,130,138],[105,107,111,119],[98,106],[107,108],[111],[109,111],[98,111],[111,112,113,130,141],[111,112,113,126,130,133],[96,99,146],[107,111,114,119,130,141],[111,112,114,115,119,130,138,141],[114,116,130,138,141],[62,63,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148],[111,117],[118,141,146],[107,111,119,130],[120],[121],[98,122],[119,120,123,140,146],[124],[125],[111,126,127],[126,128,142,144],[99,111,130,131,132,133],[99,130,132],[130,131],[133],[134],[98,130],[111,136,137],[136,137],[104,119,130,138],[139],[119,140],[99,114,125,141],[104,142],[130,143],[118,144],[145],[99,104,111,113,122,130,141,144,146],[130,147],[111,114,116,130,138,141,147,149],[187],[119,138,149],[172,173],[156,172],[73,77,141],[73,130,141],[68],[70,73,138,141],[119,138],[149],[68,149],[70,73,119,141],[65,66,69,72,99,111,130,141],[65,71],[69,73,99,133,141,149],[99,149],[89,99,149],[67,68,149],[73],[67,68,69,70,71,72,73,74,75,77,78,79,80,81,82,83,84,85,86,87,88,90,91,92,93,94,95],[73,80,81],[71,73,81,82],[72],[65,68,73],[73,77,81,82],[77],[71,73,76,141],[65,70,71,73,77,80],[99,130],[68,73,89,99,146,149],[59,60],[156,164,165,167,169,170,178],[112,113,121,179],[114,116,130,179],[112,168,179],[166,179],[61,121,156,164,171,174,178,179],[112,114,116,130,156,164,171,175,177]],"referencedMap":[[152,1],[156,2],[155,3],[153,4],[154,5],[151,6],[164,7],[157,8],[158,8],[161,9],[159,8],[160,8],[163,8],[177,10],[181,11],[183,12],[184,13],[171,14],[62,15],[63,15],[98,16],[99,17],[100,18],[101,19],[102,20],[103,21],[104,22],[105,23],[106,24],[107,25],[108,25],[110,26],[109,27],[111,28],[112,29],[113,30],[97,31],[114,32],[115,33],[116,34],[149,35],[117,36],[118,37],[119,38],[120,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,45],[128,46],[130,47],[132,48],[131,49],[133,50],[134,51],[135,52],[136,53],[137,54],[138,55],[139,56],[140,57],[141,58],[142,59],[143,60],[144,61],[145,62],[146,63],[147,64],[166,65],[188,66],[168,67],[174,68],[172,8],[173,69],[80,70],[87,71],[79,70],[94,72],[71,73],[70,74],[93,75],[88,76],[91,77],[73,78],[72,79],[68,80],[67,81],[90,82],[69,83],[74,84],[78,84],[96,85],[95,84],[82,86],[83,87],[85,88],[81,89],[84,90],[89,75],[76,91],[77,92],[86,93],[66,94],[92,95],[61,96],[179,97],[165,98],[170,99],[169,100],[167,101],[175,102],[178,103]]},"version":"5.5.3"}
package/dist/util.js CHANGED
@@ -68,7 +68,7 @@ export async function load_store(location, store, recursive = true) {
68
68
  if (recursive) {
69
69
  const loc = location.type === "remote" ? location.location : location.baseIRI;
70
70
  const other_imports = store.getObjects(namedNode(loc), OWL.terms.imports, null);
71
- for (let other of other_imports) {
71
+ for (const other of other_imports) {
72
72
  await load_store({ location: other.value, type: "remote" }, store, true);
73
73
  }
74
74
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdfc/js-runner",
3
- "version": "0.2.2",
3
+ "version": "0.3.0-alpha.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "import": "./dist/index.js",
@@ -19,8 +19,7 @@
19
19
  "js-runner": "bin/bundle.mjs"
20
20
  },
21
21
  "scripts": {
22
- "build": "tsc && tsc-alias && rollup ./dist/index.js --file ./dist/index.cjs --format cjs && bun build --external debug ./bin/js-runner.js --outfile bin/bundle.mjs --target node && npm run build:recompose",
23
- "build:recompose": "sed -z 's/var __require = (id) => {\\n return import.meta.require(id);\\n};/import Module from \"node:module\";\\nconst __require = Module.createRequire(import.meta.url);/' -i bin/bundle.mjs",
22
+ "build": "tsc && tsc-alias",
24
23
  "watch": "tsc -w",
25
24
  "test": "vitest run --coverage --coverage.include src",
26
25
  "prepare": "husky",
@@ -37,7 +36,7 @@
37
36
  "debug": "^4.3.5",
38
37
  "kafkajs": "^2.2.4",
39
38
  "n3": "^1.17.4",
40
- "rdf-lens": "^1.2.8",
39
+ "rdf-lens": "^1.3.2",
41
40
  "stream-to-array": "^2.3.0",
42
41
  "ws": "^8.18.0"
43
42
  },