@appland/appmap 3.16.0 → 3.16.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [@appland/appmap-v3.16.1](https://github.com/applandinc/appmap-js/compare/@appland/appmap-v3.16.0...@appland/appmap-v3.16.1) (2022-01-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Add supports-hyperlinks dependency ([308c4bd](https://github.com/applandinc/appmap-js/commit/308c4bd250f36bf88df3e249fe9d36a9266980b2))
7
+
1
8
  # [@appland/appmap-v3.16.0](https://github.com/applandinc/appmap-js/compare/@appland/appmap-v3.15.1...@appland/appmap-v3.16.0) (2022-01-25)
2
9
 
3
10
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appland/appmap",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "",
5
5
  "bin": "built/src/cli.js",
6
6
  "publishConfig": {
@@ -95,6 +95,7 @@
95
95
  "port-pid": "^0.0.7",
96
96
  "ps-node": "^0.1.6",
97
97
  "semver": "^7.3.5",
98
+ "supports-hyperlinks": "^2.2.0",
98
99
  "w3c-xmlserializer": "^2.0.0",
99
100
  "yargs": "^17.1.1"
100
101
  }
@@ -5,14 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.openInTool = exports.openInVSCode = exports.openInBrowser = void 0;
7
7
  const serveAndOpenAppMap_1 = __importDefault(require("./serveAndOpenAppMap"));
8
+ const supports_hyperlinks_1 = __importDefault(require("supports-hyperlinks"));
8
9
  // See also: https://github.com/applandinc/scanner/pull/9/files#diff-3294a832ea2276e554177e0b3007cc2d401c082912c7fbde49fa09141bf1aed1R1
9
10
  function hyperlink(filePath, link) {
10
11
  const OSC = '\u001B]';
11
12
  const BEL = '\u0007';
12
13
  const SEP = ';';
13
- // eslint-disable-next-line @typescript-eslint/no-var-requires
14
- const supportsHyperlinks = require('supports-hyperlinks');
15
- if (!supportsHyperlinks.stdout) {
14
+ if (!supports_hyperlinks_1.default.stdout) {
16
15
  return filePath;
17
16
  }
18
17
  return [
@@ -1 +1 @@
1
- {"version":3,"file":"openers.js","sourceRoot":"","sources":["../../../../src/cmds/open/openers.ts"],"names":[],"mappings":";;;;;;AAAA,8EAAsD;AAEtD,uIAAuI;AACvI,SAAS,SAAS,CAAC,QAAgB,EAAE,IAAY;IAC/C,MAAM,GAAG,GAAG,SAAS,CAAC;IACtB,MAAM,GAAG,GAAG,QAAQ,CAAC;IACrB,MAAM,GAAG,GAAG,GAAG,CAAC;IAEhB,8DAA8D;IAC9D,MAAM,kBAAkB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAE1D,IAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE;QAC9B,OAAO,QAAQ,CAAC;KACjB;IAED,OAAO;QACL,GAAG;QACH,GAAG;QACH,GAAG;QACH,GAAG;QACH,IAAI;QACJ,GAAG;QACH,QAAQ;QACR,GAAG;QACH,GAAG;QACH,GAAG;QACH,GAAG;QACH,GAAG;KACJ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACb,CAAC;AAEM,KAAK,UAAU,aAAa,CAAC,UAAkB;IACpD,MAAM,4BAAkB,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC;AAFD,sCAEC;AAEM,KAAK,UAAU,YAAY,CAAC,UAAkB;IACnD,MAAM,IAAI,GAAG,gBAAgB,GAAG,UAAU,CAAC;IAC3C,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAC3C,CAAC;AAHD,oCAGC;AAEM,KAAK,UAAU,UAAU,CAAC,UAAkB,EAAE,MAAe;IAClE,MAAM,IAAI,GAAG,GAAG,MAAM,gBAAgB,UAAU,EAAE,CAAC;IACnD,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAC3C,CAAC;AAHD,gCAGC"}
1
+ {"version":3,"file":"openers.js","sourceRoot":"","sources":["../../../../src/cmds/open/openers.ts"],"names":[],"mappings":";;;;;;AAAA,8EAAsD;AACtD,8EAAqD;AAErD,uIAAuI;AACvI,SAAS,SAAS,CAAC,QAAgB,EAAE,IAAY;IAC/C,MAAM,GAAG,GAAG,SAAS,CAAC;IACtB,MAAM,GAAG,GAAG,QAAQ,CAAC;IACrB,MAAM,GAAG,GAAG,GAAG,CAAC;IAEhB,IAAI,CAAC,6BAAkB,CAAC,MAAM,EAAE;QAC9B,OAAO,QAAQ,CAAC;KACjB;IAED,OAAO;QACL,GAAG;QACH,GAAG;QACH,GAAG;QACH,GAAG;QACH,IAAI;QACJ,GAAG;QACH,QAAQ;QACR,GAAG;QACH,GAAG;QACH,GAAG;QACH,GAAG;QACH,GAAG;KACJ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACb,CAAC;AAEM,KAAK,UAAU,aAAa,CAAC,UAAkB;IACpD,MAAM,4BAAkB,CAAC,UAAU,CAAC,CAAC;AACvC,CAAC;AAFD,sCAEC;AAEM,KAAK,UAAU,YAAY,CAAC,UAAkB;IACnD,MAAM,IAAI,GAAG,gBAAgB,GAAG,UAAU,CAAC;IAC3C,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAC3C,CAAC;AAHD,oCAGC;AAEM,KAAK,UAAU,UAAU,CAAC,UAAkB,EAAE,MAAe;IAClE,MAAM,IAAI,GAAG,GAAG,MAAM,gBAAgB,UAAU,EAAE,CAAC;IACnD,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAC3C,CAAC;AAHD,gCAGC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appland/appmap",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "",
5
5
  "bin": "built/src/cli.js",
6
6
  "publishConfig": {
@@ -95,6 +95,7 @@
95
95
  "port-pid": "^0.0.7",
96
96
  "ps-node": "^0.1.6",
97
97
  "semver": "^7.3.5",
98
+ "supports-hyperlinks": "^2.2.0",
98
99
  "w3c-xmlserializer": "^2.0.0",
99
100
  "yargs": "^17.1.1"
100
101
  }