create-nextly-app 0.0.2-alpha.52 → 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.
- package/dist/{chunk-APDKXW5L.mjs → chunk-6434MGWG.mjs} +26 -6
- package/dist/chunk-6434MGWG.mjs.map +1 -0
- package/dist/cli.cjs +25 -5
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +2 -2
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +24 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
- package/dist/chunk-APDKXW5L.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -6810,7 +6810,7 @@ var require_data = __commonJS2({
|
|
|
6810
6810
|
}
|
|
6811
6811
|
});
|
|
6812
6812
|
var require_utils = __commonJS2({
|
|
6813
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
6813
|
+
"../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/utils.js"(exports$1, module) {
|
|
6814
6814
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
6815
6815
|
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);
|
|
6816
6816
|
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
@@ -7120,7 +7120,7 @@ var require_utils = __commonJS2({
|
|
|
7120
7120
|
}
|
|
7121
7121
|
});
|
|
7122
7122
|
var require_schemes = __commonJS2({
|
|
7123
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
7123
|
+
"../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/schemes.js"(exports$1, module) {
|
|
7124
7124
|
var { isUUID } = require_utils();
|
|
7125
7125
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
7126
7126
|
var supportedSchemeNames = (
|
|
@@ -7327,7 +7327,7 @@ var require_schemes = __commonJS2({
|
|
|
7327
7327
|
}
|
|
7328
7328
|
});
|
|
7329
7329
|
var require_fast_uri = __commonJS2({
|
|
7330
|
-
"../../node_modules/.pnpm/fast-uri@3.1.
|
|
7330
|
+
"../../node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/index.js"(exports$1, module) {
|
|
7331
7331
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
7332
7332
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
7333
7333
|
function normalize(uri, options) {
|
|
@@ -7342,7 +7342,12 @@ var require_fast_uri = __commonJS2({
|
|
|
7342
7342
|
}
|
|
7343
7343
|
function resolve(baseURI, relativeURI, options) {
|
|
7344
7344
|
const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
|
|
7345
|
-
const
|
|
7345
|
+
const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
|
|
7346
|
+
const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
|
|
7347
|
+
if (baseMalformed || relativeMalformed) {
|
|
7348
|
+
throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
|
|
7349
|
+
}
|
|
7350
|
+
const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
|
|
7346
7351
|
schemelessOptions.skipEscape = true;
|
|
7347
7352
|
return serialize2(resolved, schemelessOptions);
|
|
7348
7353
|
}
|
|
@@ -7468,6 +7473,7 @@ var require_fast_uri = __commonJS2({
|
|
|
7468
7473
|
}
|
|
7469
7474
|
var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
|
|
7470
7475
|
var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
|
|
7476
|
+
var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
|
|
7471
7477
|
function getParseError(parsed, matches) {
|
|
7472
7478
|
if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
|
|
7473
7479
|
return 'URI path must start with "/" when authority is present.';
|
|
@@ -7502,6 +7508,20 @@ var require_fast_uri = __commonJS2({
|
|
|
7502
7508
|
parsed.error = "URI authority must not contain a literal backslash.";
|
|
7503
7509
|
malformedAuthorityOrPort = true;
|
|
7504
7510
|
}
|
|
7511
|
+
const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
|
|
7512
|
+
if (introducerMatch !== null) {
|
|
7513
|
+
const region = introducerMatch[1];
|
|
7514
|
+
const normalizedRegion = region.replace(/[\t\n\r]/g, "");
|
|
7515
|
+
if (normalizedRegion.length >= 2) {
|
|
7516
|
+
if (normalizedRegion.slice(0, 2) !== "//") {
|
|
7517
|
+
parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
|
|
7518
|
+
malformedAuthorityOrPort = true;
|
|
7519
|
+
} else if (region.length !== normalizedRegion.length) {
|
|
7520
|
+
parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
|
|
7521
|
+
malformedAuthorityOrPort = true;
|
|
7522
|
+
}
|
|
7523
|
+
}
|
|
7524
|
+
}
|
|
7505
7525
|
const matches = uri.match(URI_PARSE);
|
|
7506
7526
|
if (matches) {
|
|
7507
7527
|
parsed.scheme = matches[1];
|