peachsim 0.1.1976 → 0.1.1978
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/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 +13 -3
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +11 -3
- 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 +13 -3
- 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 +1 -1
- 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 +1 -1
- 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 +13 -3
- 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/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/animated-driven-style.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/visible-frame.d.ts +5 -0
- package/package.json +1 -1
- package/src/expo-swift-host.ts +12 -1
- package/src/podspec-sources.ts +2 -0
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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;
|
|
@@ -64309,7 +64309,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
64309
64309
|
init_swift_native_pin();
|
|
64310
64310
|
init_xcode_project();
|
|
64311
64311
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64312
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
64312
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "f90ae0c677af73a61bbcfab75e5af9dbfa9d67bf02b9a8e619d0974c8297742f" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64313
64313
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64314
64314
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
64315
64315
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -75998,6 +75998,8 @@ var init_podspec_sources = __esm({
|
|
|
75998
75998
|
return this.fail(`is_a?(${kind})`);
|
|
75999
75999
|
}
|
|
76000
76000
|
const recv = this.ev(scope2, node.recv);
|
|
76001
|
+
if (recv instanceof Spec && node.name === "name" && node.args.length === 0)
|
|
76002
|
+
return recv.attrs.get("name") ?? null;
|
|
76001
76003
|
const last = node.args[node.args.length - 1];
|
|
76002
76004
|
const block2 = node.block ?? (last?.k === "blockpass" ? {
|
|
76003
76005
|
params: ["item"],
|
|
@@ -79393,6 +79395,10 @@ function enrichInstalledUnits(units, installed2, namespaceGroups, provided, modu
|
|
|
79393
79395
|
).filter((target) => !target.path.startsWith(`${SWIFT_STANDINS_DIR}/`));
|
|
79394
79396
|
const targetByName = new Map(installedTargets.map((target) => [target.name, target]));
|
|
79395
79397
|
const importedTargets = swiftTargetDependencies(input.files, installedTargets);
|
|
79398
|
+
const sourceImports = swiftTargetDependencies(
|
|
79399
|
+
input.files,
|
|
79400
|
+
installedTargets.map((target) => ({ ...target, dependencies: void 0 }))
|
|
79401
|
+
);
|
|
79396
79402
|
const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length);
|
|
79397
79403
|
const map2 = (file) => {
|
|
79398
79404
|
const target = byPath.find(
|
|
@@ -79430,7 +79436,11 @@ function enrichInstalledUnits(units, installed2, namespaceGroups, provided, modu
|
|
|
79430
79436
|
const dependency = targetByName.get(name3);
|
|
79431
79437
|
if (!dependency) return;
|
|
79432
79438
|
included.add(name3);
|
|
79433
|
-
for (const name4 of importedTargets.get(dependency.name) ?? [])
|
|
79439
|
+
for (const name4 of importedTargets.get(dependency.name) ?? []) {
|
|
79440
|
+
if (name4 === "ReactCodegen" && !sourceImports.get(dependency.name)?.includes(name4))
|
|
79441
|
+
continue;
|
|
79442
|
+
visit3(name4);
|
|
79443
|
+
}
|
|
79434
79444
|
};
|
|
79435
79445
|
for (const name3 of namespaceGroups.get(unit2.namespace) ?? [unit2.namespace])
|
|
79436
79446
|
visit3(name3, true);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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.1978 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1978 | (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;
|
|
@@ -25,6 +25,7 @@ export declare const SCREEN_TRANSITION_LEASE_FAMILY = "screen-transition";
|
|
|
25
25
|
export declare function animatedDrivenStyleOwnerKey(owner: AnimatedDrivenStyleLeaseOwner): string;
|
|
26
26
|
export declare function setAnimatedDrivenStyleActiveWriterProbe(probe: (node: object, key: string) => boolean): void;
|
|
27
27
|
export declare function getAnimatedDrivenStyleActiveWriter(node: object, key: string): boolean | null;
|
|
28
|
+
export declare function registerMergedAnimatedStyle(merged: object, layers: readonly object[]): void;
|
|
28
29
|
export declare function markLiveAnimatedStyle(style: unknown): void;
|
|
29
30
|
export declare function clearLiveAnimatedStyle(style: unknown): void;
|
|
30
31
|
export declare function hasAnyLiveAnimatedStyle(): boolean;
|
|
@@ -15,6 +15,10 @@ export interface VisibleFrameQuery {
|
|
|
15
15
|
hiddenChains: Map<SootSimNode, SootSimNode | null>;
|
|
16
16
|
backgroundVisibleModalChains: Map<SootSimNode, boolean>;
|
|
17
17
|
paintedRects: Map<SootSimNode, InspectOcclusionRect>;
|
|
18
|
+
presentationShifts: Map<SootSimNode, {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
}>;
|
|
18
22
|
visibleFrames: Map<SootSimNode, VisibleFrame & {
|
|
19
23
|
area: number;
|
|
20
24
|
}>;
|
|
@@ -39,6 +43,7 @@ export interface VisibleFrameOptions {
|
|
|
39
43
|
explain?: boolean;
|
|
40
44
|
}
|
|
41
45
|
export declare function nodeClipsDescendants(node: SootSimNode): boolean;
|
|
46
|
+
export declare function getPaintRect(node: SootSimNode, query: VisibleFrameQuery): InspectOcclusionRect;
|
|
42
47
|
export declare function getClippedOccluderRect(node: SootSimNode, root: SootSimNode, query: VisibleFrameQuery): InspectOcclusionRect | null;
|
|
43
48
|
export declare function inspectPaintChildren(node: SootSimNode): import("./node.d.ts").SootSimChild[];
|
|
44
49
|
export declare function getNodeVisibleFrame(node: SootSimNode, abs: {
|
package/package.json
CHANGED
package/src/expo-swift-host.ts
CHANGED
|
@@ -682,6 +682,10 @@ function enrichInstalledUnits(
|
|
|
682
682
|
).filter((target) => !target.path.startsWith(`${SWIFT_STANDINS_DIR}/`))
|
|
683
683
|
const targetByName = new Map(installedTargets.map((target) => [target.name, target]))
|
|
684
684
|
const importedTargets = swiftTargetDependencies(input.files, installedTargets)
|
|
685
|
+
const sourceImports = swiftTargetDependencies(
|
|
686
|
+
input.files,
|
|
687
|
+
installedTargets.map((target) => ({ ...target, dependencies: undefined })),
|
|
688
|
+
)
|
|
685
689
|
const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length)
|
|
686
690
|
const map = (file: string) => {
|
|
687
691
|
const target = byPath.find(
|
|
@@ -729,7 +733,14 @@ function enrichInstalledUnits(
|
|
|
729
733
|
const dependency = targetByName.get(name)
|
|
730
734
|
if (!dependency) return
|
|
731
735
|
included.add(name)
|
|
732
|
-
for (const name of importedTargets.get(dependency.name) ?? [])
|
|
736
|
+
for (const name of importedTargets.get(dependency.name) ?? []) {
|
|
737
|
+
if (
|
|
738
|
+
name === 'ReactCodegen' &&
|
|
739
|
+
!sourceImports.get(dependency.name)?.includes(name)
|
|
740
|
+
)
|
|
741
|
+
continue
|
|
742
|
+
visit(name)
|
|
743
|
+
}
|
|
733
744
|
}
|
|
734
745
|
for (const name of namespaceGroups.get(unit.namespace) ?? [unit.namespace])
|
|
735
746
|
visit(name, true)
|
package/src/podspec-sources.ts
CHANGED
|
@@ -1136,6 +1136,8 @@ class Evaluator {
|
|
|
1136
1136
|
return this.fail(`is_a?(${kind})`)
|
|
1137
1137
|
}
|
|
1138
1138
|
const recv = this.ev(scope, node.recv)
|
|
1139
|
+
if (recv instanceof Spec && node.name === 'name' && node.args.length === 0)
|
|
1140
|
+
return recv.attrs.get('name') ?? null
|
|
1139
1141
|
const last = node.args[node.args.length - 1]
|
|
1140
1142
|
const block: Block | undefined =
|
|
1141
1143
|
node.block ??
|