peachsim 0.1.1996 → 0.1.1999
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 +29 -26
- 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 +28 -25
- 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 +29 -26
- 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 +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 +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +31 -28
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- 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 +27 -24
- 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/inspect-visibility.d.ts +0 -1
- package/package.json +1 -1
- package/src/swift-objc-standin.ts +19 -18
- package/src/swift-standins.ts +8 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1999 | (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.1999 | (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.1999 | (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.1999 | (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;
|
|
@@ -7848,21 +7848,22 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
7848
7848
|
`original Objective-C declarations do not import as Swift: ${run5.stderr.trim() || run5.stdout.trim()}`
|
|
7849
7849
|
);
|
|
7850
7850
|
let progress = false;
|
|
7851
|
-
for (const [, shadowed, same] of run5.stderr.matchAll(
|
|
7852
|
-
/is not a member type of class '(\w+)\.(\w+)'/g
|
|
7853
|
-
))
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
)
|
|
7865
|
-
|
|
7851
|
+
for (const [, member, shadowed, same] of run5.stderr.matchAll(
|
|
7852
|
+
/'(\w+)' is not a member type of class '(\w+)\.(\w+)'/g
|
|
7853
|
+
)) {
|
|
7854
|
+
const reference = `${shadowed}.${member}`;
|
|
7855
|
+
if (shadowed !== same || selectors.has(reference)) continue;
|
|
7856
|
+
selectors.add(reference);
|
|
7857
|
+
progress = true;
|
|
7858
|
+
for (const file of interfaceCopies)
|
|
7859
|
+
import_node_fs7.default.writeFileSync(
|
|
7860
|
+
file,
|
|
7861
|
+
import_node_fs7.default.readFileSync(file, "utf8").replace(
|
|
7862
|
+
new RegExp(`\\b${shadowed}\\.${member}\\b`, "g"),
|
|
7863
|
+
`${shadowed}::${member}`
|
|
7864
|
+
)
|
|
7865
|
+
);
|
|
7866
|
+
}
|
|
7866
7867
|
const learn = (name3, kind) => {
|
|
7867
7868
|
if (missing.has(name3)) return;
|
|
7868
7869
|
missing.set(name3, kind);
|
|
@@ -16782,7 +16783,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
16782
16783
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16783
16784
|
var MULTI_MANIFEST_VERSION = 66;
|
|
16784
16785
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16785
|
-
var compilerSourceDigest = true ? "
|
|
16786
|
+
var compilerSourceDigest = true ? "c95b479af39888671bcbf0ac9be93ffed99df2a44864af96ae6ef002ac8d49b7" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
16786
16787
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16787
16788
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
16788
16789
|
hash.update(`swift-compile
|
|
@@ -29753,7 +29754,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
29753
29754
|
return hash.digest("hex");
|
|
29754
29755
|
}
|
|
29755
29756
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29756
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
29757
|
+
var STANDIN_SOURCE_DIGEST = true ? "b61936e7dc903ba6b3d09d28a7b101a5af522afea03a6a9c9e7c18c875f894e1" : standinSourceDigest();
|
|
29757
29758
|
|
|
29758
29759
|
// src/swift-standins.ts
|
|
29759
29760
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -30717,7 +30718,9 @@ function binaryHeaderSearchPaths(binary, root, declaredFrameworks) {
|
|
|
30717
30718
|
"Modules"
|
|
30718
30719
|
);
|
|
30719
30720
|
import_node_fs46.default.mkdirSync(modules, { recursive: true });
|
|
30720
|
-
|
|
30721
|
+
const modulemap = import_node_path47.default.join(modules, "module.modulemap");
|
|
30722
|
+
import_node_fs46.default.rmSync(modulemap, { force: true });
|
|
30723
|
+
import_node_fs46.default.copyFileSync(surface.modulemap, modulemap);
|
|
30721
30724
|
}
|
|
30722
30725
|
}
|
|
30723
30726
|
for (const [index, directory] of headers.entries()) {
|
|
@@ -30731,11 +30734,11 @@ function binaryHeaderSearchPaths(binary, root, declaredFrameworks) {
|
|
|
30731
30734
|
const surface = found.find(
|
|
30732
30735
|
(item) => "headers" in item && item.headers === directory
|
|
30733
30736
|
);
|
|
30734
|
-
if (surface && "modulemap" in surface)
|
|
30735
|
-
|
|
30736
|
-
|
|
30737
|
-
|
|
30738
|
-
|
|
30737
|
+
if (surface && "modulemap" in surface) {
|
|
30738
|
+
const modulemap = import_node_path47.default.join(pending, "headers", String(index), "module.modulemap");
|
|
30739
|
+
import_node_fs46.default.rmSync(modulemap, { force: true });
|
|
30740
|
+
import_node_fs46.default.copyFileSync(surface.modulemap, modulemap);
|
|
30741
|
+
}
|
|
30739
30742
|
}
|
|
30740
30743
|
const contents = (0, import_node_crypto24.createHash)("sha256");
|
|
30741
30744
|
for (const relative2 of import_node_fs46.default.readdirSync(pending, { recursive: true, encoding: "utf8" }).sort()) {
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1999 | (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.1999 | (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;
|
|
@@ -12,7 +12,6 @@ export interface InspectOcclusionEntry<T> {
|
|
|
12
12
|
subtreeEnd?: number;
|
|
13
13
|
}
|
|
14
14
|
export declare function parseNumberish(value: unknown): number | null;
|
|
15
|
-
export declare function hasNonTranslateTransform(style: Record<string, unknown>): boolean;
|
|
16
15
|
export declare function intersectInspectRects(a: InspectOcclusionRect, b: InspectOcclusionRect): InspectOcclusionRect | null;
|
|
17
16
|
export declare function overlapRect(a: InspectOcclusionRect, b: InspectOcclusionRect): InspectOcclusionRect | null;
|
|
18
17
|
export declare function subtractRect(source: InspectOcclusionRect, cover: InspectOcclusionRect): InspectOcclusionRect[];
|
package/package.json
CHANGED
|
@@ -756,24 +756,25 @@ export function objcView(
|
|
|
756
756
|
)
|
|
757
757
|
let progress = false
|
|
758
758
|
// a class named like its module shadows the module qualifier, which a module selector
|
|
759
|
-
// still reaches
|
|
760
|
-
for (const [, shadowed, same] of run.stderr.matchAll(
|
|
761
|
-
/is not a member type of class '(\w+)\.(\w+)'/g,
|
|
762
|
-
))
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
759
|
+
// still reaches; only the member names swiftc rejects are rewritten
|
|
760
|
+
for (const [, member, shadowed, same] of run.stderr.matchAll(
|
|
761
|
+
/'(\w+)' is not a member type of class '(\w+)\.(\w+)'/g,
|
|
762
|
+
)) {
|
|
763
|
+
const reference = `${shadowed}.${member}`
|
|
764
|
+
if (shadowed !== same || selectors.has(reference)) continue
|
|
765
|
+
selectors.add(reference)
|
|
766
|
+
progress = true
|
|
767
|
+
for (const file of interfaceCopies)
|
|
768
|
+
fs.writeFileSync(
|
|
769
|
+
file,
|
|
770
|
+
fs
|
|
771
|
+
.readFileSync(file, 'utf8')
|
|
772
|
+
.replace(
|
|
773
|
+
new RegExp(`\\b${shadowed}\\.${member}\\b`, 'g'),
|
|
774
|
+
`${shadowed}::${member}`,
|
|
775
|
+
),
|
|
776
|
+
)
|
|
777
|
+
}
|
|
777
778
|
const learn = (name: string, kind: 'class' | 'protocol' | 'struct' | 'macro') => {
|
|
778
779
|
if (missing.has(name)) return
|
|
779
780
|
missing.set(name, kind)
|
package/src/swift-standins.ts
CHANGED
|
@@ -510,7 +510,9 @@ export function binaryHeaderSearchPaths(
|
|
|
510
510
|
'Modules',
|
|
511
511
|
)
|
|
512
512
|
fs.mkdirSync(modules, { recursive: true })
|
|
513
|
-
|
|
513
|
+
const modulemap = path.join(modules, 'module.modulemap')
|
|
514
|
+
fs.rmSync(modulemap, { force: true })
|
|
515
|
+
fs.copyFileSync(surface.modulemap, modulemap)
|
|
514
516
|
}
|
|
515
517
|
}
|
|
516
518
|
for (const [index, directory] of headers.entries()) {
|
|
@@ -530,11 +532,11 @@ export function binaryHeaderSearchPaths(
|
|
|
530
532
|
const surface = found.find(
|
|
531
533
|
(item) => 'headers' in item && item.headers === directory,
|
|
532
534
|
)
|
|
533
|
-
if (surface && 'modulemap' in surface)
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
535
|
+
if (surface && 'modulemap' in surface) {
|
|
536
|
+
const modulemap = path.join(pending, 'headers', String(index), 'module.modulemap')
|
|
537
|
+
fs.rmSync(modulemap, { force: true })
|
|
538
|
+
fs.copyFileSync(surface.modulemap, modulemap)
|
|
539
|
+
}
|
|
538
540
|
}
|
|
539
541
|
const contents = createHash('sha256')
|
|
540
542
|
for (const relative of fs
|