@digipair/skill-debug 0.117.7 → 0.117.8

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.
Files changed (2) hide show
  1. package/dist/index.esm.js +86 -87
  2. package/package.json +1 -1
package/dist/index.esm.js CHANGED
@@ -1,4 +1,3 @@
1
- import 'case-anything/dist/index.js';
2
1
  import { promises } from 'fs';
3
2
 
4
3
  function _mergeNamespaces(n, m) {
@@ -8195,7 +8194,7 @@ function _create_class$v(Constructor, protoProps, staticProps) {
8195
8194
  if (staticProps) _defineProperties$v(Constructor, staticProps);
8196
8195
  return Constructor;
8197
8196
  }
8198
- function _define_property$4(obj, key, value) {
8197
+ function _define_property$5(obj, key, value) {
8199
8198
  if (key in obj) {
8200
8199
  Object.defineProperty(obj, key, {
8201
8200
  value: value,
@@ -8270,7 +8269,7 @@ function _non_iterable_rest$5() {
8270
8269
  function _non_iterable_spread$6() {
8271
8270
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
8272
8271
  }
8273
- function _object_spread$2(target) {
8272
+ function _object_spread$3(target) {
8274
8273
  for(var i = 1; i < arguments.length; i++){
8275
8274
  var source = arguments[i] != null ? arguments[i] : {};
8276
8275
  var ownKeys = Object.keys(source);
@@ -8280,12 +8279,12 @@ function _object_spread$2(target) {
8280
8279
  }));
8281
8280
  }
8282
8281
  ownKeys.forEach(function(key) {
8283
- _define_property$4(target, key, source[key]);
8282
+ _define_property$5(target, key, source[key]);
8284
8283
  });
8285
8284
  }
8286
8285
  return target;
8287
8286
  }
8288
- function ownKeys$1(object, enumerableOnly) {
8287
+ function ownKeys$2(object, enumerableOnly) {
8289
8288
  var keys = Object.keys(object);
8290
8289
  if (Object.getOwnPropertySymbols) {
8291
8290
  var symbols = Object.getOwnPropertySymbols(object);
@@ -8293,12 +8292,12 @@ function ownKeys$1(object, enumerableOnly) {
8293
8292
  }
8294
8293
  return keys;
8295
8294
  }
8296
- function _object_spread_props$1(target, source) {
8295
+ function _object_spread_props$2(target, source) {
8297
8296
  source = source != null ? source : {};
8298
8297
  if (Object.getOwnPropertyDescriptors) {
8299
8298
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
8300
8299
  } else {
8301
- ownKeys$1(Object(source)).forEach(function(key) {
8300
+ ownKeys$2(Object(source)).forEach(function(key) {
8302
8301
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
8303
8302
  });
8304
8303
  }
@@ -9169,7 +9168,7 @@ function getCachedWeekInfo(locString) {
9169
9168
  data = "getWeekInfo" in locale ? locale.getWeekInfo() : locale.weekInfo;
9170
9169
  // minimalDays was removed from WeekInfo: https://github.com/tc39/proposal-intl-locale-info/issues/86
9171
9170
  if (!("minimalDays" in data)) {
9172
- data = _object_spread$2({}, fallbackWeekSettings, data);
9171
+ data = _object_spread$3({}, fallbackWeekSettings, data);
9173
9172
  }
9174
9173
  weekInfoCache.set(locString, data);
9175
9174
  }
@@ -9276,7 +9275,7 @@ function supportsFastNumbers(loc) {
9276
9275
  "floor"
9277
9276
  ]);
9278
9277
  if (!forceSimple || Object.keys(otherOpts).length > 0) {
9279
- var intlOpts = _object_spread$2({
9278
+ var intlOpts = _object_spread$3({
9280
9279
  useGrouping: false
9281
9280
  }, opts);
9282
9281
  if (opts.padTo > 0) intlOpts.minimumIntegerDigits = opts.padTo;
@@ -9346,7 +9345,7 @@ function supportsFastNumbers(loc) {
9346
9345
  });
9347
9346
  this.originalZone = dt.zone;
9348
9347
  }
9349
- var intlOpts = _object_spread$2({}, this.opts);
9348
+ var intlOpts = _object_spread$3({}, this.opts);
9350
9349
  intlOpts.timeZone = intlOpts.timeZone || z;
9351
9350
  this.dtf = getCachedDTF(intl, intlOpts);
9352
9351
  }
@@ -9377,7 +9376,7 @@ function supportsFastNumbers(loc) {
9377
9376
  locale: _this.dt.locale,
9378
9377
  format: _this.opts.timeZoneName
9379
9378
  });
9380
- return _object_spread_props$1(_object_spread$2({}, part), {
9379
+ return _object_spread_props$2(_object_spread$3({}, part), {
9381
9380
  value: offsetName
9382
9381
  });
9383
9382
  } else {
@@ -9402,7 +9401,7 @@ function supportsFastNumbers(loc) {
9402
9401
  */ var PolyRelFormatter = /*#__PURE__*/ function() {
9403
9402
  function PolyRelFormatter(intl, isEnglish, opts) {
9404
9403
  _class_call_check$A(this, PolyRelFormatter);
9405
- this.opts = _object_spread$2({
9404
+ this.opts = _object_spread$3({
9406
9405
  style: "long"
9407
9406
  }, opts);
9408
9407
  if (!isEnglish && hasRelative()) {
@@ -9497,7 +9496,7 @@ var fallbackWeekSettings = {
9497
9496
  key: "redefaultToEN",
9498
9497
  value: function redefaultToEN() {
9499
9498
  var alts = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9500
- return this.clone(_object_spread_props$1(_object_spread$2({}, alts), {
9499
+ return this.clone(_object_spread_props$2(_object_spread$3({}, alts), {
9501
9500
  defaultToEN: true
9502
9501
  }));
9503
9502
  }
@@ -9506,7 +9505,7 @@ var fallbackWeekSettings = {
9506
9505
  key: "redefaultToSystem",
9507
9506
  value: function redefaultToSystem() {
9508
9507
  var alts = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9509
- return this.clone(_object_spread_props$1(_object_spread$2({}, alts), {
9508
+ return this.clone(_object_spread_props$2(_object_spread$3({}, alts), {
9510
9509
  defaultToEN: false
9511
9510
  }));
9512
9511
  }
@@ -10385,7 +10384,7 @@ function isoWeekdayToLocal(isoWeekday, startOfWeek) {
10385
10384
  } else {
10386
10385
  weekYear = year;
10387
10386
  }
10388
- return _object_spread$2({
10387
+ return _object_spread$3({
10389
10388
  weekYear: weekYear,
10390
10389
  weekNumber: weekNumber,
10391
10390
  weekday: weekday
@@ -10405,7 +10404,7 @@ function weekToGregorian(weekData) {
10405
10404
  year = weekYear;
10406
10405
  }
10407
10406
  var _uncomputeOrdinal = uncomputeOrdinal(year, ordinal), month = _uncomputeOrdinal.month, day = _uncomputeOrdinal.day;
10408
- return _object_spread$2({
10407
+ return _object_spread$3({
10409
10408
  year: year,
10410
10409
  month: month,
10411
10410
  day: day
@@ -10414,7 +10413,7 @@ function weekToGregorian(weekData) {
10414
10413
  function gregorianToOrdinal(gregData) {
10415
10414
  var year = gregData.year, month = gregData.month, day = gregData.day;
10416
10415
  var ordinal = computeOrdinal(year, month, day);
10417
- return _object_spread$2({
10416
+ return _object_spread$3({
10418
10417
  year: year,
10419
10418
  ordinal: ordinal
10420
10419
  }, timeObject(gregData));
@@ -10422,7 +10421,7 @@ function gregorianToOrdinal(gregData) {
10422
10421
  function ordinalToGregorian(ordinalData) {
10423
10422
  var year = ordinalData.year, ordinal = ordinalData.ordinal;
10424
10423
  var _uncomputeOrdinal = uncomputeOrdinal(year, ordinal), month = _uncomputeOrdinal.month, day = _uncomputeOrdinal.day;
10425
- return _object_spread$2({
10424
+ return _object_spread$3({
10426
10425
  year: year,
10427
10426
  month: month,
10428
10427
  day: day
@@ -10718,7 +10717,7 @@ function parseZoneInfo(ts, offsetFormat, locale) {
10718
10717
  if (timeZone) {
10719
10718
  intlOpts.timeZone = timeZone;
10720
10719
  }
10721
- var modified = _object_spread$2({
10720
+ var modified = _object_spread$3({
10722
10721
  timeZoneName: offsetFormat
10723
10722
  }, intlOpts);
10724
10723
  var parsed = new Intl.DateTimeFormat(locale, modified).formatToParts(date).find(function(m) {
@@ -11077,7 +11076,7 @@ var macroTokenToFormatOpts = {
11077
11076
  if (this.systemLoc === null) {
11078
11077
  this.systemLoc = this.loc.redefaultToSystem();
11079
11078
  }
11080
- var df = this.systemLoc.dtFormatter(dt, _object_spread$2({}, this.opts, opts));
11079
+ var df = this.systemLoc.dtFormatter(dt, _object_spread$3({}, this.opts, opts));
11081
11080
  return df.format();
11082
11081
  }
11083
11082
  },
@@ -11085,7 +11084,7 @@ var macroTokenToFormatOpts = {
11085
11084
  key: "dtFormatter",
11086
11085
  value: function dtFormatter(dt) {
11087
11086
  var opts = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
11088
- return this.loc.dtFormatter(dt, _object_spread$2({}, this.opts, opts));
11087
+ return this.loc.dtFormatter(dt, _object_spread$3({}, this.opts, opts));
11089
11088
  }
11090
11089
  },
11091
11090
  {
@@ -11121,7 +11120,7 @@ var macroTokenToFormatOpts = {
11121
11120
  if (this.opts.forceSimple) {
11122
11121
  return padStart(n, p);
11123
11122
  }
11124
- var opts = _object_spread$2({}, this.opts);
11123
+ var opts = _object_spread$3({}, this.opts);
11125
11124
  if (p > 0) {
11126
11125
  opts.padTo = p;
11127
11126
  }
@@ -11537,7 +11536,7 @@ function combineExtractors() {
11537
11536
  var _param = _sliced_to_array$5(param, 3), mergedVals = _param[0], mergedZone = _param[1], cursor = _param[2];
11538
11537
  var _ex = _sliced_to_array$5(ex(m, cursor), 3), val = _ex[0], zone = _ex[1], next = _ex[2];
11539
11538
  return [
11540
- _object_spread$2({}, mergedVals, val),
11539
+ _object_spread$3({}, mergedVals, val),
11541
11540
  zone || mergedZone,
11542
11541
  next
11543
11542
  ];
@@ -11848,7 +11847,7 @@ var lowOrderMatrix = {
11848
11847
  seconds: {
11849
11848
  milliseconds: 1000
11850
11849
  }
11851
- }, casualMatrix = _object_spread$2({
11850
+ }, casualMatrix = _object_spread$3({
11852
11851
  years: {
11853
11852
  quarters: 4,
11854
11853
  months: 12,
@@ -11876,7 +11875,7 @@ var lowOrderMatrix = {
11876
11875
  seconds: 30 * 24 * 60 * 60,
11877
11876
  milliseconds: 30 * 24 * 60 * 60 * 1000
11878
11877
  }
11879
- }, lowOrderMatrix), daysInYearAccurate = 146097.0 / 400, daysInMonthAccurate = 146097.0 / 4800, accurateMatrix = _object_spread$2({
11878
+ }, lowOrderMatrix), daysInYearAccurate = 146097.0 / 400, daysInMonthAccurate = 146097.0 / 4800, accurateMatrix = _object_spread$3({
11880
11879
  years: {
11881
11880
  quarters: 4,
11882
11881
  months: 12,
@@ -11923,7 +11922,7 @@ function clone$1(dur, alts) {
11923
11922
  var clear = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
11924
11923
  // deep merge for vals
11925
11924
  var conf = {
11926
- values: clear ? alts.values : _object_spread$2({}, dur.values, alts.values || {}),
11925
+ values: clear ? alts.values : _object_spread$3({}, dur.values, alts.values || {}),
11927
11926
  loc: dur.loc.clone(alts.loc),
11928
11927
  conversionAccuracy: alts.conversionAccuracy || dur.conversionAccuracy,
11929
11928
  matrix: alts.matrix || dur.matrix
@@ -12122,7 +12121,7 @@ function removeZeroes(vals) {
12122
12121
  value: function toFormat(fmt) {
12123
12122
  var opts = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
12124
12123
  // reverse-compat since 1.2; we always round down now, never up, and we do it by default
12125
- var fmtOpts = _object_spread_props$1(_object_spread$2({}, opts), {
12124
+ var fmtOpts = _object_spread_props$2(_object_spread$3({}, opts), {
12126
12125
  floor: opts.round !== false && opts.floor !== false
12127
12126
  });
12128
12127
  return this.isValid ? Formatter.create(this.loc, fmtOpts).formatDurationFromString(this, fmt) : INVALID$2;
@@ -12155,7 +12154,7 @@ function removeZeroes(vals) {
12155
12154
  if (isUndefined$2(val) || val === 0 && !showZeros) {
12156
12155
  return null;
12157
12156
  }
12158
- return _this.loc.numberFormatter(_object_spread_props$1(_object_spread$2({
12157
+ return _this.loc.numberFormatter(_object_spread_props$2(_object_spread$3({
12159
12158
  style: "unit",
12160
12159
  unitDisplay: "long"
12161
12160
  }, opts), {
@@ -12164,7 +12163,7 @@ function removeZeroes(vals) {
12164
12163
  }).filter(function(n) {
12165
12164
  return n;
12166
12165
  });
12167
- return this.loc.listFormatter(_object_spread$2({
12166
+ return this.loc.listFormatter(_object_spread$3({
12168
12167
  type: "conjunction",
12169
12168
  style: opts.listStyle || "narrow"
12170
12169
  }, opts)).format(l);
@@ -12178,7 +12177,7 @@ function removeZeroes(vals) {
12178
12177
  */ key: "toObject",
12179
12178
  value: function toObject() {
12180
12179
  if (!this.isValid) return {};
12181
- return _object_spread$2({}, this.values);
12180
+ return _object_spread$3({}, this.values);
12182
12181
  }
12183
12182
  },
12184
12183
  {
@@ -12230,7 +12229,7 @@ function removeZeroes(vals) {
12230
12229
  if (!this.isValid) return null;
12231
12230
  var millis = this.toMillis();
12232
12231
  if (millis < 0 || millis >= 86400000) return null;
12233
- opts = _object_spread_props$1(_object_spread$2({
12232
+ opts = _object_spread_props$2(_object_spread$3({
12234
12233
  suppressMilliseconds: false,
12235
12234
  suppressSeconds: false,
12236
12235
  includePrefix: false,
@@ -12401,7 +12400,7 @@ function removeZeroes(vals) {
12401
12400
  */ key: "set",
12402
12401
  value: function set(values) {
12403
12402
  if (!this.isValid) return this;
12404
- var mixed = _object_spread$2({}, this.values, normalizeObject(values, Duration.normalizeUnit));
12403
+ var mixed = _object_spread$3({}, this.values, normalizeObject(values, Duration.normalizeUnit));
12405
12404
  return clone$1(this, {
12406
12405
  values: mixed
12407
12406
  });
@@ -14012,7 +14011,7 @@ function diff(earlier, later, units, opts) {
14012
14011
  });
14013
14012
  if (lowerOrderUnits.length === 0) {
14014
14013
  if (highWater < later) {
14015
- highWater = cursor.plus(_define_property$4({}, lowestOrder, 1));
14014
+ highWater = cursor.plus(_define_property$5({}, lowestOrder, 1));
14016
14015
  }
14017
14016
  if (highWater !== cursor) {
14018
14017
  results[lowestOrder] = (results[lowestOrder] || 0) + remainingMillis / (highWater - cursor);
@@ -14572,7 +14571,7 @@ function clone$2(inst, alts) {
14572
14571
  loc: inst.loc,
14573
14572
  invalid: inst.invalid
14574
14573
  };
14575
- return new DateTime(_object_spread_props$1(_object_spread$2({}, current, alts), {
14574
+ return new DateTime(_object_spread_props$2(_object_spread$3({}, current, alts), {
14576
14575
  old: current
14577
14576
  }));
14578
14577
  }
@@ -14626,7 +14625,7 @@ function objToTS(obj, offset, zone) {
14626
14625
  }
14627
14626
  // create a new DT instance by adding a duration, adjusting for DSTs
14628
14627
  function adjustTime(inst, dur) {
14629
- var oPre = inst.o, year = inst.c.year + Math.trunc(dur.years), month = inst.c.month + Math.trunc(dur.months) + Math.trunc(dur.quarters) * 3, c = _object_spread_props$1(_object_spread$2({}, inst.c), {
14628
+ var oPre = inst.o, year = inst.c.year + Math.trunc(dur.years), month = inst.c.month + Math.trunc(dur.months) + Math.trunc(dur.quarters) * 3, c = _object_spread_props$2(_object_spread$3({}, inst.c), {
14630
14629
  year: year,
14631
14630
  month: month,
14632
14631
  day: Math.min(inst.c.day, daysInMonth(year, month)) + Math.trunc(dur.days) + Math.trunc(dur.weeks) * 7
@@ -14657,7 +14656,7 @@ function adjustTime(inst, dur) {
14657
14656
  function parseDataToDateTime(parsed, parsedZone, opts, format, text, specificOffset) {
14658
14657
  var setZone = opts.setZone, zone = opts.zone;
14659
14658
  if (parsed && Object.keys(parsed).length !== 0 || parsedZone) {
14660
- var interpretationZone = parsedZone || zone, inst = DateTime.fromObject(parsed, _object_spread_props$1(_object_spread$2({}, opts), {
14659
+ var interpretationZone = parsedZone || zone, inst = DateTime.fromObject(parsed, _object_spread_props$2(_object_spread$3({}, opts), {
14661
14660
  zone: interpretationZone,
14662
14661
  specificOffset: specificOffset
14663
14662
  }));
@@ -15677,11 +15676,11 @@ function lastOpts(argList) {
15677
15676
  }
15678
15677
  var mixed;
15679
15678
  if (settingWeekStuff) {
15680
- mixed = weekToGregorian(_object_spread$2({}, gregorianToWeek(this.c, minDaysInFirstWeek, startOfWeek), normalized), minDaysInFirstWeek, startOfWeek);
15679
+ mixed = weekToGregorian(_object_spread$3({}, gregorianToWeek(this.c, minDaysInFirstWeek, startOfWeek), normalized), minDaysInFirstWeek, startOfWeek);
15681
15680
  } else if (!isUndefined$2(normalized.ordinal)) {
15682
- mixed = ordinalToGregorian(_object_spread$2({}, gregorianToOrdinal(this.c), normalized));
15681
+ mixed = ordinalToGregorian(_object_spread$3({}, gregorianToOrdinal(this.c), normalized));
15683
15682
  } else {
15684
- mixed = _object_spread$2({}, this.toObject(), normalized);
15683
+ mixed = _object_spread$3({}, this.toObject(), normalized);
15685
15684
  // if we didn't set the day but we ended up on an overflow date,
15686
15685
  // use the last day of the right month
15687
15686
  if (isUndefined$2(normalized.day)) {
@@ -15800,7 +15799,7 @@ function lastOpts(argList) {
15800
15799
  * @return {DateTime}
15801
15800
  */ key: "endOf",
15802
15801
  value: function endOf(unit, opts) {
15803
- return this.isValid ? this.plus(_define_property$4({}, unit, 1)).startOf(unit, opts).minus(1) : this;
15802
+ return this.isValid ? this.plus(_define_property$5({}, unit, 1)).startOf(unit, opts).minus(1) : this;
15804
15803
  }
15805
15804
  },
15806
15805
  {
@@ -16128,7 +16127,7 @@ function lastOpts(argList) {
16128
16127
  value: function toObject() {
16129
16128
  var opts = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
16130
16129
  if (!this.isValid) return {};
16131
- var base = _object_spread$2({}, this.c);
16130
+ var base = _object_spread$3({}, this.c);
16132
16131
  if (opts.includeConfig) {
16133
16132
  base.outputCalendar = this.outputCalendar;
16134
16133
  base.numberingSystem = this.loc.numberingSystem;
@@ -16168,7 +16167,7 @@ function lastOpts(argList) {
16168
16167
  if (!this.isValid || !otherDateTime.isValid) {
16169
16168
  return Duration.invalid("created by diffing an invalid DateTime");
16170
16169
  }
16171
- var durOpts = _object_spread$2({
16170
+ var durOpts = _object_spread$3({
16172
16171
  locale: this.locale,
16173
16172
  numberingSystem: this.numberingSystem
16174
16173
  }, opts);
@@ -16272,7 +16271,7 @@ function lastOpts(argList) {
16272
16271
  units = options.unit;
16273
16272
  unit = undefined;
16274
16273
  }
16275
- return diffRelative(base, this.plus(padding), _object_spread_props$1(_object_spread$2({}, options), {
16274
+ return diffRelative(base, this.plus(padding), _object_spread_props$2(_object_spread$3({}, options), {
16276
16275
  numeric: "always",
16277
16276
  units: units,
16278
16277
  unit: unit
@@ -16298,7 +16297,7 @@ function lastOpts(argList) {
16298
16297
  if (!this.isValid) return null;
16299
16298
  return diffRelative(options.base || DateTime.fromObject({}, {
16300
16299
  zone: this.zone
16301
- }), this, _object_spread_props$1(_object_spread$2({}, options), {
16300
+ }), this, _object_spread_props$2(_object_spread$3({}, options), {
16302
16301
  numeric: "auto",
16303
16302
  units: [
16304
16303
  "years",
@@ -22562,7 +22561,7 @@ function _create_class$r(Constructor, protoProps, staticProps) {
22562
22561
  if (staticProps) _defineProperties$r(Constructor, staticProps);
22563
22562
  return Constructor;
22564
22563
  }
22565
- function _define_property$3(obj, key, value) {
22564
+ function _define_property$4(obj, key, value) {
22566
22565
  if (key in obj) {
22567
22566
  Object.defineProperty(obj, key, {
22568
22567
  value: value,
@@ -22615,7 +22614,7 @@ function _non_iterable_rest$2() {
22615
22614
  function _non_iterable_spread$4() {
22616
22615
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
22617
22616
  }
22618
- function _object_spread$1(target) {
22617
+ function _object_spread$2(target) {
22619
22618
  for(var i = 1; i < arguments.length; i++){
22620
22619
  var source = arguments[i] != null ? arguments[i] : {};
22621
22620
  var ownKeys = Object.keys(source);
@@ -22625,12 +22624,12 @@ function _object_spread$1(target) {
22625
22624
  }));
22626
22625
  }
22627
22626
  ownKeys.forEach(function(key) {
22628
- _define_property$3(target, key, source[key]);
22627
+ _define_property$4(target, key, source[key]);
22629
22628
  });
22630
22629
  }
22631
22630
  return target;
22632
22631
  }
22633
- function ownKeys(object, enumerableOnly) {
22632
+ function ownKeys$1(object, enumerableOnly) {
22634
22633
  var keys = Object.keys(object);
22635
22634
  if (Object.getOwnPropertySymbols) {
22636
22635
  var symbols = Object.getOwnPropertySymbols(object);
@@ -22638,12 +22637,12 @@ function ownKeys(object, enumerableOnly) {
22638
22637
  }
22639
22638
  return keys;
22640
22639
  }
22641
- function _object_spread_props(target, source) {
22640
+ function _object_spread_props$1(target, source) {
22642
22641
  source = source != null ? source : {};
22643
22642
  if (Object.getOwnPropertyDescriptors) {
22644
22643
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
22645
22644
  } else {
22646
- ownKeys(Object(source)).forEach(function(key) {
22645
+ ownKeys$1(Object(source)).forEach(function(key) {
22647
22646
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
22648
22647
  });
22649
22648
  }
@@ -22836,14 +22835,14 @@ function indent(str, spaces) {
22836
22835
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
22837
22836
  // match is required
22838
22837
  if (!match) {
22839
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
22838
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22840
22839
  v: nextMatch1
22841
22840
  };
22842
22841
  }
22843
22842
  var token = match.token, offset = match.offset;
22844
22843
  i1 += offset;
22845
22844
  if (token === ' ') {
22846
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
22845
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22847
22846
  }
22848
22847
  tokens1 = _to_consumable_array$4(tokens1).concat([
22849
22848
  token
@@ -22862,7 +22861,7 @@ function indent(str, spaces) {
22862
22861
  if (contextKeys.some(function(el) {
22863
22862
  return el.startsWith(name);
22864
22863
  })) {
22865
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
22864
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22866
22865
  }
22867
22866
  if (dateTimeIdentifiers.some(function(el) {
22868
22867
  return el === name;
@@ -22881,9 +22880,9 @@ function indent(str, spaces) {
22881
22880
  if (dateTimeIdentifiers.some(function(el) {
22882
22881
  return el.startsWith(name);
22883
22882
  })) {
22884
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
22883
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22885
22884
  }
22886
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
22885
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22887
22886
  v: nextMatch1
22888
22887
  };
22889
22888
  };
@@ -22895,7 +22894,7 @@ function indent(str, spaces) {
22895
22894
  }
22896
22895
  }
22897
22896
  var _obj;
22898
- var identifiersMap = (_obj = {}, _define_property$3(_obj, identifier, 'identifier'), _define_property$3(_obj, nameIdentifier, 'nameIdentifier'), _obj);
22897
+ var identifiersMap = (_obj = {}, _define_property$4(_obj, identifier, 'identifier'), _define_property$4(_obj, nameIdentifier, 'nameIdentifier'), _obj);
22899
22898
  var identifiers = new ExternalTokenizer(function(input, stack) {
22900
22899
  LOG_PARSE_DEBUG && console.log('%s: T <identifier | nameIdentifier>', input.pos);
22901
22900
  var nameMatch = parseName(input, stack.context);
@@ -22944,11 +22943,11 @@ var insertSemicolon = new ExternalTokenizer(function(input, stack) {
22944
22943
  }
22945
22944
  });
22946
22945
  var _obj1;
22947
- var prefixedContextStarts = (_obj1 = {}, _define_property$3(_obj1, functionInvocationStart, 'FunctionInvocation'), _define_property$3(_obj1, filterExpressionStart, 'FilterExpression'), _define_property$3(_obj1, pathExpressionStart, 'PathExpression'), _obj1);
22946
+ var prefixedContextStarts = (_obj1 = {}, _define_property$4(_obj1, functionInvocationStart, 'FunctionInvocation'), _define_property$4(_obj1, filterExpressionStart, 'FilterExpression'), _define_property$4(_obj1, pathExpressionStart, 'PathExpression'), _obj1);
22948
22947
  var _obj2;
22949
- var contextStarts = (_obj2 = {}, _define_property$3(_obj2, contextStart, 'Context'), _define_property$3(_obj2, functionDefinitionStart, 'FunctionDefinition'), _define_property$3(_obj2, forExpressionStart, 'ForExpression'), _define_property$3(_obj2, listStart, 'List'), _define_property$3(_obj2, ifExpressionStart, 'IfExpression'), _define_property$3(_obj2, quantifiedExpressionStart, 'QuantifiedExpression'), _obj2);
22948
+ var contextStarts = (_obj2 = {}, _define_property$4(_obj2, contextStart, 'Context'), _define_property$4(_obj2, functionDefinitionStart, 'FunctionDefinition'), _define_property$4(_obj2, forExpressionStart, 'ForExpression'), _define_property$4(_obj2, listStart, 'List'), _define_property$4(_obj2, ifExpressionStart, 'IfExpression'), _define_property$4(_obj2, quantifiedExpressionStart, 'QuantifiedExpression'), _obj2);
22950
22949
  var _obj3;
22951
- var contextEnds = (_obj3 = {}, _define_property$3(_obj3, Context, 'Context'), _define_property$3(_obj3, FunctionDefinition, 'FunctionDefinition'), _define_property$3(_obj3, ForExpression, 'ForExpression'), _define_property$3(_obj3, List, 'List'), _define_property$3(_obj3, IfExpression, 'IfExpression'), _define_property$3(_obj3, QuantifiedExpression, 'QuantifiedExpression'), _define_property$3(_obj3, PathExpression, 'PathExpression'), _define_property$3(_obj3, FunctionInvocation, 'FunctionInvocation'), _define_property$3(_obj3, FilterExpression, 'FilterExpression'), _define_property$3(_obj3, ArithmeticExpression, 'ArithmeticExpression'), _obj3);
22950
+ var contextEnds = (_obj3 = {}, _define_property$4(_obj3, Context, 'Context'), _define_property$4(_obj3, FunctionDefinition, 'FunctionDefinition'), _define_property$4(_obj3, ForExpression, 'ForExpression'), _define_property$4(_obj3, List, 'List'), _define_property$4(_obj3, IfExpression, 'IfExpression'), _define_property$4(_obj3, QuantifiedExpression, 'QuantifiedExpression'), _define_property$4(_obj3, PathExpression, 'PathExpression'), _define_property$4(_obj3, FunctionInvocation, 'FunctionInvocation'), _define_property$4(_obj3, FilterExpression, 'FilterExpression'), _define_property$4(_obj3, ArithmeticExpression, 'ArithmeticExpression'), _obj3);
22952
22951
  /**
22953
22952
  * A simple producer that retrievs a value from
22954
22953
  * a given context. Used to lazily take things.
@@ -23036,7 +23035,7 @@ var dateTimeIdentifiers = Object.keys(dateTimeLiterals);
23036
23035
  */ key: "set",
23037
23036
  value: function set(key, value) {
23038
23037
  var constructor = /** @type { typeof VariableContext } */ this.constructor;
23039
- return constructor.of(_object_spread_props(_object_spread$1({}, this.value), _define_property$3({}, key, value)));
23038
+ return constructor.of(_object_spread_props$1(_object_spread$2({}, this.value), _define_property$4({}, key, value)));
23040
23039
  }
23041
23040
  },
23042
23041
  {
@@ -23100,7 +23099,7 @@ var dateTimeIdentifiers = Object.keys(dateTimeLiterals);
23100
23099
  if ((typeof context === "undefined" ? "undefined" : _type_of$z(context)) !== 'object') {
23101
23100
  return {};
23102
23101
  }
23103
- return _object_spread$1({}, context);
23102
+ return _object_spread$2({}, context);
23104
23103
  }
23105
23104
  },
23106
23105
  {
@@ -23118,13 +23117,13 @@ var dateTimeIdentifiers = Object.keys(dateTimeLiterals);
23118
23117
  return reduce$1(this.__unwrap(other), function(merged, value, key) {
23119
23118
  if (_instanceof$f(value, ValueProducer)) {
23120
23119
  // keep value producers in tact
23121
- return _object_spread_props(_object_spread$1({}, merged), _define_property$3({}, key, value));
23120
+ return _object_spread_props$1(_object_spread$2({}, merged), _define_property$4({}, key, value));
23122
23121
  }
23123
23122
  value = _this.__unwrap(value);
23124
23123
  if (has$2(merged, key)) {
23125
23124
  value = _this.__merge(_this.__unwrap(merged[key]), value);
23126
23125
  }
23127
- return _object_spread_props(_object_spread$1({}, merged), _define_property$3({}, key, value));
23126
+ return _object_spread_props$1(_object_spread$2({}, merged), _define_property$4({}, key, value));
23128
23127
  }, this.__unwrap(context));
23129
23128
  }
23130
23129
  }
@@ -23343,7 +23342,7 @@ var Variables = /*#__PURE__*/ function() {
23343
23342
  */ key: "assign",
23344
23343
  value: function assign() {
23345
23344
  var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
23346
- return Variables.of(_object_spread$1({}, this, options));
23345
+ return Variables.of(_object_spread$2({}, this, options));
23347
23346
  }
23348
23347
  },
23349
23348
  {
@@ -23358,7 +23357,7 @@ var Variables = /*#__PURE__*/ function() {
23358
23357
  context: this.context,
23359
23358
  parent: this.parent
23360
23359
  };
23361
- return Variables.of(_object_spread$1({}, defaultOptions, options));
23360
+ return Variables.of(_object_spread$2({}, defaultOptions, options));
23362
23361
  }
23363
23362
  }
23364
23363
  ], [
@@ -23841,7 +23840,7 @@ function _create_class$q(Constructor, protoProps, staticProps) {
23841
23840
  if (protoProps) _defineProperties$q(Constructor.prototype, protoProps);
23842
23841
  return Constructor;
23843
23842
  }
23844
- function _define_property$2(obj, key, value) {
23843
+ function _define_property$3(obj, key, value) {
23845
23844
  if (key in obj) {
23846
23845
  Object.defineProperty(obj, key, {
23847
23846
  value: value,
@@ -25148,7 +25147,7 @@ var builtins = {
25148
25147
  if (key in context) {
25149
25148
  return FALSE;
25150
25149
  }
25151
- return Object.assign(Object.assign({}, context), _define_property$2({}, entry.key, entry.value));
25150
+ return Object.assign(Object.assign({}, context), _define_property$3({}, entry.key, entry.value));
25152
25151
  }, {});
25153
25152
  if (context === FALSE) {
25154
25153
  return null;
@@ -25201,7 +25200,7 @@ var builtins = {
25201
25200
  return null;
25202
25201
  }
25203
25202
  }
25204
- return Object.assign(Object.assign({}, context), _define_property$2({}, key, value));
25203
+ return Object.assign(Object.assign({}, context), _define_property$3({}, key, value));
25205
25204
  }
25206
25205
  function matches(a, b) {
25207
25206
  return a === b;
@@ -25921,7 +25920,7 @@ function evalNode(node, input, args) {
25921
25920
  return function(context) {
25922
25921
  return args.slice(1, -1).reduce(function(obj, arg) {
25923
25922
  var _arg = _sliced_to_array$1(arg(Object.assign(Object.assign({}, context), obj)), 2), key = _arg[0], value = _arg[1];
25924
- return Object.assign(Object.assign({}, obj), _define_property$2({}, key, value));
25923
+ return Object.assign(Object.assign({}, obj), _define_property$3({}, key, value));
25925
25924
  }, {});
25926
25925
  };
25927
25926
  case 'FunctionBody':
@@ -26418,7 +26417,7 @@ function extractValue(context, prop, _target) {
26418
26417
  'range'
26419
26418
  ].includes(getType(target))) {
26420
26419
  return target.map(function(t) {
26421
- return _define_property$2({}, prop, t);
26420
+ return _define_property$3({}, prop, t);
26422
26421
  });
26423
26422
  }
26424
26423
  return null;
@@ -42243,7 +42242,7 @@ function _class_call_check$1(instance, Constructor) {
42243
42242
  throw new TypeError("Cannot call a class as a function");
42244
42243
  }
42245
42244
  }
42246
- function _define_property$1(obj, key, value) {
42245
+ function _define_property$2(obj, key, value) {
42247
42246
  if (key in obj) {
42248
42247
  Object.defineProperty(obj, key, {
42249
42248
  value: value,
@@ -42323,7 +42322,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42323
42322
  _class_call_check$1(this, CelParser);
42324
42323
  var _this;
42325
42324
  _this = _super.call(this, allTokens);
42326
- _define_property$1(_assert_this_initialized$1(_this), "expr", _this.RULE('expr', function() {
42325
+ _define_property$2(_assert_this_initialized$1(_this), "expr", _this.RULE('expr', function() {
42327
42326
  _this.SUBRULE(_this.conditionalOr, {
42328
42327
  LABEL: 'conditionalOr'
42329
42328
  });
@@ -42338,7 +42337,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42338
42337
  });
42339
42338
  });
42340
42339
  }));
42341
- _define_property$1(_assert_this_initialized$1(_this), "conditionalAnd", _this.RULE('conditionalAnd', function() {
42340
+ _define_property$2(_assert_this_initialized$1(_this), "conditionalAnd", _this.RULE('conditionalAnd', function() {
42342
42341
  _this.SUBRULE(_this.relation, {
42343
42342
  LABEL: 'lhs'
42344
42343
  });
@@ -42349,7 +42348,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42349
42348
  });
42350
42349
  });
42351
42350
  }));
42352
- _define_property$1(_assert_this_initialized$1(_this), "conditionalOr", _this.RULE('conditionalOr', function() {
42351
+ _define_property$2(_assert_this_initialized$1(_this), "conditionalOr", _this.RULE('conditionalOr', function() {
42353
42352
  _this.SUBRULE(_this.conditionalAnd, {
42354
42353
  LABEL: 'lhs'
42355
42354
  });
@@ -42360,7 +42359,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42360
42359
  });
42361
42360
  });
42362
42361
  }));
42363
- _define_property$1(_assert_this_initialized$1(_this), "relation", _this.RULE('relation', function() {
42362
+ _define_property$2(_assert_this_initialized$1(_this), "relation", _this.RULE('relation', function() {
42364
42363
  _this.SUBRULE(_this.addition, {
42365
42364
  LABEL: 'lhs'
42366
42365
  });
@@ -42371,7 +42370,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42371
42370
  });
42372
42371
  });
42373
42372
  }));
42374
- _define_property$1(_assert_this_initialized$1(_this), "addition", _this.RULE('addition', function() {
42373
+ _define_property$2(_assert_this_initialized$1(_this), "addition", _this.RULE('addition', function() {
42375
42374
  _this.SUBRULE(_this.multiplication, {
42376
42375
  LABEL: 'lhs'
42377
42376
  });
@@ -42382,7 +42381,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42382
42381
  });
42383
42382
  });
42384
42383
  }));
42385
- _define_property$1(_assert_this_initialized$1(_this), "multiplication", _this.RULE('multiplication', function() {
42384
+ _define_property$2(_assert_this_initialized$1(_this), "multiplication", _this.RULE('multiplication', function() {
42386
42385
  _this.SUBRULE(_this.unaryExpression, {
42387
42386
  LABEL: 'lhs'
42388
42387
  });
@@ -42393,13 +42392,13 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42393
42392
  });
42394
42393
  });
42395
42394
  }));
42396
- _define_property$1(_assert_this_initialized$1(_this), "unaryExpression", _this.RULE('unaryExpression', function() {
42395
+ _define_property$2(_assert_this_initialized$1(_this), "unaryExpression", _this.RULE('unaryExpression', function() {
42397
42396
  _this.MANY(function() {
42398
42397
  _this.CONSUME(UnaryOperator);
42399
42398
  });
42400
42399
  _this.SUBRULE(_this.atomicExpression);
42401
42400
  }));
42402
- _define_property$1(_assert_this_initialized$1(_this), "parenthesisExpression", _this.RULE('parenthesisExpression', function() {
42401
+ _define_property$2(_assert_this_initialized$1(_this), "parenthesisExpression", _this.RULE('parenthesisExpression', function() {
42403
42402
  _this.CONSUME(OpenParenthesis, {
42404
42403
  LABEL: 'open'
42405
42404
  });
@@ -42408,7 +42407,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42408
42407
  LABEL: 'close'
42409
42408
  });
42410
42409
  }));
42411
- _define_property$1(_assert_this_initialized$1(_this), "listExpression", _this.RULE('listExpression', function() {
42410
+ _define_property$2(_assert_this_initialized$1(_this), "listExpression", _this.RULE('listExpression', function() {
42412
42411
  _this.CONSUME(OpenBracket);
42413
42412
  _this.OPTION(function() {
42414
42413
  _this.SUBRULE(_this.expr, {
@@ -42428,7 +42427,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42428
42427
  });
42429
42428
  });
42430
42429
  }));
42431
- _define_property$1(_assert_this_initialized$1(_this), "mapExpression", _this.RULE('mapExpression', function() {
42430
+ _define_property$2(_assert_this_initialized$1(_this), "mapExpression", _this.RULE('mapExpression', function() {
42432
42431
  _this.CONSUME(OpenCurlyBracket);
42433
42432
  _this.MANY(function() {
42434
42433
  _this.SUBRULE(_this.mapKeyValues, {
@@ -42453,7 +42452,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42453
42452
  ]);
42454
42453
  });
42455
42454
  }));
42456
- _define_property$1(_assert_this_initialized$1(_this), "mapKeyValues", _this.RULE('mapKeyValues', function() {
42455
+ _define_property$2(_assert_this_initialized$1(_this), "mapKeyValues", _this.RULE('mapKeyValues', function() {
42457
42456
  _this.SUBRULE(_this.expr, {
42458
42457
  LABEL: 'key'
42459
42458
  });
@@ -42465,7 +42464,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42465
42464
  _this.CONSUME(Comma);
42466
42465
  });
42467
42466
  }));
42468
- _define_property$1(_assert_this_initialized$1(_this), "macrosExpression", _this.RULE('macrosExpression', function() {
42467
+ _define_property$2(_assert_this_initialized$1(_this), "macrosExpression", _this.RULE('macrosExpression', function() {
42469
42468
  _this.CONSUME(Identifier);
42470
42469
  _this.CONSUME(OpenParenthesis);
42471
42470
  _this.OPTION(function() {
@@ -42481,7 +42480,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42481
42480
  });
42482
42481
  _this.CONSUME(CloseParenthesis);
42483
42482
  }));
42484
- _define_property$1(_assert_this_initialized$1(_this), "identifierExpression", _this.RULE('identifierExpression', function() {
42483
+ _define_property$2(_assert_this_initialized$1(_this), "identifierExpression", _this.RULE('identifierExpression', function() {
42485
42484
  _this.CONSUME(Identifier);
42486
42485
  _this.MANY(function() {
42487
42486
  _this.OR([
@@ -42500,7 +42499,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42500
42499
  ]);
42501
42500
  });
42502
42501
  }));
42503
- _define_property$1(_assert_this_initialized$1(_this), "identifierDotExpression", _this.RULE('identifierDotExpression', function() {
42502
+ _define_property$2(_assert_this_initialized$1(_this), "identifierDotExpression", _this.RULE('identifierDotExpression', function() {
42504
42503
  _this.CONSUME(Dot);
42505
42504
  _this.CONSUME(Identifier);
42506
42505
  // Optional method call with arguments (for collection macros)
@@ -42520,12 +42519,12 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
42520
42519
  _this.CONSUME(CloseParenthesis);
42521
42520
  });
42522
42521
  }));
42523
- _define_property$1(_assert_this_initialized$1(_this), "indexExpression", _this.RULE('indexExpression', function() {
42522
+ _define_property$2(_assert_this_initialized$1(_this), "indexExpression", _this.RULE('indexExpression', function() {
42524
42523
  _this.CONSUME(OpenBracket);
42525
42524
  _this.SUBRULE(_this.expr);
42526
42525
  _this.CONSUME(CloseBracket);
42527
42526
  }));
42528
- _define_property$1(_assert_this_initialized$1(_this), "atomicExpression", _this.RULE('atomicExpression', function() {
42527
+ _define_property$2(_assert_this_initialized$1(_this), "atomicExpression", _this.RULE('atomicExpression', function() {
42529
42528
  _this.OR([
42530
42529
  {
42531
42530
  ALT: function() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-debug",
3
- "version": "0.117.7",
3
+ "version": "0.117.8",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",