peachsim 0.1.2399 → 0.1.2400
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/cli/outbound-endpoints.ts +5 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.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/bundle-channel.cjs +23 -16
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +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/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +22 -15
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +23 -16
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- 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/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +23 -16
- 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 +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/capture/browserAccessibilityContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +2 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +30 -22
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -2850,7 +2850,7 @@ var require_lib = __commonJS({
|
|
|
2850
2850
|
var runtime_companion_default;
|
|
2851
2851
|
var init_runtime_companion = __esm({
|
|
2852
2852
|
"runtime-companion.json"() {
|
|
2853
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2853
|
+
runtime_companion_default = { abi: 1, sha256: "658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85", file: "node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs" };
|
|
2854
2854
|
}
|
|
2855
2855
|
});
|
|
2856
2856
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2400 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85","file":"node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs"}
|
package/src/expo-swift-host.ts
CHANGED
|
@@ -498,14 +498,7 @@ function cloneNativeTarget(target: SwiftNativeTarget): SwiftNativeTarget {
|
|
|
498
498
|
// a podspec without a platform declaration is available everywhere; otherwise
|
|
499
499
|
// only the platforms it names are, through platforms, platform or a
|
|
500
500
|
// per-platform deployment target. ruby beyond those literals is not evaluated.
|
|
501
|
-
function podSupportsIOS(
|
|
502
|
-
if (
|
|
503
|
-
!isRecord(pod) ||
|
|
504
|
-
typeof pod.podName !== 'string' ||
|
|
505
|
-
typeof pod.podspecDir !== 'string'
|
|
506
|
-
)
|
|
507
|
-
throw new Error('invalid Expo autolinking pod')
|
|
508
|
-
const base = path.join(pod.podspecDir, pod.podName)
|
|
501
|
+
function podSupportsIOS(base: string): boolean {
|
|
509
502
|
if (fs.existsSync(`${base}.podspec.json`)) {
|
|
510
503
|
const platforms: unknown = JSON.parse(
|
|
511
504
|
fs.readFileSync(`${base}.podspec.json`, 'utf8'),
|
|
@@ -1492,13 +1485,27 @@ async function collectExpoSwiftSourcesUncached(
|
|
|
1492
1485
|
resolution && typeof resolution === 'object'
|
|
1493
1486
|
? Reflect.get(resolution, 'modules')
|
|
1494
1487
|
: null
|
|
1495
|
-
const
|
|
1488
|
+
const resolvedPods =
|
|
1496
1489
|
resolution && typeof resolution === 'object'
|
|
1497
1490
|
? Reflect.get(resolution, 'pods')
|
|
1498
1491
|
: null
|
|
1492
|
+
const pods = Array.isArray(resolvedPods)
|
|
1493
|
+
? resolvedPods.map((pod: unknown) => {
|
|
1494
|
+
if (
|
|
1495
|
+
!isRecord(pod) ||
|
|
1496
|
+
typeof pod.podName !== 'string' ||
|
|
1497
|
+
typeof pod.podspecDir !== 'string'
|
|
1498
|
+
)
|
|
1499
|
+
throw new Error('invalid Expo autolinking pod')
|
|
1500
|
+
return {
|
|
1501
|
+
base: path.join(pod.podspecDir, pod.podName),
|
|
1502
|
+
namespace: pod.podName.replace(/[^a-zA-Z0-9]/g, '_'),
|
|
1503
|
+
}
|
|
1504
|
+
})
|
|
1505
|
+
: []
|
|
1499
1506
|
// expo links a package into an iOS target only when one of its pods
|
|
1500
1507
|
// supports iOS (autolinking_manager.rb packages_to_generate).
|
|
1501
|
-
if (
|
|
1508
|
+
if (pods.length > 0 && !pods.some((pod) => podSupportsIOS(pod.base))) {
|
|
1502
1509
|
report(`${packageName} was not linked: no pod supports iOS`)
|
|
1503
1510
|
continue
|
|
1504
1511
|
}
|
|
@@ -1510,8 +1517,7 @@ async function collectExpoSwiftSourcesUncached(
|
|
|
1510
1517
|
const subscriberNames = delegateNames('appDelegateSubscribers')
|
|
1511
1518
|
const handlerNames = delegateNames('reactDelegateHandlers')
|
|
1512
1519
|
// a package with pods is rediscovered in the prepared workspace, which has no caps.
|
|
1513
|
-
const deferredToWorkspace =
|
|
1514
|
-
prepareNative && !installedWorkspace && Array.isArray(pods) && pods.length > 0
|
|
1520
|
+
const deferredToWorkspace = prepareNative && !installedWorkspace && pods.length > 0
|
|
1515
1521
|
const dependencyOnly =
|
|
1516
1522
|
answered ||
|
|
1517
1523
|
((!Array.isArray(modules) || modules.length === 0) &&
|
|
@@ -1783,12 +1789,13 @@ async function collectExpoSwiftSourcesUncached(
|
|
|
1783
1789
|
}
|
|
1784
1790
|
// a module compiled from its own source declares its iOS floor in its
|
|
1785
1791
|
// podspec; CocoaPods builds the pod at that floor.
|
|
1786
|
-
const
|
|
1787
|
-
?
|
|
1788
|
-
|
|
1789
|
-
const podspecText =
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
+
const pod =
|
|
1793
|
+
pods.length === 1 ? pods[0] : pods.find((pod) => pod.namespace === namespace)
|
|
1794
|
+
const podspec = pod ? `${pod.base}.podspec` : null
|
|
1795
|
+
const podspecText =
|
|
1796
|
+
podspec && fs.existsSync(podspec)
|
|
1797
|
+
? fs.readFileSync(resolveSource(podspec), 'utf8')
|
|
1798
|
+
: null
|
|
1792
1799
|
const usesReact = Boolean(
|
|
1793
1800
|
!installed &&
|
|
1794
1801
|
podspecText &&
|
|
@@ -1797,7 +1804,7 @@ async function collectExpoSwiftSourcesUncached(
|
|
|
1797
1804
|
),
|
|
1798
1805
|
)
|
|
1799
1806
|
const absentFrameworks: string[] = []
|
|
1800
|
-
if (podspecText && !installed) {
|
|
1807
|
+
if (podspec && podspecText && !installed) {
|
|
1801
1808
|
// the declared paths are read as written; podspec Ruby beyond literal
|
|
1802
1809
|
// strings is not evaluated, as with the floor below.
|
|
1803
1810
|
const declared = [
|
|
@@ -1810,7 +1817,8 @@ async function collectExpoSwiftSourcesUncached(
|
|
|
1810
1817
|
),
|
|
1811
1818
|
)
|
|
1812
1819
|
for (const entry of declared) {
|
|
1813
|
-
const
|
|
1820
|
+
const declaredPath = path.resolve(path.dirname(podspec), entry)
|
|
1821
|
+
const base = path.dirname(declaredPath)
|
|
1814
1822
|
const name = new RegExp(
|
|
1815
1823
|
`^${path
|
|
1816
1824
|
.basename(entry)
|
|
@@ -1821,7 +1829,7 @@ async function collectExpoSwiftSourcesUncached(
|
|
|
1821
1829
|
? fs.readdirSync(base).filter((child) => name.test(child))
|
|
1822
1830
|
: []
|
|
1823
1831
|
if (found.length === 0)
|
|
1824
|
-
absentFrameworks.push(path.relative(appRoot,
|
|
1832
|
+
absentFrameworks.push(path.relative(appRoot, declaredPath))
|
|
1825
1833
|
for (const child of found) frameworks.add(resolveSource(path.join(base, child)))
|
|
1826
1834
|
}
|
|
1827
1835
|
}
|
|
@@ -1882,7 +1890,7 @@ async function collectExpoSwiftSourcesUncached(
|
|
|
1882
1890
|
module.registration !== null &&
|
|
1883
1891
|
configuredExpoSwiftModule(closure, module.name, module.nativeName, appConfig)
|
|
1884
1892
|
if (configured && !module.subscriber && !module.handler) continue
|
|
1885
|
-
if (
|
|
1893
|
+
if (pods.length > 0) needsNativeWorkspace = true
|
|
1886
1894
|
const unit: ExpoSwiftSourceUnit = {
|
|
1887
1895
|
namespace,
|
|
1888
1896
|
moduleId: `${namespace}.${module.name}`,
|