@travetto/compiler 6.0.2 → 6.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/compiler",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "The compiler infrastructure for the Travetto framework",
5
5
  "keywords": [
6
6
  "compiler",
@@ -22,7 +22,6 @@ export class CompilerServer {
22
22
  #listenersAll = new Set<http.ServerResponse>();
23
23
  #listeners: Partial<Record<CompilerEventType | 'all', Record<string, http.ServerResponse>>> = {};
24
24
  #shutdown = new AbortController();
25
- signal = this.#shutdown.signal;
26
25
  info: CompilerServerInfo;
27
26
  #client: CompilerClient;
28
27
  #url: string;
@@ -53,6 +52,10 @@ export class CompilerServer {
53
52
  setMaxListeners(1000, this.signal);
54
53
  }
55
54
 
55
+ get signal(): AbortSignal {
56
+ return this.#shutdown.signal;
57
+ }
58
+
56
59
  get mode(): CompilerMode {
57
60
  return this.info.mode;
58
61
  }