@base44-preview/cli 0.0.36-pr.348.945ec67 → 0.0.36-pr.353.8cc7da8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -13211,58 +13211,34 @@ var require_cross_spawn = __commonJS((exports, module) => {
13211
13211
  module.exports._enoent = enoent;
13212
13212
  });
13213
13213
 
13214
- // node_modules/lodash.kebabcase/index.js
13215
- var require_lodash = __commonJS((exports, module) => {
13216
- var INFINITY = 1 / 0;
13217
- var symbolTag = "[object Symbol]";
13218
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
13219
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
13220
- var rsAstralRange = "\\ud800-\\udfff";
13221
- var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23";
13222
- var rsComboSymbolsRange = "\\u20d0-\\u20f0";
13223
- var rsDingbatRange = "\\u2700-\\u27bf";
13224
- var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
13225
- var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
13226
- var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
13227
- var rsPunctuationRange = "\\u2000-\\u206f";
13228
- var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
13229
- var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
13230
- var rsVarRange = "\\ufe0e\\ufe0f";
13231
- var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
13232
- var rsApos = "['’]";
13233
- var rsBreak = "[" + rsBreakRange + "]";
13234
- var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]";
13235
- var rsDigits = "\\d+";
13236
- var rsDingbat = "[" + rsDingbatRange + "]";
13237
- var rsLower = "[" + rsLowerRange + "]";
13238
- var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
13239
- var rsFitz = "\\ud83c[\\udffb-\\udfff]";
13240
- var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
13241
- var rsNonAstral = "[^" + rsAstralRange + "]";
13242
- var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
13243
- var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
13244
- var rsUpper = "[" + rsUpperRange + "]";
13245
- var rsZWJ = "\\u200d";
13246
- var rsLowerMisc = "(?:" + rsLower + "|" + rsMisc + ")";
13247
- var rsUpperMisc = "(?:" + rsUpper + "|" + rsMisc + ")";
13248
- var rsOptLowerContr = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
13249
- var rsOptUpperContr = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
13250
- var reOptMod = rsModifier + "?";
13251
- var rsOptVar = "[" + rsVarRange + "]?";
13252
- var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
13253
- var rsSeq = rsOptVar + reOptMod + rsOptJoin;
13254
- var rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq;
13255
- var reApos = RegExp(rsApos, "g");
13256
- var reComboMark = RegExp(rsCombo, "g");
13257
- var reUnicodeWord = RegExp([
13258
- rsUpper + "?" + rsLower + "+" + rsOptLowerContr + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
13259
- rsUpperMisc + "+" + rsOptUpperContr + "(?=" + [rsBreak, rsUpper + rsLowerMisc, "$"].join("|") + ")",
13260
- rsUpper + "?" + rsLowerMisc + "+" + rsOptLowerContr,
13261
- rsUpper + "+" + rsOptUpperContr,
13262
- rsDigits,
13263
- rsEmoji
13264
- ].join("|"), "g");
13265
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
13214
+ // node_modules/lodash/_arrayReduce.js
13215
+ var require__arrayReduce = __commonJS((exports, module) => {
13216
+ function arrayReduce(array2, iteratee, accumulator, initAccum) {
13217
+ var index = -1, length = array2 == null ? 0 : array2.length;
13218
+ if (initAccum && length) {
13219
+ accumulator = array2[++index];
13220
+ }
13221
+ while (++index < length) {
13222
+ accumulator = iteratee(accumulator, array2[index], index, array2);
13223
+ }
13224
+ return accumulator;
13225
+ }
13226
+ module.exports = arrayReduce;
13227
+ });
13228
+
13229
+ // node_modules/lodash/_basePropertyOf.js
13230
+ var require__basePropertyOf = __commonJS((exports, module) => {
13231
+ function basePropertyOf(object2) {
13232
+ return function(key) {
13233
+ return object2 == null ? undefined : object2[key];
13234
+ };
13235
+ }
13236
+ module.exports = basePropertyOf;
13237
+ });
13238
+
13239
+ // node_modules/lodash/_deburrLetter.js
13240
+ var require__deburrLetter = __commonJS((exports, module) => {
13241
+ var basePropertyOf = require__basePropertyOf();
13266
13242
  var deburredLetters = {
13267
13243
  "À": "A",
13268
13244
  "Á": "A",
@@ -13453,72 +13429,256 @@ var require_lodash = __commonJS((exports, module) => {
13453
13429
  "Œ": "Oe",
13454
13430
  "œ": "oe",
13455
13431
  "ʼn": "'n",
13456
- "ſ": "ss"
13432
+ "ſ": "s"
13457
13433
  };
13434
+ var deburrLetter = basePropertyOf(deburredLetters);
13435
+ module.exports = deburrLetter;
13436
+ });
13437
+
13438
+ // node_modules/lodash/_freeGlobal.js
13439
+ var require__freeGlobal = __commonJS((exports, module) => {
13458
13440
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
13441
+ module.exports = freeGlobal;
13442
+ });
13443
+
13444
+ // node_modules/lodash/_root.js
13445
+ var require__root = __commonJS((exports, module) => {
13446
+ var freeGlobal = require__freeGlobal();
13459
13447
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
13460
13448
  var root = freeGlobal || freeSelf || Function("return this")();
13461
- function arrayReduce(array2, iteratee, accumulator, initAccum) {
13462
- var index = -1, length = array2 ? array2.length : 0;
13463
- if (initAccum && length) {
13464
- accumulator = array2[++index];
13465
- }
13449
+ module.exports = root;
13450
+ });
13451
+
13452
+ // node_modules/lodash/_Symbol.js
13453
+ var require__Symbol = __commonJS((exports, module) => {
13454
+ var root = require__root();
13455
+ var Symbol2 = root.Symbol;
13456
+ module.exports = Symbol2;
13457
+ });
13458
+
13459
+ // node_modules/lodash/_arrayMap.js
13460
+ var require__arrayMap = __commonJS((exports, module) => {
13461
+ function arrayMap(array2, iteratee) {
13462
+ var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
13466
13463
  while (++index < length) {
13467
- accumulator = iteratee(accumulator, array2[index], index, array2);
13464
+ result[index] = iteratee(array2[index], index, array2);
13468
13465
  }
13469
- return accumulator;
13466
+ return result;
13470
13467
  }
13471
- function asciiWords(string4) {
13472
- return string4.match(reAsciiWord) || [];
13468
+ module.exports = arrayMap;
13469
+ });
13470
+
13471
+ // node_modules/lodash/isArray.js
13472
+ var require_isArray = __commonJS((exports, module) => {
13473
+ var isArray = Array.isArray;
13474
+ module.exports = isArray;
13475
+ });
13476
+
13477
+ // node_modules/lodash/_getRawTag.js
13478
+ var require__getRawTag = __commonJS((exports, module) => {
13479
+ var Symbol2 = require__Symbol();
13480
+ var objectProto = Object.prototype;
13481
+ var hasOwnProperty = objectProto.hasOwnProperty;
13482
+ var nativeObjectToString = objectProto.toString;
13483
+ var symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined;
13484
+ function getRawTag(value) {
13485
+ var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
13486
+ try {
13487
+ value[symToStringTag] = undefined;
13488
+ var unmasked = true;
13489
+ } catch (e2) {}
13490
+ var result = nativeObjectToString.call(value);
13491
+ if (unmasked) {
13492
+ if (isOwn) {
13493
+ value[symToStringTag] = tag;
13494
+ } else {
13495
+ delete value[symToStringTag];
13496
+ }
13497
+ }
13498
+ return result;
13473
13499
  }
13474
- function basePropertyOf(object2) {
13475
- return function(key) {
13476
- return object2 == null ? undefined : object2[key];
13477
- };
13500
+ module.exports = getRawTag;
13501
+ });
13502
+
13503
+ // node_modules/lodash/_objectToString.js
13504
+ var require__objectToString = __commonJS((exports, module) => {
13505
+ var objectProto = Object.prototype;
13506
+ var nativeObjectToString = objectProto.toString;
13507
+ function objectToString3(value) {
13508
+ return nativeObjectToString.call(value);
13478
13509
  }
13479
- var deburrLetter = basePropertyOf(deburredLetters);
13480
- function hasUnicodeWord(string4) {
13481
- return reHasUnicodeWord.test(string4);
13510
+ module.exports = objectToString3;
13511
+ });
13512
+
13513
+ // node_modules/lodash/_baseGetTag.js
13514
+ var require__baseGetTag = __commonJS((exports, module) => {
13515
+ var Symbol2 = require__Symbol();
13516
+ var getRawTag = require__getRawTag();
13517
+ var objectToString3 = require__objectToString();
13518
+ var nullTag = "[object Null]";
13519
+ var undefinedTag = "[object Undefined]";
13520
+ var symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined;
13521
+ function baseGetTag(value) {
13522
+ if (value == null) {
13523
+ return value === undefined ? undefinedTag : nullTag;
13524
+ }
13525
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString3(value);
13482
13526
  }
13483
- function unicodeWords(string4) {
13484
- return string4.match(reUnicodeWord) || [];
13527
+ module.exports = baseGetTag;
13528
+ });
13529
+
13530
+ // node_modules/lodash/isObjectLike.js
13531
+ var require_isObjectLike = __commonJS((exports, module) => {
13532
+ function isObjectLike(value) {
13533
+ return value != null && typeof value == "object";
13485
13534
  }
13486
- var objectProto = Object.prototype;
13487
- var objectToString3 = objectProto.toString;
13488
- var Symbol2 = root.Symbol;
13535
+ module.exports = isObjectLike;
13536
+ });
13537
+
13538
+ // node_modules/lodash/isSymbol.js
13539
+ var require_isSymbol = __commonJS((exports, module) => {
13540
+ var baseGetTag = require__baseGetTag();
13541
+ var isObjectLike = require_isObjectLike();
13542
+ var symbolTag = "[object Symbol]";
13543
+ function isSymbol(value) {
13544
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
13545
+ }
13546
+ module.exports = isSymbol;
13547
+ });
13548
+
13549
+ // node_modules/lodash/_baseToString.js
13550
+ var require__baseToString = __commonJS((exports, module) => {
13551
+ var Symbol2 = require__Symbol();
13552
+ var arrayMap = require__arrayMap();
13553
+ var isArray = require_isArray();
13554
+ var isSymbol = require_isSymbol();
13555
+ var INFINITY = 1 / 0;
13489
13556
  var symbolProto = Symbol2 ? Symbol2.prototype : undefined;
13490
13557
  var symbolToString = symbolProto ? symbolProto.toString : undefined;
13491
13558
  function baseToString(value) {
13492
13559
  if (typeof value == "string") {
13493
13560
  return value;
13494
13561
  }
13562
+ if (isArray(value)) {
13563
+ return arrayMap(value, baseToString) + "";
13564
+ }
13495
13565
  if (isSymbol(value)) {
13496
13566
  return symbolToString ? symbolToString.call(value) : "";
13497
13567
  }
13498
13568
  var result = value + "";
13499
13569
  return result == "0" && 1 / value == -INFINITY ? "-0" : result;
13500
13570
  }
13501
- function createCompounder(callback) {
13502
- return function(string4) {
13503
- return arrayReduce(words(deburr(string4).replace(reApos, "")), callback, "");
13504
- };
13505
- }
13506
- function isObjectLike(value) {
13507
- return !!value && typeof value == "object";
13508
- }
13509
- function isSymbol(value) {
13510
- return typeof value == "symbol" || isObjectLike(value) && objectToString3.call(value) == symbolTag;
13511
- }
13571
+ module.exports = baseToString;
13572
+ });
13573
+
13574
+ // node_modules/lodash/toString.js
13575
+ var require_toString = __commonJS((exports, module) => {
13576
+ var baseToString = require__baseToString();
13512
13577
  function toString2(value) {
13513
13578
  return value == null ? "" : baseToString(value);
13514
13579
  }
13580
+ module.exports = toString2;
13581
+ });
13582
+
13583
+ // node_modules/lodash/deburr.js
13584
+ var require_deburr = __commonJS((exports, module) => {
13585
+ var deburrLetter = require__deburrLetter();
13586
+ var toString2 = require_toString();
13587
+ var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
13588
+ var rsComboMarksRange = "\\u0300-\\u036f";
13589
+ var reComboHalfMarksRange = "\\ufe20-\\ufe2f";
13590
+ var rsComboSymbolsRange = "\\u20d0-\\u20ff";
13591
+ var rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
13592
+ var rsCombo = "[" + rsComboRange + "]";
13593
+ var reComboMark = RegExp(rsCombo, "g");
13515
13594
  function deburr(string4) {
13516
13595
  string4 = toString2(string4);
13517
13596
  return string4 && string4.replace(reLatin, deburrLetter).replace(reComboMark, "");
13518
13597
  }
13519
- var kebabCase = createCompounder(function(result, word, index) {
13520
- return result + (index ? "-" : "") + word.toLowerCase();
13521
- });
13598
+ module.exports = deburr;
13599
+ });
13600
+
13601
+ // node_modules/lodash/_asciiWords.js
13602
+ var require__asciiWords = __commonJS((exports, module) => {
13603
+ var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
13604
+ function asciiWords(string4) {
13605
+ return string4.match(reAsciiWord) || [];
13606
+ }
13607
+ module.exports = asciiWords;
13608
+ });
13609
+
13610
+ // node_modules/lodash/_hasUnicodeWord.js
13611
+ var require__hasUnicodeWord = __commonJS((exports, module) => {
13612
+ var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
13613
+ function hasUnicodeWord(string4) {
13614
+ return reHasUnicodeWord.test(string4);
13615
+ }
13616
+ module.exports = hasUnicodeWord;
13617
+ });
13618
+
13619
+ // node_modules/lodash/_unicodeWords.js
13620
+ var require__unicodeWords = __commonJS((exports, module) => {
13621
+ var rsAstralRange = "\\ud800-\\udfff";
13622
+ var rsComboMarksRange = "\\u0300-\\u036f";
13623
+ var reComboHalfMarksRange = "\\ufe20-\\ufe2f";
13624
+ var rsComboSymbolsRange = "\\u20d0-\\u20ff";
13625
+ var rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
13626
+ var rsDingbatRange = "\\u2700-\\u27bf";
13627
+ var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
13628
+ var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
13629
+ var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
13630
+ var rsPunctuationRange = "\\u2000-\\u206f";
13631
+ var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
13632
+ var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
13633
+ var rsVarRange = "\\ufe0e\\ufe0f";
13634
+ var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
13635
+ var rsApos = "['’]";
13636
+ var rsBreak = "[" + rsBreakRange + "]";
13637
+ var rsCombo = "[" + rsComboRange + "]";
13638
+ var rsDigits = "\\d+";
13639
+ var rsDingbat = "[" + rsDingbatRange + "]";
13640
+ var rsLower = "[" + rsLowerRange + "]";
13641
+ var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
13642
+ var rsFitz = "\\ud83c[\\udffb-\\udfff]";
13643
+ var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
13644
+ var rsNonAstral = "[^" + rsAstralRange + "]";
13645
+ var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
13646
+ var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
13647
+ var rsUpper = "[" + rsUpperRange + "]";
13648
+ var rsZWJ = "\\u200d";
13649
+ var rsMiscLower = "(?:" + rsLower + "|" + rsMisc + ")";
13650
+ var rsMiscUpper = "(?:" + rsUpper + "|" + rsMisc + ")";
13651
+ var rsOptContrLower = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
13652
+ var rsOptContrUpper = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
13653
+ var reOptMod = rsModifier + "?";
13654
+ var rsOptVar = "[" + rsVarRange + "]?";
13655
+ var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
13656
+ var rsOrdLower = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])";
13657
+ var rsOrdUpper = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])";
13658
+ var rsSeq = rsOptVar + reOptMod + rsOptJoin;
13659
+ var rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq;
13660
+ var reUnicodeWord = RegExp([
13661
+ rsUpper + "?" + rsLower + "+" + rsOptContrLower + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
13662
+ rsMiscUpper + "+" + rsOptContrUpper + "(?=" + [rsBreak, rsUpper + rsMiscLower, "$"].join("|") + ")",
13663
+ rsUpper + "?" + rsMiscLower + "+" + rsOptContrLower,
13664
+ rsUpper + "+" + rsOptContrUpper,
13665
+ rsOrdUpper,
13666
+ rsOrdLower,
13667
+ rsDigits,
13668
+ rsEmoji
13669
+ ].join("|"), "g");
13670
+ function unicodeWords(string4) {
13671
+ return string4.match(reUnicodeWord) || [];
13672
+ }
13673
+ module.exports = unicodeWords;
13674
+ });
13675
+
13676
+ // node_modules/lodash/words.js
13677
+ var require_words = __commonJS((exports, module) => {
13678
+ var asciiWords = require__asciiWords();
13679
+ var hasUnicodeWord = require__hasUnicodeWord();
13680
+ var toString2 = require_toString();
13681
+ var unicodeWords = require__unicodeWords();
13522
13682
  function words(string4, pattern, guard) {
13523
13683
  string4 = toString2(string4);
13524
13684
  pattern = guard ? undefined : pattern;
@@ -13527,6 +13687,30 @@ var require_lodash = __commonJS((exports, module) => {
13527
13687
  }
13528
13688
  return string4.match(pattern) || [];
13529
13689
  }
13690
+ module.exports = words;
13691
+ });
13692
+
13693
+ // node_modules/lodash/_createCompounder.js
13694
+ var require__createCompounder = __commonJS((exports, module) => {
13695
+ var arrayReduce = require__arrayReduce();
13696
+ var deburr = require_deburr();
13697
+ var words = require_words();
13698
+ var rsApos = "['’]";
13699
+ var reApos = RegExp(rsApos, "g");
13700
+ function createCompounder(callback) {
13701
+ return function(string4) {
13702
+ return arrayReduce(words(deburr(string4).replace(reApos, "")), callback, "");
13703
+ };
13704
+ }
13705
+ module.exports = createCompounder;
13706
+ });
13707
+
13708
+ // node_modules/lodash/kebabCase.js
13709
+ var require_kebabCase = __commonJS((exports, module) => {
13710
+ var createCompounder = require__createCompounder();
13711
+ var kebabCase = createCompounder(function(result, word, index) {
13712
+ return result + (index ? "-" : "") + word.toLowerCase();
13713
+ });
13530
13714
  module.exports = kebabCase;
13531
13715
  });
13532
13716
 
@@ -14609,7 +14793,7 @@ var require_lib2 = __commonJS((exports) => {
14609
14793
  });
14610
14794
 
14611
14795
  // node_modules/lodash/lodash.js
14612
- var require_lodash2 = __commonJS((exports, module) => {
14796
+ var require_lodash = __commonJS((exports, module) => {
14613
14797
  (function() {
14614
14798
  var undefined2;
14615
14799
  var VERSION = "4.17.23";
@@ -127599,7 +127783,7 @@ var require_AST = __commonJS((exports) => {
127599
127783
  var require_JSONSchema = __commonJS((exports) => {
127600
127784
  Object.defineProperty(exports, "__esModule", { value: true });
127601
127785
  exports.isCompound = exports.isPrimitive = exports.isBoolean = exports.getRootSchema = exports.Intersection = exports.Types = exports.Parent = undefined;
127602
- var lodash_1 = require_lodash2();
127786
+ var lodash_1 = require_lodash();
127603
127787
  exports.Parent = Symbol("Parent");
127604
127788
  exports.Types = Symbol("Types");
127605
127789
  exports.Intersection = Symbol("Intersection");
@@ -130406,7 +130590,7 @@ var require_utils7 = __commonJS((exports) => {
130406
130590
  };
130407
130591
  Object.defineProperty(exports, "__esModule", { value: true });
130408
130592
  exports.parseFileAsJSONSchema = exports.isSchemaLike = exports.appendToDescription = exports.maybeStripDefault = exports.pathTransform = exports.escapeBlockComment = exports.log = exports.error = exports.generateName = exports.toSafeString = exports.stripExtension = exports.justName = exports.traverse = exports.Try = undefined;
130409
- var lodash_1 = require_lodash2();
130593
+ var lodash_1 = require_lodash();
130410
130594
  var path_1 = __require("path");
130411
130595
  var JSONSchema_1 = require_JSONSchema();
130412
130596
  var js_yaml_1 = __importDefault(require_js_yaml3());
@@ -130737,7 +130921,7 @@ ${values.join(`
130737
130921
  var require_generator = __commonJS((exports) => {
130738
130922
  Object.defineProperty(exports, "__esModule", { value: true });
130739
130923
  exports.generateType = exports.generate = undefined;
130740
- var lodash_1 = require_lodash2();
130924
+ var lodash_1 = require_lodash();
130741
130925
  var index_1 = require_src3();
130742
130926
  var AST_1 = require_AST();
130743
130927
  var utils_1 = require_utils7();
@@ -131000,7 +131184,7 @@ var require_generator = __commonJS((exports) => {
131000
131184
  var require_typesOfSchema = __commonJS((exports) => {
131001
131185
  Object.defineProperty(exports, "__esModule", { value: true });
131002
131186
  exports.typesOfSchema = undefined;
131003
- var lodash_1 = require_lodash2();
131187
+ var lodash_1 = require_lodash();
131004
131188
  var JSONSchema_1 = require_JSONSchema();
131005
131189
  function typesOfSchema(schema9) {
131006
131190
  if (schema9.tsType) {
@@ -131359,7 +131543,7 @@ var require_normalizer = __commonJS((exports) => {
131359
131543
  var require_optimizer = __commonJS((exports) => {
131360
131544
  Object.defineProperty(exports, "__esModule", { value: true });
131361
131545
  exports.optimize = undefined;
131362
- var lodash_1 = require_lodash2();
131546
+ var lodash_1 = require_lodash();
131363
131547
  var generator_1 = require_generator();
131364
131548
  var AST_1 = require_AST();
131365
131549
  var utils_1 = require_utils7();
@@ -131425,7 +131609,7 @@ var require_optimizer = __commonJS((exports) => {
131425
131609
  var require_parser = __commonJS((exports) => {
131426
131610
  Object.defineProperty(exports, "__esModule", { value: true });
131427
131611
  exports.parse = undefined;
131428
- var lodash_1 = require_lodash2();
131612
+ var lodash_1 = require_lodash();
131429
131613
  var util_1 = __require("util");
131430
131614
  var applySchemaTyping_1 = require_applySchemaTyping();
131431
131615
  var AST_1 = require_AST();
@@ -137278,7 +137462,7 @@ var require_linker = __commonJS((exports) => {
137278
137462
  Object.defineProperty(exports, "__esModule", { value: true });
137279
137463
  exports.link = undefined;
137280
137464
  var JSONSchema_1 = require_JSONSchema();
137281
- var lodash_1 = require_lodash2();
137465
+ var lodash_1 = require_lodash();
137282
137466
  function link2(schema9, parent = null) {
137283
137467
  if (!Array.isArray(schema9) && !(0, lodash_1.isPlainObject)(schema9)) {
137284
137468
  return schema9;
@@ -137346,7 +137530,7 @@ var require_src3 = __commonJS((exports) => {
137346
137530
  Object.defineProperty(exports, "__esModule", { value: true });
137347
137531
  exports.ValidationError = exports.compile = exports.compileFromFile = exports.DEFAULT_OPTIONS = undefined;
137348
137532
  var fs_1 = __require("fs");
137349
- var lodash_1 = require_lodash2();
137533
+ var lodash_1 = require_lodash();
137350
137534
  var path_1 = __require("path");
137351
137535
  var formatter_1 = require_formatter();
137352
137536
  var generator_1 = require_generator();
@@ -163137,6 +163321,168 @@ var require_dist2 = __commonJS((exports) => {
163137
163321
  __exportStar(require_legacy(), exports);
163138
163322
  });
163139
163323
 
163324
+ // node_modules/lodash/isObject.js
163325
+ var require_isObject = __commonJS((exports, module) => {
163326
+ function isObject5(value) {
163327
+ var type = typeof value;
163328
+ return value != null && (type == "object" || type == "function");
163329
+ }
163330
+ module.exports = isObject5;
163331
+ });
163332
+
163333
+ // node_modules/lodash/now.js
163334
+ var require_now = __commonJS((exports, module) => {
163335
+ var root2 = require__root();
163336
+ var now = function() {
163337
+ return root2.Date.now();
163338
+ };
163339
+ module.exports = now;
163340
+ });
163341
+
163342
+ // node_modules/lodash/_trimmedEndIndex.js
163343
+ var require__trimmedEndIndex = __commonJS((exports, module) => {
163344
+ var reWhitespace = /\s/;
163345
+ function trimmedEndIndex(string4) {
163346
+ var index = string4.length;
163347
+ while (index-- && reWhitespace.test(string4.charAt(index))) {}
163348
+ return index;
163349
+ }
163350
+ module.exports = trimmedEndIndex;
163351
+ });
163352
+
163353
+ // node_modules/lodash/_baseTrim.js
163354
+ var require__baseTrim = __commonJS((exports, module) => {
163355
+ var trimmedEndIndex = require__trimmedEndIndex();
163356
+ var reTrimStart = /^\s+/;
163357
+ function baseTrim(string4) {
163358
+ return string4 ? string4.slice(0, trimmedEndIndex(string4) + 1).replace(reTrimStart, "") : string4;
163359
+ }
163360
+ module.exports = baseTrim;
163361
+ });
163362
+
163363
+ // node_modules/lodash/toNumber.js
163364
+ var require_toNumber = __commonJS((exports, module) => {
163365
+ var baseTrim = require__baseTrim();
163366
+ var isObject5 = require_isObject();
163367
+ var isSymbol = require_isSymbol();
163368
+ var NAN = 0 / 0;
163369
+ var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
163370
+ var reIsBinary = /^0b[01]+$/i;
163371
+ var reIsOctal = /^0o[0-7]+$/i;
163372
+ var freeParseInt = parseInt;
163373
+ function toNumber(value) {
163374
+ if (typeof value == "number") {
163375
+ return value;
163376
+ }
163377
+ if (isSymbol(value)) {
163378
+ return NAN;
163379
+ }
163380
+ if (isObject5(value)) {
163381
+ var other = typeof value.valueOf == "function" ? value.valueOf() : value;
163382
+ value = isObject5(other) ? other + "" : other;
163383
+ }
163384
+ if (typeof value != "string") {
163385
+ return value === 0 ? value : +value;
163386
+ }
163387
+ value = baseTrim(value);
163388
+ var isBinary = reIsBinary.test(value);
163389
+ return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
163390
+ }
163391
+ module.exports = toNumber;
163392
+ });
163393
+
163394
+ // node_modules/lodash/debounce.js
163395
+ var require_debounce = __commonJS((exports, module) => {
163396
+ var isObject5 = require_isObject();
163397
+ var now = require_now();
163398
+ var toNumber = require_toNumber();
163399
+ var FUNC_ERROR_TEXT = "Expected a function";
163400
+ var nativeMax = Math.max;
163401
+ var nativeMin = Math.min;
163402
+ function debounce(func, wait, options8) {
163403
+ var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
163404
+ if (typeof func != "function") {
163405
+ throw new TypeError(FUNC_ERROR_TEXT);
163406
+ }
163407
+ wait = toNumber(wait) || 0;
163408
+ if (isObject5(options8)) {
163409
+ leading = !!options8.leading;
163410
+ maxing = "maxWait" in options8;
163411
+ maxWait = maxing ? nativeMax(toNumber(options8.maxWait) || 0, wait) : maxWait;
163412
+ trailing = "trailing" in options8 ? !!options8.trailing : trailing;
163413
+ }
163414
+ function invokeFunc(time3) {
163415
+ var args = lastArgs, thisArg = lastThis;
163416
+ lastArgs = lastThis = undefined;
163417
+ lastInvokeTime = time3;
163418
+ result = func.apply(thisArg, args);
163419
+ return result;
163420
+ }
163421
+ function leadingEdge(time3) {
163422
+ lastInvokeTime = time3;
163423
+ timerId = setTimeout(timerExpired, wait);
163424
+ return leading ? invokeFunc(time3) : result;
163425
+ }
163426
+ function remainingWait(time3) {
163427
+ var timeSinceLastCall = time3 - lastCallTime, timeSinceLastInvoke = time3 - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
163428
+ return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
163429
+ }
163430
+ function shouldInvoke(time3) {
163431
+ var timeSinceLastCall = time3 - lastCallTime, timeSinceLastInvoke = time3 - lastInvokeTime;
163432
+ return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
163433
+ }
163434
+ function timerExpired() {
163435
+ var time3 = now();
163436
+ if (shouldInvoke(time3)) {
163437
+ return trailingEdge(time3);
163438
+ }
163439
+ timerId = setTimeout(timerExpired, remainingWait(time3));
163440
+ }
163441
+ function trailingEdge(time3) {
163442
+ timerId = undefined;
163443
+ if (trailing && lastArgs) {
163444
+ return invokeFunc(time3);
163445
+ }
163446
+ lastArgs = lastThis = undefined;
163447
+ return result;
163448
+ }
163449
+ function cancel() {
163450
+ if (timerId !== undefined) {
163451
+ clearTimeout(timerId);
163452
+ }
163453
+ lastInvokeTime = 0;
163454
+ lastArgs = lastCallTime = lastThis = timerId = undefined;
163455
+ }
163456
+ function flush() {
163457
+ return timerId === undefined ? result : trailingEdge(now());
163458
+ }
163459
+ function debounced() {
163460
+ var time3 = now(), isInvoking = shouldInvoke(time3);
163461
+ lastArgs = arguments;
163462
+ lastThis = this;
163463
+ lastCallTime = time3;
163464
+ if (isInvoking) {
163465
+ if (timerId === undefined) {
163466
+ return leadingEdge(lastCallTime);
163467
+ }
163468
+ if (maxing) {
163469
+ clearTimeout(timerId);
163470
+ timerId = setTimeout(timerExpired, wait);
163471
+ return invokeFunc(lastCallTime);
163472
+ }
163473
+ }
163474
+ if (timerId === undefined) {
163475
+ timerId = setTimeout(timerExpired, wait);
163476
+ }
163477
+ return result;
163478
+ }
163479
+ debounced.cancel = cancel;
163480
+ debounced.flush = flush;
163481
+ return debounced;
163482
+ }
163483
+ module.exports = debounce;
163484
+ });
163485
+
163140
163486
  // node_modules/tmp/lib/tmp.js
163141
163487
  var require_tmp = __commonJS((exports, module) => {
163142
163488
  /*!
@@ -210244,7 +210590,7 @@ var require_dist5 = __commonJS((exports, module) => {
210244
210590
  });
210245
210591
  module.exports = __toCommonJS(src_exports);
210246
210592
  var import_promises19 = __require("node:fs/promises");
210247
- var import_node_fs19 = __require("node:fs");
210593
+ var import_node_fs20 = __require("node:fs");
210248
210594
  var DEVIN_LOCAL_PATH = "/opt/.devin";
210249
210595
  var CURSOR2 = "cursor";
210250
210596
  var CURSOR_CLI = "cursor-cli";
@@ -210301,7 +210647,7 @@ var require_dist5 = __commonJS((exports, module) => {
210301
210647
  return { isAgent: true, agent: { name: REPLIT } };
210302
210648
  }
210303
210649
  try {
210304
- await (0, import_promises19.access)(DEVIN_LOCAL_PATH, import_node_fs19.constants.F_OK);
210650
+ await (0, import_promises19.access)(DEVIN_LOCAL_PATH, import_node_fs20.constants.F_OK);
210305
210651
  return { isAgent: true, agent: { name: DEVIN } };
210306
210652
  } catch (error48) {}
210307
210653
  return { isAgent: false, agent: undefined };
@@ -241561,7 +241907,7 @@ var package_default = {
241561
241907
  "@types/ejs": "^3.1.5",
241562
241908
  "@types/express": "^5.0.6",
241563
241909
  "@types/json-schema": "^7.0.15",
241564
- "@types/lodash.kebabcase": "^4.1.9",
241910
+ "@types/lodash": "^4.17.16",
241565
241911
  "@types/node": "^22.10.5",
241566
241912
  "@types/multer": "^2.0.0",
241567
241913
  "@vercel/detect-agent": "^1.1.0",
@@ -241581,7 +241927,7 @@ var package_default = {
241581
241927
  json5: "^2.2.3",
241582
241928
  knip: "^5.83.1",
241583
241929
  ky: "^1.14.2",
241584
- "lodash.kebabcase": "^4.1.1",
241930
+ lodash: "^4.17.21",
241585
241931
  multer: "^2.0.0",
241586
241932
  msw: "^2.12.10",
241587
241933
  nanoid: "^5.1.6",
@@ -242706,7 +243052,7 @@ function getFunctionsDeployCommand(context) {
242706
243052
 
242707
243053
  // src/cli/commands/project/create.ts
242708
243054
  import { basename as basename3, join as join11, resolve as resolve2 } from "node:path";
242709
- var import_lodash = __toESM(require_lodash(), 1);
243055
+ var import_kebabCase = __toESM(require_kebabCase(), 1);
242710
243056
  var DEFAULT_TEMPLATE_ID = "backend-only";
242711
243057
  async function getTemplateById(templateId) {
242712
243058
  const templates = await listTemplates();
@@ -242750,7 +243096,7 @@ async function createInteractive(options) {
242750
243096
  });
242751
243097
  },
242752
243098
  projectPath: async ({ results }) => {
242753
- const suggestedPath = await isDirEmpty() ? "./" : `./${import_lodash.default(results.name)}`;
243099
+ const suggestedPath = await isDirEmpty() ? "./" : `./${import_kebabCase.default(results.name)}`;
242754
243100
  return Ze({
242755
243101
  message: "Where should we create your project?",
242756
243102
  placeholder: suggestedPath,
@@ -243513,6 +243859,8 @@ function getTypesCommand(context) {
243513
243859
  }
243514
243860
 
243515
243861
  // src/cli/dev/dev-server/main.ts
243862
+ import { watch } from "node:fs";
243863
+ import { dirname as dirname12, join as join16 } from "node:path";
243516
243864
  var import_cors = __toESM(require_lib4(), 1);
243517
243865
  var import_express4 = __toESM(require_express(), 1);
243518
243866
 
@@ -243632,6 +243980,7 @@ async function getPorts(options8) {
243632
243980
 
243633
243981
  // src/cli/dev/dev-server/main.ts
243634
243982
  var import_http_proxy_middleware2 = __toESM(require_dist2(), 1);
243983
+ var import_debounce = __toESM(require_debounce(), 1);
243635
243984
 
243636
243985
  // node_modules/tmp-promise/index.js
243637
243986
  var { promisify: promisify11 } = __require("util");
@@ -243735,6 +244084,10 @@ class FunctionManager {
243735
244084
  this.setupProcessHandlers(name2, process21);
243736
244085
  return this.waitForReady(name2, runningFunc);
243737
244086
  }
244087
+ reload(functions) {
244088
+ this.stopAll();
244089
+ this.functions = new Map(functions.map((f7) => [f7.name, f7]));
244090
+ }
243738
244091
  stopAll() {
243739
244092
  for (const [name2, { process: process21 }] of this.running) {
243740
244093
  this.logger.log(`[dev-server] Stopping function: ${name2}`);
@@ -244234,11 +244587,25 @@ function createCustomIntegrationRoutes(remoteProxy, logger) {
244234
244587
  // src/cli/dev/dev-server/main.ts
244235
244588
  var DEFAULT_PORT = 4400;
244236
244589
  var BASE44_APP_URL = "https://base44.app";
244590
+ var WATCH_DEBOUNCE_MS = 300;
244591
+ async function watchDir(dir, onChange, logger) {
244592
+ if (!await pathExists(dir)) {
244593
+ return null;
244594
+ }
244595
+ const debouncedOnChange = import_debounce.default(async () => {
244596
+ try {
244597
+ await onChange();
244598
+ } catch (error48) {
244599
+ logger.error(`[dev-server] Watch handler failed for ${dir}`, error48 instanceof Error ? error48 : undefined);
244600
+ }
244601
+ }, WATCH_DEBOUNCE_MS);
244602
+ return watch(dir, { recursive: true }, debouncedOnChange);
244603
+ }
244237
244604
  async function createDevServer(options8) {
244238
244605
  const { port: userPort } = options8;
244239
244606
  const port = userPort ?? await getPorts({ port: DEFAULT_PORT });
244240
244607
  const baseUrl = `http://localhost:${port}`;
244241
- const { functions, entities } = await options8.loadResources();
244608
+ const { functions, entities, project: project2 } = await options8.loadResources();
244242
244609
  const app = import_express4.default();
244243
244610
  const remoteProxy = import_http_proxy_middleware2.createProxyMiddleware({
244244
244611
  target: BASE44_APP_URL,
@@ -244258,10 +244625,10 @@ async function createDevServer(options8) {
244258
244625
  });
244259
244626
  const devLogger = createDevLogger();
244260
244627
  const functionManager = new FunctionManager(functions, devLogger);
244628
+ const functionRoutes = createFunctionRouter(functionManager, devLogger);
244629
+ app.use("/api/apps/:appId/functions", functionRoutes);
244261
244630
  if (functionManager.getFunctionNames().length > 0) {
244262
244631
  R2.info(`Loaded functions: ${functionManager.getFunctionNames().join(", ")}`);
244263
- const functionRoutes = createFunctionRouter(functionManager, devLogger);
244264
- app.use("/api/apps/:appId/functions", functionRoutes);
244265
244632
  }
244266
244633
  const db2 = new Database(entities);
244267
244634
  if (db2.getCollectionNames().length > 0) {
@@ -244280,8 +244647,8 @@ async function createDevServer(options8) {
244280
244647
  devLogger.warn(`"${req.originalUrl}" is not supported in local development, passing call to production`);
244281
244648
  remoteProxy(req, res, next);
244282
244649
  });
244283
- return new Promise((resolve6, reject) => {
244284
- const server = app.listen(port, "127.0.0.1", (err) => {
244650
+ const server = await new Promise((resolve6, reject) => {
244651
+ const s5 = app.listen(port, "127.0.0.1", (err) => {
244285
244652
  if (err) {
244286
244653
  if ("code" in err && err.code === "EADDRINUSE") {
244287
244654
  reject(new Error(`Port ${port} is already in use. Stop the other process and try again.`));
@@ -244289,24 +244656,35 @@ async function createDevServer(options8) {
244289
244656
  reject(err);
244290
244657
  }
244291
244658
  } else {
244292
- const io6 = createRealtimeServer(server);
244293
- emitEntityEvent = (appId, entityName, event) => {
244294
- broadcastEntityEvent(io6, appId, entityName, event);
244295
- };
244296
- const shutdown = () => {
244297
- io6.close();
244298
- functionManager.stopAll();
244299
- server.close();
244300
- };
244301
- process.on("SIGINT", shutdown);
244302
- process.on("SIGTERM", shutdown);
244303
- resolve6({
244304
- port,
244305
- server
244306
- });
244659
+ resolve6(s5);
244307
244660
  }
244308
244661
  });
244309
244662
  });
244663
+ const io6 = createRealtimeServer(server);
244664
+ emitEntityEvent = (appId, entityName, event) => {
244665
+ broadcastEntityEvent(io6, appId, entityName, event);
244666
+ };
244667
+ const configDir = dirname12(project2.configPath);
244668
+ const functionsDir = join16(configDir, project2.functionsDir);
244669
+ const functionsWatcher = await watchDir(functionsDir, async () => {
244670
+ const { functions: functions2 } = await options8.loadResources();
244671
+ functionManager.reload(functions2);
244672
+ const names = functionManager.getFunctionNames();
244673
+ if (names.length > 0) {
244674
+ devLogger.log(`Reloaded functions: ${names.sort().join(", ")}`);
244675
+ } else {
244676
+ devLogger.log("All functions removed");
244677
+ }
244678
+ }, devLogger);
244679
+ const shutdown = () => {
244680
+ functionsWatcher?.close();
244681
+ io6.close();
244682
+ functionManager.stopAll();
244683
+ server.close();
244684
+ };
244685
+ process.on("SIGINT", shutdown);
244686
+ process.on("SIGTERM", shutdown);
244687
+ return { port, server };
244310
244688
  }
244311
244689
 
244312
244690
  // src/cli/commands/dev.ts
@@ -244331,7 +244709,7 @@ function getDevCommand(context) {
244331
244709
 
244332
244710
  // src/cli/commands/project/eject.ts
244333
244711
  import { resolve as resolve6 } from "node:path";
244334
- var import_lodash2 = __toESM(require_lodash(), 1);
244712
+ var import_kebabCase2 = __toESM(require_kebabCase(), 1);
244335
244713
  async function eject(options8) {
244336
244714
  const projects = await listProjects();
244337
244715
  const ejectableProjects = projects.filter((p4) => p4.isManagedSourceCode !== false);
@@ -244369,7 +244747,7 @@ async function eject(options8) {
244369
244747
  selectedProject = selected;
244370
244748
  }
244371
244749
  const projectId = selectedProject.id;
244372
- const suggestedPath = await isDirEmpty() ? `./` : `./${import_lodash2.default(selectedProject.name)}`;
244750
+ const suggestedPath = await isDirEmpty() ? `./` : `./${import_kebabCase2.default(selectedProject.name)}`;
244373
244751
  const selectedPath = options8.path ?? await Ze({
244374
244752
  message: "Where should we create your project?",
244375
244753
  placeholder: suggestedPath,
@@ -244455,7 +244833,7 @@ var import_detect_agent = __toESM(require_dist5(), 1);
244455
244833
  import { release, type } from "node:os";
244456
244834
 
244457
244835
  // node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
244458
- import { dirname as dirname12, posix, sep } from "path";
244836
+ import { dirname as dirname13, posix, sep } from "path";
244459
244837
  function createModulerModifier() {
244460
244838
  const getModuleFromFileName = createGetModuleFromFilename();
244461
244839
  return async (frames) => {
@@ -244464,7 +244842,7 @@ function createModulerModifier() {
244464
244842
  return frames;
244465
244843
  };
244466
244844
  }
244467
- function createGetModuleFromFilename(basePath = process.argv[1] ? dirname12(process.argv[1]) : process.cwd(), isWindows4 = sep === "\\") {
244845
+ function createGetModuleFromFilename(basePath = process.argv[1] ? dirname13(process.argv[1]) : process.cwd(), isWindows4 = sep === "\\") {
244468
244846
  const normalizedBase = isWindows4 ? normalizeWindowsPath2(basePath) : basePath;
244469
244847
  return (filename) => {
244470
244848
  if (!filename)
@@ -248682,4 +249060,4 @@ export {
248682
249060
  CLIExitError
248683
249061
  };
248684
249062
 
248685
- //# debugId=D9183A087214981864756E2164756E21
249063
+ //# debugId=85AAC033AD084DA464756E2164756E21