@jsenv/plugin-supervisor 1.3.8 → 1.3.9

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": "@jsenv/plugin-supervisor",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "/dist/"
27
27
  ],
28
28
  "dependencies": {
29
- "@jsenv/ast": "6.0.0",
29
+ "@jsenv/ast": "6.0.1",
30
30
  "@jsenv/urls": "2.2.1",
31
31
  "@jsenv/sourcemap": "1.2.4",
32
32
  "launch-editor": "2.6.1"
@@ -960,15 +960,13 @@ window.__supervisor__ = (() => {
960
960
  }
961
961
  const { codeFrame, cause } = errorDetails;
962
962
  if (codeFrame) {
963
- this.root.querySelector(
964
- ".text",
965
- ).innerHTML += `\n\n${codeFrame}`;
963
+ this.root.querySelector(".text").innerHTML +=
964
+ `\n\n${codeFrame}`;
966
965
  }
967
966
  if (cause) {
968
967
  const causeIndented = prefixRemainingLines(cause, " ");
969
- this.root.querySelector(
970
- ".text",
971
- ).innerHTML += `\n [cause]: ${causeIndented}`;
968
+ this.root.querySelector(".text").innerHTML +=
969
+ `\n [cause]: ${causeIndented}`;
972
970
  }
973
971
  });
974
972
  }