@base44-preview/cli 0.0.49-pr.453.765cc14 → 0.0.49-pr.454.8238212

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
@@ -138434,11 +138434,11 @@ var require_normalizer = __commonJS((exports) => {
138434
138434
  (0, applySchemaTyping_1.applySchemaTyping)(schema10);
138435
138435
  }
138436
138436
  });
138437
- function normalize(rootSchema, dereferencedPaths, filename, options8) {
138437
+ function normalize2(rootSchema, dereferencedPaths, filename, options8) {
138438
138438
  rules.forEach((rule) => (0, utils_1.traverse)(rootSchema, (schema10, key2) => rule(schema10, filename, options8, key2, dereferencedPaths)));
138439
138439
  return rootSchema;
138440
138440
  }
138441
- exports.normalize = normalize;
138441
+ exports.normalize = normalize2;
138442
138442
  });
138443
138443
 
138444
138444
  // ../../node_modules/json-schema-to-typescript/dist/src/optimizer.js
@@ -157265,7 +157265,7 @@ var require_type_is = __commonJS((exports, module) => {
157265
157265
  module.exports = typeofrequest;
157266
157266
  module.exports.is = typeis;
157267
157267
  module.exports.hasBody = hasbody;
157268
- module.exports.normalize = normalize;
157268
+ module.exports.normalize = normalize2;
157269
157269
  module.exports.match = mimeMatch;
157270
157270
  function typeis(value, types_) {
157271
157271
  var i5;
@@ -157285,7 +157285,7 @@ var require_type_is = __commonJS((exports, module) => {
157285
157285
  }
157286
157286
  var type;
157287
157287
  for (i5 = 0;i5 < types.length; i5++) {
157288
- if (mimeMatch(normalize(type = types[i5]), val)) {
157288
+ if (mimeMatch(normalize2(type = types[i5]), val)) {
157289
157289
  return type[0] === "+" || type.indexOf("*") !== -1 ? val : type;
157290
157290
  }
157291
157291
  }
@@ -157301,7 +157301,7 @@ var require_type_is = __commonJS((exports, module) => {
157301
157301
  var value = req.headers["content-type"];
157302
157302
  return typeis(value, types);
157303
157303
  }
157304
- function normalize(type) {
157304
+ function normalize2(type) {
157305
157305
  if (typeof type !== "string") {
157306
157306
  return false;
157307
157307
  }
@@ -164165,7 +164165,7 @@ var require_send = __commonJS((exports, module) => {
164165
164165
  var util2 = __require("util");
164166
164166
  var extname2 = path18.extname;
164167
164167
  var join21 = path18.join;
164168
- var normalize = path18.normalize;
164168
+ var normalize2 = path18.normalize;
164169
164169
  var resolve6 = path18.resolve;
164170
164170
  var sep = path18.sep;
164171
164171
  var BYTES_RANGE_REGEXP = /^ *bytes=/;
@@ -164328,7 +164328,7 @@ var require_send = __commonJS((exports, module) => {
164328
164328
  var parts;
164329
164329
  if (root2 !== null) {
164330
164330
  if (path19) {
164331
- path19 = normalize("." + sep + path19);
164331
+ path19 = normalize2("." + sep + path19);
164332
164332
  }
164333
164333
  if (UP_PATH_REGEXP.test(path19)) {
164334
164334
  debug('malicious path "%s"', path19);
@@ -164336,14 +164336,14 @@ var require_send = __commonJS((exports, module) => {
164336
164336
  return res;
164337
164337
  }
164338
164338
  parts = path19.split(sep);
164339
- path19 = normalize(join21(root2, path19));
164339
+ path19 = normalize2(join21(root2, path19));
164340
164340
  } else {
164341
164341
  if (UP_PATH_REGEXP.test(path19)) {
164342
164342
  debug('malicious path "%s"', path19);
164343
164343
  this.error(403);
164344
164344
  return res;
164345
164345
  }
164346
- parts = normalize(path19).split(sep);
164346
+ parts = normalize2(path19).split(sep);
164347
164347
  path19 = resolve6(path19);
164348
164348
  }
164349
164349
  if (containsDotFile(parts)) {
@@ -210086,7 +210086,7 @@ var require_type_is2 = __commonJS((exports, module) => {
210086
210086
  module.exports = typeofrequest;
210087
210087
  module.exports.is = typeis;
210088
210088
  module.exports.hasBody = hasbody;
210089
- module.exports.normalize = normalize;
210089
+ module.exports.normalize = normalize2;
210090
210090
  module.exports.match = mimeMatch;
210091
210091
  function typeis(value, types_) {
210092
210092
  var i5;
@@ -210106,7 +210106,7 @@ var require_type_is2 = __commonJS((exports, module) => {
210106
210106
  }
210107
210107
  var type;
210108
210108
  for (i5 = 0;i5 < types.length; i5++) {
210109
- if (mimeMatch(normalize(type = types[i5]), val)) {
210109
+ if (mimeMatch(normalize2(type = types[i5]), val)) {
210110
210110
  return type[0] === "+" || type.indexOf("*") !== -1 ? val : type;
210111
210111
  }
210112
210112
  }
@@ -210129,7 +210129,7 @@ var require_type_is2 = __commonJS((exports, module) => {
210129
210129
  var value = req.headers["content-type"];
210130
210130
  return typeis(value, types);
210131
210131
  }
210132
- function normalize(type) {
210132
+ function normalize2(type) {
210133
210133
  if (typeof type !== "string") {
210134
210134
  return false;
210135
210135
  }
@@ -241594,7 +241594,7 @@ async function fetchAgents() {
241594
241594
  return result.data;
241595
241595
  }
241596
241596
  // src/core/resources/agent/config.ts
241597
- import { join as join3 } from "node:path";
241597
+ import { join as join3, normalize } from "node:path";
241598
241598
  import { isDeepStrictEqual } from "node:util";
241599
241599
  async function readAgentFile(agentPath) {
241600
241600
  const raw2 = await readJsonFile(agentPath);
@@ -241664,7 +241664,7 @@ async function writeAgents(agentsDir, remoteAgents) {
241664
241664
  const claimedPaths = new Set;
241665
241665
  for (const [name2, entry] of nameToEntry) {
241666
241666
  if (newNames.has(name2)) {
241667
- claimedPaths.add(entry.filePath);
241667
+ claimedPaths.add(normalize(entry.filePath));
241668
241668
  }
241669
241669
  }
241670
241670
  const written = [];
@@ -260142,4 +260142,4 @@ export {
260142
260142
  CLIExitError
260143
260143
  };
260144
260144
 
260145
- //# debugId=DCFE80A2CD93B81E64756E2164756E21
260145
+ //# debugId=9C4B1B217380692C64756E2164756E21