peachsim 0.1.2304 → 0.1.2305
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/commands/daemon.ts +31 -9
- 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 +45 -49
- 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 +43 -47
- 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 +45 -49
- package/dist-lib/host/fetch-proxy-handler.cjs +12 -3
- 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 +12 -3
- 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 +12 -3
- 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 +61 -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 +61 -53
- 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 +2 -2
- package/dist-lib/vite.cjs +12 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +0 -5
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +3 -0
- package/java-platform/licenses/fdlibm.txt +3 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-native-workspace.ts +3 -23
- package/src/git-repo-env.ts +27 -0
- package/src/swift-packages.ts +4 -20
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2305 | (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;
|
|
@@ -34953,6 +34953,38 @@ var init_expo_workspace_exclusion = __esm({
|
|
|
34953
34953
|
}
|
|
34954
34954
|
});
|
|
34955
34955
|
|
|
34956
|
+
// src/git-repo-env.ts
|
|
34957
|
+
function withoutGitRepositoryEnv(source = process.env) {
|
|
34958
|
+
const env = { ...source };
|
|
34959
|
+
for (const key2 of GIT_REPOSITORY_ENV_KEYS) {
|
|
34960
|
+
delete env[key2];
|
|
34961
|
+
}
|
|
34962
|
+
return env;
|
|
34963
|
+
}
|
|
34964
|
+
var GIT_REPOSITORY_ENV_KEYS;
|
|
34965
|
+
var init_git_repo_env = __esm({
|
|
34966
|
+
"src/git-repo-env.ts"() {
|
|
34967
|
+
"use strict";
|
|
34968
|
+
GIT_REPOSITORY_ENV_KEYS = [
|
|
34969
|
+
"GIT_DIR",
|
|
34970
|
+
"GIT_COMMON_DIR",
|
|
34971
|
+
"GIT_WORK_TREE",
|
|
34972
|
+
"GIT_INDEX_FILE",
|
|
34973
|
+
"GIT_OBJECT_DIRECTORY",
|
|
34974
|
+
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
34975
|
+
"GIT_PREFIX",
|
|
34976
|
+
"GIT_SHALLOW_FILE",
|
|
34977
|
+
"GIT_GRAFT_FILE",
|
|
34978
|
+
"GIT_NAMESPACE",
|
|
34979
|
+
"GIT_IMPLICIT_WORK_TREE",
|
|
34980
|
+
"GIT_CONFIG",
|
|
34981
|
+
"GIT_CEILING_DIRECTORIES",
|
|
34982
|
+
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
34983
|
+
"GIT_SUPER_PREFIX"
|
|
34984
|
+
];
|
|
34985
|
+
}
|
|
34986
|
+
});
|
|
34987
|
+
|
|
34956
34988
|
// src/native-failure-output.ts
|
|
34957
34989
|
function saveFailedOutput(command, cwd, output2) {
|
|
34958
34990
|
const directory2 = import_node_path19.default.join(cacheDir(), "native-prepare-failures");
|
|
@@ -65275,27 +65307,7 @@ var init_workspace_root = __esm({
|
|
|
65275
65307
|
|
|
65276
65308
|
// src/expo-native-workspace.ts
|
|
65277
65309
|
function cleanWorkspaceGitEnv() {
|
|
65278
|
-
|
|
65279
|
-
for (const key2 of [
|
|
65280
|
-
"GIT_DIR",
|
|
65281
|
-
"GIT_COMMON_DIR",
|
|
65282
|
-
"GIT_WORK_TREE",
|
|
65283
|
-
"GIT_INDEX_FILE",
|
|
65284
|
-
"GIT_OBJECT_DIRECTORY",
|
|
65285
|
-
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
65286
|
-
"GIT_PREFIX",
|
|
65287
|
-
"GIT_SHALLOW_FILE",
|
|
65288
|
-
"GIT_GRAFT_FILE",
|
|
65289
|
-
"GIT_NAMESPACE",
|
|
65290
|
-
"GIT_IMPLICIT_WORK_TREE",
|
|
65291
|
-
"GIT_CONFIG",
|
|
65292
|
-
"GIT_CEILING_DIRECTORIES",
|
|
65293
|
-
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
65294
|
-
"GIT_SUPER_PREFIX"
|
|
65295
|
-
]) {
|
|
65296
|
-
delete env[key2];
|
|
65297
|
-
}
|
|
65298
|
-
return { ...env, ...isolatedGitEnv };
|
|
65310
|
+
return { ...withoutGitRepositoryEnv(), ...isolatedGitEnv };
|
|
65299
65311
|
}
|
|
65300
65312
|
function reactNativePodsEnvironment() {
|
|
65301
65313
|
return {
|
|
@@ -65998,8 +66010,7 @@ async function runAdmitted(lease, command, args, cwd, extraEnv) {
|
|
|
65998
66010
|
{
|
|
65999
66011
|
cwd,
|
|
66000
66012
|
env: {
|
|
66001
|
-
...
|
|
66002
|
-
...isolatedGitEnv,
|
|
66013
|
+
...cleanWorkspaceGitEnv(),
|
|
66003
66014
|
EXPO_NO_TELEMETRY: "1",
|
|
66004
66015
|
LANG: "en_US.UTF-8",
|
|
66005
66016
|
LC_ALL: "en_US.UTF-8",
|
|
@@ -66037,6 +66048,7 @@ var init_expo_native_workspace = __esm({
|
|
|
66037
66048
|
init_detect();
|
|
66038
66049
|
init_admitted_mac_build();
|
|
66039
66050
|
init_expo_workspace_exclusion();
|
|
66051
|
+
init_git_repo_env();
|
|
66040
66052
|
init_home_paths();
|
|
66041
66053
|
init_native_failure_output();
|
|
66042
66054
|
init_native_git();
|
|
@@ -66625,7 +66637,7 @@ var init_swift_standin_digest = __esm({
|
|
|
66625
66637
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
66626
66638
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
66627
66639
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
66628
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
66640
|
+
STANDIN_SOURCE_DIGEST = true ? "c966f6f04b2d8f65009c3eb2db2a2a55ee09bd8540da3797fb0eabe22c59a351" : standinSourceDigest();
|
|
66629
66641
|
}
|
|
66630
66642
|
});
|
|
66631
66643
|
|
|
@@ -67104,7 +67116,7 @@ __export(expo_native_prebuilt_exports, {
|
|
|
67104
67116
|
servedExpoSwift: () => servedExpoSwift
|
|
67105
67117
|
});
|
|
67106
67118
|
function expoNativeCompilerDigestValue() {
|
|
67107
|
-
return true ? "
|
|
67119
|
+
return true ? "a17d67355c6425b1af01174e300cd39b630bb0a2950d81a6827a6520170700aa" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
67108
67120
|
}
|
|
67109
67121
|
function readSources(value) {
|
|
67110
67122
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -68090,27 +68102,10 @@ async function fetchCheckout(checkouts, identity2, pin2, signal) {
|
|
|
68090
68102
|
if (preparedSwiftPin(checkouts, identity2, pin2.location, pin2.revision)) return;
|
|
68091
68103
|
requireNativeGit();
|
|
68092
68104
|
const key2 = checkoutKey(dir, pin2);
|
|
68093
|
-
const gitEnv = {
|
|
68094
|
-
|
|
68095
|
-
"
|
|
68096
|
-
|
|
68097
|
-
"GIT_WORK_TREE",
|
|
68098
|
-
"GIT_INDEX_FILE",
|
|
68099
|
-
"GIT_OBJECT_DIRECTORY",
|
|
68100
|
-
"GIT_ALTERNATE_OBJECT_DIRECTORIES",
|
|
68101
|
-
"GIT_PREFIX",
|
|
68102
|
-
"GIT_SHALLOW_FILE",
|
|
68103
|
-
"GIT_GRAFT_FILE",
|
|
68104
|
-
"GIT_NAMESPACE",
|
|
68105
|
-
"GIT_IMPLICIT_WORK_TREE",
|
|
68106
|
-
"GIT_CONFIG",
|
|
68107
|
-
"GIT_CEILING_DIRECTORIES",
|
|
68108
|
-
"GIT_DISCOVERY_ACROSS_FILESYSTEM",
|
|
68109
|
-
"GIT_SUPER_PREFIX"
|
|
68110
|
-
]) {
|
|
68111
|
-
delete gitEnv[name3];
|
|
68112
|
-
}
|
|
68113
|
-
gitEnv.GIT_TERMINAL_PROMPT = "0";
|
|
68105
|
+
const gitEnv = {
|
|
68106
|
+
...withoutGitRepositoryEnv(),
|
|
68107
|
+
GIT_TERMINAL_PROMPT: "0"
|
|
68108
|
+
};
|
|
68114
68109
|
const git = async (cwd, ...args) => (await execFileAsync2("git", ["-C", cwd, ...args], {
|
|
68115
68110
|
encoding: "utf8",
|
|
68116
68111
|
env: gitEnv,
|
|
@@ -68718,6 +68713,7 @@ var init_swift_packages = __esm({
|
|
|
68718
68713
|
import_node_path71 = __toESM(require("node:path"), 1);
|
|
68719
68714
|
import_promises7 = require("node:timers/promises");
|
|
68720
68715
|
import_node_util13 = require("node:util");
|
|
68716
|
+
init_git_repo_env();
|
|
68721
68717
|
init_home_paths();
|
|
68722
68718
|
init_native_git();
|
|
68723
68719
|
init_numbered_lock();
|
|
@@ -88959,7 +88955,7 @@ var init_nitro_superset = __esm({
|
|
|
88959
88955
|
init_nitroContract();
|
|
88960
88956
|
init_swift_standin_digest();
|
|
88961
88957
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
88962
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
88958
|
+
NITRO_COMPILER_DIGEST = true ? "9bb0e02e20ee1facd9f4347701f5cb7f4df21261355482e06fffcac3270d983c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
88963
88959
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
88964
88960
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
88965
88961
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -89668,7 +89664,7 @@ var init_one_sdk_bundle = __esm({
|
|
|
89668
89664
|
var runtime_companion_default;
|
|
89669
89665
|
var init_runtime_companion = __esm({
|
|
89670
89666
|
"runtime-companion.json"() {
|
|
89671
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
89667
|
+
runtime_companion_default = { abi: 1, sha256: "0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d", file: "node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs" };
|
|
89672
89668
|
}
|
|
89673
89669
|
});
|
|
89674
89670
|
|
|
@@ -116695,6 +116691,11 @@ function serveArgs(invocation) {
|
|
|
116695
116691
|
return [...invocation.prefixArgs, "serve"];
|
|
116696
116692
|
}
|
|
116697
116693
|
function macProcessRunsServe(pid, invocation) {
|
|
116694
|
+
const launch2 = macProcessArgs(pid);
|
|
116695
|
+
if (launch2 === null || !serveArgs(invocation).every((arg, index) => launch2.args[index + 1] === arg))
|
|
116696
|
+
return false;
|
|
116697
|
+
if (launch2.executable.startsWith("/") && sameExecutable(invocation, launch2.executable))
|
|
116698
|
+
return true;
|
|
116698
116699
|
const files2 = (0, import_child_process7.spawnSync)(LSOF, ["-nP", "-a", "-p", String(pid), "-d", "txt", "-FDi"], {
|
|
116699
116700
|
encoding: "utf8"
|
|
116700
116701
|
});
|
|
@@ -116705,9 +116706,15 @@ function macProcessRunsServe(pid, invocation) {
|
|
|
116705
116706
|
else if (line.startsWith("i") && sameFile(invocation.executable, device, BigInt(line.slice(1))))
|
|
116706
116707
|
runsExecutable = true;
|
|
116707
116708
|
}
|
|
116708
|
-
|
|
116709
|
-
|
|
116710
|
-
|
|
116709
|
+
return runsExecutable;
|
|
116710
|
+
}
|
|
116711
|
+
function sameExecutable(invocation, path144) {
|
|
116712
|
+
try {
|
|
116713
|
+
const stats = (0, import_fs10.statSync)(path144, { bigint: true });
|
|
116714
|
+
return sameFile(invocation.executable, stats.dev, stats.ino);
|
|
116715
|
+
} catch {
|
|
116716
|
+
return false;
|
|
116717
|
+
}
|
|
116711
116718
|
}
|
|
116712
116719
|
function macProcessArgs(pid) {
|
|
116713
116720
|
const int32 = (value) => {
|
|
@@ -116740,12 +116747,13 @@ ObjC.unwrap(size.base64EncodedStringWithOptions(0)) + ' ' + ObjC.unwrap(out.base
|
|
|
116740
116747
|
Number(Buffer.from(length, "base64").readBigUInt64LE())
|
|
116741
116748
|
);
|
|
116742
116749
|
const argc = buffer.readInt32LE(0);
|
|
116750
|
+
const executable = buffer.toString("utf8", 4, buffer.indexOf(0, 4));
|
|
116743
116751
|
let at = buffer.indexOf(0, 4);
|
|
116744
116752
|
while (buffer[at] === 0) at++;
|
|
116745
116753
|
const args = [];
|
|
116746
116754
|
for (; args.length < argc; at = buffer.indexOf(0, at) + 1)
|
|
116747
116755
|
args.push(buffer.toString("utf8", at, buffer.indexOf(0, at)));
|
|
116748
|
-
return args;
|
|
116756
|
+
return { executable, args };
|
|
116749
116757
|
}
|
|
116750
116758
|
async function stopMacDaemonBridge(invocation, target = macServiceTarget()) {
|
|
116751
116759
|
const service = target === null ? null : readMacDaemonState(target);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2305 | (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.2305 | (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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2305 | (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.2305 | (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.2305 | (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.2305 | (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.2305 | (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;
|
|
@@ -32616,7 +32616,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32616
32616
|
return hash.digest("hex");
|
|
32617
32617
|
}
|
|
32618
32618
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32619
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32619
|
+
var STANDIN_SOURCE_DIGEST = true ? "c966f6f04b2d8f65009c3eb2db2a2a55ee09bd8540da3797fb0eabe22c59a351" : standinSourceDigest();
|
|
32620
32620
|
|
|
32621
32621
|
// src/swift-standins.ts
|
|
32622
32622
|
var import_node_child_process31 = require("node:child_process");
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2305 | (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;
|
|
@@ -2742,7 +2742,7 @@ var init_src = __esm({
|
|
|
2742
2742
|
var runtime_companion_default;
|
|
2743
2743
|
var init_runtime_companion = __esm({
|
|
2744
2744
|
"runtime-companion.json"() {
|
|
2745
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2745
|
+
runtime_companion_default = { abi: 1, sha256: "0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d", file: "node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs" };
|
|
2746
2746
|
}
|
|
2747
2747
|
});
|
|
2748
2748
|
|
|
@@ -3105,7 +3105,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3105
3105
|
var init_swift_standin_digest = __esm({
|
|
3106
3106
|
"src/swift-standin-digest.ts"() {
|
|
3107
3107
|
"use strict";
|
|
3108
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3108
|
+
STANDIN_SOURCE_DIGEST = true ? "c966f6f04b2d8f65009c3eb2db2a2a55ee09bd8540da3797fb0eabe22c59a351" : standinSourceDigest();
|
|
3109
3109
|
}
|
|
3110
3110
|
});
|
|
3111
3111
|
|
|
@@ -3116,6 +3116,13 @@ var init_admitted_mac_build = __esm({
|
|
|
3116
3116
|
}
|
|
3117
3117
|
});
|
|
3118
3118
|
|
|
3119
|
+
// src/git-repo-env.ts
|
|
3120
|
+
var init_git_repo_env = __esm({
|
|
3121
|
+
"src/git-repo-env.ts"() {
|
|
3122
|
+
"use strict";
|
|
3123
|
+
}
|
|
3124
|
+
});
|
|
3125
|
+
|
|
3119
3126
|
// src/native-git.ts
|
|
3120
3127
|
var init_native_git = __esm({
|
|
3121
3128
|
"src/native-git.ts"() {
|
|
@@ -5148,6 +5155,7 @@ var init_swift_packages = __esm({
|
|
|
5148
5155
|
"use strict";
|
|
5149
5156
|
import_node_child_process11 = require("node:child_process");
|
|
5150
5157
|
import_node_util7 = require("node:util");
|
|
5158
|
+
init_git_repo_env();
|
|
5151
5159
|
init_home_paths();
|
|
5152
5160
|
init_native_git();
|
|
5153
5161
|
init_numbered_lock();
|
|
@@ -9596,6 +9604,7 @@ init_admitted_mac_build();
|
|
|
9596
9604
|
var import_ignore = __toESM(require("ignore"), 1);
|
|
9597
9605
|
|
|
9598
9606
|
// src/expo-native-workspace.ts
|
|
9607
|
+
init_git_repo_env();
|
|
9599
9608
|
init_home_paths();
|
|
9600
9609
|
|
|
9601
9610
|
// src/native-failure-output.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2305 | (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;
|
|
@@ -137,7 +137,6 @@ export interface SceneNativeBinding {
|
|
|
137
137
|
_peach_scene_paint_extent(slot: number, x: number, y: number, width: number, height: number, skipPortalViews: number, subtree: number): number;
|
|
138
138
|
_peach_scene_paint_extent_out(): number;
|
|
139
139
|
_peach_scene_reader_reach(slot: number): number;
|
|
140
|
-
peachRasterTransformParameters?: (slot: number, out: number) => number;
|
|
141
140
|
_peach_scene_raster_candidate(slot: number): void;
|
|
142
141
|
_peach_style_record(): number;
|
|
143
142
|
_peach_style_apply(slot: number, structuralFlags: number): number;
|
|
@@ -151,7 +150,6 @@ export interface SceneNativeBinding {
|
|
|
151
150
|
_peach_classic_layout_clear(slot: number): void;
|
|
152
151
|
_peach_classic_layout_progress(progress: number): void;
|
|
153
152
|
_peach_classic_layout_sample(slot: number, timestamp: number): number;
|
|
154
|
-
peachExtentParameters?: (slot: number) => void;
|
|
155
153
|
_peach_scene_set_buffers(integers: number, doubles: number, floats: number, layoutMatrices: number): void;
|
|
156
154
|
_peach_scene_slots_adopt(next: number, generations: number, parents: number, free: number, freeCount: number): void;
|
|
157
155
|
_peach_scene_slot_allocate(): number;
|
|
@@ -308,8 +306,6 @@ export declare class SceneTable {
|
|
|
308
306
|
f64(): Float64Array;
|
|
309
307
|
f32(): Float32Array;
|
|
310
308
|
allocate(node: object, tag: number, flags: number): number;
|
|
311
|
-
setRasterTransformPublisher(publisher: (node: object, output: () => Float64Array) => number): void;
|
|
312
|
-
setExtentPublisher(reader: (node: object) => void): void;
|
|
313
309
|
setStyleReplayer(replay: (node: object) => void): void;
|
|
314
310
|
setStickyOffsetReader(reader: (node: object) => number): void;
|
|
315
311
|
setPaintExtentPublisher(publisher: PaintExtentPublisher): void;
|
|
@@ -399,7 +395,6 @@ export declare class SceneTable {
|
|
|
399
395
|
writeZoom(slot: number, zoom: number | undefined): void;
|
|
400
396
|
writeStyle(slot: number, style: SootSimStyle, resolve: (value: unknown) => unknown, owned?: Readonly<Record<string, unknown>> | null): Float64Array | undefined;
|
|
401
397
|
applyStyleRecord(slot: number, record: Float64Array, style: SootSimStyle, resolve: (value: unknown) => unknown, owned?: Readonly<Record<string, unknown>> | null): void;
|
|
402
|
-
writeExtentStyle(slot: number, style: SootSimStyle, resolve: (value: unknown) => unknown): void;
|
|
403
398
|
writeLayoutMatrix(slot: number, transform: SootSimStyle['transform'], transformOrigin: SootSimStyle['transformOrigin'], resolve: (value: unknown) => unknown): void;
|
|
404
399
|
writeTransform(slot: number, transform: SootSimStyle['transform'], transformOrigin: SootSimStyle['transformOrigin'], resolve: (value: unknown) => unknown): void;
|
|
405
400
|
writePaintedBox(slot: number, x: number, y: number, width: number, height: number, animated: boolean, transform: SootSimStyle['transform'], transformOrigin: SootSimStyle['transformOrigin'], resolve: (value: unknown) => unknown): void;
|
|
@@ -29,6 +29,7 @@ export type SootSimWebViewHostRequest = {
|
|
|
29
29
|
documentData?: PeachWebViewDocumentData;
|
|
30
30
|
minimumFontSize?: number;
|
|
31
31
|
elementFullscreenEnabled?: boolean;
|
|
32
|
+
mediaTypesRequiringUserAction?: SootSimWebViewMediaTypes;
|
|
32
33
|
html?: string;
|
|
33
34
|
config: string;
|
|
34
35
|
beforeKey: string;
|
|
@@ -209,9 +210,11 @@ export interface SootSimWebViewCookieStore {
|
|
|
209
210
|
cookies: string;
|
|
210
211
|
policy: 0 | 1;
|
|
211
212
|
}
|
|
213
|
+
export type SootSimWebViewMediaTypes = 'none' | 'audio' | 'video' | 'all';
|
|
212
214
|
export interface SootSimWebViewSpec extends Partial<NativeSurfacePresentation> {
|
|
213
215
|
minimumFontSize?: number;
|
|
214
216
|
elementFullscreenEnabled?: boolean;
|
|
217
|
+
mediaTypesRequiringUserAction?: SootSimWebViewMediaTypes;
|
|
215
218
|
cookieStore?: SootSimWebViewCookieStore;
|
|
216
219
|
captureOwner?: {
|
|
217
220
|
surfaceId: string;
|
|
@@ -73,3 +73,6 @@ SUCH DAMAGE.
|
|
|
73
73
|
|
|
74
74
|
JavaHypot.kt is derived from Bionic/FreeBSD e_hypot.c under the SunSoft notice.
|
|
75
75
|
https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/e_hypot.c
|
|
76
|
+
|
|
77
|
+
JavaLog1p.kt is derived from Bionic/FreeBSD s_log1p.c under the SunSoft notice.
|
|
78
|
+
https://android.googlesource.com/platform/bionic/+/refs/heads/android17-release/libm/upstream-freebsd/lib/msun/src/s_log1p.c
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d","file":"node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs"}
|
|
@@ -8,6 +8,7 @@ import { promisify } from 'node:util'
|
|
|
8
8
|
import { detectPackageManager } from '../cli/commands/detect'
|
|
9
9
|
import { teamMachineInstalled } from './admitted-mac-build'
|
|
10
10
|
import { workspaceExclusion, type WorkspaceExclusion } from './expo-workspace-exclusion'
|
|
11
|
+
import { withoutGitRepositoryEnv } from './git-repo-env'
|
|
11
12
|
import { cacheDir } from './home-paths'
|
|
12
13
|
import { failedOutputLine } from './native-failure-output'
|
|
13
14
|
import { requireNativeGit } from './native-git'
|
|
@@ -34,27 +35,7 @@ const isolatedGitEnv = {
|
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
function cleanWorkspaceGitEnv(): NodeJS.ProcessEnv {
|
|
37
|
-
|
|
38
|
-
for (const key of [
|
|
39
|
-
'GIT_DIR',
|
|
40
|
-
'GIT_COMMON_DIR',
|
|
41
|
-
'GIT_WORK_TREE',
|
|
42
|
-
'GIT_INDEX_FILE',
|
|
43
|
-
'GIT_OBJECT_DIRECTORY',
|
|
44
|
-
'GIT_ALTERNATE_OBJECT_DIRECTORIES',
|
|
45
|
-
'GIT_PREFIX',
|
|
46
|
-
'GIT_SHALLOW_FILE',
|
|
47
|
-
'GIT_GRAFT_FILE',
|
|
48
|
-
'GIT_NAMESPACE',
|
|
49
|
-
'GIT_IMPLICIT_WORK_TREE',
|
|
50
|
-
'GIT_CONFIG',
|
|
51
|
-
'GIT_CEILING_DIRECTORIES',
|
|
52
|
-
'GIT_DISCOVERY_ACROSS_FILESYSTEM',
|
|
53
|
-
'GIT_SUPER_PREFIX',
|
|
54
|
-
]) {
|
|
55
|
-
delete env[key]
|
|
56
|
-
}
|
|
57
|
-
return { ...env, ...isolatedGitEnv }
|
|
38
|
+
return { ...withoutGitRepositoryEnv(), ...isolatedGitEnv }
|
|
58
39
|
}
|
|
59
40
|
|
|
60
41
|
// CocoaPods refuses a non UTF-8 locale, so even its version probe names one.
|
|
@@ -1215,8 +1196,7 @@ async function runAdmitted(
|
|
|
1215
1196
|
{
|
|
1216
1197
|
cwd,
|
|
1217
1198
|
env: {
|
|
1218
|
-
...
|
|
1219
|
-
...isolatedGitEnv,
|
|
1199
|
+
...cleanWorkspaceGitEnv(),
|
|
1220
1200
|
EXPO_NO_TELEMETRY: '1',
|
|
1221
1201
|
LANG: 'en_US.UTF-8',
|
|
1222
1202
|
LC_ALL: 'en_US.UTF-8',
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const GIT_REPOSITORY_ENV_KEYS: readonly string[] = [
|
|
2
|
+
'GIT_DIR',
|
|
3
|
+
'GIT_COMMON_DIR',
|
|
4
|
+
'GIT_WORK_TREE',
|
|
5
|
+
'GIT_INDEX_FILE',
|
|
6
|
+
'GIT_OBJECT_DIRECTORY',
|
|
7
|
+
'GIT_ALTERNATE_OBJECT_DIRECTORIES',
|
|
8
|
+
'GIT_PREFIX',
|
|
9
|
+
'GIT_SHALLOW_FILE',
|
|
10
|
+
'GIT_GRAFT_FILE',
|
|
11
|
+
'GIT_NAMESPACE',
|
|
12
|
+
'GIT_IMPLICIT_WORK_TREE',
|
|
13
|
+
'GIT_CONFIG',
|
|
14
|
+
'GIT_CEILING_DIRECTORIES',
|
|
15
|
+
'GIT_DISCOVERY_ACROSS_FILESYSTEM',
|
|
16
|
+
'GIT_SUPER_PREFIX',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
export function withoutGitRepositoryEnv(
|
|
20
|
+
source: NodeJS.ProcessEnv = process.env,
|
|
21
|
+
): NodeJS.ProcessEnv {
|
|
22
|
+
const env: NodeJS.ProcessEnv = { ...source }
|
|
23
|
+
for (const key of GIT_REPOSITORY_ENV_KEYS) {
|
|
24
|
+
delete env[key]
|
|
25
|
+
}
|
|
26
|
+
return env
|
|
27
|
+
}
|
package/src/swift-packages.ts
CHANGED
|
@@ -15,6 +15,7 @@ import fs from 'node:fs'
|
|
|
15
15
|
import path from 'node:path'
|
|
16
16
|
import { setTimeout as sleep } from 'node:timers/promises'
|
|
17
17
|
import { promisify } from 'node:util'
|
|
18
|
+
import { withoutGitRepositoryEnv } from './git-repo-env'
|
|
18
19
|
import { cacheDir } from './home-paths'
|
|
19
20
|
import { requireNativeGit } from './native-git'
|
|
20
21
|
import { tryAcquireNumberedLock } from './numbered-lock'
|
|
@@ -343,27 +344,10 @@ async function fetchCheckout(
|
|
|
343
344
|
if (preparedSwiftPin(checkouts, identity, pin.location, pin.revision)) return
|
|
344
345
|
requireNativeGit()
|
|
345
346
|
const key = checkoutKey(dir, pin)
|
|
346
|
-
const gitEnv: NodeJS.ProcessEnv = {
|
|
347
|
-
|
|
348
|
-
'
|
|
349
|
-
'GIT_COMMON_DIR',
|
|
350
|
-
'GIT_WORK_TREE',
|
|
351
|
-
'GIT_INDEX_FILE',
|
|
352
|
-
'GIT_OBJECT_DIRECTORY',
|
|
353
|
-
'GIT_ALTERNATE_OBJECT_DIRECTORIES',
|
|
354
|
-
'GIT_PREFIX',
|
|
355
|
-
'GIT_SHALLOW_FILE',
|
|
356
|
-
'GIT_GRAFT_FILE',
|
|
357
|
-
'GIT_NAMESPACE',
|
|
358
|
-
'GIT_IMPLICIT_WORK_TREE',
|
|
359
|
-
'GIT_CONFIG',
|
|
360
|
-
'GIT_CEILING_DIRECTORIES',
|
|
361
|
-
'GIT_DISCOVERY_ACROSS_FILESYSTEM',
|
|
362
|
-
'GIT_SUPER_PREFIX',
|
|
363
|
-
]) {
|
|
364
|
-
delete gitEnv[name]
|
|
347
|
+
const gitEnv: NodeJS.ProcessEnv = {
|
|
348
|
+
...withoutGitRepositoryEnv(),
|
|
349
|
+
GIT_TERMINAL_PROMPT: '0',
|
|
365
350
|
}
|
|
366
|
-
gitEnv.GIT_TERMINAL_PROMPT = '0'
|
|
367
351
|
const git: Git = async (cwd, ...args) =>
|
|
368
352
|
(
|
|
369
353
|
await execFileAsync('git', ['-C', cwd, ...args], {
|