@intuned/runtime-dev 1.3.18-dev.5 → 1.3.18-dev.6

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.
@@ -22,7 +22,6 @@ var _util = require("util");
22
22
  var _neverthrow = require("neverthrow");
23
23
  var _zod = require("zod");
24
24
  var _intunedJson = require("./intunedJson");
25
- var _env = require("./env");
26
25
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
27
26
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
28
27
  const execAsync = (0, _util.promisify)(_child_process.exec);
@@ -100,11 +99,7 @@ async function launchChromium(options) {
100
99
  let {
101
100
  executablePath
102
101
  } = options;
103
- const envIgnoreHttpErrors = (0, _env.getIgnoreHttpErrors)();
104
- let ignoreHttpErrors = ignoreHttpErrorsParam;
105
- if (envIgnoreHttpErrors === true && ignoreHttpErrors === undefined) {
106
- ignoreHttpErrors = true;
107
- }
102
+ const ignoreHttpErrors = await getIgnoreHttpErrorsFromConfig(ignoreHttpErrorsParam);
108
103
  const defaultArgsToIgnore = ["--disable-extensions", "--disable-component-extensions-with-background-pages", "--disable-background-networking", "--disable-backgrounding-occluded-windows", "--disable-background-timer-throttling"];
109
104
  const extraArgs = [];
110
105
  const userDataDir = await createUserDirWithPreferences();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.3.18-dev.5",
3
+ "version": "1.3.18-dev.6",
4
4
  "description": "Intuned runtime",
5
5
  "packageManager": "yarn@4.12.0",
6
6
  "main": "./dist/index.js",