@opensumi/ide-remote-opener 2.17.8 → 2.18.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.
@@ -4,7 +4,7 @@ exports.RemoteOpenerServiceImpl = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const di_1 = require("@opensumi/di");
6
6
  const ide_connection_1 = require("@opensumi/ide-connection");
7
- const uri_1 = require("@opensumi/ide-core-common/lib/uri");
7
+ const ide_core_common_1 = require("@opensumi/ide-core-common");
8
8
  const common_1 = require("../common");
9
9
  let RemoteOpenerServiceImpl = class RemoteOpenerServiceImpl extends ide_connection_1.RPCService {
10
10
  setConnectionClientId(clientId) {
@@ -19,7 +19,7 @@ let RemoteOpenerServiceImpl = class RemoteOpenerServiceImpl extends ide_connecti
19
19
  throw new Error(`Unknown client id ${args.clientId}`);
20
20
  }
21
21
  try {
22
- await this.client.$openExternal(args.type, args.type === 'file' ? uri_1.Uri.file(args.file) : uri_1.Uri.parse(args.url));
22
+ await this.client.$openExternal(args.type, args.type === 'file' ? ide_core_common_1.Uri.file(args.file) : ide_core_common_1.Uri.parse(args.url));
23
23
  }
24
24
  catch (err) {
25
25
  // eslint-disable-next-line no-console
@@ -1 +1 @@
1
- {"version":3,"file":"opener.service.js","sourceRoot":"","sources":["../../src/node/opener.service.ts"],"names":[],"mappings":";;;;AAAA,qCAAqD;AACrD,6DAAsD;AACtD,2DAAwD;AAExD,sCAMmB;AAGnB,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,2BAAU;IAMrD,qBAAqB,CAAC,QAAgB;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,kBAAkB,CAAC,8BAA8B,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;IAED,wBAAwB,CAAC,QAAgB;QACvC,IAAI,CAAC,kBAAkB,CAAC,iCAAiC,CAAC,QAAQ,CAAC,CAAC;IACtE,CAAC;I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,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,EAAE;YACnC,MAAM,IAAI,KAAK,CAAC,qBAAqB,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;SACvD;QAED,IAAI;YACF,MAAM,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,qBAAG,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,qBAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;SAC9G;QAAC,OAAO,GAAG,EAAE;YACZ,sCAAsC;YACtC,OAAO,CAAC,GAAG,CAAC,iCAAiC,GAAG,CAAC,OAAO,IAAI,GAAG,EAAE,CAAC,CAAC;SACpE;IACH,CAAC;CACF,CAAA;AAvBC;IADC,IAAA,cAAS,EAAC,gCAAuB,CAAC;;mEACsB;AAJ9C,uBAAuB;IADnC,IAAA,eAAU,GAAE;GACA,uBAAuB,CA2BnC;AA3BY,0DAAuB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensumi/ide-remote-opener",
3
- "version": "2.17.8",
3
+ "version": "2.18.0",
4
4
  "files": [
5
5
  "lib"
6
6
  ],
@@ -16,13 +16,13 @@
16
16
  "url": "git@github.com:opensumi/core.git"
17
17
  },
18
18
  "dependencies": {
19
- "@opensumi/ide-connection": "2.17.8",
20
- "@opensumi/ide-core-common": "2.17.8",
21
- "@opensumi/ide-core-node": "2.17.8"
19
+ "@opensumi/ide-connection": "2.18.0",
20
+ "@opensumi/ide-core-common": "2.18.0",
21
+ "@opensumi/ide-core-node": "2.18.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@opensumi/ide-core-browser": "2.17.8",
25
- "@opensumi/ide-editor": "2.17.8"
24
+ "@opensumi/ide-core-browser": "2.18.0",
25
+ "@opensumi/ide-editor": "2.18.0"
26
26
  },
27
- "gitHead": "9bce37f94b3bbd9e40ffb664ba066acff0d11352"
27
+ "gitHead": "1db618dccac9390b4249f79d3dc75c6cc6546c44"
28
28
  }