create-nextly-app 0.0.2-alpha.54 → 0.0.2-alpha.56

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.
@@ -5897,7 +5897,7 @@ var require_data = __commonJS2({
5897
5897
  }
5898
5898
  });
5899
5899
  var require_utils = __commonJS2({
5900
- "../../node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/utils.js"(exports$1, module) {
5900
+ "../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/utils.js"(exports$1, module) {
5901
5901
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
5902
5902
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
5903
5903
  var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
@@ -6207,7 +6207,7 @@ var require_utils = __commonJS2({
6207
6207
  }
6208
6208
  });
6209
6209
  var require_schemes = __commonJS2({
6210
- "../../node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/lib/schemes.js"(exports$1, module) {
6210
+ "../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/schemes.js"(exports$1, module) {
6211
6211
  var { isUUID } = require_utils();
6212
6212
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
6213
6213
  var supportedSchemeNames = (
@@ -6414,7 +6414,7 @@ var require_schemes = __commonJS2({
6414
6414
  }
6415
6415
  });
6416
6416
  var require_fast_uri = __commonJS2({
6417
- "../../node_modules/.pnpm/fast-uri@3.1.4/node_modules/fast-uri/index.js"(exports$1, module) {
6417
+ "../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/index.js"(exports$1, module) {
6418
6418
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
6419
6419
  var { SCHEMES, getSchemeHandler } = require_schemes();
6420
6420
  function normalize(uri, options) {
@@ -6429,7 +6429,12 @@ var require_fast_uri = __commonJS2({
6429
6429
  }
6430
6430
  function resolve(baseURI, relativeURI, options) {
6431
6431
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
6432
- const resolved = resolveComponent(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true);
6432
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
6433
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
6434
+ if (baseMalformed || relativeMalformed) {
6435
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
6436
+ }
6437
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
6433
6438
  schemelessOptions.skipEscape = true;
6434
6439
  return serialize2(resolved, schemelessOptions);
6435
6440
  }
@@ -6555,6 +6560,7 @@ var require_fast_uri = __commonJS2({
6555
6560
  }
6556
6561
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
6557
6562
  var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
6563
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
6558
6564
  function getParseError(parsed, matches) {
6559
6565
  if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
6560
6566
  return 'URI path must start with "/" when authority is present.';
@@ -6589,6 +6595,20 @@ var require_fast_uri = __commonJS2({
6589
6595
  parsed.error = "URI authority must not contain a literal backslash.";
6590
6596
  malformedAuthorityOrPort = true;
6591
6597
  }
6598
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
6599
+ if (introducerMatch !== null) {
6600
+ const region = introducerMatch[1];
6601
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
6602
+ if (normalizedRegion.length >= 2) {
6603
+ if (normalizedRegion.slice(0, 2) !== "//") {
6604
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
6605
+ malformedAuthorityOrPort = true;
6606
+ } else if (region.length !== normalizedRegion.length) {
6607
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
6608
+ malformedAuthorityOrPort = true;
6609
+ }
6610
+ }
6611
+ }
6592
6612
  const matches = uri.match(URI_PARSE);
6593
6613
  if (matches) {
6594
6614
  parsed.scheme = matches[1];
@@ -29333,5 +29353,5 @@ async function createNextly(options = {}) {
29333
29353
  */
29334
29354
 
29335
29355
  export { __commonJS, __require, __toESM, capture, createNextly, init, resolveProjectArg, shutdown, validateProjectName };
29336
- //# sourceMappingURL=chunk-APDKXW5L.mjs.map
29337
- //# sourceMappingURL=chunk-APDKXW5L.mjs.map
29356
+ //# sourceMappingURL=chunk-6434MGWG.mjs.map
29357
+ //# sourceMappingURL=chunk-6434MGWG.mjs.map