@xterm/xterm 5.6.0-beta.75 → 5.6.0-beta.76

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@xterm/xterm",
3
3
  "description": "Full xterm terminal, in your browser",
4
- "version": "5.6.0-beta.75",
4
+ "version": "5.6.0-beta.76",
5
5
  "main": "lib/xterm.js",
6
6
  "module": "lib/xterm.mjs",
7
7
  "style": "css/xterm.css",
@@ -107,5 +107,5 @@
107
107
  "ws": "^8.2.3",
108
108
  "xterm-benchmark": "^0.3.1"
109
109
  },
110
- "commit": "ce095b35936844055924c9b66ec3e89aef5cbca4"
110
+ "commit": "af4208dad0736f052e278d343201559335d4d85c"
111
111
  }
@@ -67,7 +67,7 @@ export class InstantiationService implements IInstantiationService {
67
67
  for (const dependency of serviceDependencies) {
68
68
  const service = this._services.get(dependency.id);
69
69
  if (!service) {
70
- throw new Error(`[createInstance] ${ctor.name} depends on UNKNOWN service ${dependency.id}.`);
70
+ throw new Error(`[createInstance] ${ctor.name} depends on UNKNOWN service ${dependency.id._id}.`);
71
71
  }
72
72
  serviceArgs.push(service);
73
73
  }
@@ -33,7 +33,7 @@ export function createDecorator<T>(id: string): IServiceIdentifier<T> {
33
33
  storeServiceDependency(decorator, target, index);
34
34
  };
35
35
 
36
- decorator.toString = () => id;
36
+ decorator._id = id;
37
37
 
38
38
  serviceRegistry.set(id, decorator);
39
39
  return decorator;
@@ -124,6 +124,7 @@ export interface ICharsetService {
124
124
  export interface IServiceIdentifier<T> {
125
125
  (...args: any[]): void;
126
126
  type: T;
127
+ _id: string;
127
128
  }
128
129
 
129
130
  export interface IBrandedService {