@dbml/cli 10.2.1-expose-diagnostic-filepath.0 → 10.2.1-expose-diagnostic-filepath.1

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/lib/index.js CHANGED
@@ -16,7 +16,7 @@ var __copyProps = (to, from, except, desc) => {
16
16
  }
17
17
  return to;
18
18
  };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
20
  value: mod,
21
21
  enumerable: true
22
22
  }) : target, mod));
@@ -39,7 +39,7 @@ let node_fs = require("node:fs");
39
39
  var package_default = {
40
40
  $schema: "https://json.schemastore.org/package",
41
41
  name: "@dbml/cli",
42
- version: "10.2.1-expose-diagnostic-filepath.0",
42
+ version: "10.2.1-expose-diagnostic-filepath.1",
43
43
  description: "",
44
44
  main: "lib/index.js",
45
45
  license: "Apache-2.0",
@@ -66,9 +66,9 @@ var package_default = {
66
66
  keywords: ["dbml", "dbml-cli"],
67
67
  dependencies: {
68
68
  "@babel/cli": "^7.21.0",
69
- "@dbml/connector": "^10.2.1-expose-diagnostic-filepath.0",
70
- "@dbml/core": "^10.2.1-expose-diagnostic-filepath.0",
71
- "@dbml/parse": "^10.2.1-expose-diagnostic-filepath.0",
69
+ "@dbml/connector": "^10.2.1-expose-diagnostic-filepath.1",
70
+ "@dbml/core": "^10.2.1-expose-diagnostic-filepath.1",
71
+ "@dbml/parse": "^10.2.1-expose-diagnostic-filepath.1",
72
72
  "bluebird": "^3.5.5",
73
73
  "chalk": "^2.4.2",
74
74
  "commander": "^2.20.0",
@@ -79,7 +79,7 @@ var package_default = {
79
79
  "strip-ansi": "^5.2.0",
80
80
  "winston": "^3.2.1"
81
81
  },
82
- gitHead: "9cd9a516420432f7cb90c3232f65f8829466ebd6",
82
+ gitHead: "70c531b58c2a045c1e573fc642b76b9a82e8b49a",
83
83
  engines: { "node": ">=18" }
84
84
  };
85
85
  //#endregion
@@ -140,21 +140,21 @@ var OutputFilePlugin = class {
140
140
  }
141
141
  };
142
142
  //#endregion
143
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
143
+ //#region ../../node_modules/lodash-es/_freeGlobal.js
144
144
  /** Detect free variable `global` from Node.js. */
145
145
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
146
146
  //#endregion
147
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
147
+ //#region ../../node_modules/lodash-es/_root.js
148
148
  /** Detect free variable `self`. */
149
149
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
150
150
  /** Used as a reference to the global object. */
151
151
  var root = freeGlobal || freeSelf || Function("return this")();
152
152
  //#endregion
153
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
153
+ //#region ../../node_modules/lodash-es/_Symbol.js
154
154
  /** Built-in value references. */
155
155
  var Symbol$1 = root.Symbol;
156
156
  //#endregion
157
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
157
+ //#region ../../node_modules/lodash-es/_getRawTag.js
158
158
  /** Used for built-in method references. */
159
159
  var objectProto$3 = Object.prototype;
160
160
  /** Used to check objects for own properties. */
@@ -181,14 +181,12 @@ function getRawTag(value) {
181
181
  var unmasked = true;
182
182
  } catch (e) {}
183
183
  var result = nativeObjectToString$1.call(value);
184
- if (unmasked) {
185
- if (isOwn) value[symToStringTag$1] = tag;
186
- else delete value[symToStringTag$1];
187
- }
184
+ if (unmasked) if (isOwn) value[symToStringTag$1] = tag;
185
+ else delete value[symToStringTag$1];
188
186
  return result;
189
187
  }
190
188
  //#endregion
191
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
189
+ //#region ../../node_modules/lodash-es/_objectToString.js
192
190
  /**
193
191
  * Used to resolve the
194
192
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
@@ -206,10 +204,9 @@ function objectToString(value) {
206
204
  return nativeObjectToString.call(value);
207
205
  }
208
206
  //#endregion
209
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
207
+ //#region ../../node_modules/lodash-es/_baseGetTag.js
210
208
  /** `Object#toString` result references. */
211
- var nullTag = "[object Null]";
212
- var undefinedTag = "[object Undefined]";
209
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
213
210
  /** Built-in value references. */
214
211
  var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
215
212
  /**
@@ -224,7 +221,7 @@ function baseGetTag(value) {
224
221
  return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
225
222
  }
226
223
  //#endregion
227
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
224
+ //#region ../../node_modules/lodash-es/isObjectLike.js
228
225
  /**
229
226
  * Checks if `value` is object-like. A value is object-like if it's not `null`
230
227
  * and has a `typeof` result of "object".
@@ -253,7 +250,7 @@ function isObjectLike(value) {
253
250
  return value != null && typeof value == "object";
254
251
  }
255
252
  //#endregion
256
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
253
+ //#region ../../node_modules/lodash-es/isSymbol.js
257
254
  /** `Object#toString` result references. */
258
255
  var symbolTag$1 = "[object Symbol]";
259
256
  /**
@@ -277,7 +274,7 @@ function isSymbol(value) {
277
274
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
278
275
  }
279
276
  //#endregion
280
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
277
+ //#region ../../node_modules/lodash-es/_arrayMap.js
281
278
  /**
282
279
  * A specialized version of `_.map` for arrays without support for iteratee
283
280
  * shorthands.
@@ -293,7 +290,7 @@ function arrayMap(array, iteratee) {
293
290
  return result;
294
291
  }
295
292
  //#endregion
296
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
293
+ //#region ../../node_modules/lodash-es/isArray.js
297
294
  /**
298
295
  * Checks if `value` is classified as an `Array` object.
299
296
  *
@@ -319,12 +316,11 @@ function arrayMap(array, iteratee) {
319
316
  */
320
317
  var isArray = Array.isArray;
321
318
  //#endregion
322
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
319
+ //#region ../../node_modules/lodash-es/_baseToString.js
323
320
  /** Used as references for various `Number` constants. */
324
- var INFINITY$1 = 1 / 0;
321
+ var INFINITY$1 = Infinity;
325
322
  /** Used to convert symbols to primitives and strings. */
326
- var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0;
327
- var symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
323
+ var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
328
324
  /**
329
325
  * The base implementation of `_.toString` which doesn't convert nullish
330
326
  * values to empty strings.
@@ -341,7 +337,7 @@ function baseToString(value) {
341
337
  return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
342
338
  }
343
339
  //#endregion
344
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
340
+ //#region ../../node_modules/lodash-es/isObject.js
345
341
  /**
346
342
  * Checks if `value` is the
347
343
  * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
@@ -372,7 +368,7 @@ function isObject(value) {
372
368
  return value != null && (type == "object" || type == "function");
373
369
  }
374
370
  //#endregion
375
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
371
+ //#region ../../node_modules/lodash-es/identity.js
376
372
  /**
377
373
  * This method returns the first argument it receives.
378
374
  *
@@ -393,12 +389,9 @@ function identity(value) {
393
389
  return value;
394
390
  }
395
391
  //#endregion
396
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
392
+ //#region ../../node_modules/lodash-es/isFunction.js
397
393
  /** `Object#toString` result references. */
398
- var asyncTag = "[object AsyncFunction]";
399
- var funcTag$1 = "[object Function]";
400
- var genTag = "[object GeneratorFunction]";
401
- var proxyTag = "[object Proxy]";
394
+ var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
402
395
  /**
403
396
  * Checks if `value` is classified as a `Function` object.
404
397
  *
@@ -422,11 +415,11 @@ function isFunction(value) {
422
415
  return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
423
416
  }
424
417
  //#endregion
425
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
418
+ //#region ../../node_modules/lodash-es/_coreJsData.js
426
419
  /** Used to detect overreaching core-js shims. */
427
420
  var coreJsData = root["__core-js_shared__"];
428
421
  //#endregion
429
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
422
+ //#region ../../node_modules/lodash-es/_isMasked.js
430
423
  /** Used to detect methods masquerading as native. */
431
424
  var maskSrcKey = function() {
432
425
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
@@ -443,7 +436,7 @@ function isMasked(func) {
443
436
  return !!maskSrcKey && maskSrcKey in func;
444
437
  }
445
438
  //#endregion
446
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
439
+ //#region ../../node_modules/lodash-es/_toSource.js
447
440
  /** Used to resolve the decompiled source of functions. */
448
441
  var funcToString$1 = Function.prototype.toString;
449
442
  /**
@@ -465,7 +458,7 @@ function toSource(func) {
465
458
  return "";
466
459
  }
467
460
  //#endregion
468
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
461
+ //#region ../../node_modules/lodash-es/_baseIsNative.js
469
462
  /**
470
463
  * Used to match `RegExp`
471
464
  * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
@@ -474,8 +467,7 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
474
467
  /** Used to detect host constructors (Safari). */
475
468
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
476
469
  /** Used for built-in method references. */
477
- var funcProto = Function.prototype;
478
- var objectProto$2 = Object.prototype;
470
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
479
471
  /** Used to resolve the decompiled source of functions. */
480
472
  var funcToString = funcProto.toString;
481
473
  /** Used to check objects for own properties. */
@@ -495,7 +487,7 @@ function baseIsNative(value) {
495
487
  return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
496
488
  }
497
489
  //#endregion
498
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
490
+ //#region ../../node_modules/lodash-es/_getValue.js
499
491
  /**
500
492
  * Gets the value at `key` of `object`.
501
493
  *
@@ -508,7 +500,7 @@ function getValue(object, key) {
508
500
  return object == null ? void 0 : object[key];
509
501
  }
510
502
  //#endregion
511
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
503
+ //#region ../../node_modules/lodash-es/_getNative.js
512
504
  /**
513
505
  * Gets the native function at `key` of `object`.
514
506
  *
@@ -522,10 +514,10 @@ function getNative(object, key) {
522
514
  return baseIsNative(value) ? value : void 0;
523
515
  }
524
516
  //#endregion
525
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
517
+ //#region ../../node_modules/lodash-es/_WeakMap.js
526
518
  var WeakMap = getNative(root, "WeakMap");
527
519
  //#endregion
528
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
520
+ //#region ../../node_modules/lodash-es/_isIndex.js
529
521
  /** Used as references for various `Number` constants. */
530
522
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
531
523
  /** Used to detect unsigned integer values. */
@@ -544,7 +536,7 @@ function isIndex(value, length) {
544
536
  return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
545
537
  }
546
538
  //#endregion
547
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
539
+ //#region ../../node_modules/lodash-es/eq.js
548
540
  /**
549
541
  * Performs a
550
542
  * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
@@ -581,7 +573,7 @@ function eq(value, other) {
581
573
  return value === other || value !== value && other !== other;
582
574
  }
583
575
  //#endregion
584
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
576
+ //#region ../../node_modules/lodash-es/isLength.js
585
577
  /** Used as references for various `Number` constants. */
586
578
  var MAX_SAFE_INTEGER = 9007199254740991;
587
579
  /**
@@ -614,7 +606,7 @@ function isLength(value) {
614
606
  return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
615
607
  }
616
608
  //#endregion
617
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
609
+ //#region ../../node_modules/lodash-es/isArrayLike.js
618
610
  /**
619
611
  * Checks if `value` is array-like. A value is considered array-like if it's
620
612
  * not a function and has a `value.length` that's an integer greater than or
@@ -644,7 +636,7 @@ function isArrayLike(value) {
644
636
  return value != null && isLength(value.length) && !isFunction(value);
645
637
  }
646
638
  //#endregion
647
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
639
+ //#region ../../node_modules/lodash-es/_isPrototype.js
648
640
  /** Used for built-in method references. */
649
641
  var objectProto$1 = Object.prototype;
650
642
  /**
@@ -659,7 +651,7 @@ function isPrototype(value) {
659
651
  return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
660
652
  }
661
653
  //#endregion
662
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
654
+ //#region ../../node_modules/lodash-es/_baseTimes.js
663
655
  /**
664
656
  * The base implementation of `_.times` without support for iteratee shorthands
665
657
  * or max array length checks.
@@ -675,7 +667,7 @@ function baseTimes(n, iteratee) {
675
667
  return result;
676
668
  }
677
669
  //#endregion
678
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
670
+ //#region ../../node_modules/lodash-es/_baseIsArguments.js
679
671
  /** `Object#toString` result references. */
680
672
  var argsTag$2 = "[object Arguments]";
681
673
  /**
@@ -689,7 +681,7 @@ function baseIsArguments(value) {
689
681
  return isObjectLike(value) && baseGetTag(value) == argsTag$2;
690
682
  }
691
683
  //#endregion
692
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
684
+ //#region ../../node_modules/lodash-es/isArguments.js
693
685
  /** Used for built-in method references. */
694
686
  var objectProto = Object.prototype;
695
687
  /** Used to check objects for own properties. */
@@ -720,7 +712,7 @@ var isArguments = baseIsArguments(function() {
720
712
  return isObjectLike(value) && hasOwnProperty$7.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
721
713
  };
722
714
  //#endregion
723
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
715
+ //#region ../../node_modules/lodash-es/stubFalse.js
724
716
  /**
725
717
  * This method returns `false`.
726
718
  *
@@ -738,7 +730,7 @@ function stubFalse() {
738
730
  return false;
739
731
  }
740
732
  //#endregion
741
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
733
+ //#region ../../node_modules/lodash-es/isBuffer.js
742
734
  /** Detect free variable `exports`. */
743
735
  var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
744
736
  /** Detect free variable `module`. */
@@ -764,32 +756,10 @@ var Buffer$1 = freeModule$1 && freeModule$1.exports === freeExports$1 ? root.Buf
764
756
  */
765
757
  var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
766
758
  //#endregion
767
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
759
+ //#region ../../node_modules/lodash-es/_baseIsTypedArray.js
768
760
  /** `Object#toString` result references. */
769
- var argsTag$1 = "[object Arguments]";
770
- var arrayTag$1 = "[object Array]";
771
- var boolTag$1 = "[object Boolean]";
772
- var dateTag$1 = "[object Date]";
773
- var errorTag$1 = "[object Error]";
774
- var funcTag = "[object Function]";
775
- var mapTag$3 = "[object Map]";
776
- var numberTag$1 = "[object Number]";
777
- var objectTag$2 = "[object Object]";
778
- var regexpTag$1 = "[object RegExp]";
779
- var setTag$3 = "[object Set]";
780
- var stringTag$1 = "[object String]";
781
- var weakMapTag$1 = "[object WeakMap]";
782
- var arrayBufferTag$1 = "[object ArrayBuffer]";
783
- var dataViewTag$2 = "[object DataView]";
784
- var float32Tag = "[object Float32Array]";
785
- var float64Tag = "[object Float64Array]";
786
- var int8Tag = "[object Int8Array]";
787
- var int16Tag = "[object Int16Array]";
788
- var int32Tag = "[object Int32Array]";
789
- var uint8Tag = "[object Uint8Array]";
790
- var uint8ClampedTag = "[object Uint8ClampedArray]";
791
- var uint16Tag = "[object Uint16Array]";
792
- var uint32Tag = "[object Uint32Array]";
761
+ var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$3 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$3 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
762
+ var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
793
763
  /** Used to identify `toStringTag` values of typed arrays. */
794
764
  var typedArrayTags = {};
795
765
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
@@ -805,7 +775,7 @@ function baseIsTypedArray(value) {
805
775
  return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
806
776
  }
807
777
  //#endregion
808
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
778
+ //#region ../../node_modules/lodash-es/_baseUnary.js
809
779
  /**
810
780
  * The base implementation of `_.unary` without support for storing metadata.
811
781
  *
@@ -819,7 +789,7 @@ function baseUnary(func) {
819
789
  };
820
790
  }
821
791
  //#endregion
822
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
792
+ //#region ../../node_modules/lodash-es/_nodeUtil.js
823
793
  /** Detect free variable `exports`. */
824
794
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
825
795
  /** Detect free variable `module`. */
@@ -835,7 +805,7 @@ var nodeUtil = function() {
835
805
  } catch (e) {}
836
806
  }();
837
807
  //#endregion
838
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
808
+ //#region ../../node_modules/lodash-es/isTypedArray.js
839
809
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
840
810
  /**
841
811
  * Checks if `value` is classified as a typed array.
@@ -856,7 +826,7 @@ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
856
826
  */
857
827
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
858
828
  //#endregion
859
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
829
+ //#region ../../node_modules/lodash-es/_arrayLikeKeys.js
860
830
  /** Used to check objects for own properties. */
861
831
  var hasOwnProperty$6 = Object.prototype.hasOwnProperty;
862
832
  /**
@@ -873,7 +843,7 @@ function arrayLikeKeys(value, inherited) {
873
843
  return result;
874
844
  }
875
845
  //#endregion
876
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
846
+ //#region ../../node_modules/lodash-es/_overArg.js
877
847
  /**
878
848
  * Creates a unary function that invokes `func` with its argument transformed.
879
849
  *
@@ -888,10 +858,10 @@ function overArg(func, transform) {
888
858
  };
889
859
  }
890
860
  //#endregion
891
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
861
+ //#region ../../node_modules/lodash-es/_nativeKeys.js
892
862
  var nativeKeys = overArg(Object.keys, Object);
893
863
  //#endregion
894
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
864
+ //#region ../../node_modules/lodash-es/_baseKeys.js
895
865
  /** Used to check objects for own properties. */
896
866
  var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
897
867
  /**
@@ -908,7 +878,7 @@ function baseKeys(object) {
908
878
  return result;
909
879
  }
910
880
  //#endregion
911
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
881
+ //#region ../../node_modules/lodash-es/keys.js
912
882
  /**
913
883
  * Creates an array of the own enumerable property names of `object`.
914
884
  *
@@ -941,10 +911,9 @@ function keys(object) {
941
911
  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
942
912
  }
943
913
  //#endregion
944
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
914
+ //#region ../../node_modules/lodash-es/_isKey.js
945
915
  /** Used to match property names within property paths. */
946
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
947
- var reIsPlainProp = /^\w*$/;
916
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
948
917
  /**
949
918
  * Checks if `value` is a property name and not a property path.
950
919
  *
@@ -960,10 +929,10 @@ function isKey(value, object) {
960
929
  return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
961
930
  }
962
931
  //#endregion
963
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
932
+ //#region ../../node_modules/lodash-es/_nativeCreate.js
964
933
  var nativeCreate = getNative(Object, "create");
965
934
  //#endregion
966
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
935
+ //#region ../../node_modules/lodash-es/_hashClear.js
967
936
  /**
968
937
  * Removes all key-value entries from the hash.
969
938
  *
@@ -976,7 +945,7 @@ function hashClear() {
976
945
  this.size = 0;
977
946
  }
978
947
  //#endregion
979
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
948
+ //#region ../../node_modules/lodash-es/_hashDelete.js
980
949
  /**
981
950
  * Removes `key` and its value from the hash.
982
951
  *
@@ -993,7 +962,7 @@ function hashDelete(key) {
993
962
  return result;
994
963
  }
995
964
  //#endregion
996
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
965
+ //#region ../../node_modules/lodash-es/_hashGet.js
997
966
  /** Used to stand-in for `undefined` hash values. */
998
967
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
999
968
  /** Used to check objects for own properties. */
@@ -1016,7 +985,7 @@ function hashGet(key) {
1016
985
  return hasOwnProperty$4.call(data, key) ? data[key] : void 0;
1017
986
  }
1018
987
  //#endregion
1019
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
988
+ //#region ../../node_modules/lodash-es/_hashHas.js
1020
989
  /** Used to check objects for own properties. */
1021
990
  var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
1022
991
  /**
@@ -1033,7 +1002,7 @@ function hashHas(key) {
1033
1002
  return nativeCreate ? data[key] !== void 0 : hasOwnProperty$3.call(data, key);
1034
1003
  }
1035
1004
  //#endregion
1036
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
1005
+ //#region ../../node_modules/lodash-es/_hashSet.js
1037
1006
  /** Used to stand-in for `undefined` hash values. */
1038
1007
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
1039
1008
  /**
@@ -1053,7 +1022,7 @@ function hashSet(key, value) {
1053
1022
  return this;
1054
1023
  }
1055
1024
  //#endregion
1056
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
1025
+ //#region ../../node_modules/lodash-es/_Hash.js
1057
1026
  /**
1058
1027
  * Creates a hash object.
1059
1028
  *
@@ -1075,7 +1044,7 @@ Hash.prototype.get = hashGet;
1075
1044
  Hash.prototype.has = hashHas;
1076
1045
  Hash.prototype.set = hashSet;
1077
1046
  //#endregion
1078
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
1047
+ //#region ../../node_modules/lodash-es/_listCacheClear.js
1079
1048
  /**
1080
1049
  * Removes all key-value entries from the list cache.
1081
1050
  *
@@ -1088,7 +1057,7 @@ function listCacheClear() {
1088
1057
  this.size = 0;
1089
1058
  }
1090
1059
  //#endregion
1091
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
1060
+ //#region ../../node_modules/lodash-es/_assocIndexOf.js
1092
1061
  /**
1093
1062
  * Gets the index at which the `key` is found in `array` of key-value pairs.
1094
1063
  *
@@ -1103,7 +1072,7 @@ function assocIndexOf(array, key) {
1103
1072
  return -1;
1104
1073
  }
1105
1074
  //#endregion
1106
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
1075
+ //#region ../../node_modules/lodash-es/_listCacheDelete.js
1107
1076
  /** Built-in value references. */
1108
1077
  var splice = Array.prototype.splice;
1109
1078
  /**
@@ -1124,7 +1093,7 @@ function listCacheDelete(key) {
1124
1093
  return true;
1125
1094
  }
1126
1095
  //#endregion
1127
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
1096
+ //#region ../../node_modules/lodash-es/_listCacheGet.js
1128
1097
  /**
1129
1098
  * Gets the list cache value for `key`.
1130
1099
  *
@@ -1139,7 +1108,7 @@ function listCacheGet(key) {
1139
1108
  return index < 0 ? void 0 : data[index][1];
1140
1109
  }
1141
1110
  //#endregion
1142
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
1111
+ //#region ../../node_modules/lodash-es/_listCacheHas.js
1143
1112
  /**
1144
1113
  * Checks if a list cache value for `key` exists.
1145
1114
  *
@@ -1153,7 +1122,7 @@ function listCacheHas(key) {
1153
1122
  return assocIndexOf(this.__data__, key) > -1;
1154
1123
  }
1155
1124
  //#endregion
1156
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
1125
+ //#region ../../node_modules/lodash-es/_listCacheSet.js
1157
1126
  /**
1158
1127
  * Sets the list cache `key` to `value`.
1159
1128
  *
@@ -1173,7 +1142,7 @@ function listCacheSet(key, value) {
1173
1142
  return this;
1174
1143
  }
1175
1144
  //#endregion
1176
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
1145
+ //#region ../../node_modules/lodash-es/_ListCache.js
1177
1146
  /**
1178
1147
  * Creates an list cache object.
1179
1148
  *
@@ -1195,10 +1164,10 @@ ListCache.prototype.get = listCacheGet;
1195
1164
  ListCache.prototype.has = listCacheHas;
1196
1165
  ListCache.prototype.set = listCacheSet;
1197
1166
  //#endregion
1198
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
1167
+ //#region ../../node_modules/lodash-es/_Map.js
1199
1168
  var Map = getNative(root, "Map");
1200
1169
  //#endregion
1201
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
1170
+ //#region ../../node_modules/lodash-es/_mapCacheClear.js
1202
1171
  /**
1203
1172
  * Removes all key-value entries from the map.
1204
1173
  *
@@ -1215,7 +1184,7 @@ function mapCacheClear() {
1215
1184
  };
1216
1185
  }
1217
1186
  //#endregion
1218
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
1187
+ //#region ../../node_modules/lodash-es/_isKeyable.js
1219
1188
  /**
1220
1189
  * Checks if `value` is suitable for use as unique object key.
1221
1190
  *
@@ -1228,7 +1197,7 @@ function isKeyable(value) {
1228
1197
  return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
1229
1198
  }
1230
1199
  //#endregion
1231
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
1200
+ //#region ../../node_modules/lodash-es/_getMapData.js
1232
1201
  /**
1233
1202
  * Gets the data for `map`.
1234
1203
  *
@@ -1242,7 +1211,7 @@ function getMapData(map, key) {
1242
1211
  return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1243
1212
  }
1244
1213
  //#endregion
1245
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
1214
+ //#region ../../node_modules/lodash-es/_mapCacheDelete.js
1246
1215
  /**
1247
1216
  * Removes `key` and its value from the map.
1248
1217
  *
@@ -1258,7 +1227,7 @@ function mapCacheDelete(key) {
1258
1227
  return result;
1259
1228
  }
1260
1229
  //#endregion
1261
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
1230
+ //#region ../../node_modules/lodash-es/_mapCacheGet.js
1262
1231
  /**
1263
1232
  * Gets the map value for `key`.
1264
1233
  *
@@ -1272,7 +1241,7 @@ function mapCacheGet(key) {
1272
1241
  return getMapData(this, key).get(key);
1273
1242
  }
1274
1243
  //#endregion
1275
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
1244
+ //#region ../../node_modules/lodash-es/_mapCacheHas.js
1276
1245
  /**
1277
1246
  * Checks if a map value for `key` exists.
1278
1247
  *
@@ -1286,7 +1255,7 @@ function mapCacheHas(key) {
1286
1255
  return getMapData(this, key).has(key);
1287
1256
  }
1288
1257
  //#endregion
1289
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
1258
+ //#region ../../node_modules/lodash-es/_mapCacheSet.js
1290
1259
  /**
1291
1260
  * Sets the map `key` to `value`.
1292
1261
  *
@@ -1304,7 +1273,7 @@ function mapCacheSet(key, value) {
1304
1273
  return this;
1305
1274
  }
1306
1275
  //#endregion
1307
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
1276
+ //#region ../../node_modules/lodash-es/_MapCache.js
1308
1277
  /**
1309
1278
  * Creates a map cache object to store key-value pairs.
1310
1279
  *
@@ -1326,7 +1295,7 @@ MapCache.prototype.get = mapCacheGet;
1326
1295
  MapCache.prototype.has = mapCacheHas;
1327
1296
  MapCache.prototype.set = mapCacheSet;
1328
1297
  //#endregion
1329
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
1298
+ //#region ../../node_modules/lodash-es/memoize.js
1330
1299
  /** Error message constants. */
1331
1300
  var FUNC_ERROR_TEXT = "Expected a function";
1332
1301
  /**
@@ -1387,7 +1356,7 @@ function memoize(func, resolver) {
1387
1356
  }
1388
1357
  memoize.Cache = MapCache;
1389
1358
  //#endregion
1390
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
1359
+ //#region ../../node_modules/lodash-es/_memoizeCapped.js
1391
1360
  /** Used as the maximum memoize cache size. */
1392
1361
  var MAX_MEMOIZE_SIZE = 500;
1393
1362
  /**
@@ -1407,7 +1376,7 @@ function memoizeCapped(func) {
1407
1376
  return result;
1408
1377
  }
1409
1378
  //#endregion
1410
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
1379
+ //#region ../../node_modules/lodash-es/_stringToPath.js
1411
1380
  /** Used to match property names within property paths. */
1412
1381
  var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1413
1382
  /** Used to match backslashes in property paths. */
@@ -1428,7 +1397,7 @@ var stringToPath = memoizeCapped(function(string) {
1428
1397
  return result;
1429
1398
  });
1430
1399
  //#endregion
1431
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
1400
+ //#region ../../node_modules/lodash-es/toString.js
1432
1401
  /**
1433
1402
  * Converts `value` to a string. An empty string is returned for `null`
1434
1403
  * and `undefined` values. The sign of `-0` is preserved.
@@ -1454,7 +1423,7 @@ function toString(value) {
1454
1423
  return value == null ? "" : baseToString(value);
1455
1424
  }
1456
1425
  //#endregion
1457
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
1426
+ //#region ../../node_modules/lodash-es/_castPath.js
1458
1427
  /**
1459
1428
  * Casts `value` to a path array if it's not one.
1460
1429
  *
@@ -1468,9 +1437,9 @@ function castPath(value, object) {
1468
1437
  return isKey(value, object) ? [value] : stringToPath(toString(value));
1469
1438
  }
1470
1439
  //#endregion
1471
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
1440
+ //#region ../../node_modules/lodash-es/_toKey.js
1472
1441
  /** Used as references for various `Number` constants. */
1473
- var INFINITY = 1 / 0;
1442
+ var INFINITY = Infinity;
1474
1443
  /**
1475
1444
  * Converts `value` to a string key if it's not a string or symbol.
1476
1445
  *
@@ -1484,7 +1453,7 @@ function toKey(value) {
1484
1453
  return result == "0" && 1 / value == -INFINITY ? "-0" : result;
1485
1454
  }
1486
1455
  //#endregion
1487
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
1456
+ //#region ../../node_modules/lodash-es/_baseGet.js
1488
1457
  /**
1489
1458
  * The base implementation of `_.get` without support for default values.
1490
1459
  *
@@ -1500,7 +1469,7 @@ function baseGet(object, path) {
1500
1469
  return index && index == length ? object : void 0;
1501
1470
  }
1502
1471
  //#endregion
1503
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
1472
+ //#region ../../node_modules/lodash-es/get.js
1504
1473
  /**
1505
1474
  * Gets the value at `path` of `object`. If the resolved value is
1506
1475
  * `undefined`, the `defaultValue` is returned in its place.
@@ -1531,7 +1500,7 @@ function get(object, path, defaultValue) {
1531
1500
  return result === void 0 ? defaultValue : result;
1532
1501
  }
1533
1502
  //#endregion
1534
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
1503
+ //#region ../../node_modules/lodash-es/_arrayPush.js
1535
1504
  /**
1536
1505
  * Appends the elements of `values` to `array`.
1537
1506
  *
@@ -1546,7 +1515,7 @@ function arrayPush(array, values) {
1546
1515
  return array;
1547
1516
  }
1548
1517
  //#endregion
1549
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js
1518
+ //#region ../../node_modules/lodash-es/_arrayReduce.js
1550
1519
  /**
1551
1520
  * A specialized version of `_.reduce` for arrays without support for
1552
1521
  * iteratee shorthands.
@@ -1566,7 +1535,7 @@ function arrayReduce(array, iteratee, accumulator, initAccum) {
1566
1535
  return accumulator;
1567
1536
  }
1568
1537
  //#endregion
1569
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
1538
+ //#region ../../node_modules/lodash-es/_stackClear.js
1570
1539
  /**
1571
1540
  * Removes all key-value entries from the stack.
1572
1541
  *
@@ -1579,7 +1548,7 @@ function stackClear() {
1579
1548
  this.size = 0;
1580
1549
  }
1581
1550
  //#endregion
1582
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
1551
+ //#region ../../node_modules/lodash-es/_stackDelete.js
1583
1552
  /**
1584
1553
  * Removes `key` and its value from the stack.
1585
1554
  *
@@ -1595,7 +1564,7 @@ function stackDelete(key) {
1595
1564
  return result;
1596
1565
  }
1597
1566
  //#endregion
1598
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
1567
+ //#region ../../node_modules/lodash-es/_stackGet.js
1599
1568
  /**
1600
1569
  * Gets the stack value for `key`.
1601
1570
  *
@@ -1609,7 +1578,7 @@ function stackGet(key) {
1609
1578
  return this.__data__.get(key);
1610
1579
  }
1611
1580
  //#endregion
1612
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
1581
+ //#region ../../node_modules/lodash-es/_stackHas.js
1613
1582
  /**
1614
1583
  * Checks if a stack value for `key` exists.
1615
1584
  *
@@ -1623,7 +1592,7 @@ function stackHas(key) {
1623
1592
  return this.__data__.has(key);
1624
1593
  }
1625
1594
  //#endregion
1626
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
1595
+ //#region ../../node_modules/lodash-es/_stackSet.js
1627
1596
  /** Used as the size to enable large array optimizations. */
1628
1597
  var LARGE_ARRAY_SIZE = 200;
1629
1598
  /**
@@ -1652,7 +1621,7 @@ function stackSet(key, value) {
1652
1621
  return this;
1653
1622
  }
1654
1623
  //#endregion
1655
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
1624
+ //#region ../../node_modules/lodash-es/_Stack.js
1656
1625
  /**
1657
1626
  * Creates a stack cache object to store key-value pairs.
1658
1627
  *
@@ -1670,7 +1639,7 @@ Stack.prototype.get = stackGet;
1670
1639
  Stack.prototype.has = stackHas;
1671
1640
  Stack.prototype.set = stackSet;
1672
1641
  //#endregion
1673
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
1642
+ //#region ../../node_modules/lodash-es/_arrayFilter.js
1674
1643
  /**
1675
1644
  * A specialized version of `_.filter` for arrays without support for
1676
1645
  * iteratee shorthands.
@@ -1689,7 +1658,7 @@ function arrayFilter(array, predicate) {
1689
1658
  return result;
1690
1659
  }
1691
1660
  //#endregion
1692
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
1661
+ //#region ../../node_modules/lodash-es/stubArray.js
1693
1662
  /**
1694
1663
  * This method returns a new empty array.
1695
1664
  *
@@ -1712,7 +1681,7 @@ function stubArray() {
1712
1681
  return [];
1713
1682
  }
1714
1683
  //#endregion
1715
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
1684
+ //#region ../../node_modules/lodash-es/_getSymbols.js
1716
1685
  /** Built-in value references. */
1717
1686
  var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
1718
1687
  var nativeGetSymbols = Object.getOwnPropertySymbols;
@@ -1731,7 +1700,7 @@ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
1731
1700
  });
1732
1701
  };
1733
1702
  //#endregion
1734
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
1703
+ //#region ../../node_modules/lodash-es/_baseGetAllKeys.js
1735
1704
  /**
1736
1705
  * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1737
1706
  * `keysFunc` and `symbolsFunc` to get the enumerable property names and
@@ -1748,7 +1717,7 @@ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
1748
1717
  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1749
1718
  }
1750
1719
  //#endregion
1751
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
1720
+ //#region ../../node_modules/lodash-es/_getAllKeys.js
1752
1721
  /**
1753
1722
  * Creates an array of own enumerable property names and symbols of `object`.
1754
1723
  *
@@ -1760,29 +1729,21 @@ function getAllKeys(object) {
1760
1729
  return baseGetAllKeys(object, keys, getSymbols);
1761
1730
  }
1762
1731
  //#endregion
1763
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
1732
+ //#region ../../node_modules/lodash-es/_DataView.js
1764
1733
  var DataView = getNative(root, "DataView");
1765
1734
  //#endregion
1766
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
1735
+ //#region ../../node_modules/lodash-es/_Promise.js
1767
1736
  var Promise$1 = getNative(root, "Promise");
1768
1737
  //#endregion
1769
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
1738
+ //#region ../../node_modules/lodash-es/_Set.js
1770
1739
  var Set = getNative(root, "Set");
1771
1740
  //#endregion
1772
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
1741
+ //#region ../../node_modules/lodash-es/_getTag.js
1773
1742
  /** `Object#toString` result references. */
1774
- var mapTag$2 = "[object Map]";
1775
- var objectTag$1 = "[object Object]";
1776
- var promiseTag = "[object Promise]";
1777
- var setTag$2 = "[object Set]";
1778
- var weakMapTag = "[object WeakMap]";
1743
+ var mapTag$2 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$2 = "[object Set]", weakMapTag = "[object WeakMap]";
1779
1744
  var dataViewTag$1 = "[object DataView]";
1780
1745
  /** Used to detect maps, sets, and weakmaps. */
1781
- var dataViewCtorString = toSource(DataView);
1782
- var mapCtorString = toSource(Map);
1783
- var promiseCtorString = toSource(Promise$1);
1784
- var setCtorString = toSource(Set);
1785
- var weakMapCtorString = toSource(WeakMap);
1746
+ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1786
1747
  /**
1787
1748
  * Gets the `toStringTag` of `value`.
1788
1749
  *
@@ -1804,11 +1765,11 @@ if (DataView && getTag(new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != data
1804
1765
  };
1805
1766
  var _getTag_default = getTag;
1806
1767
  //#endregion
1807
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
1768
+ //#region ../../node_modules/lodash-es/_Uint8Array.js
1808
1769
  /** Built-in value references. */
1809
1770
  var Uint8Array$1 = root.Uint8Array;
1810
1771
  //#endregion
1811
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
1772
+ //#region ../../node_modules/lodash-es/_setCacheAdd.js
1812
1773
  /** Used to stand-in for `undefined` hash values. */
1813
1774
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
1814
1775
  /**
@@ -1826,7 +1787,7 @@ function setCacheAdd(value) {
1826
1787
  return this;
1827
1788
  }
1828
1789
  //#endregion
1829
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
1790
+ //#region ../../node_modules/lodash-es/_setCacheHas.js
1830
1791
  /**
1831
1792
  * Checks if `value` is in the array cache.
1832
1793
  *
@@ -1840,7 +1801,7 @@ function setCacheHas(value) {
1840
1801
  return this.__data__.has(value);
1841
1802
  }
1842
1803
  //#endregion
1843
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
1804
+ //#region ../../node_modules/lodash-es/_SetCache.js
1844
1805
  /**
1845
1806
  *
1846
1807
  * Creates an array cache object to store unique values.
@@ -1857,7 +1818,7 @@ function SetCache(values) {
1857
1818
  SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
1858
1819
  SetCache.prototype.has = setCacheHas;
1859
1820
  //#endregion
1860
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
1821
+ //#region ../../node_modules/lodash-es/_arraySome.js
1861
1822
  /**
1862
1823
  * A specialized version of `_.some` for arrays without support for iteratee
1863
1824
  * shorthands.
@@ -1874,7 +1835,7 @@ function arraySome(array, predicate) {
1874
1835
  return false;
1875
1836
  }
1876
1837
  //#endregion
1877
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
1838
+ //#region ../../node_modules/lodash-es/_cacheHas.js
1878
1839
  /**
1879
1840
  * Checks if a `cache` value for `key` exists.
1880
1841
  *
@@ -1887,10 +1848,9 @@ function cacheHas(cache, key) {
1887
1848
  return cache.has(key);
1888
1849
  }
1889
1850
  //#endregion
1890
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
1851
+ //#region ../../node_modules/lodash-es/_equalArrays.js
1891
1852
  /** Used to compose bitmasks for value comparisons. */
1892
- var COMPARE_PARTIAL_FLAG$5 = 1;
1893
- var COMPARE_UNORDERED_FLAG$3 = 2;
1853
+ var COMPARE_PARTIAL_FLAG$5 = 1, COMPARE_UNORDERED_FLAG$3 = 2;
1894
1854
  /**
1895
1855
  * A specialized version of `baseIsEqualDeep` for arrays with support for
1896
1856
  * partial deep comparisons.
@@ -1938,7 +1898,7 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
1938
1898
  return result;
1939
1899
  }
1940
1900
  //#endregion
1941
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
1901
+ //#region ../../node_modules/lodash-es/_mapToArray.js
1942
1902
  /**
1943
1903
  * Converts `map` to its key-value pairs.
1944
1904
  *
@@ -1954,7 +1914,7 @@ function mapToArray(map) {
1954
1914
  return result;
1955
1915
  }
1956
1916
  //#endregion
1957
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
1917
+ //#region ../../node_modules/lodash-es/_setToArray.js
1958
1918
  /**
1959
1919
  * Converts `set` to an array of its values.
1960
1920
  *
@@ -1970,25 +1930,14 @@ function setToArray(set) {
1970
1930
  return result;
1971
1931
  }
1972
1932
  //#endregion
1973
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
1933
+ //#region ../../node_modules/lodash-es/_equalByTag.js
1974
1934
  /** Used to compose bitmasks for value comparisons. */
1975
- var COMPARE_PARTIAL_FLAG$4 = 1;
1976
- var COMPARE_UNORDERED_FLAG$2 = 2;
1935
+ var COMPARE_PARTIAL_FLAG$4 = 1, COMPARE_UNORDERED_FLAG$2 = 2;
1977
1936
  /** `Object#toString` result references. */
1978
- var boolTag = "[object Boolean]";
1979
- var dateTag = "[object Date]";
1980
- var errorTag = "[object Error]";
1981
- var mapTag$1 = "[object Map]";
1982
- var numberTag = "[object Number]";
1983
- var regexpTag = "[object RegExp]";
1984
- var setTag$1 = "[object Set]";
1985
- var stringTag = "[object String]";
1986
- var symbolTag = "[object Symbol]";
1987
- var arrayBufferTag = "[object ArrayBuffer]";
1988
- var dataViewTag = "[object DataView]";
1937
+ var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag$1 = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
1938
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
1989
1939
  /** Used to convert symbols to primitives and strings. */
1990
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0;
1991
- var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1940
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
1992
1941
  /**
1993
1942
  * A specialized version of `baseIsEqualDeep` for comparing objects of
1994
1943
  * the same `toStringTag`.
@@ -2038,7 +1987,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
2038
1987
  return false;
2039
1988
  }
2040
1989
  //#endregion
2041
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
1990
+ //#region ../../node_modules/lodash-es/_equalObjects.js
2042
1991
  /** Used to compose bitmasks for value comparisons. */
2043
1992
  var COMPARE_PARTIAL_FLAG$3 = 1;
2044
1993
  /** Used to check objects for own properties. */
@@ -2090,13 +2039,11 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2090
2039
  return result;
2091
2040
  }
2092
2041
  //#endregion
2093
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
2042
+ //#region ../../node_modules/lodash-es/_baseIsEqualDeep.js
2094
2043
  /** Used to compose bitmasks for value comparisons. */
2095
2044
  var COMPARE_PARTIAL_FLAG$2 = 1;
2096
2045
  /** `Object#toString` result references. */
2097
- var argsTag = "[object Arguments]";
2098
- var arrayTag = "[object Array]";
2099
- var objectTag = "[object Object]";
2046
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
2100
2047
  /** Used to check objects for own properties. */
2101
2048
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
2102
2049
  /**
@@ -2140,7 +2087,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2140
2087
  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2141
2088
  }
2142
2089
  //#endregion
2143
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
2090
+ //#region ../../node_modules/lodash-es/_baseIsEqual.js
2144
2091
  /**
2145
2092
  * The base implementation of `_.isEqual` which supports partial comparisons
2146
2093
  * and tracks traversed objects.
@@ -2161,10 +2108,9 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
2161
2108
  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
2162
2109
  }
2163
2110
  //#endregion
2164
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
2111
+ //#region ../../node_modules/lodash-es/_baseIsMatch.js
2165
2112
  /** Used to compose bitmasks for value comparisons. */
2166
- var COMPARE_PARTIAL_FLAG$1 = 1;
2167
- var COMPARE_UNORDERED_FLAG$1 = 2;
2113
+ var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
2168
2114
  /**
2169
2115
  * The base implementation of `_.isMatch` without support for iteratee shorthands.
2170
2116
  *
@@ -2197,7 +2143,7 @@ function baseIsMatch(object, source, matchData, customizer) {
2197
2143
  return true;
2198
2144
  }
2199
2145
  //#endregion
2200
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js
2146
+ //#region ../../node_modules/lodash-es/_isStrictComparable.js
2201
2147
  /**
2202
2148
  * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
2203
2149
  *
@@ -2210,7 +2156,7 @@ function isStrictComparable(value) {
2210
2156
  return value === value && !isObject(value);
2211
2157
  }
2212
2158
  //#endregion
2213
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js
2159
+ //#region ../../node_modules/lodash-es/_getMatchData.js
2214
2160
  /**
2215
2161
  * Gets the property names, values, and compare flags of `object`.
2216
2162
  *
@@ -2231,7 +2177,7 @@ function getMatchData(object) {
2231
2177
  return result;
2232
2178
  }
2233
2179
  //#endregion
2234
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js
2180
+ //#region ../../node_modules/lodash-es/_matchesStrictComparable.js
2235
2181
  /**
2236
2182
  * A specialized version of `matchesProperty` for source values suitable
2237
2183
  * for strict equality comparisons, i.e. `===`.
@@ -2248,7 +2194,7 @@ function matchesStrictComparable(key, srcValue) {
2248
2194
  };
2249
2195
  }
2250
2196
  //#endregion
2251
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js
2197
+ //#region ../../node_modules/lodash-es/_baseMatches.js
2252
2198
  /**
2253
2199
  * The base implementation of `_.matches` which doesn't clone `source`.
2254
2200
  *
@@ -2264,7 +2210,7 @@ function baseMatches(source) {
2264
2210
  };
2265
2211
  }
2266
2212
  //#endregion
2267
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js
2213
+ //#region ../../node_modules/lodash-es/_baseHasIn.js
2268
2214
  /**
2269
2215
  * The base implementation of `_.hasIn` without support for deep paths.
2270
2216
  *
@@ -2277,7 +2223,7 @@ function baseHasIn(object, key) {
2277
2223
  return object != null && key in Object(object);
2278
2224
  }
2279
2225
  //#endregion
2280
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js
2226
+ //#region ../../node_modules/lodash-es/_hasPath.js
2281
2227
  /**
2282
2228
  * Checks if `path` exists on `object`.
2283
2229
  *
@@ -2300,7 +2246,7 @@ function hasPath(object, path, hasFunc) {
2300
2246
  return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
2301
2247
  }
2302
2248
  //#endregion
2303
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js
2249
+ //#region ../../node_modules/lodash-es/hasIn.js
2304
2250
  /**
2305
2251
  * Checks if `path` is a direct or inherited property of `object`.
2306
2252
  *
@@ -2331,10 +2277,9 @@ function hasIn(object, path) {
2331
2277
  return object != null && hasPath(object, path, baseHasIn);
2332
2278
  }
2333
2279
  //#endregion
2334
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
2280
+ //#region ../../node_modules/lodash-es/_baseMatchesProperty.js
2335
2281
  /** Used to compose bitmasks for value comparisons. */
2336
- var COMPARE_PARTIAL_FLAG = 1;
2337
- var COMPARE_UNORDERED_FLAG = 2;
2282
+ var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
2338
2283
  /**
2339
2284
  * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
2340
2285
  *
@@ -2351,7 +2296,7 @@ function baseMatchesProperty(path, srcValue) {
2351
2296
  };
2352
2297
  }
2353
2298
  //#endregion
2354
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js
2299
+ //#region ../../node_modules/lodash-es/_baseProperty.js
2355
2300
  /**
2356
2301
  * The base implementation of `_.property` without support for deep paths.
2357
2302
  *
@@ -2365,7 +2310,7 @@ function baseProperty(key) {
2365
2310
  };
2366
2311
  }
2367
2312
  //#endregion
2368
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js
2313
+ //#region ../../node_modules/lodash-es/_basePropertyDeep.js
2369
2314
  /**
2370
2315
  * A specialized version of `baseProperty` which supports deep paths.
2371
2316
  *
@@ -2379,7 +2324,7 @@ function basePropertyDeep(path) {
2379
2324
  };
2380
2325
  }
2381
2326
  //#endregion
2382
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js
2327
+ //#region ../../node_modules/lodash-es/property.js
2383
2328
  /**
2384
2329
  * Creates a function that returns the value at `path` of a given object.
2385
2330
  *
@@ -2406,7 +2351,7 @@ function property(path) {
2406
2351
  return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
2407
2352
  }
2408
2353
  //#endregion
2409
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js
2354
+ //#region ../../node_modules/lodash-es/_baseIteratee.js
2410
2355
  /**
2411
2356
  * The base implementation of `_.iteratee`.
2412
2357
  *
@@ -2421,7 +2366,7 @@ function baseIteratee(value) {
2421
2366
  return property(value);
2422
2367
  }
2423
2368
  //#endregion
2424
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
2369
+ //#region ../../node_modules/lodash-es/_createBaseFor.js
2425
2370
  /**
2426
2371
  * Creates a base function for methods like `_.forIn` and `_.forOwn`.
2427
2372
  *
@@ -2440,7 +2385,7 @@ function createBaseFor(fromRight) {
2440
2385
  };
2441
2386
  }
2442
2387
  //#endregion
2443
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
2388
+ //#region ../../node_modules/lodash-es/_baseFor.js
2444
2389
  /**
2445
2390
  * The base implementation of `baseForOwn` which iterates over `object`
2446
2391
  * properties returned by `keysFunc` and invokes `iteratee` for each property.
@@ -2454,7 +2399,7 @@ function createBaseFor(fromRight) {
2454
2399
  */
2455
2400
  var baseFor = createBaseFor();
2456
2401
  //#endregion
2457
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js
2402
+ //#region ../../node_modules/lodash-es/_baseForOwn.js
2458
2403
  /**
2459
2404
  * The base implementation of `_.forOwn` without support for iteratee shorthands.
2460
2405
  *
@@ -2467,7 +2412,7 @@ function baseForOwn(object, iteratee) {
2467
2412
  return object && baseFor(object, iteratee, keys);
2468
2413
  }
2469
2414
  //#endregion
2470
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js
2415
+ //#region ../../node_modules/lodash-es/_createBaseEach.js
2471
2416
  /**
2472
2417
  * Creates a `baseEach` or `baseEachRight` function.
2473
2418
  *
@@ -2486,7 +2431,7 @@ function createBaseEach(eachFunc, fromRight) {
2486
2431
  };
2487
2432
  }
2488
2433
  //#endregion
2489
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js
2434
+ //#region ../../node_modules/lodash-es/_baseEach.js
2490
2435
  /**
2491
2436
  * The base implementation of `_.forEach` without support for iteratee shorthands.
2492
2437
  *
@@ -2497,10 +2442,9 @@ function createBaseEach(eachFunc, fromRight) {
2497
2442
  */
2498
2443
  var baseEach = createBaseEach(baseForOwn);
2499
2444
  //#endregion
2500
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
2445
+ //#region ../../node_modules/lodash-es/isEmpty.js
2501
2446
  /** `Object#toString` result references. */
2502
- var mapTag = "[object Map]";
2503
- var setTag = "[object Set]";
2447
+ var mapTag = "[object Map]", setTag = "[object Set]";
2504
2448
  /** Used to check objects for own properties. */
2505
2449
  var hasOwnProperty = Object.prototype.hasOwnProperty;
2506
2450
  /**
@@ -2546,7 +2490,7 @@ function isEmpty(value) {
2546
2490
  return true;
2547
2491
  }
2548
2492
  //#endregion
2549
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js
2493
+ //#region ../../node_modules/lodash-es/_baseReduce.js
2550
2494
  /**
2551
2495
  * The base implementation of `_.reduce` and `_.reduceRight`, without support
2552
2496
  * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
@@ -2567,7 +2511,7 @@ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
2567
2511
  return accumulator;
2568
2512
  }
2569
2513
  //#endregion
2570
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/reduce.js
2514
+ //#region ../../node_modules/lodash-es/reduce.js
2571
2515
  /**
2572
2516
  * Reduces `collection` to a value which is the accumulated result of running
2573
2517
  * each element in `collection` thru `iteratee`, where each successive
@@ -2707,20 +2651,25 @@ var NodeProjectLayout = class {
2707
2651
  constructor(entryPoints) {
2708
2652
  this.entryPoints = [...entryPoints];
2709
2653
  }
2654
+ resolveFileSpecifier(currentFilepath, relativePath) {
2655
+ if (!_dbml_parse.Filepath.isRelative(relativePath)) return void 0;
2656
+ const resolved = _dbml_parse.Filepath.resolve(currentFilepath.dirname, relativePath);
2657
+ return resolved.absolute.endsWith(".dbml") ? resolved : _dbml_parse.Filepath.from(resolved.absolute + ".dbml");
2658
+ }
2710
2659
  getSource(filePath) {
2711
- return safeReadFileSync(filePath.absolute, "utf-8");
2660
+ return safeReadFileSync(filePath.fsPath, "utf-8");
2712
2661
  }
2713
2662
  exists(filePath) {
2714
2663
  return this.isFile(filePath) || this.isDirectory(filePath);
2715
2664
  }
2716
2665
  isFile(filePath) {
2717
- return safeStatSync(filePath.absolute, { throwIfNoEntry: false })?.isFile() ?? false;
2666
+ return safeStatSync(filePath.fsPath, { throwIfNoEntry: false })?.isFile() ?? false;
2718
2667
  }
2719
2668
  isDirectory(filePath) {
2720
- return safeStatSync(filePath.absolute, { throwIfNoEntry: false })?.isDirectory() ?? false;
2669
+ return safeStatSync(filePath.fsPath, { throwIfNoEntry: false })?.isDirectory() ?? false;
2721
2670
  }
2722
2671
  listDirectory(dirPath) {
2723
- const basePath = dirPath?.absolute ?? "/";
2672
+ const basePath = dirPath ? dirPath.fsPath : "/";
2724
2673
  return safeReaddirSync(basePath)?.map((entry) => basePath + entry).sort().map(_dbml_parse.Filepath.from) ?? [];
2725
2674
  }
2726
2675
  getEntrypoints() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@dbml/cli",
4
- "version": "10.2.1-expose-diagnostic-filepath.0",
4
+ "version": "10.2.1-expose-diagnostic-filepath.1",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "license": "Apache-2.0",
@@ -33,9 +33,9 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@babel/cli": "^7.21.0",
36
- "@dbml/connector": "^10.2.1-expose-diagnostic-filepath.0",
37
- "@dbml/core": "^10.2.1-expose-diagnostic-filepath.0",
38
- "@dbml/parse": "^10.2.1-expose-diagnostic-filepath.0",
36
+ "@dbml/connector": "^10.2.1-expose-diagnostic-filepath.1",
37
+ "@dbml/core": "^10.2.1-expose-diagnostic-filepath.1",
38
+ "@dbml/parse": "^10.2.1-expose-diagnostic-filepath.1",
39
39
  "bluebird": "^3.5.5",
40
40
  "chalk": "^2.4.2",
41
41
  "commander": "^2.20.0",
@@ -46,7 +46,7 @@
46
46
  "strip-ansi": "^5.2.0",
47
47
  "winston": "^3.2.1"
48
48
  },
49
- "gitHead": "9cd9a516420432f7cb90c3232f65f8829466ebd6",
49
+ "gitHead": "70c531b58c2a045c1e573fc642b76b9a82e8b49a",
50
50
  "engines": {
51
51
  "node": ">=18"
52
52
  }
@@ -18,8 +18,16 @@ export class NodeProjectLayout implements DbmlProjectLayout {
18
18
  this.entryPoints = [...entryPoints];
19
19
  }
20
20
 
21
+ // From the currentFilepath, resolve the relativePath to an absolute path
22
+ // Append `.dbml` if relativePath does not ends with `.dbml`
23
+ resolveFileSpecifier (currentFilepath: Filepath, relativePath: string): Filepath | undefined {
24
+ if (!Filepath.isRelative(relativePath)) return undefined;
25
+ const resolved = Filepath.resolve(currentFilepath.dirname, relativePath);
26
+ return resolved.absolute.endsWith('.dbml') ? resolved : Filepath.from(resolved.absolute + '.dbml');
27
+ }
28
+
21
29
  getSource (filePath: Filepath): string | undefined {
22
- return safeReadFileSync(filePath.absolute, 'utf-8');
30
+ return safeReadFileSync(filePath.fsPath, 'utf-8');
23
31
  }
24
32
 
25
33
  exists (filePath: Filepath): boolean {
@@ -27,19 +35,19 @@ export class NodeProjectLayout implements DbmlProjectLayout {
27
35
  }
28
36
 
29
37
  isFile (filePath: Filepath): boolean {
30
- return safeStatSync(filePath.absolute, {
38
+ return safeStatSync(filePath.fsPath, {
31
39
  throwIfNoEntry: false,
32
40
  })?.isFile() ?? false;
33
41
  }
34
42
 
35
43
  isDirectory (filePath: Filepath): boolean {
36
- return safeStatSync(filePath.absolute, {
44
+ return safeStatSync(filePath.fsPath, {
37
45
  throwIfNoEntry: false,
38
46
  })?.isDirectory() ?? false;
39
47
  }
40
48
 
41
49
  listDirectory (dirPath?: Filepath): Filepath[] {
42
- const basePath = dirPath?.absolute ?? '/';
50
+ const basePath = dirPath ? dirPath.fsPath : '/';
43
51
  return safeReaddirSync(basePath)?.map((entry) => basePath + entry).sort().map(Filepath.from) ?? [];
44
52
  }
45
53