extension 4.0.26 → 4.0.28

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/dist/browsers.cjs CHANGED
@@ -1395,6 +1395,16 @@ var __webpack_modules__ = {
1395
1395
  function hasExplicit(rawProfile) {
1396
1396
  return 'string' == typeof rawProfile && rawProfile.trim().length > 0;
1397
1397
  }
1398
+ function normalizeProfileOption(value) {
1399
+ if (false === value) return false;
1400
+ if (true === value) return;
1401
+ if ('string' == typeof value) {
1402
+ const normalized = value.trim().toLowerCase();
1403
+ if ('false' === normalized) return false;
1404
+ if ('true' === normalized) return;
1405
+ return value;
1406
+ }
1407
+ }
1398
1408
  function hasCopyFrom(copyFromProfile) {
1399
1409
  return 'string' == typeof copyFromProfile && copyFromProfile.trim().length > 0;
1400
1410
  }
@@ -1419,7 +1429,8 @@ var __webpack_modules__ = {
1419
1429
  });
1420
1430
  }
1421
1431
  function resolveProfileConfig(input) {
1422
- const { rawProfile, managedBaseDir, useSystemProfile, persistProfile, keepProfileChanges, copyFromProfile, resolveExplicit } = input;
1432
+ const { managedBaseDir, useSystemProfile, persistProfile, keepProfileChanges, copyFromProfile, resolveExplicit } = input;
1433
+ const rawProfile = normalizeProfileOption(input.rawProfile);
1423
1434
  if (false === rawProfile || useSystemProfile) return {
1424
1435
  kind: 'system',
1425
1436
  profilePath: '',
@@ -5186,7 +5197,14 @@ var __webpack_modules__ = {
5186
5197
  geckoBinary: opts.geckoBinary,
5187
5198
  instanceId: opts.instanceId,
5188
5199
  port: opts.port,
5189
- dryRun: opts.dryRun
5200
+ dryRun: opts.dryRun,
5201
+ logLevel: opts.logLevel,
5202
+ logContexts: opts.logContexts,
5203
+ logFormat: opts.logFormat,
5204
+ logTimestamps: opts.logTimestamps,
5205
+ logColor: opts.logColor,
5206
+ logUrl: opts.logUrl,
5207
+ logTab: opts.logTab
5190
5208
  };
5191
5209
  }
5192
5210
  function buildPreviewChromiumOptions(opts) {
@@ -5203,7 +5221,14 @@ var __webpack_modules__ = {
5203
5221
  chromiumBinary: pluginOptions.chromiumBinary,
5204
5222
  instanceId: pluginOptions.instanceId,
5205
5223
  port: pluginOptions.port,
5206
- dryRun: pluginOptions.dryRun
5224
+ dryRun: pluginOptions.dryRun,
5225
+ logLevel: pluginOptions.logLevel,
5226
+ logContexts: pluginOptions.logContexts,
5227
+ logFormat: pluginOptions.logFormat,
5228
+ logTimestamps: pluginOptions.logTimestamps,
5229
+ logColor: pluginOptions.logColor,
5230
+ logUrl: pluginOptions.logUrl,
5231
+ logTab: pluginOptions.logTab
5207
5232
  };
5208
5233
  }
5209
5234
  function buildPreviewFirefoxOptions(opts) {
@@ -5218,7 +5243,14 @@ var __webpack_modules__ = {
5218
5243
  geckoBinary: pluginOptions.geckoBinary,
5219
5244
  instanceId: pluginOptions.instanceId,
5220
5245
  port: pluginOptions.port,
5221
- dryRun: pluginOptions.dryRun
5246
+ dryRun: pluginOptions.dryRun,
5247
+ logLevel: pluginOptions.logLevel,
5248
+ logContexts: pluginOptions.logContexts,
5249
+ logFormat: pluginOptions.logFormat,
5250
+ logTimestamps: pluginOptions.logTimestamps,
5251
+ logColor: pluginOptions.logColor,
5252
+ logUrl: pluginOptions.logUrl,
5253
+ logTab: pluginOptions.logTab
5222
5254
  };
5223
5255
  }
5224
5256
  function resolvePinnedBinaryVersionLine(opts) {