peachsim 0.1.1910 → 0.1.1911
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 +11 -9
- 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 +6 -5
- 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 +11 -9
- 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 +21 -18
- package/dist-lib/swift-compile.cjs +4 -3
- package/dist-lib/swift-compile.mjs +4 -3
- 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 +5 -4
- 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/nitro-compile.ts +5 -2
- package/src/nitro-source.ts +3 -3
- package/src/swift-compile.ts +4 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -11587,9 +11587,10 @@ var SYSTEM_MODULE_LIBRARIES = {
|
|
|
11587
11587
|
"sqlite3.h": "sqlite3",
|
|
11588
11588
|
"sqlite3ext.h": "sqlite3",
|
|
11589
11589
|
"bzlib.h": "bz2",
|
|
11590
|
+
"zlib.h": "z",
|
|
11590
11591
|
SQLite3: "sqlite3"
|
|
11591
11592
|
};
|
|
11592
|
-
var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h)>|@import\s+(SQLite3)\b)/gm;
|
|
11593
|
+
var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h|zlib\.h)>|@import\s+(SQLite3)\b)/gm;
|
|
11593
11594
|
function compileTargets(input) {
|
|
11594
11595
|
const manifest = input.files["Package.swift"];
|
|
11595
11596
|
if (manifest === void 0) return [];
|
|
@@ -12093,7 +12094,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12093
12094
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12094
12095
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12095
12096
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12096
|
-
var compilerSourceDigest = true ? "
|
|
12097
|
+
var compilerSourceDigest = true ? "dd9b7281e6fb27ea99fc4217e0a0b65fcdfd8e6e508697850feee2e2b068ebbd" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12097
12098
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12098
12099
|
const hash = createHash13("sha256");
|
|
12099
12100
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1911 | (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.1911 | (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.1911 | (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.1911 | (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.1911 | (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;
|
|
@@ -15924,9 +15924,10 @@ var SYSTEM_MODULE_LIBRARIES = {
|
|
|
15924
15924
|
"sqlite3.h": "sqlite3",
|
|
15925
15925
|
"sqlite3ext.h": "sqlite3",
|
|
15926
15926
|
"bzlib.h": "bz2",
|
|
15927
|
+
"zlib.h": "z",
|
|
15927
15928
|
SQLite3: "sqlite3"
|
|
15928
15929
|
};
|
|
15929
|
-
var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h)>|@import\s+(SQLite3)\b)/gm;
|
|
15930
|
+
var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h|zlib\.h)>|@import\s+(SQLite3)\b)/gm;
|
|
15930
15931
|
function compileTargets(input) {
|
|
15931
15932
|
const manifest = input.files["Package.swift"];
|
|
15932
15933
|
if (manifest === void 0) return [];
|
|
@@ -16430,7 +16431,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
16430
16431
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16431
16432
|
var MULTI_MANIFEST_VERSION = 66;
|
|
16432
16433
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16433
|
-
var compilerSourceDigest = true ? "
|
|
16434
|
+
var compilerSourceDigest = true ? "dd9b7281e6fb27ea99fc4217e0a0b65fcdfd8e6e508697850feee2e2b068ebbd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
16434
16435
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16435
16436
|
const hash = (0, import_node_crypto12.createHash)("sha256");
|
|
16436
16437
|
hash.update(`swift-compile
|
|
@@ -29573,7 +29574,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
29573
29574
|
return hash.digest("hex");
|
|
29574
29575
|
}
|
|
29575
29576
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29576
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
29577
|
+
var STANDIN_SOURCE_DIGEST = true ? "8812895e6664582b7e46aa38acad79c65420b5ba4f34921de6e17f60b747acc0" : standinSourceDigest();
|
|
29577
29578
|
|
|
29578
29579
|
// src/swift-standins.ts
|
|
29579
29580
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1911 | (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.1911 | (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/src/nitro-compile.ts
CHANGED
|
@@ -400,7 +400,10 @@ export async function compileNitroModule(
|
|
|
400
400
|
}
|
|
401
401
|
let dependencies: SwiftCompileInput | null = null
|
|
402
402
|
const podfileLock = appPodfileLock(options.projectRoot)
|
|
403
|
-
|
|
403
|
+
// installed pods keep only a Swift provider's mixed targets, so an import no
|
|
404
|
+
// target supplies installs from its locked trunk pod either way.
|
|
405
|
+
if (podfileLock) {
|
|
406
|
+
const installedProviders = swiftModules.length > 0 && workspace
|
|
404
407
|
const available = new Set(
|
|
405
408
|
swiftAvailableModules(
|
|
406
409
|
options.moduleRoot,
|
|
@@ -413,7 +416,7 @@ export async function compileNitroModule(
|
|
|
413
416
|
podfileLock,
|
|
414
417
|
missing,
|
|
415
418
|
options.moduleRoot,
|
|
416
|
-
unresolvedFrameworkIncludes(collection.files),
|
|
419
|
+
installedProviders ? [] : unresolvedFrameworkIncludes(collection.files),
|
|
417
420
|
)
|
|
418
421
|
}
|
|
419
422
|
// the compiled sources target the app's own declared iOS minimum
|
package/src/nitro-source.ts
CHANGED
|
@@ -982,8 +982,8 @@ export function collectNitroSources(
|
|
|
982
982
|
// the podspec's `ios/**/*.{h,hpp,m,mm}` and generated bridge: the original
|
|
983
983
|
// Objective-C and Objective-C++ units compile unchanged beside the C++.
|
|
984
984
|
// the generated autolinking initializer is the one unit Peach replaces
|
|
985
|
-
// with the registration below, which honors the app's answers.
|
|
986
|
-
//
|
|
985
|
+
// with the registration below, which honors the app's answers. an installed
|
|
986
|
+
// Swift pod target moves these units into its mixed target.
|
|
987
987
|
if (fs.existsSync(path.join(module.root, 'ios'))) {
|
|
988
988
|
collect(
|
|
989
989
|
module.root,
|
|
@@ -992,7 +992,7 @@ export function collectNitroSources(
|
|
|
992
992
|
null,
|
|
993
993
|
new Set(['Tests']),
|
|
994
994
|
() => true,
|
|
995
|
-
|
|
995
|
+
/\.(?:h|hpp|m|mm)$/,
|
|
996
996
|
)
|
|
997
997
|
}
|
|
998
998
|
collect(module.root, 'nitrogen/generated/ios', targetName, null)
|
package/src/swift-compile.ts
CHANGED
|
@@ -745,16 +745,17 @@ export function swiftProjectBuildKey(moduleRoot: string, release: string): strin
|
|
|
745
745
|
// clang autolinks the library a system module map names when a unit imports
|
|
746
746
|
// one of its headers, so an ios target links it without declaring it. swiftpm
|
|
747
747
|
// on wasm reads no clang autolinks, so the target declares the library the ios
|
|
748
|
-
// module map names: SQLite3 links sqlite3
|
|
749
|
-
// sdk ships.
|
|
748
|
+
// module map names: SQLite3 links sqlite3, bzlib.h links bz2 and zlib.h links z,
|
|
749
|
+
// which the wasm sdk ships.
|
|
750
750
|
const SYSTEM_MODULE_LIBRARIES: Record<string, string> = {
|
|
751
751
|
'sqlite3.h': 'sqlite3',
|
|
752
752
|
'sqlite3ext.h': 'sqlite3',
|
|
753
753
|
'bzlib.h': 'bz2',
|
|
754
|
+
'zlib.h': 'z',
|
|
754
755
|
SQLite3: 'sqlite3',
|
|
755
756
|
}
|
|
756
757
|
const SYSTEM_MODULE_IMPORT =
|
|
757
|
-
/^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h)>|@import\s+(SQLite3)\b)/gm
|
|
758
|
+
/^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h|zlib\.h)>|@import\s+(SQLite3)\b)/gm
|
|
758
759
|
|
|
759
760
|
export function compileTargets(input: SwiftCompileInput): SwiftPackageTarget[] {
|
|
760
761
|
const manifest = input.files['Package.swift']
|