peachsim 0.1.722 → 0.1.723
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-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +30 -43
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +16 -28
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +16 -28
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +3 -22
- package/dist-lib/plist.mjs +3 -22
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +6 -25
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +77 -90
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/package.json +3 -2
- package/src/plist.ts +2 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -74,16 +74,6 @@ var init_backend_origin = __esm({
|
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
// src/is-record.ts
|
|
78
|
-
function isRecord(value) {
|
|
79
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
80
|
-
}
|
|
81
|
-
var init_is_record = __esm({
|
|
82
|
-
"src/is-record.ts"() {
|
|
83
|
-
"use strict";
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
|
|
87
77
|
// scripts/optional-demo-registry.ts
|
|
88
78
|
var optional_demo_registry_exports = {};
|
|
89
79
|
__export(optional_demo_registry_exports, {
|
|
@@ -521,6 +511,16 @@ var init_public_brand = __esm({
|
|
|
521
511
|
}
|
|
522
512
|
});
|
|
523
513
|
|
|
514
|
+
// src/is-record.ts
|
|
515
|
+
function isRecord2(value) {
|
|
516
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
517
|
+
}
|
|
518
|
+
var init_is_record = __esm({
|
|
519
|
+
"src/is-record.ts"() {
|
|
520
|
+
"use strict";
|
|
521
|
+
}
|
|
522
|
+
});
|
|
523
|
+
|
|
524
524
|
// src/auth/shared-session.ts
|
|
525
525
|
function sharedDesktopAuthAccounts(user) {
|
|
526
526
|
return [
|
|
@@ -4104,8 +4104,8 @@ function failureSentence(text) {
|
|
|
4104
4104
|
} catch {
|
|
4105
4105
|
return null;
|
|
4106
4106
|
}
|
|
4107
|
-
if (!
|
|
4108
|
-
if (
|
|
4107
|
+
if (!isRecord2(parsed)) return null;
|
|
4108
|
+
if (isRecord2(parsed.error) && typeof parsed.error.message === "string") {
|
|
4109
4109
|
const code = typeof parsed.error.code === "string" && parsed.error.code ? ` [${parsed.error.code}]` : "";
|
|
4110
4110
|
return `${parsed.error.message}${code}`;
|
|
4111
4111
|
}
|
|
@@ -4537,16 +4537,16 @@ async function produceArtifact(bundlePath, maxBytes, command, assetPolicy) {
|
|
|
4537
4537
|
};
|
|
4538
4538
|
}
|
|
4539
4539
|
function readCreateResponse(value, expectedBytes, expectedSha256) {
|
|
4540
|
-
if (!
|
|
4540
|
+
if (!isRecord2(value)) throw new Error("remote simulator create returned invalid JSON");
|
|
4541
4541
|
const artifactId = `sha256:${expectedSha256}`;
|
|
4542
|
-
const isExpectedArtifact = (artifact) =>
|
|
4542
|
+
const isExpectedArtifact = (artifact) => isRecord2(artifact) && artifact.id === artifactId && typeof artifact.bytes === "number" && Number.isInteger(artifact.bytes) && artifact.bytes === expectedBytes;
|
|
4543
4543
|
const boxId = value.boxId;
|
|
4544
4544
|
const boxToken = value.token;
|
|
4545
4545
|
const simulator = value.simulator;
|
|
4546
|
-
const simId =
|
|
4547
|
-
const claim =
|
|
4548
|
-
const simulatorToken =
|
|
4549
|
-
if (typeof boxId !== "string" || !boxId || value.size !== "nano" || typeof boxToken !== "string" || !boxToken || !isExpectedArtifact(value.artifact) || !
|
|
4546
|
+
const simId = isRecord2(simulator) ? simulator.simId : null;
|
|
4547
|
+
const claim = isRecord2(simulator) ? simulator.claim : null;
|
|
4548
|
+
const simulatorToken = isRecord2(simulator) ? simulator.token : null;
|
|
4549
|
+
if (typeof boxId !== "string" || !boxId || value.size !== "nano" || typeof boxToken !== "string" || !boxToken || !isExpectedArtifact(value.artifact) || !isRecord2(simulator) || typeof simId !== "string" || !simId || !isExpectedArtifact(simulator.artifact) || !isRecord2(claim) || typeof claim.id !== "string" || !claim.id || typeof claim.expiresAt !== "number" || typeof simulatorToken !== "string" || !simulatorToken) {
|
|
4550
4550
|
throw new Error("remote simulator create returned an invalid receipt");
|
|
4551
4551
|
}
|
|
4552
4552
|
return {
|
|
@@ -4692,8 +4692,8 @@ async function sendToBox(options) {
|
|
|
4692
4692
|
simId: options.simId,
|
|
4693
4693
|
code: '(typeof window.__sootsimCaptureBundle === "function") ? window.__sootsimCaptureBundle() : null'
|
|
4694
4694
|
});
|
|
4695
|
-
const bundleUrl =
|
|
4696
|
-
if (!
|
|
4695
|
+
const bundleUrl = isRecord2(captured) ? captured.bundleUrl : null;
|
|
4696
|
+
if (!isRecord2(captured) || typeof bundleUrl !== "string" || !bundleUrl) {
|
|
4697
4697
|
throw new Error(
|
|
4698
4698
|
"send to box needs a simulator running an app: this one has no bundle loaded"
|
|
4699
4699
|
);
|
|
@@ -4709,7 +4709,7 @@ async function sendToBox(options) {
|
|
|
4709
4709
|
const storage = dumped;
|
|
4710
4710
|
const created = await createCloudBox({
|
|
4711
4711
|
bundlePath: toRNXProductionBundleUrl(bundleUrl),
|
|
4712
|
-
device: options.device ?? cloudDevice(
|
|
4712
|
+
device: options.device ?? cloudDevice(isRecord2(captured.deviceSpec) ? captured.deviceSpec.model : null),
|
|
4713
4713
|
authorization: options.authorization,
|
|
4714
4714
|
accountId: options.accountId,
|
|
4715
4715
|
apiOrigin: options.apiOrigin,
|
|
@@ -4986,22 +4986,9 @@ var import_promises = require("node:fs/promises");
|
|
|
4986
4986
|
var import_node_path = require("node:path");
|
|
4987
4987
|
|
|
4988
4988
|
// src/plist.ts
|
|
4989
|
-
var import_plist = __toESM(require("
|
|
4990
|
-
init_is_record();
|
|
4991
|
-
function resolvePlistParser(value) {
|
|
4992
|
-
if (!isRecord(value)) return null;
|
|
4993
|
-
const direct = value.parse;
|
|
4994
|
-
if (typeof direct === "function") {
|
|
4995
|
-
return (source) => Reflect.apply(direct, value, [source]);
|
|
4996
|
-
}
|
|
4997
|
-
const nested = value.default;
|
|
4998
|
-
if (!isRecord(nested)) return null;
|
|
4999
|
-
const nestedParse = nested.parse;
|
|
5000
|
-
return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
|
|
5001
|
-
}
|
|
5002
|
-
var parsePlist = resolvePlistParser(import_plist.default);
|
|
4989
|
+
var import_plist = __toESM(require("plist"), 1);
|
|
5003
4990
|
function parsePlistSource(source) {
|
|
5004
|
-
return
|
|
4991
|
+
return import_plist.default.parse(source);
|
|
5005
4992
|
}
|
|
5006
4993
|
|
|
5007
4994
|
// src/settings-bundle.ts
|
|
@@ -5010,7 +4997,7 @@ var MAX_CHILD_DEPTH = 8;
|
|
|
5010
4997
|
var MAX_PLIST_FILES = 32;
|
|
5011
4998
|
var MAX_SPECIFIERS = 512;
|
|
5012
4999
|
var settingsBundleCache = /* @__PURE__ */ new Map();
|
|
5013
|
-
function
|
|
5000
|
+
function isRecord(value) {
|
|
5014
5001
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5015
5002
|
}
|
|
5016
5003
|
function optionalString(value) {
|
|
@@ -5139,7 +5126,7 @@ async function parsePlistRecord(path18) {
|
|
|
5139
5126
|
if (!metadata.isFile() || metadata.size > MAX_PLIST_BYTES) return null;
|
|
5140
5127
|
const source = await (0, import_promises.readFile)(path18, "utf8");
|
|
5141
5128
|
const parsed = parsePlistSource(source);
|
|
5142
|
-
return
|
|
5129
|
+
return isRecord(parsed) ? parsed : null;
|
|
5143
5130
|
} catch {
|
|
5144
5131
|
return null;
|
|
5145
5132
|
}
|
|
@@ -5175,7 +5162,7 @@ function normalizeMultiValue(raw2, key, title) {
|
|
|
5175
5162
|
};
|
|
5176
5163
|
}
|
|
5177
5164
|
async function normalizeSpecifier(raw2, context) {
|
|
5178
|
-
if (!
|
|
5165
|
+
if (!isRecord(raw2)) return null;
|
|
5179
5166
|
if (context.budget.specifiers >= MAX_SPECIFIERS) return null;
|
|
5180
5167
|
const type = requiredString(raw2.Type);
|
|
5181
5168
|
if (!type) return null;
|
|
@@ -6123,7 +6110,7 @@ function swiftDistributionHost(platform, arch) {
|
|
|
6123
6110
|
}
|
|
6124
6111
|
var isStrings = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
6125
6112
|
function parseSwiftDistributionManifest(value) {
|
|
6126
|
-
if (!
|
|
6113
|
+
if (!isRecord2(value) || typeof value.id !== "string" || typeof value.release !== "string" || typeof value.wasmSdkId !== "string" || typeof value.wasmSdkUrl !== "string" || typeof value.wasmSdkChecksum !== "string" || !isStrings(value.modules) || !isStrings(value.objects) || !isStrings(value.link) || !isRecord2(value.files) || !Object.values(value.files).every((sha) => typeof sha === "string") || typeof value.host !== "string" || !isStrings(value.plugins)) {
|
|
6127
6114
|
throw new Error(`invalid Swift distribution ${SWIFT_DISTRIBUTION_MANIFEST}`);
|
|
6128
6115
|
}
|
|
6129
6116
|
const host2 = SWIFT_DISTRIBUTION_HOSTS.find((candidate) => candidate === value.host);
|
|
@@ -6145,13 +6132,13 @@ function parseSwiftDistributionManifest(value) {
|
|
|
6145
6132
|
};
|
|
6146
6133
|
}
|
|
6147
6134
|
function parseSwiftDistributionLock(value) {
|
|
6148
|
-
if (!
|
|
6135
|
+
if (!isRecord2(value) || typeof value.id !== "string" || !/^[a-f0-9]{16}$/.test(value.id) || typeof value.release !== "string" || typeof value.wasmSdkId !== "string" || typeof value.wasmSdkUrl !== "string" || typeof value.wasmSdkChecksum !== "string" || typeof value.source !== "string" || !isRecord2(value.hosts)) {
|
|
6149
6136
|
throw new Error("invalid Swift distribution lock");
|
|
6150
6137
|
}
|
|
6151
6138
|
const hosts = value.hosts;
|
|
6152
6139
|
const entry = (host2) => {
|
|
6153
6140
|
const item = hosts[host2];
|
|
6154
|
-
if (!
|
|
6141
|
+
if (!isRecord2(item) || typeof item.sha256 !== "string" || !/^[a-f0-9]{64}$/.test(item.sha256) || typeof item.size !== "number") {
|
|
6155
6142
|
throw new Error(`invalid Swift distribution lock entry for ${host2}`);
|
|
6156
6143
|
}
|
|
6157
6144
|
return { sha256: item.sha256, size: item.size };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -4714,8 +4714,8 @@ ${METRO_MODULE_PATHS_PREFIX}`);
|
|
|
4714
4714
|
if (moduleFooter < 0) return withoutExisting + footer;
|
|
4715
4715
|
return withoutExisting.slice(0, moduleFooter) + footer + withoutExisting.slice(moduleFooter);
|
|
4716
4716
|
}
|
|
4717
|
-
function plistString(
|
|
4718
|
-
const match =
|
|
4717
|
+
function plistString(plist2, key) {
|
|
4718
|
+
const match = plist2.match(new RegExp(`<key>${key}</key>\\s*<string>([^<]*)</string>`));
|
|
4719
4719
|
return match ? match[1].trim() : null;
|
|
4720
4720
|
}
|
|
4721
4721
|
function resolveBuildSetting(value, settings, depth = 0) {
|
|
@@ -4785,9 +4785,9 @@ function appTargetReleaseSettings(pbxproj, targetName, infoPlistRelativePath) {
|
|
|
4785
4785
|
candidates.push({ name: match[1], settings });
|
|
4786
4786
|
}
|
|
4787
4787
|
const plistMatch = (settings) => {
|
|
4788
|
-
const
|
|
4789
|
-
if (!
|
|
4790
|
-
const normalized =
|
|
4788
|
+
const plist2 = settings.INFOPLIST_FILE;
|
|
4789
|
+
if (!plist2) return false;
|
|
4790
|
+
const normalized = plist2.replace(/^"|"$/g, "");
|
|
4791
4791
|
return normalized === infoPlistRelativePath || infoPlistRelativePath.endsWith(`/${normalized}`) || normalized.endsWith(`/${infoPlistRelativePath}`);
|
|
4792
4792
|
};
|
|
4793
4793
|
const named = (settings) => resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings) === targetName;
|
|
@@ -4813,8 +4813,8 @@ function nativeAppIdentityFromIos(files, parseInfoPlist) {
|
|
|
4813
4813
|
const appDelegatePattern = /(?:^|\/)ios\/([^/]+)\/AppDelegate\.(?:swift|mm|m)$/;
|
|
4814
4814
|
const targetName = Object.keys(files).filter((path9) => !path9.includes("/Pods/")).map((path9) => path9.match(appDelegatePattern)?.[1]).find((name2) => name2 !== void 0 && applicationTargets.has(name2)) ?? null;
|
|
4815
4815
|
if (!targetName) return null;
|
|
4816
|
-
const
|
|
4817
|
-
if (!
|
|
4816
|
+
const plist2 = files[`ios/${targetName}/Info.plist`];
|
|
4817
|
+
if (!plist2) return null;
|
|
4818
4818
|
const settings = appTargetReleaseSettings(
|
|
4819
4819
|
pbxproj,
|
|
4820
4820
|
targetName,
|
|
@@ -4823,29 +4823,29 @@ function nativeAppIdentityFromIos(files, parseInfoPlist) {
|
|
|
4823
4823
|
if (!settings) return null;
|
|
4824
4824
|
const bundleIdentifier = identityFieldFrom(
|
|
4825
4825
|
settings,
|
|
4826
|
-
plistString(
|
|
4826
|
+
plistString(plist2, "CFBundleIdentifier"),
|
|
4827
4827
|
settings.PRODUCT_BUNDLE_IDENTIFIER
|
|
4828
4828
|
);
|
|
4829
4829
|
if (!bundleIdentifier) return null;
|
|
4830
4830
|
const appVersion = identityFieldFrom(
|
|
4831
4831
|
settings,
|
|
4832
|
-
plistString(
|
|
4832
|
+
plistString(plist2, "CFBundleShortVersionString"),
|
|
4833
4833
|
settings.MARKETING_VERSION
|
|
4834
4834
|
);
|
|
4835
4835
|
const buildVersion = identityFieldFrom(
|
|
4836
4836
|
settings,
|
|
4837
|
-
plistString(
|
|
4837
|
+
plistString(plist2, "CFBundleVersion"),
|
|
4838
4838
|
settings.CURRENT_PROJECT_VERSION
|
|
4839
4839
|
);
|
|
4840
4840
|
if (!appVersion || !buildVersion) return null;
|
|
4841
4841
|
const bundleName = identityFieldFrom(
|
|
4842
4842
|
settings,
|
|
4843
|
-
plistString(
|
|
4843
|
+
plistString(plist2, "CFBundleName"),
|
|
4844
4844
|
settings.PRODUCT_NAME
|
|
4845
4845
|
) ?? resolvedIdentityField(resolveBuildSetting(settings.PRODUCT_NAME ?? "", settings)) ?? resolvedIdentityField(targetName);
|
|
4846
4846
|
if (!bundleName) return null;
|
|
4847
|
-
const applicationName = identityFieldFrom(settings, plistString(
|
|
4848
|
-
const dictionary = parseInfoPlist(
|
|
4847
|
+
const applicationName = identityFieldFrom(settings, plistString(plist2, "CFBundleDisplayName"), void 0) ?? bundleName;
|
|
4848
|
+
const dictionary = parseInfoPlist(plist2);
|
|
4849
4849
|
if (!isRecord2(dictionary)) throw new Error("native app Info.plist is not a dictionary");
|
|
4850
4850
|
const permissionUsageDescriptions = {};
|
|
4851
4851
|
for (const [key, value] of Object.entries(dictionary)) {
|
|
@@ -4891,21 +4891,9 @@ var import_node_module2 = require("node:module");
|
|
|
4891
4891
|
var import_node_path6 = __toESM(require("node:path"), 1);
|
|
4892
4892
|
|
|
4893
4893
|
// src/plist.ts
|
|
4894
|
-
var import_plist = __toESM(require("
|
|
4895
|
-
function resolvePlistParser(value) {
|
|
4896
|
-
if (!isRecord(value)) return null;
|
|
4897
|
-
const direct = value.parse;
|
|
4898
|
-
if (typeof direct === "function") {
|
|
4899
|
-
return (source) => Reflect.apply(direct, value, [source]);
|
|
4900
|
-
}
|
|
4901
|
-
const nested = value.default;
|
|
4902
|
-
if (!isRecord(nested)) return null;
|
|
4903
|
-
const nestedParse = nested.parse;
|
|
4904
|
-
return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
|
|
4905
|
-
}
|
|
4906
|
-
var parsePlist = resolvePlistParser(import_plist.default);
|
|
4894
|
+
var import_plist = __toESM(require("plist"), 1);
|
|
4907
4895
|
function parsePlistSource(source) {
|
|
4908
|
-
return
|
|
4896
|
+
return import_plist.default.parse(source);
|
|
4909
4897
|
}
|
|
4910
4898
|
|
|
4911
4899
|
// src/native-firebase-config.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.723 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|