@lde/pipeline 0.30.19 → 0.30.21

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 +1 @@
1
- {"version":3,"file":"combineReporters.d.ts","sourceRoot":"","sources":["../src/combineReporters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAU9D;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,SAAS,gBAAgB,EAAE,GACrC,gBAAgB,CA4ClB"}
1
+ {"version":3,"file":"combineReporters.d.ts","sourceRoot":"","sources":["../src/combineReporters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAU9D;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,SAAS,gBAAgB,EAAE,GACrC,gBAAgB,CA+ClB"}
@@ -19,7 +19,10 @@ export function combineReporters(reporters) {
19
19
  // arguments are correlated.
20
20
  const handler = reporter[method];
21
21
  // Every method is optional; notify only the children that implement it.
22
- handler?.(...args);
22
+ // Invoke through `call` so a class-based reporter keeps its `this`: a bare
23
+ // `handler?.(...)` would drop the receiver and break methods that touch
24
+ // instance state (e.g. ConsoleReporter’s spinner).
25
+ handler?.call(reporter, ...args);
23
26
  }
24
27
  };
25
28
  // Listing every method explicitly (rather than a Proxy) keeps the forwarding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lde/pipeline",
3
- "version": "0.30.19",
3
+ "version": "0.30.21",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/ldelements/lde.git",
6
6
  "directory": "packages/pipeline"
@@ -26,8 +26,8 @@
26
26
  "dependencies": {
27
27
  "@lde/dataset": "0.7.7",
28
28
  "@lde/dataset-registry-client": "0.8.3",
29
- "@lde/distribution-health": "0.1.3",
30
- "@lde/distribution-probe": "0.1.11",
29
+ "@lde/distribution-health": "0.1.4",
30
+ "@lde/distribution-probe": "0.1.12",
31
31
  "@lde/sparql-importer": "0.6.5",
32
32
  "@lde/sparql-server": "0.4.11",
33
33
  "@rdfjs/namespace": "^2.0.1",