@andersbakken/fisk 4.0.31 → 4.0.32

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.
@@ -55019,19 +55019,13 @@ function realValue(v) {
55019
55019
  return v;
55020
55020
  }
55021
55021
  class Engine {
55022
- argv;
55023
- prefix;
55024
- additionalFiles;
55025
- applicationPath;
55026
- debug;
55027
- options;
55028
- configDirs;
55029
55022
  constructor(options, argv) {
55023
+ var _a;
55030
55024
  this.argv = Object.assign({}, argv);
55031
55025
  this.prefix = options.prefix;
55032
55026
  this.additionalFiles = options.additionalFiles || [];
55033
55027
  this.applicationPath = options.noApplicationPath ? "" : appRootPath.toString();
55034
- this.debug = options.debug ?? false;
55028
+ this.debug = (_a = options.debug) !== null && _a !== void 0 ? _a : false;
55035
55029
  this.options = {};
55036
55030
  this.configDirs = this.argv["config-dir"] || options.configDirs || xdgBasedir.configDirs;
55037
55031
  this._read();
@@ -55201,7 +55195,8 @@ function options (optionsOptions, argv) {
55201
55195
  return defaultValue;
55202
55196
  }
55203
55197
  function string(name, defaultValue) {
55204
- return engine.string(name) ?? defaultValue;
55198
+ var _a;
55199
+ return (_a = engine.string(name)) !== null && _a !== void 0 ? _a : defaultValue;
55205
55200
  }
55206
55201
  return Object.assign(value, {
55207
55202
  prefix: optionsOptions.prefix,
@@ -500,19 +500,13 @@ function realValue(v) {
500
500
  return v;
501
501
  }
502
502
  class Engine {
503
- argv;
504
- prefix;
505
- additionalFiles;
506
- applicationPath;
507
- debug;
508
- options;
509
- configDirs;
510
503
  constructor(options, argv) {
504
+ var _a;
511
505
  this.argv = Object.assign({}, argv);
512
506
  this.prefix = options.prefix;
513
507
  this.additionalFiles = options.additionalFiles || [];
514
508
  this.applicationPath = options.noApplicationPath ? "" : appRootPath.toString();
515
- this.debug = options.debug ?? false;
509
+ this.debug = (_a = options.debug) !== null && _a !== void 0 ? _a : false;
516
510
  this.options = {};
517
511
  this.configDirs = this.argv["config-dir"] || options.configDirs || xdgBasedir.configDirs;
518
512
  this._read();
@@ -682,7 +676,8 @@ function options (optionsOptions, argv) {
682
676
  return defaultValue;
683
677
  }
684
678
  function string(name, defaultValue) {
685
- return engine.string(name) ?? defaultValue;
679
+ var _a;
680
+ return (_a = engine.string(name)) !== null && _a !== void 0 ? _a : defaultValue;
686
681
  }
687
682
  return Object.assign(value, {
688
683
  prefix: optionsOptions.prefix,
@@ -5303,19 +5303,13 @@ function realValue(v) {
5303
5303
  return v;
5304
5304
  }
5305
5305
  class Engine {
5306
- argv;
5307
- prefix;
5308
- additionalFiles;
5309
- applicationPath;
5310
- debug;
5311
- options;
5312
- configDirs;
5313
5306
  constructor(options, argv) {
5307
+ var _a;
5314
5308
  this.argv = Object.assign({}, argv);
5315
5309
  this.prefix = options.prefix;
5316
5310
  this.additionalFiles = options.additionalFiles || [];
5317
5311
  this.applicationPath = options.noApplicationPath ? "" : appRootPath.toString();
5318
- this.debug = options.debug ?? false;
5312
+ this.debug = (_a = options.debug) !== null && _a !== void 0 ? _a : false;
5319
5313
  this.options = {};
5320
5314
  this.configDirs = this.argv["config-dir"] || options.configDirs || xdgBasedir.configDirs;
5321
5315
  this._read();
@@ -5485,7 +5479,8 @@ function options (optionsOptions, argv) {
5485
5479
  return defaultValue;
5486
5480
  }
5487
5481
  function string(name, defaultValue) {
5488
- return engine.string(name) ?? defaultValue;
5482
+ var _a;
5483
+ return (_a = engine.string(name)) !== null && _a !== void 0 ? _a : defaultValue;
5489
5484
  }
5490
5485
  return Object.assign(value, {
5491
5486
  prefix: optionsOptions.prefix,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andersbakken/fisk",
3
- "version": "4.0.31",
3
+ "version": "4.0.32",
4
4
  "description": "Fisk, a distributed compile system",
5
5
  "scripts": {
6
6
  "lint": "eslint . --ext .ts",
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@andersbakken/blessed": "^0.1.82",
33
- "@jhanssen/options": "^4.0.0",
33
+ "@jhanssen/options": "^5.0.0",
34
34
  "axios": "^0.21.1",
35
35
  "bufferutil": "^4.0.7",
36
36
  "bytes": "^3.0.0",
@@ -53799,19 +53799,13 @@ function realValue(v) {
53799
53799
  return v;
53800
53800
  }
53801
53801
  class Engine {
53802
- argv;
53803
- prefix;
53804
- additionalFiles;
53805
- applicationPath;
53806
- debug;
53807
- options;
53808
- configDirs;
53809
53802
  constructor(options, argv) {
53803
+ var _a;
53810
53804
  this.argv = Object.assign({}, argv);
53811
53805
  this.prefix = options.prefix;
53812
53806
  this.additionalFiles = options.additionalFiles || [];
53813
53807
  this.applicationPath = options.noApplicationPath ? "" : appRootPath.toString();
53814
- this.debug = options.debug ?? false;
53808
+ this.debug = (_a = options.debug) !== null && _a !== void 0 ? _a : false;
53815
53809
  this.options = {};
53816
53810
  this.configDirs = this.argv["config-dir"] || options.configDirs || xdgBasedir.configDirs;
53817
53811
  this._read();
@@ -53981,7 +53975,8 @@ function options (optionsOptions, argv) {
53981
53975
  return defaultValue;
53982
53976
  }
53983
53977
  function string(name, defaultValue) {
53984
- return engine.string(name) ?? defaultValue;
53978
+ var _a;
53979
+ return (_a = engine.string(name)) !== null && _a !== void 0 ? _a : defaultValue;
53985
53980
  }
53986
53981
  return Object.assign(value, {
53987
53982
  prefix: optionsOptions.prefix,