@sasjs/cli 4.12.3 → 4.12.4

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.
@@ -44,7 +44,6 @@ var utils_1 = require("@sasjs/utils");
44
44
  var config_1 = require("../../utils/config");
45
45
  var path_1 = __importDefault(require("path"));
46
46
  var jsdom_1 = __importDefault(require("jsdom"));
47
- var adjustIframeScript_1 = require("./internal/adjustIframeScript");
48
47
  var createAssetServices_1 = require("./internal/createAssetServices");
49
48
  var updateAllTags_1 = require("./internal/updateAllTags");
50
49
  var sas9_1 = require("./internal/sas9");
@@ -112,9 +111,7 @@ function createWebAppServices(target) {
112
111
  case utils_1.ServerType.Sas9: return [3 /*break*/, 12];
113
112
  }
114
113
  return [3 /*break*/, 14];
115
- case 10:
116
- indexHtml.window.document.body.innerHTML += adjustIframeScript_1.adjustIframeScript;
117
- return [4 /*yield*/, (0, sasViya_1.createClickMeFile)(indexHtml.serialize(), streamConfig.streamServiceName)];
114
+ case 10: return [4 /*yield*/, (0, sasViya_1.createClickMeFile)(indexHtml.serialize(), streamConfig.streamServiceName)];
118
115
  case 11:
119
116
  _e.sent();
120
117
  return [3 /*break*/, 15];
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@sasjs/adapter": "4.11.3",
55
- "@sasjs/core": "4.56.1",
55
+ "@sasjs/core": "4.57.0",
56
56
  "@sasjs/lint": "2.4.3",
57
57
  "@sasjs/utils": "3.5.2",
58
58
  "adm-zip": "0.5.10",
@@ -101,5 +101,5 @@
101
101
  "typescript": "4.9.5",
102
102
  "util": "0.12.4"
103
103
  },
104
- "version": "4.12.3"
104
+ "version": "4.12.4"
105
105
  }
@@ -1 +0,0 @@
1
- export declare const adjustIframeScript = "\n <!-- \n To prevent redirects / preserve the URL when streaming \n HTML from Viya, we recommend using the _debug=2 parameter\n which will serve the content in an iframe. The following \n code will then modify the parent iframe to serve the content\n in full screen.\n -->\n <script>\n if (window.frameElement){\n window.frameElement.style=\"height:100%;width:100%;position:absolute\";\n window.frameElement.setAttribute(\"allowfullscreen\",\"\")\n window.frameElement.setAttribute(\"frameborder\",\"0\")\n window.frameElement.setAttribute(\"marginheight\",\"0\")\n window.frameElement.setAttribute(\"marginwidth\",\"0\")\n window.frameElement.setAttribute(\"scrolling\",\"auto\")\n window.focus()\n }\n </script>\n";
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.adjustIframeScript = void 0;
4
- exports.adjustIframeScript = "\n <!-- \n To prevent redirects / preserve the URL when streaming \n HTML from Viya, we recommend using the _debug=2 parameter\n which will serve the content in an iframe. The following \n code will then modify the parent iframe to serve the content\n in full screen.\n -->\n <script>\n if (window.frameElement){\n window.frameElement.style=\"height:100%;width:100%;position:absolute\";\n window.frameElement.setAttribute(\"allowfullscreen\",\"\")\n window.frameElement.setAttribute(\"frameborder\",\"0\")\n window.frameElement.setAttribute(\"marginheight\",\"0\")\n window.frameElement.setAttribute(\"marginwidth\",\"0\")\n window.frameElement.setAttribute(\"scrolling\",\"auto\")\n window.focus()\n }\n </script>\n";