peachsim 0.1.2156 → 0.1.2157
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 +20 -7
- 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 +19 -6
- 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 +19 -6
- 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 +20 -7
- 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/package.json +1 -1
- package/src/expo-discovery-cache.ts +2 -1
- package/src/expo-swift-host.ts +18 -3
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2157 | (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/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2157 | (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.2157 | (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;
|
|
@@ -63952,7 +63952,8 @@ function rewritePreparedPaths(options) {
|
|
|
63952
63952
|
}
|
|
63953
63953
|
let refusedPlugin = false;
|
|
63954
63954
|
const portableText = name3 === "Package.swift" ? text6.replace(
|
|
63955
|
-
|
|
63955
|
+
// xcode passes the value through the frontend as its own -Xfrontend.
|
|
63956
|
+
/("-load-plugin-executable"\s*,\s*(?:"-Xfrontend"\s*,\s*)?)("(?:[^"\\]|\\.)*")/g,
|
|
63956
63957
|
(match, prefix, literal5) => {
|
|
63957
63958
|
const value = JSON.parse(literal5);
|
|
63958
63959
|
if (typeof value !== "string" || !value.includes(preparedRoot))
|
|
@@ -64753,7 +64754,7 @@ var init_package_tree_digest = __esm({
|
|
|
64753
64754
|
|
|
64754
64755
|
// src/expo-native-prebuilt.ts
|
|
64755
64756
|
function expoNativeCompilerDigestValue() {
|
|
64756
|
-
return true ? "
|
|
64757
|
+
return true ? "452b8cdcb2a649bf87ad84fae28122e7a6be4dbc8e431ecb7c7f7d25a804600a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64757
64758
|
}
|
|
64758
64759
|
function readSources(value) {
|
|
64759
64760
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -80619,9 +80620,10 @@ function tracedPath(value) {
|
|
|
80619
80620
|
function ignoredInput(file) {
|
|
80620
80621
|
if (file.includes(`${import_node_path88.default.sep}peach-expo-swift${import_node_path88.default.sep}`) || file.endsWith(`${import_node_path88.default.sep}peach-expo-swift`))
|
|
80621
80622
|
return true;
|
|
80622
|
-
|
|
80623
|
-
|
|
80624
|
-
);
|
|
80623
|
+
const within2 = (root) => file === root || file.startsWith(`${root}${import_node_path88.default.sep}`);
|
|
80624
|
+
if (ignoredRoots.some(within2)) return true;
|
|
80625
|
+
for (const root of ownTemporaryRoots) if (within2(root)) return true;
|
|
80626
|
+
return false;
|
|
80625
80627
|
}
|
|
80626
80628
|
function noteMissing(file) {
|
|
80627
80629
|
const witness = traceStore.getStore();
|
|
@@ -80743,6 +80745,16 @@ function installSwiftInputTrace() {
|
|
|
80743
80745
|
Reflect.set(import_node_fs91.default, "lstatSync", traced(saved.lstatSync));
|
|
80744
80746
|
Reflect.set(import_node_fs91.default, "readlinkSync", traced(saved.readlinkSync));
|
|
80745
80747
|
Reflect.set(import_node_fs91.default, "realpathSync", realpath2);
|
|
80748
|
+
const mkdtempSync4 = import_node_fs91.default.mkdtempSync;
|
|
80749
|
+
Reflect.set(import_node_fs91.default, "mkdtempSync", (...args) => {
|
|
80750
|
+
const made = Reflect.apply(mkdtempSync4, void 0, args);
|
|
80751
|
+
if (typeof made === "string" && traceStore.getStore()) {
|
|
80752
|
+
for (const root of ownTemporaryRoots)
|
|
80753
|
+
if (!saved.existsSync(root)) ownTemporaryRoots.delete(root);
|
|
80754
|
+
ownTemporaryRoots.add(import_node_path88.default.resolve(made));
|
|
80755
|
+
}
|
|
80756
|
+
return made;
|
|
80757
|
+
});
|
|
80746
80758
|
Reflect.set(import_node_fs91.default, "existsSync", (targetPath) => {
|
|
80747
80759
|
const file = tracedPath(targetPath);
|
|
80748
80760
|
const witness = traceStore.getStore();
|
|
@@ -82828,7 +82840,7 @@ async function handleExpoSwiftRequest(req, res) {
|
|
|
82828
82840
|
}
|
|
82829
82841
|
return true;
|
|
82830
82842
|
}
|
|
82831
|
-
var import_node_async_hooks2, import_node_child_process47, import_node_crypto48, import_node_fs91, import_node_module13, import_node_os19, import_node_path88, import_node_url6, import_node_util15, run8, scriptEnv, EXPO_SWIFT_ROUTE, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, compiling, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
82843
|
+
var import_node_async_hooks2, import_node_child_process47, import_node_crypto48, import_node_fs91, import_node_module13, import_node_os19, import_node_path88, import_node_url6, import_node_util15, run8, scriptEnv, EXPO_SWIFT_ROUTE, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, compiling, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
82832
82844
|
var init_expo_swift_host = __esm({
|
|
82833
82845
|
"src/expo-swift-host.ts"() {
|
|
82834
82846
|
"use strict";
|
|
@@ -82882,6 +82894,7 @@ var init_expo_swift_host = __esm({
|
|
|
82882
82894
|
preparedCache = /* @__PURE__ */ new Map();
|
|
82883
82895
|
savedFs = null;
|
|
82884
82896
|
ignoredRoots = [];
|
|
82897
|
+
ownTemporaryRoots = /* @__PURE__ */ new Set();
|
|
82885
82898
|
compiling = /* @__PURE__ */ new Map();
|
|
82886
82899
|
preparedExpoSwift = /* @__PURE__ */ new Map();
|
|
82887
82900
|
openPreparations = new NativePreparationReceipts();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2157 | (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.2157 | (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.2157 | (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.2157 | (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.2157 | (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.2157 | (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.2157 | (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.2157 | (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
|
@@ -403,7 +403,8 @@ function rewritePreparedPaths(options: {
|
|
|
403
403
|
const portableText =
|
|
404
404
|
name === 'Package.swift'
|
|
405
405
|
? text.replace(
|
|
406
|
-
|
|
406
|
+
// xcode passes the value through the frontend as its own -Xfrontend.
|
|
407
|
+
/("-load-plugin-executable"\s*,\s*(?:"-Xfrontend"\s*,\s*)?)("(?:[^"\\]|\\.)*")/g,
|
|
407
408
|
(match, prefix: string, literal: string) => {
|
|
408
409
|
const value: unknown = JSON.parse(literal)
|
|
409
410
|
if (typeof value !== 'string' || !value.includes(preparedRoot))
|
package/src/expo-swift-host.ts
CHANGED
|
@@ -160,6 +160,9 @@ type SavedFs = {
|
|
|
160
160
|
|
|
161
161
|
let savedFs: SavedFs | null = null
|
|
162
162
|
let ignoredRoots: string[] = []
|
|
163
|
+
// a directory this process made with mkdtemp holds its own scratch output (an
|
|
164
|
+
// evaluated config, a staged bundle), never an input a later discovery reads.
|
|
165
|
+
const ownTemporaryRoots = new Set<string>()
|
|
163
166
|
|
|
164
167
|
function isEnoent(error: unknown): boolean {
|
|
165
168
|
return error instanceof Error && 'code' in error && error.code === 'ENOENT'
|
|
@@ -193,9 +196,10 @@ function ignoredInput(file: string): boolean {
|
|
|
193
196
|
file.endsWith(`${path.sep}peach-expo-swift`)
|
|
194
197
|
)
|
|
195
198
|
return true
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
)
|
|
199
|
+
const within = (root: string) => file === root || file.startsWith(`${root}${path.sep}`)
|
|
200
|
+
if (ignoredRoots.some(within)) return true
|
|
201
|
+
for (const root of ownTemporaryRoots) if (within(root)) return true
|
|
202
|
+
return false
|
|
199
203
|
}
|
|
200
204
|
|
|
201
205
|
function noteMissing(file: string): void {
|
|
@@ -338,6 +342,17 @@ function installSwiftInputTrace(): void {
|
|
|
338
342
|
Reflect.set(fs, 'lstatSync', traced(saved.lstatSync))
|
|
339
343
|
Reflect.set(fs, 'readlinkSync', traced(saved.readlinkSync))
|
|
340
344
|
Reflect.set(fs, 'realpathSync', realpath)
|
|
345
|
+
const mkdtempSync = fs.mkdtempSync
|
|
346
|
+
Reflect.set(fs, 'mkdtempSync', (...args: unknown[]): unknown => {
|
|
347
|
+
const made: unknown = Reflect.apply(mkdtempSync, undefined, args)
|
|
348
|
+
if (typeof made === 'string' && traceStore.getStore()) {
|
|
349
|
+
// a removed root's unique name never returns, so forgetting it is safe.
|
|
350
|
+
for (const root of ownTemporaryRoots)
|
|
351
|
+
if (!saved.existsSync(root)) ownTemporaryRoots.delete(root)
|
|
352
|
+
ownTemporaryRoots.add(path.resolve(made))
|
|
353
|
+
}
|
|
354
|
+
return made
|
|
355
|
+
})
|
|
341
356
|
Reflect.set(fs, 'existsSync', (targetPath: fs.PathLike): boolean => {
|
|
342
357
|
const file = tracedPath(targetPath)
|
|
343
358
|
const witness = traceStore.getStore()
|