@hydranium/data-server 1.0.0-next.385 → 1.0.0-next.386

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.
@@ -41,7 +41,7 @@ class NodeProfileCapture {
41
41
  class NodeDataServerDiagnostics {
42
42
  async dumpServerState(services, args) {
43
43
  const openDocuments = services.workspace.TextDocuments.openDocuments();
44
- return formatServerState(services.workspace.LangiumDocuments, args.label, { openDocuments });
44
+ return formatServerState(services.workspace, args.label, { openDocuments });
45
45
  }
46
46
  async writeHeapSnapshot(args) {
47
47
  return writeHeapSnapshotToDir(args.directory, args.label ?? '');
@@ -1 +1 @@
1
- {"version":3,"file":"node-diagnostics-provider.js","sourceRoot":"","sources":["../../src/node/node-diagnostics-provider.ts"],"names":[],"mappings":"AAAA;;;;;;;kFAOkF;AAGlF,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACxH,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAInF;;;;;;;;;;;;GAYG;AACH,MAAM,kBAAkB;IACU,OAAO;IAAtC,YAA+B,OAAuB;uBAAvB,OAAO;IAAmB,CAAC;IAE1D,KAAK,CAAC,IAAI,CAAC,IAAuB;QAC/B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QACzE,4EAA4E;QAC5E,yEAAyE;QACzE,yEAAyE;QACzE,UAAU;QACV,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YAClB,wBAAwB,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC;QACtE,CAAC;QACD,OAAO,mBAAmB,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CA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M,UAAU,yBAAyB;IACtC,OAAO,IAAI,yBAAyB,EAAE,CAAC;AAC1C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hydranium/data-server",
3
- "version": "1.0.0-next.385",
3
+ "version": "1.0.0-next.386",
4
4
  "description": "Typed-RPC protocol head for the hydranium framework. Peer of @hydranium/core/lsp and @hydranium/glsp-server; built on @hydranium/core.",
5
5
  "keywords": [
6
6
  "data-server",
@@ -70,18 +70,18 @@
70
70
  "watch": "tsc -b -w --preserveWatchOutput"
71
71
  },
72
72
  "devDependencies": {
73
- "@hydranium/core": "1.0.0-next.385",
74
- "@hydranium/langium": "1.0.0-next.385",
75
- "@hydranium/protocol": "1.0.0-next.385",
73
+ "@hydranium/core": "1.0.0-next.386",
74
+ "@hydranium/langium": "1.0.0-next.386",
75
+ "@hydranium/protocol": "1.0.0-next.386",
76
76
  "rimraf": "^5.0.0",
77
77
  "typescript": "^7.0.2",
78
78
  "vscode-jsonrpc": "9.0.0",
79
79
  "vscode-languageserver-textdocument": "^1.0.12"
80
80
  },
81
81
  "peerDependencies": {
82
- "@hydranium/core": "1.0.0-next.385",
83
- "@hydranium/langium": "1.0.0-next.385",
84
- "@hydranium/protocol": "1.0.0-next.385",
82
+ "@hydranium/core": "1.0.0-next.386",
83
+ "@hydranium/langium": "1.0.0-next.386",
84
+ "@hydranium/protocol": "1.0.0-next.386",
85
85
  "vscode-jsonrpc": "^9.0.0",
86
86
  "vscode-languageserver-textdocument": "^1.0.12"
87
87
  },
@@ -45,7 +45,7 @@ class NodeProfileCapture implements DataServerProfileCapture {
45
45
  class NodeDataServerDiagnostics implements DataServerDiagnosticsProvider {
46
46
  async dumpServerState(services: ServerSharedServices, args: DumpServerStateArgs): Promise<string> {
47
47
  const openDocuments = services.workspace.TextDocuments.openDocuments();
48
- return formatServerState(services.workspace.LangiumDocuments, args.label, { openDocuments });
48
+ return formatServerState(services.workspace, args.label, { openDocuments });
49
49
  }
50
50
 
51
51
  async writeHeapSnapshot(args: WriteServerHeapSnapshotArgs): Promise<string> {