peachsim 0.1.2427 → 0.1.2429
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 +173 -66
- 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 +163 -56
- 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 +181 -74
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
- 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 +9 -6
- 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 +9 -6
- package/dist-lib/native-app-identity-project.cjs +6 -3
- package/dist-lib/native-app-identity-project.mjs +6 -3
- 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 +194 -85
- package/dist-lib/swift-compile.cjs +35 -22
- package/dist-lib/swift-compile.mjs +35 -22
- 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 +159 -52
- package/dist-lib/vite.cjs +6 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/style-schema.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/text-nested.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/text-paint.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +7 -0
- package/dist-types/packages/peach-globals/src/globalsContract.d.ts +2 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/locationBridgeContract.d.ts +20 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h +3 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSEntityMigrationPolicy.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentContainer.h +15 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreDescription.h +10 -0
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManagerDelegate.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreServices.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSBase.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSImportExtension.h +21 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSIndexExtensionRequestHandler.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSPerson.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchQuery.h +77 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndex.h +154 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndexDescription.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItem.h +86 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet.h +95 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Categories.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Documents.h +71 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Events.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_General.h +138 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Images.h +116 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Media.h +235 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Messaging.h +99 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Places.h +96 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSuggestion.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSUserQuery.h +73 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.apinotes +26 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CoreSpotlight.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardList.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardListItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleList.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleListStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorld.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorldConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContextMenuElementInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDOMNodeSnapshot.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindResult.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFormInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFrameInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKHTTPCookieStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKJSHandle.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigation.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKOpenPanelParameters.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPDFConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewElementInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKProcessPool.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSecurityOrigin.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSnapshotConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserContentController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtension.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionContext.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionControllerConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionMatchPattern.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h +2 -2
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWindowFeatures.h +1 -1
- package/sdk/ios/System/Library/Frameworks/_LocationEssentials.framework/Headers/CLLocationEssentials.h +3 -3
- package/src/core-data-model.ts +112 -5
- package/src/swift-compile.ts +34 -11
- package/src/swift-objc-import.ts +19 -13
- package/src/xcode-project.ts +5 -0
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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;
|
|
@@ -2476,7 +2476,7 @@ function isValidRuntimeVersion(value) {
|
|
|
2476
2476
|
}
|
|
2477
2477
|
|
|
2478
2478
|
// runtime-companion.json
|
|
2479
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2479
|
+
var runtime_companion_default = { abi: 1, sha256: "c3e71b5eaf9166fc3fdc4333c354332e1ff41e1a6c71b6814afebe7c7d14bf9b", file: "node/cli-c3e71b5eaf9166fc3fdc4333c354332e1ff41e1a6c71b6814afebe7c7d14bf9b.cjs" };
|
|
2480
2480
|
|
|
2481
2481
|
// src/answeredNativePackages.ts
|
|
2482
2482
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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.2429 | (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;
|
|
@@ -2044,21 +2044,21 @@ function toS(interp, value) {
|
|
|
2044
2044
|
if (value instanceof RRegexp) return `(?-mix:${value.source})`;
|
|
2045
2045
|
return toInspect(interp, value);
|
|
2046
2046
|
}
|
|
2047
|
-
function rangeToArray(interp,
|
|
2048
|
-
if (typeof
|
|
2047
|
+
function rangeToArray(interp, range3) {
|
|
2048
|
+
if (typeof range3.first === "number" && typeof range3.last === "number") {
|
|
2049
2049
|
const out = [];
|
|
2050
|
-
const end =
|
|
2051
|
-
for (let i =
|
|
2050
|
+
const end = range3.exclusive ? range3.last : range3.last + 1;
|
|
2051
|
+
for (let i = range3.first; i < end; i++) out.push(i);
|
|
2052
2052
|
return out;
|
|
2053
2053
|
}
|
|
2054
|
-
if (
|
|
2054
|
+
if (range3.first instanceof RString && range3.last instanceof RString && range3.first.s.length === 1 && range3.last.s.length === 1) {
|
|
2055
2055
|
const out = [];
|
|
2056
|
-
const end =
|
|
2057
|
-
for (let c =
|
|
2056
|
+
const end = range3.last.s.charCodeAt(0) + (range3.exclusive ? 0 : 1);
|
|
2057
|
+
for (let c = range3.first.s.charCodeAt(0); c < end; c++)
|
|
2058
2058
|
out.push(str(String.fromCharCode(c)));
|
|
2059
2059
|
return out;
|
|
2060
2060
|
}
|
|
2061
|
-
throw new UnsupportedRuby(`iterating ${toInspect(interp,
|
|
2061
|
+
throw new UnsupportedRuby(`iterating ${toInspect(interp, range3)}`);
|
|
2062
2062
|
}
|
|
2063
2063
|
function equal(interp, a, b) {
|
|
2064
2064
|
if (a === b) return true;
|
|
@@ -17541,7 +17541,7 @@ var swiftCoverageProvenance;
|
|
|
17541
17541
|
var init_provenance = __esm({
|
|
17542
17542
|
"src/swift-coverage/provenance.ts"() {
|
|
17543
17543
|
"use strict";
|
|
17544
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"a0ef7c20a2bc2b7dbd98b9006a8b000b9b4f9708f1bcf0adad8aaf79ef253022","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"
|
|
17544
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"a19fe4c5e2efe18bbc3ece544ff2c8be660170d63274cccb0ab58e53083050e4","swift-package.ts":"851417572ca9aff699ad368bdc3ff05309b0256e483d40812b9c0beb869d0a5b","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"a0ef7c20a2bc2b7dbd98b9006a8b000b9b4f9708f1bcf0adad8aaf79ef253022","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"fea47e1e076b2cca23c8ac9037eced1d094e69d206df09c393979a5bd1d07a8a","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
17545
17545
|
}
|
|
17546
17546
|
});
|
|
17547
17547
|
|
|
@@ -25048,11 +25048,11 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
25048
25048
|
"$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n"
|
|
25049
25049
|
]);
|
|
25050
25050
|
const keepObjCClassesNamedInSegment = (obj, segIdx) => {
|
|
25051
|
-
const
|
|
25052
|
-
if (!
|
|
25051
|
+
const range3 = obj.segPayloadRanges[segIdx];
|
|
25052
|
+
if (!range3) return;
|
|
25053
25053
|
let bytes = objectBytes.get(obj);
|
|
25054
25054
|
if (!bytes) objectBytes.set(obj, bytes = import_node_fs43.default.readFileSync(obj.file));
|
|
25055
|
-
const text7 = bytes.toString("latin1",
|
|
25055
|
+
const text7 = bytes.toString("latin1", range3[0], range3[1]);
|
|
25056
25056
|
for (const match of text7.matchAll(/So(\d+)/g)) {
|
|
25057
25057
|
const start = match.index + 2 + match[1].length;
|
|
25058
25058
|
const length = Number(match[1]);
|
|
@@ -26783,10 +26783,10 @@ function reserveGuestImageProjection(images) {
|
|
|
26783
26783
|
slots.push(slot);
|
|
26784
26784
|
return { address: slot.address, length: slot.length };
|
|
26785
26785
|
};
|
|
26786
|
-
const
|
|
26786
|
+
const range3 = reserve(null);
|
|
26787
26787
|
return {
|
|
26788
26788
|
...region,
|
|
26789
|
-
...
|
|
26789
|
+
...range3,
|
|
26790
26790
|
sections: region.sections.map((section, index) => ({
|
|
26791
26791
|
...section,
|
|
26792
26792
|
...reserve(index)
|
|
@@ -26995,11 +26995,11 @@ function finalizeGuestProjectionStorage(options) {
|
|
|
26995
26995
|
const markers = new Map(
|
|
26996
26996
|
options.reserved.countMarkers.map((marker, index) => [marker, index])
|
|
26997
26997
|
);
|
|
26998
|
-
for (const
|
|
26998
|
+
for (const range3 of ranges)
|
|
26999
26999
|
for (const segment2 of data) {
|
|
27000
|
-
const first = Math.max(
|
|
27000
|
+
const first = Math.max(range3.address, segment2.address);
|
|
27001
27001
|
const last = Math.min(
|
|
27002
|
-
|
|
27002
|
+
range3.address + range3.length,
|
|
27003
27003
|
segment2.address + segment2.length
|
|
27004
27004
|
);
|
|
27005
27005
|
const start = segment2.offset + first - segment2.address;
|
|
@@ -30722,19 +30722,20 @@ function compactSwiftClangOverlays(flags, generated) {
|
|
|
30722
30722
|
}
|
|
30723
30723
|
return duplicates.size === 0 ? flags : flags.filter((_, index) => !duplicates.has(index));
|
|
30724
30724
|
}
|
|
30725
|
-
function
|
|
30725
|
+
function submoduleImports(sources) {
|
|
30726
30726
|
const imports2 = /* @__PURE__ */ new Map();
|
|
30727
30727
|
for (const source of sources)
|
|
30728
|
-
for (const
|
|
30728
|
+
for (const match of source.matchAll(SUBMODULE_IMPORT)) {
|
|
30729
|
+
const module2 = match[1] ?? match[3];
|
|
30729
30730
|
const names = imports2.get(module2) ?? /* @__PURE__ */ new Set();
|
|
30730
|
-
names.add(
|
|
30731
|
+
names.add(match[2] ?? match[4]);
|
|
30731
30732
|
imports2.set(module2, names);
|
|
30732
30733
|
}
|
|
30733
30734
|
return imports2;
|
|
30734
30735
|
}
|
|
30735
30736
|
function swiftObjCModuleMap(module2, headers, submodules = /* @__PURE__ */ new Set(), swiftHeader) {
|
|
30736
30737
|
const header = (file) => `header ${JSON.stringify(file)}`;
|
|
30737
|
-
const stem = (file) => file.slice(file.lastIndexOf("/") + 1).replace(/\.[^.]*$/, "");
|
|
30738
|
+
const stem = (file) => file.slice(file.lastIndexOf("/") + 1).replace(/\.[^.]*$/, "").replace(/[^A-Za-z0-9_]/g, "_").replace(/^(?=\d)/, "_");
|
|
30738
30739
|
return [
|
|
30739
30740
|
`module ${module2} {`,
|
|
30740
30741
|
...headers.map(
|
|
@@ -30746,7 +30747,7 @@ function swiftObjCModuleMap(module2, headers, submodules = /* @__PURE__ */ new S
|
|
|
30746
30747
|
""
|
|
30747
30748
|
].join("\n");
|
|
30748
30749
|
}
|
|
30749
|
-
var SWIFT_OBJC_INTEROP_FLAGS, CLANG_PATH_OPTIONS,
|
|
30750
|
+
var SWIFT_OBJC_INTEROP_FLAGS, CLANG_PATH_OPTIONS, SUBMODULE_IMPORT;
|
|
30750
30751
|
var init_swift_objc_import = __esm({
|
|
30751
30752
|
"src/swift-objc-import.ts"() {
|
|
30752
30753
|
"use strict";
|
|
@@ -30777,7 +30778,7 @@ var init_swift_objc_import = __esm({
|
|
|
30777
30778
|
"-iwithprefixbefore",
|
|
30778
30779
|
"--sysroot"
|
|
30779
30780
|
]);
|
|
30780
|
-
|
|
30781
|
+
SUBMODULE_IMPORT = /^[ \t]*(?:(?:@\w+(?:\([^)]*\))?[ \t]+)*import[ \t]+([A-Za-z_]\w*)\.([A-Za-z_]\w*)[ \t]*(?:\/\/.*)?|@import[ \t]+([A-Za-z_]\w*)\.([A-Za-z_]\w*)[ \t]*;.*)$/gm;
|
|
30781
30782
|
}
|
|
30782
30783
|
});
|
|
30783
30784
|
|
|
@@ -31735,7 +31736,7 @@ function withNativeSourceGlue(input, glue) {
|
|
|
31735
31736
|
function swiftOptionalFramework(name3) {
|
|
31736
31737
|
return OPTIONAL_FRAMEWORKS.has(name3);
|
|
31737
31738
|
}
|
|
31738
|
-
function swiftCondition(text7, available) {
|
|
31739
|
+
function swiftCondition(text7, available, defines) {
|
|
31739
31740
|
const tokens2 = text7.match(/\w+\s*\([^()]*\)|&&|\|\||!|\(|\)|\w+/g) ?? [];
|
|
31740
31741
|
let index = 0;
|
|
31741
31742
|
const atom = () => {
|
|
@@ -31748,6 +31749,7 @@ function swiftCondition(text7, available) {
|
|
|
31748
31749
|
}
|
|
31749
31750
|
if (token === "true") return true;
|
|
31750
31751
|
if (token === "false") return false;
|
|
31752
|
+
if (defines && /^[A-Za-z_]\w*$/.test(token ?? "")) return defines.has(token);
|
|
31751
31753
|
const call = /^(\w+)\s*\(\s*([^,()]*?)\s*(?:,[^()]*)?\)$/.exec(token ?? "");
|
|
31752
31754
|
if (!call) return void 0;
|
|
31753
31755
|
const [, name3, argument2] = call;
|
|
@@ -31776,7 +31778,7 @@ function swiftCondition(text7, available) {
|
|
|
31776
31778
|
};
|
|
31777
31779
|
return either();
|
|
31778
31780
|
}
|
|
31779
|
-
function* swiftConditionalLines(contents2, available) {
|
|
31781
|
+
function* swiftConditionalLines(contents2, available, defines) {
|
|
31780
31782
|
const frames = [];
|
|
31781
31783
|
for (const line of swiftCodeMask(contents2).split("\n")) {
|
|
31782
31784
|
const directive = /^\s*#(if|elseif|else|endif)\b(.*)$/.exec(line);
|
|
@@ -31784,12 +31786,12 @@ function* swiftConditionalLines(contents2, available) {
|
|
|
31784
31786
|
const [, kind, rest] = directive;
|
|
31785
31787
|
const condition = (rest ?? "").replace(/\/\/.*$/, "").trim();
|
|
31786
31788
|
if (kind === "if") {
|
|
31787
|
-
const active = swiftCondition(condition, available);
|
|
31789
|
+
const active = swiftCondition(condition, available, defines);
|
|
31788
31790
|
frames.push({ active, taken: active });
|
|
31789
31791
|
} else if (kind === "endif") frames.pop();
|
|
31790
31792
|
else if (frames.length > 0) {
|
|
31791
31793
|
const frame = frames[frames.length - 1];
|
|
31792
|
-
const holds = kind === "else" ? true : swiftCondition(condition, available);
|
|
31794
|
+
const holds = kind === "else" ? true : swiftCondition(condition, available, defines);
|
|
31793
31795
|
frame.active = frame.taken === true ? false : frame.taken === false ? holds : holds && void 0;
|
|
31794
31796
|
frame.taken = frame.taken === true || holds === true ? true : frame.taken === false ? holds : void 0;
|
|
31795
31797
|
}
|
|
@@ -32610,6 +32612,17 @@ function emitSwiftPackageManifest(args) {
|
|
|
32610
32612
|
...args.nativeHeaderFlags ?? []
|
|
32611
32613
|
];
|
|
32612
32614
|
const owner = targets.find((target) => target.name === name3);
|
|
32615
|
+
const context = /* @__PURE__ */ new Set();
|
|
32616
|
+
const visit3 = (dependency) => {
|
|
32617
|
+
if (context.has(dependency)) return;
|
|
32618
|
+
context.add(dependency);
|
|
32619
|
+
for (const next of siblings.get(dependency) ?? []) visit3(next);
|
|
32620
|
+
};
|
|
32621
|
+
if (native.mixed)
|
|
32622
|
+
for (const dependency of siblings.get(name3) ?? []) visit3(dependency);
|
|
32623
|
+
const contextFlags = [...context].flatMap(
|
|
32624
|
+
(dependency) => args.native?.get(dependency)?.importFlags ?? []
|
|
32625
|
+
);
|
|
32613
32626
|
return late ? (native.groups ?? [
|
|
32614
32627
|
{
|
|
32615
32628
|
name: late.name,
|
|
@@ -32624,9 +32637,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
32624
32637
|
` path: ${JSON.stringify(group.path)},`,
|
|
32625
32638
|
` sources: ${JSON.stringify(group.sources)},`,
|
|
32626
32639
|
` publicHeadersPath: ${JSON.stringify(native.groups ? "include" : "PeachSwiftImplementation")},`,
|
|
32627
|
-
` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(targetCFlags([...nativeFlags, "-I", native.includeDirectory, ...args.headerDirectory ? ["-I", args.headerDirectory] : [], ...group.flags]))})],`,
|
|
32640
|
+
` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(targetCFlags([...nativeFlags, "-I", native.includeDirectory, ...args.headerDirectory ? ["-I", args.headerDirectory] : [], ...group.flags, ...contextFlags]))})],`,
|
|
32628
32641
|
...group.sources.some((source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)) ? [
|
|
32629
|
-
` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(targetCxxFlags([...cxxFlagsFor(nativeFlags), "-I", native.includeDirectory, ...group.cxxFlags]))})]),`
|
|
32642
|
+
` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(targetCxxFlags([...cxxFlagsFor(nativeFlags), "-I", native.includeDirectory, ...group.cxxFlags, ...contextFlags]))})]),`
|
|
32630
32643
|
] : [" ),"]
|
|
32631
32644
|
]) : [];
|
|
32632
32645
|
}),
|
|
@@ -33082,8 +33095,8 @@ function swiftApplicationEntry(file, source) {
|
|
|
33082
33095
|
}
|
|
33083
33096
|
return false;
|
|
33084
33097
|
}
|
|
33085
|
-
function swiftTypedApplicationEntry(source) {
|
|
33086
|
-
const code = [...swiftConditionalLines(swiftCodeMask(source))].map(({ line, active }) => active === false ? " ".repeat(line.length) : line).join("\n");
|
|
33098
|
+
function swiftTypedApplicationEntry(source, defines) {
|
|
33099
|
+
const code = [...swiftConditionalLines(swiftCodeMask(source), void 0, defines)].map(({ line, active }) => active === false ? " ".repeat(line.length) : line).join("\n");
|
|
33087
33100
|
const match = /@main\b[\s\S]*?\b(?:struct|class|enum)\s+([A-Za-z_]\w*)/.exec(code);
|
|
33088
33101
|
return match ? { index: match.index, name: match[1] } : null;
|
|
33089
33102
|
}
|
|
@@ -33676,9 +33689,9 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
33676
33689
|
clangImportedModules.add(name3);
|
|
33677
33690
|
}
|
|
33678
33691
|
}
|
|
33679
|
-
const
|
|
33692
|
+
const submoduleImports2 = submoduleImports(
|
|
33680
33693
|
Object.entries(input.files).flatMap(
|
|
33681
|
-
([file, contents2]) =>
|
|
33694
|
+
([file, contents2]) => /\.(?:swift|h|m|mm)$/.test(file) ? [contents2.toString()] : []
|
|
33682
33695
|
)
|
|
33683
33696
|
);
|
|
33684
33697
|
const headerDirectory = import_node_path56.default.join(layout2.root, ".build", "peach-cxx-headers");
|
|
@@ -34069,7 +34082,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
34069
34082
|
const moduleContents = originalModuleMap ? input.files[originalModuleMap[1]] : swiftpmModuleMap?.contents ?? packageModuleMap?.[1] ?? swiftObjCModuleMap(
|
|
34070
34083
|
swiftTargetModuleName(target.name),
|
|
34071
34084
|
roots2.map((file) => import_node_path56.default.join(layout2.root, file)),
|
|
34072
|
-
|
|
34085
|
+
submoduleImports2.get(swiftTargetModuleName(target.name))
|
|
34073
34086
|
);
|
|
34074
34087
|
if (moduleContents === void 0)
|
|
34075
34088
|
throw new Error("missing original module map " + modulemap);
|
|
@@ -34411,7 +34424,7 @@ module ${moduleName}.Swift {
|
|
|
34411
34424
|
` : swiftObjCModuleMap(
|
|
34412
34425
|
moduleName,
|
|
34413
34426
|
(input.nativeTargets?.find((target) => target.name === name3)?.publicHeaders ?? []).map((header) => import_node_path56.default.join(layout2.root, header)),
|
|
34414
|
-
|
|
34427
|
+
submoduleImports2.get(moduleName),
|
|
34415
34428
|
import_node_path56.default.join(headerDirectory, name3 + "-Swift.h")
|
|
34416
34429
|
)
|
|
34417
34430
|
);
|
|
@@ -34499,7 +34512,7 @@ module ${moduleName}.Swift {
|
|
|
34499
34512
|
)
|
|
34500
34513
|
);
|
|
34501
34514
|
const mains = entries.flatMap(([file, source]) => {
|
|
34502
|
-
const entry = swiftTypedApplicationEntry(source);
|
|
34515
|
+
const entry = swiftTypedApplicationEntry(source, new Set(target.defines ?? []));
|
|
34503
34516
|
return entry ? [{ file, source, ...entry }] : [];
|
|
34504
34517
|
});
|
|
34505
34518
|
let entryFile = "";
|
|
@@ -36511,8 +36524,8 @@ var init_swift_compile = __esm({
|
|
|
36511
36524
|
SWIFTPM_PROGRESS = /^\[\d+\/\d+\] /;
|
|
36512
36525
|
SWIFTPM_NOISE = /^(?:\[\d+\/\d+\] |Building for production\.\.\.$|warning: '--build-system native' has been deprecated)/;
|
|
36513
36526
|
REACH_STAGED_FRAMEWORKS = /* @__PURE__ */ new Set(["React"]);
|
|
36514
|
-
clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(
|
|
36515
|
-
/^@import (?:CoreFoundation|FoundationNetworking);$/gm,
|
|
36527
|
+
clangInterfaceHeader = (header) => header.replace(/^@import (?:UIKitCore|UIKitText);$/gm, "@import UIKit;").replace(/^@import (\w+?)(?:Enums|Constants);$/gm, "@import $1;").replace(
|
|
36528
|
+
/^@import (?:CoreFoundation|FoundationNetworking|PeachFoundation);$/gm,
|
|
36516
36529
|
"@import Foundation;"
|
|
36517
36530
|
).replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
|
|
36518
36531
|
objcEnumerations = (header) => [
|
|
@@ -36706,7 +36719,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
36706
36719
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
36707
36720
|
MULTI_MANIFEST_VERSION = 72;
|
|
36708
36721
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
36709
|
-
compilerSourceDigest = true ? "
|
|
36722
|
+
compilerSourceDigest = true ? "5ed6ce65e80a661269e2ae1a70eb7df501b75d5c5fd45c3cfc87cf1db220d611" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
36710
36723
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
36711
36724
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
36712
36725
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -38254,9 +38267,9 @@ function remoteVersionRequirement(entry) {
|
|
|
38254
38267
|
const major = text6(entry["up-to-next-major-version"]);
|
|
38255
38268
|
if (major !== void 0)
|
|
38256
38269
|
return { requirement: { kind: "upToNextMajorVersion", minimumVersion: major } };
|
|
38257
|
-
const
|
|
38258
|
-
if (
|
|
38259
|
-
const bounds =
|
|
38270
|
+
const range3 = text6(entry["version-range"]);
|
|
38271
|
+
if (range3 !== void 0) {
|
|
38272
|
+
const bounds = range3.split("..<");
|
|
38260
38273
|
const minimum2 = bounds[0];
|
|
38261
38274
|
const maximum2 = bounds[1];
|
|
38262
38275
|
if (bounds.length !== 2 || !minimum2 || !maximum2 || bounds[2] !== void 0)
|
|
@@ -40152,6 +40165,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
|
|
|
40152
40165
|
// xcode's Swift.xcspec defaults bare slash regex literals on before Swift 6
|
|
40153
40166
|
...swiftVersion < 6 && settings2("SWIFT_ENABLE_BARE_SLASH_REGEX") !== "NO" ? ["-enable-bare-slash-regex"] : [],
|
|
40154
40167
|
...packageName ? ["-package-name", packageName] : [],
|
|
40168
|
+
// as xcode passes it; the generated header then also carries
|
|
40169
|
+
// the module's internal @objc declarations
|
|
40170
|
+
...settings2("APPLICATION_EXTENSION_API_ONLY") === "YES" ? ["-application-extension"] : [],
|
|
40155
40171
|
...settingList(settings2("OTHER_SWIFT_FLAGS"))
|
|
40156
40172
|
],
|
|
40157
40173
|
includePaths: settingList(settings2("SWIFT_INCLUDE_PATHS")).map(absolute),
|
|
@@ -40969,7 +40985,7 @@ var init_swift_standin_digest = __esm({
|
|
|
40969
40985
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
40970
40986
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
40971
40987
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
40972
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
40988
|
+
STANDIN_SOURCE_DIGEST = true ? "3238b362649e49ccf332149bb0b343bb7ed657c3c8287e0a231bc7316974eb6e" : standinSourceDigest();
|
|
40973
40989
|
}
|
|
40974
40990
|
});
|
|
40975
40991
|
|
|
@@ -44817,9 +44833,9 @@ function functionDeclarations(ast, headers) {
|
|
|
44817
44833
|
if (Array.isArray(inner) && inner.some((child) => Reflect.get(child, "kind") === "CompoundStmt"))
|
|
44818
44834
|
continue;
|
|
44819
44835
|
const parameterless = !Array.isArray(inner) || !inner.some((child) => Reflect.get(child, "kind") === "ParmVarDecl");
|
|
44820
|
-
const
|
|
44836
|
+
const range3 = Reflect.get(decl, "range");
|
|
44821
44837
|
const offset = (end) => {
|
|
44822
|
-
const at = Reflect.get(
|
|
44838
|
+
const at = Reflect.get(range3, end);
|
|
44823
44839
|
const expansion = Reflect.get(at, "expansionLoc");
|
|
44824
44840
|
return Number(Reflect.get(expansion ?? at, "offset"));
|
|
44825
44841
|
};
|
|
@@ -49377,6 +49393,21 @@ function defaultValue(model, member, type) {
|
|
|
49377
49393
|
if (scanned) return scanned;
|
|
49378
49394
|
refuse3(model, `${member.attrs.name} has the ${type} default ${JSON.stringify(text7)}`);
|
|
49379
49395
|
}
|
|
49396
|
+
function range2(model, member, type) {
|
|
49397
|
+
const bounds = [
|
|
49398
|
+
[member.attrs.minValueString, 3, 1620],
|
|
49399
|
+
[member.attrs.maxValueString, 1, 1610]
|
|
49400
|
+
];
|
|
49401
|
+
return bounds.flatMap(([text7, operator, warning]) => {
|
|
49402
|
+
if (text7 === void 0) return [];
|
|
49403
|
+
if (type.startsWith("Integer ") && /^-?\d+$/.test(text7) || (type === "Double" || type === "Float") && Number.isFinite(Number(text7)))
|
|
49404
|
+
return [{ operator, value: Number(text7), warning }];
|
|
49405
|
+
refuse3(
|
|
49406
|
+
model,
|
|
49407
|
+
`${member.attrs.name} has the ${type} range bound ${JSON.stringify(text7)}`
|
|
49408
|
+
);
|
|
49409
|
+
});
|
|
49410
|
+
}
|
|
49380
49411
|
function attribute(source, member) {
|
|
49381
49412
|
checkAttributes(source.model, member, [
|
|
49382
49413
|
"name",
|
|
@@ -49388,6 +49419,8 @@ function attribute(source, member) {
|
|
|
49388
49419
|
"usesScalarValueType",
|
|
49389
49420
|
"customClassName",
|
|
49390
49421
|
"valueTransformerName",
|
|
49422
|
+
"minValueString",
|
|
49423
|
+
"maxValueString",
|
|
49391
49424
|
"indexed",
|
|
49392
49425
|
"versionHashModifier",
|
|
49393
49426
|
"elementID",
|
|
@@ -49402,18 +49435,18 @@ function attribute(source, member) {
|
|
|
49402
49435
|
if (!known)
|
|
49403
49436
|
refuse3(source.model, `${member.attrs.name} has the attribute type ${typeName}`);
|
|
49404
49437
|
const [type, className2] = known;
|
|
49405
|
-
if (member.attrs.customClassName !== void 0 && typeName !== "Transformable")
|
|
49406
|
-
refuse3(source.model, `${member.attrs.name} names a custom class for a ${typeName}`);
|
|
49407
49438
|
return {
|
|
49408
49439
|
kind: "attribute",
|
|
49409
49440
|
...common(source, member),
|
|
49410
49441
|
transient: yes(member.attrs.transient),
|
|
49411
49442
|
type,
|
|
49412
|
-
|
|
49443
|
+
// momc archives a custom class as the value class of any attribute type
|
|
49444
|
+
className: member.attrs.customClassName ?? className2,
|
|
49413
49445
|
defaultValue: defaultValue(source.model, member, typeName),
|
|
49414
49446
|
transformer: member.attrs.valueTransformerName ?? null,
|
|
49415
49447
|
flags: (yes(member.attrs.allowsExternalBinaryDataStorage) ? EXTERNAL_BINARY : 0) | (yes(member.attrs.preserveAfterDeletion) ? PRESERVE_AFTER_DELETION : 0),
|
|
49416
|
-
cloudEncryption: yes(member.attrs.allowsCloudEncryption)
|
|
49448
|
+
cloudEncryption: yes(member.attrs.allowsCloudEncryption),
|
|
49449
|
+
range: range2(source.model, member, typeName)
|
|
49417
49450
|
};
|
|
49418
49451
|
}
|
|
49419
49452
|
function relationship(source, member) {
|
|
@@ -49466,6 +49499,7 @@ function entity(source, tag) {
|
|
|
49466
49499
|
"attribute",
|
|
49467
49500
|
"relationship",
|
|
49468
49501
|
"fetchIndex",
|
|
49502
|
+
"compoundIndexes",
|
|
49469
49503
|
"uniquenessConstraints",
|
|
49470
49504
|
"userInfo"
|
|
49471
49505
|
]);
|
|
@@ -49498,6 +49532,23 @@ function entity(source, tag) {
|
|
|
49498
49532
|
elements: [{ property, ascending: true }],
|
|
49499
49533
|
owned: source.tools >= 9
|
|
49500
49534
|
});
|
|
49535
|
+
const compound = tag.children.filter((child) => child.name === "compoundIndexes").flatMap((group) => {
|
|
49536
|
+
checkChildren(source.model, group, ["compoundIndex"]);
|
|
49537
|
+
return group.children;
|
|
49538
|
+
});
|
|
49539
|
+
if (compound.length > 0 && source.tools < 9)
|
|
49540
|
+
refuse3(source.model, `${tag.attrs.name} has compound indexes before xcode 9`);
|
|
49541
|
+
compound.forEach((index, at) => {
|
|
49542
|
+
checkChildren(source.model, index, ["index"]);
|
|
49543
|
+
indexes.push({
|
|
49544
|
+
name: `compoundIndex${at === 0 ? "" : at}`,
|
|
49545
|
+
elements: index.children.map((element) => {
|
|
49546
|
+
checkAttributes(source.model, element, ["value"]);
|
|
49547
|
+
return { property: element.attrs.value, ascending: true };
|
|
49548
|
+
}),
|
|
49549
|
+
owned: true
|
|
49550
|
+
});
|
|
49551
|
+
});
|
|
49501
49552
|
const uniqueness = tag.children.filter((child) => child.name === "uniquenessConstraints").flatMap((group) => {
|
|
49502
49553
|
checkChildren(source.model, group, ["uniquenessConstraint"]);
|
|
49503
49554
|
return group.children.map((constraint) => {
|
|
@@ -49569,8 +49620,16 @@ function archiveModel(model) {
|
|
|
49569
49620
|
for (const property of item.properties)
|
|
49570
49621
|
propertyIndex.set(`${item.name}.${property.name}`, archive.reserve());
|
|
49571
49622
|
const entityUid = (name3) => uid(entityIndex.get(name3));
|
|
49623
|
+
const byName = new Map(model.entities.map((item) => [item.name, item]));
|
|
49624
|
+
const relationships = (item) => [
|
|
49625
|
+
...item.parent === null ? [] : relationships(byName.get(item.parent)),
|
|
49626
|
+
...item.properties.flatMap(
|
|
49627
|
+
(property) => property.kind === "relationship" ? [property.name] : []
|
|
49628
|
+
)
|
|
49629
|
+
];
|
|
49572
49630
|
for (const item of model.entities) {
|
|
49573
49631
|
const self = entityUid(item.name);
|
|
49632
|
+
const related = relationships(item);
|
|
49574
49633
|
const properties = item.properties.map((property) => {
|
|
49575
49634
|
const index = propertyIndex.get(`${item.name}.${property.name}`);
|
|
49576
49635
|
const shared = {
|
|
@@ -49592,7 +49651,45 @@ function archiveModel(model) {
|
|
|
49592
49651
|
NSFlagsKey: property.flags,
|
|
49593
49652
|
NSValueTransformerName: archive.string(property.transformer),
|
|
49594
49653
|
...property.transient ? { NSIsTransient: true } : {},
|
|
49595
|
-
...property.cloudEncryption ? { NSAllowsCloudEncryption: true } : {}
|
|
49654
|
+
...property.cloudEncryption ? { NSAllowsCloudEncryption: true } : {},
|
|
49655
|
+
...property.range.length > 0 ? {
|
|
49656
|
+
NSValidationPredicates: archive.array(
|
|
49657
|
+
property.range.map(
|
|
49658
|
+
(bound) => archive.fill(archive.reserve(), "NSComparisonPredicate", {
|
|
49659
|
+
NSLeftExpression: archive.fill(
|
|
49660
|
+
archive.reserve(),
|
|
49661
|
+
"NSSelfExpression",
|
|
49662
|
+
{
|
|
49663
|
+
NSExpressionType: 1
|
|
49664
|
+
}
|
|
49665
|
+
),
|
|
49666
|
+
NSPredicateOperator: archive.fill(
|
|
49667
|
+
archive.reserve(),
|
|
49668
|
+
"NSComparisonPredicateOperator",
|
|
49669
|
+
{
|
|
49670
|
+
NSModifier: 0,
|
|
49671
|
+
NSOperatorType: bound.operator,
|
|
49672
|
+
NSOptions: 0,
|
|
49673
|
+
NSVariant: bound.operator
|
|
49674
|
+
}
|
|
49675
|
+
),
|
|
49676
|
+
NSRightExpression: archive.fill(
|
|
49677
|
+
archive.reserve(),
|
|
49678
|
+
"NSConstantValueExpression",
|
|
49679
|
+
{
|
|
49680
|
+
NSConstantValue: archive.add(bound.value),
|
|
49681
|
+
NSExpressionType: 0
|
|
49682
|
+
}
|
|
49683
|
+
)
|
|
49684
|
+
})
|
|
49685
|
+
),
|
|
49686
|
+
"NSArray"
|
|
49687
|
+
),
|
|
49688
|
+
NSValidationWarnings: archive.array(
|
|
49689
|
+
property.range.map((bound) => archive.add(bound.warning)),
|
|
49690
|
+
"NSArray"
|
|
49691
|
+
)
|
|
49692
|
+
} : {}
|
|
49596
49693
|
})
|
|
49597
49694
|
];
|
|
49598
49695
|
const destination = model.entities.find(
|
|
@@ -49616,7 +49713,9 @@ function archiveModel(model) {
|
|
|
49616
49713
|
});
|
|
49617
49714
|
const indexes = item.indexes.length === 0 ? {} : {
|
|
49618
49715
|
NSCompoundIndexes: archive.array(
|
|
49619
|
-
item.indexes.filter(
|
|
49716
|
+
item.indexes.filter(
|
|
49717
|
+
(index) => index.elements.length >= 2 && !index.elements.some((element) => related.includes(element.property))
|
|
49718
|
+
).map(
|
|
49620
49719
|
(index) => archive.array(
|
|
49621
49720
|
index.elements.map((element) => archive.add(element.property))
|
|
49622
49721
|
)
|
|
@@ -49832,6 +49931,14 @@ var init_core_data_model = __esm({
|
|
|
49832
49931
|
NSMutableArray: ["NSMutableArray", "NSArray", "NSObject"],
|
|
49833
49932
|
NSSet: ["NSSet", "NSObject"],
|
|
49834
49933
|
NSDate: ["NSDate", "NSObject"],
|
|
49934
|
+
NSComparisonPredicate: ["NSComparisonPredicate", "NSPredicate", "NSObject"],
|
|
49935
|
+
NSComparisonPredicateOperator: [
|
|
49936
|
+
"NSComparisonPredicateOperator",
|
|
49937
|
+
"NSPredicateOperator",
|
|
49938
|
+
"NSObject"
|
|
49939
|
+
],
|
|
49940
|
+
NSSelfExpression: ["NSSelfExpression", "NSExpression", "NSObject"],
|
|
49941
|
+
NSConstantValueExpression: ["NSConstantValueExpression", "NSExpression", "NSObject"],
|
|
49835
49942
|
NSDecimalNumberPlaceholder: [
|
|
49836
49943
|
"NSDecimalNumberPlaceholder",
|
|
49837
49944
|
"NSDecimalNumber",
|
|
@@ -58148,9 +58255,9 @@ function overlapsBounds(left, right) {
|
|
|
58148
58255
|
}
|
|
58149
58256
|
function resolveCompatVersionRange(availableRegistryRanges, declaredVersion) {
|
|
58150
58257
|
const declaredGroups = parseRange(declaredVersion);
|
|
58151
|
-
const registryGroups = availableRegistryRanges.map((
|
|
58152
|
-
range:
|
|
58153
|
-
bounds: parseRange(
|
|
58258
|
+
const registryGroups = availableRegistryRanges.map((range3) => ({
|
|
58259
|
+
range: range3,
|
|
58260
|
+
bounds: parseRange(range3)
|
|
58154
58261
|
}));
|
|
58155
58262
|
if (!declaredGroups || registryGroups.some((candidate) => !candidate.bounds)) {
|
|
58156
58263
|
return {
|
|
@@ -65175,7 +65282,7 @@ init_swift_native_pin();
|
|
|
65175
65282
|
init_xcode_project();
|
|
65176
65283
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
65177
65284
|
function expoNativeCompilerDigestValue() {
|
|
65178
|
-
return true ? "
|
|
65285
|
+
return true ? "a73dbb991a81bb1544cef0b99f6ffc474d5d36d4520550412538932edda6d36c" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
65179
65286
|
}
|
|
65180
65287
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
65181
65288
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2429 | (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;
|