@absolutejs/absolute 0.20.0-beta.1 → 0.20.0-beta.2

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/index.js CHANGED
@@ -31713,6 +31713,15 @@ var normalizeAppleAppIdPrefix = (value) => {
31713
31713
  }
31714
31714
  return normalized;
31715
31715
  };
31716
+ var normalizeIosVersion = (value) => {
31717
+ if (value === undefined)
31718
+ return;
31719
+ const normalized = requireText(value, "mobile.ios.version");
31720
+ if (!/^\d+(?:\.\d+){0,2}$/u.test(normalized)) {
31721
+ throw new TypeError("mobile.ios.version must contain one to three dot-separated integer components, for example 1.4.0.");
31722
+ }
31723
+ return normalized;
31724
+ };
31716
31725
  var normalizeCertificateFingerprints = (values) => [
31717
31726
  ...new Set((values ?? []).map((value) => requireText(value, "mobile.deepLinks.android.sha256CertificateFingerprints").replaceAll(":", "").toUpperCase()).map((value) => {
31718
31727
  if (!CERTIFICATE_FINGERPRINT_PATTERN.test(value)) {
@@ -31741,6 +31750,7 @@ var normalizeAbsoluteMobileConfig = (config, projectRoot) => {
31741
31750
  deepLinkScheme,
31742
31751
  engine: "capacitor",
31743
31752
  entry: normalizeEntry(config.entry),
31753
+ iosVersion: normalizeIosVersion(config.ios?.version),
31744
31754
  nativeProjectDirectory: resolveProjectPath(projectRoot, config.nativeProject?.directory ?? "mobile", "mobile.nativeProject.directory"),
31745
31755
  platforms: normalizePlatforms(config.platforms),
31746
31756
  productionOrigin
@@ -39643,5 +39653,5 @@ export {
39643
39653
  ANGULAR_INIT_TIMEOUT_MS
39644
39654
  };
39645
39655
 
39646
- //# debugId=9019476FB119209B64756E2164756E21
39656
+ //# debugId=990F9153E353E13D64756E2164756E21
39647
39657
  //# sourceMappingURL=index.js.map