peachsim 0.1.814 → 0.1.815
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/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.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 +15 -35
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +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/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +14 -34
- 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 +14 -34
- 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.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/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/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.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 +15 -35
- 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 +14 -34
- 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/swift-binary-modules.ts +9 -7
- package/src/swift-standin-emit.ts +2 -23
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -975,14 +975,14 @@ function liftExtensionOverrides(source, extraObjCExtensions) {
|
|
|
975
975
|
const args = forwardedArguments(source.slice(open + 1, close));
|
|
976
976
|
if (args === null) continue;
|
|
977
977
|
const call = (clause.includes("->") ? "return " : "") + (/\b(?:throws|rethrows)\b/.test(clause) ? "try " : "") + (/\basync\b/.test(clause) ? "await " : "") + `__peach_ext_${name2}(${args})`;
|
|
978
|
-
const
|
|
978
|
+
const signature = `func ${name2}${func[3] ?? ""}${source.slice(open, close + 1)}${clause ? ` ${clause}` : ""}`;
|
|
979
979
|
const nameAt = at + rest.indexOf(name2, rest.indexOf("func", "override".length + func[1].length) + 4);
|
|
980
980
|
lifted.push({
|
|
981
981
|
type: top.name,
|
|
982
982
|
member: name2,
|
|
983
983
|
at,
|
|
984
984
|
modifiers,
|
|
985
|
-
decl:
|
|
985
|
+
decl: signature,
|
|
986
986
|
forward: `{ ${call} };`,
|
|
987
987
|
nameAt,
|
|
988
988
|
edits: [
|
|
@@ -1209,9 +1209,9 @@ function lowerNotificationDelegate(source) {
|
|
|
1209
1209
|
const body = code.slice(open + 1, close - 1);
|
|
1210
1210
|
for (const method of body.matchAll(/\bfunc\s+userNotificationCenter\s*\(/g)) {
|
|
1211
1211
|
const at = open + 1 + method.index;
|
|
1212
|
-
const
|
|
1212
|
+
const signature = code.slice(at, code.indexOf("{", at));
|
|
1213
1213
|
const label = Object.keys(selectors).find(
|
|
1214
|
-
(name2) => new RegExp(`\\b${name2}\\b`).test(
|
|
1214
|
+
(name2) => new RegExp(`\\b${name2}\\b`).test(signature)
|
|
1215
1215
|
);
|
|
1216
1216
|
if (label) edits.push([at, 0, `@ObjC(${JSON.stringify(selectors[label])}) `]);
|
|
1217
1217
|
}
|
|
@@ -1309,7 +1309,7 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
1309
1309
|
depth--;
|
|
1310
1310
|
if (depth === 1) previous = at + 1;
|
|
1311
1311
|
} else if (depth === 1 && /^func\b/.test(code.slice(at))) {
|
|
1312
|
-
const
|
|
1312
|
+
const signature = code.slice(at, code.indexOf("{", at));
|
|
1313
1313
|
const prefix = code.slice(previous, at);
|
|
1314
1314
|
const attributes = /(?:@\w+(?:\([^{}]*\))?\s*|(?:public|open|private|fileprivate|internal|final|override|static|class|nonisolated|dynamic)\s+)*$/.exec(
|
|
1315
1315
|
prefix
|
|
@@ -1318,12 +1318,12 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
1318
1318
|
continue;
|
|
1319
1319
|
let selector;
|
|
1320
1320
|
if (conforms.has("UITableViewDataSource") && /^func\s+numberOfSections\s*\(\s*in\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*\)/.test(
|
|
1321
|
-
|
|
1321
|
+
signature
|
|
1322
1322
|
))
|
|
1323
1323
|
selector = "numberOfSectionsInTableView:";
|
|
1324
1324
|
else {
|
|
1325
1325
|
const match = /^func\s+tableView\s*\(\s*_\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*,\s*(\w+)\b/.exec(
|
|
1326
|
-
|
|
1326
|
+
signature
|
|
1327
1327
|
);
|
|
1328
1328
|
if (match) selector = selectors[match[1]];
|
|
1329
1329
|
}
|
|
@@ -3205,7 +3205,10 @@ async function range(url, spec) {
|
|
|
3205
3205
|
async function zipEntries(url) {
|
|
3206
3206
|
const { total } = await range(url, "0-0");
|
|
3207
3207
|
const tail = await range(url, `${Math.max(0, total - 65558)}-${total - 1}`);
|
|
3208
|
-
|
|
3208
|
+
let end = tail.bytes.length - 22;
|
|
3209
|
+
for (; end >= 0; end--)
|
|
3210
|
+
if (tail.bytes.readUInt32LE(end) === 101010256 && end + 22 + tail.bytes.readUInt16LE(end + 20) === tail.bytes.length)
|
|
3211
|
+
break;
|
|
3209
3212
|
if (end < 0) throw new Error(`${url} has no zip end record`);
|
|
3210
3213
|
let size = tail.bytes.readUInt32LE(end + 12);
|
|
3211
3214
|
let offset = tail.bytes.readUInt32LE(end + 16);
|
|
@@ -3250,7 +3253,7 @@ async function swiftBinaryModules(binary) {
|
|
|
3250
3253
|
import_node_fs7.default.writeFileSync(cached2, JSON.stringify(modules));
|
|
3251
3254
|
return modules;
|
|
3252
3255
|
}
|
|
3253
|
-
var import_node_crypto4, import_node_fs7, import_node_os5, import_node_path8, cacheDir
|
|
3256
|
+
var import_node_crypto4, import_node_fs7, import_node_os5, import_node_path8, cacheDir;
|
|
3254
3257
|
var init_swift_binary_modules = __esm({
|
|
3255
3258
|
"src/swift-binary-modules.ts"() {
|
|
3256
3259
|
"use strict";
|
|
@@ -3259,11 +3262,6 @@ var init_swift_binary_modules = __esm({
|
|
|
3259
3262
|
import_node_os5 = __toESM(require("node:os"), 1);
|
|
3260
3263
|
import_node_path8 = __toESM(require("node:path"), 1);
|
|
3261
3264
|
cacheDir = import_node_path8.default.join(import_node_os5.default.tmpdir(), "peach-swift-binary-modules");
|
|
3262
|
-
signature = (bytes, value) => {
|
|
3263
|
-
const needle = Buffer.alloc(4);
|
|
3264
|
-
needle.writeUInt32LE(value);
|
|
3265
|
-
return bytes.lastIndexOf(needle);
|
|
3266
|
-
};
|
|
3267
3265
|
}
|
|
3268
3266
|
});
|
|
3269
3267
|
|
|
@@ -4210,24 +4208,6 @@ function emitSwiftStandin(graphs, options) {
|
|
|
4210
4208
|
);
|
|
4211
4209
|
continue;
|
|
4212
4210
|
}
|
|
4213
|
-
if (raw2 && list2.includes("Hashable")) {
|
|
4214
|
-
if (leaf(member) === "hash(into:)") {
|
|
4215
|
-
emit(
|
|
4216
|
-
`${inner}public func hash(into hasher: inout Hasher) { hasher.combine(rawValue) }`
|
|
4217
|
-
);
|
|
4218
|
-
continue;
|
|
4219
|
-
}
|
|
4220
|
-
if (leaf(member) === "hashValue") {
|
|
4221
|
-
emit(`${inner}public var hashValue: Int { rawValue.hashValue }`);
|
|
4222
|
-
continue;
|
|
4223
|
-
}
|
|
4224
|
-
if (leaf(member).startsWith("==")) {
|
|
4225
|
-
emit(
|
|
4226
|
-
`${inner}public static func == (lhs: ${shape.name}${shape.generics}, rhs: ${shape.name}${shape.generics}) -> Bool { lhs.rawValue == rhs.rawValue }`
|
|
4227
|
-
);
|
|
4228
|
-
continue;
|
|
4229
|
-
}
|
|
4230
|
-
}
|
|
4231
4211
|
emitMember(member, inner, {
|
|
4232
4212
|
openOwner: false,
|
|
4233
4213
|
inClass: false,
|
|
@@ -4243,7 +4223,7 @@ function emitSwiftStandin(graphs, options) {
|
|
|
4243
4223
|
return void skipped.push({ path: path16, reason: `unparsed enum ${text(symbol)}` });
|
|
4244
4224
|
const members = membersOf(id);
|
|
4245
4225
|
const raw2 = rawType(members);
|
|
4246
|
-
const cases =
|
|
4226
|
+
const cases = members.filter(
|
|
4247
4227
|
(member) => member.kind.identifier === "swift.enum.case"
|
|
4248
4228
|
);
|
|
4249
4229
|
const missing = raw2 ? cases.filter((member) => !values.has(member.identifier.precise)) : [];
|
|
@@ -4467,7 +4447,7 @@ var STANDIN_EMIT_VERSION, TYPE_KINDS, MEMBER_KINDS, ACCESSOR_WORD, KEEP_EXTERNAL
|
|
|
4467
4447
|
var init_swift_standin_emit = __esm({
|
|
4468
4448
|
"src/swift-standin-emit.ts"() {
|
|
4469
4449
|
"use strict";
|
|
4470
|
-
STANDIN_EMIT_VERSION = "
|
|
4450
|
+
STANDIN_EMIT_VERSION = "5";
|
|
4471
4451
|
TYPE_KINDS = /* @__PURE__ */ new Set([
|
|
4472
4452
|
"swift.class",
|
|
4473
4453
|
"swift.struct",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (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
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -2397,14 +2397,14 @@ function liftExtensionOverrides(source, extraObjCExtensions) {
|
|
|
2397
2397
|
const args = forwardedArguments(source.slice(open + 1, close));
|
|
2398
2398
|
if (args === null) continue;
|
|
2399
2399
|
const call = (clause.includes("->") ? "return " : "") + (/\b(?:throws|rethrows)\b/.test(clause) ? "try " : "") + (/\basync\b/.test(clause) ? "await " : "") + `__peach_ext_${name2}(${args})`;
|
|
2400
|
-
const
|
|
2400
|
+
const signature = `func ${name2}${func[3] ?? ""}${source.slice(open, close + 1)}${clause ? ` ${clause}` : ""}`;
|
|
2401
2401
|
const nameAt = at + rest.indexOf(name2, rest.indexOf("func", "override".length + func[1].length) + 4);
|
|
2402
2402
|
lifted.push({
|
|
2403
2403
|
type: top.name,
|
|
2404
2404
|
member: name2,
|
|
2405
2405
|
at,
|
|
2406
2406
|
modifiers,
|
|
2407
|
-
decl:
|
|
2407
|
+
decl: signature,
|
|
2408
2408
|
forward: `{ ${call} };`,
|
|
2409
2409
|
nameAt,
|
|
2410
2410
|
edits: [
|
|
@@ -2631,9 +2631,9 @@ function lowerNotificationDelegate(source) {
|
|
|
2631
2631
|
const body = code.slice(open + 1, close - 1);
|
|
2632
2632
|
for (const method of body.matchAll(/\bfunc\s+userNotificationCenter\s*\(/g)) {
|
|
2633
2633
|
const at = open + 1 + method.index;
|
|
2634
|
-
const
|
|
2634
|
+
const signature = code.slice(at, code.indexOf("{", at));
|
|
2635
2635
|
const label = Object.keys(selectors).find(
|
|
2636
|
-
(name2) => new RegExp(`\\b${name2}\\b`).test(
|
|
2636
|
+
(name2) => new RegExp(`\\b${name2}\\b`).test(signature)
|
|
2637
2637
|
);
|
|
2638
2638
|
if (label) edits.push([at, 0, `@ObjC(${JSON.stringify(selectors[label])}) `]);
|
|
2639
2639
|
}
|
|
@@ -2731,7 +2731,7 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
2731
2731
|
depth--;
|
|
2732
2732
|
if (depth === 1) previous = at + 1;
|
|
2733
2733
|
} else if (depth === 1 && /^func\b/.test(code.slice(at))) {
|
|
2734
|
-
const
|
|
2734
|
+
const signature = code.slice(at, code.indexOf("{", at));
|
|
2735
2735
|
const prefix = code.slice(previous, at);
|
|
2736
2736
|
const attributes = /(?:@\w+(?:\([^{}]*\))?\s*|(?:public|open|private|fileprivate|internal|final|override|static|class|nonisolated|dynamic)\s+)*$/.exec(
|
|
2737
2737
|
prefix
|
|
@@ -2740,12 +2740,12 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
2740
2740
|
continue;
|
|
2741
2741
|
let selector;
|
|
2742
2742
|
if (conforms.has("UITableViewDataSource") && /^func\s+numberOfSections\s*\(\s*in\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*\)/.test(
|
|
2743
|
-
|
|
2743
|
+
signature
|
|
2744
2744
|
))
|
|
2745
2745
|
selector = "numberOfSectionsInTableView:";
|
|
2746
2746
|
else {
|
|
2747
2747
|
const match = /^func\s+tableView\s*\(\s*_\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*,\s*(\w+)\b/.exec(
|
|
2748
|
-
|
|
2748
|
+
signature
|
|
2749
2749
|
);
|
|
2750
2750
|
if (match) selector = selectors[match[1]];
|
|
2751
2751
|
}
|
|
@@ -4452,15 +4452,13 @@ async function range(url, spec) {
|
|
|
4452
4452
|
total: Number(match[2])
|
|
4453
4453
|
};
|
|
4454
4454
|
}
|
|
4455
|
-
var signature = (bytes, value) => {
|
|
4456
|
-
const needle = Buffer.alloc(4);
|
|
4457
|
-
needle.writeUInt32LE(value);
|
|
4458
|
-
return bytes.lastIndexOf(needle);
|
|
4459
|
-
};
|
|
4460
4455
|
async function zipEntries(url) {
|
|
4461
4456
|
const { total } = await range(url, "0-0");
|
|
4462
4457
|
const tail = await range(url, `${Math.max(0, total - 65558)}-${total - 1}`);
|
|
4463
|
-
|
|
4458
|
+
let end = tail.bytes.length - 22;
|
|
4459
|
+
for (; end >= 0; end--)
|
|
4460
|
+
if (tail.bytes.readUInt32LE(end) === 101010256 && end + 22 + tail.bytes.readUInt16LE(end + 20) === tail.bytes.length)
|
|
4461
|
+
break;
|
|
4464
4462
|
if (end < 0) throw new Error(`${url} has no zip end record`);
|
|
4465
4463
|
let size = tail.bytes.readUInt32LE(end + 12);
|
|
4466
4464
|
let offset = tail.bytes.readUInt32LE(end + 16);
|
|
@@ -5034,7 +5032,7 @@ function getCliVersion() {
|
|
|
5034
5032
|
}
|
|
5035
5033
|
|
|
5036
5034
|
// src/swift-standin-emit.ts
|
|
5037
|
-
var STANDIN_EMIT_VERSION = "
|
|
5035
|
+
var STANDIN_EMIT_VERSION = "5";
|
|
5038
5036
|
var TYPE_KINDS = /* @__PURE__ */ new Set([
|
|
5039
5037
|
"swift.class",
|
|
5040
5038
|
"swift.struct",
|
|
@@ -5472,24 +5470,6 @@ function emitSwiftStandin(graphs, options) {
|
|
|
5472
5470
|
);
|
|
5473
5471
|
continue;
|
|
5474
5472
|
}
|
|
5475
|
-
if (raw2 && list2.includes("Hashable")) {
|
|
5476
|
-
if (leaf(member) === "hash(into:)") {
|
|
5477
|
-
emit(
|
|
5478
|
-
`${inner}public func hash(into hasher: inout Hasher) { hasher.combine(rawValue) }`
|
|
5479
|
-
);
|
|
5480
|
-
continue;
|
|
5481
|
-
}
|
|
5482
|
-
if (leaf(member) === "hashValue") {
|
|
5483
|
-
emit(`${inner}public var hashValue: Int { rawValue.hashValue }`);
|
|
5484
|
-
continue;
|
|
5485
|
-
}
|
|
5486
|
-
if (leaf(member).startsWith("==")) {
|
|
5487
|
-
emit(
|
|
5488
|
-
`${inner}public static func == (lhs: ${shape.name}${shape.generics}, rhs: ${shape.name}${shape.generics}) -> Bool { lhs.rawValue == rhs.rawValue }`
|
|
5489
|
-
);
|
|
5490
|
-
continue;
|
|
5491
|
-
}
|
|
5492
|
-
}
|
|
5493
5473
|
emitMember(member, inner, {
|
|
5494
5474
|
openOwner: false,
|
|
5495
5475
|
inClass: false,
|
|
@@ -5505,7 +5485,7 @@ function emitSwiftStandin(graphs, options) {
|
|
|
5505
5485
|
return void skipped.push({ path: path16, reason: `unparsed enum ${text(symbol)}` });
|
|
5506
5486
|
const members = membersOf(id);
|
|
5507
5487
|
const raw2 = rawType(members);
|
|
5508
|
-
const cases =
|
|
5488
|
+
const cases = members.filter(
|
|
5509
5489
|
(member) => member.kind.identifier === "swift.enum.case"
|
|
5510
5490
|
);
|
|
5511
5491
|
const missing = raw2 ? cases.filter((member) => !values.has(member.identifier.precise)) : [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -11440,14 +11440,14 @@ function liftExtensionOverrides(source, extraObjCExtensions) {
|
|
|
11440
11440
|
const args = forwardedArguments(source.slice(open + 1, close));
|
|
11441
11441
|
if (args === null) continue;
|
|
11442
11442
|
const call = (clause.includes("->") ? "return " : "") + (/\b(?:throws|rethrows)\b/.test(clause) ? "try " : "") + (/\basync\b/.test(clause) ? "await " : "") + `__peach_ext_${name2}(${args})`;
|
|
11443
|
-
const
|
|
11443
|
+
const signature = `func ${name2}${func[3] ?? ""}${source.slice(open, close + 1)}${clause ? ` ${clause}` : ""}`;
|
|
11444
11444
|
const nameAt = at + rest.indexOf(name2, rest.indexOf("func", "override".length + func[1].length) + 4);
|
|
11445
11445
|
lifted.push({
|
|
11446
11446
|
type: top.name,
|
|
11447
11447
|
member: name2,
|
|
11448
11448
|
at,
|
|
11449
11449
|
modifiers,
|
|
11450
|
-
decl:
|
|
11450
|
+
decl: signature,
|
|
11451
11451
|
forward: `{ ${call} };`,
|
|
11452
11452
|
nameAt,
|
|
11453
11453
|
edits: [
|
|
@@ -11674,9 +11674,9 @@ function lowerNotificationDelegate(source) {
|
|
|
11674
11674
|
const body = code.slice(open + 1, close - 1);
|
|
11675
11675
|
for (const method of body.matchAll(/\bfunc\s+userNotificationCenter\s*\(/g)) {
|
|
11676
11676
|
const at = open + 1 + method.index;
|
|
11677
|
-
const
|
|
11677
|
+
const signature = code.slice(at, code.indexOf("{", at));
|
|
11678
11678
|
const label = Object.keys(selectors).find(
|
|
11679
|
-
(name2) => new RegExp(`\\b${name2}\\b`).test(
|
|
11679
|
+
(name2) => new RegExp(`\\b${name2}\\b`).test(signature)
|
|
11680
11680
|
);
|
|
11681
11681
|
if (label) edits.push([at, 0, `@ObjC(${JSON.stringify(selectors[label])}) `]);
|
|
11682
11682
|
}
|
|
@@ -11774,7 +11774,7 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
11774
11774
|
depth--;
|
|
11775
11775
|
if (depth === 1) previous = at + 1;
|
|
11776
11776
|
} else if (depth === 1 && /^func\b/.test(code.slice(at))) {
|
|
11777
|
-
const
|
|
11777
|
+
const signature = code.slice(at, code.indexOf("{", at));
|
|
11778
11778
|
const prefix = code.slice(previous, at);
|
|
11779
11779
|
const attributes = /(?:@\w+(?:\([^{}]*\))?\s*|(?:public|open|private|fileprivate|internal|final|override|static|class|nonisolated|dynamic)\s+)*$/.exec(
|
|
11780
11780
|
prefix
|
|
@@ -11783,12 +11783,12 @@ function lowerTableProtocolMethods(source, conformances) {
|
|
|
11783
11783
|
continue;
|
|
11784
11784
|
let selector;
|
|
11785
11785
|
if (conforms.has("UITableViewDataSource") && /^func\s+numberOfSections\s*\(\s*in\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*\)/.test(
|
|
11786
|
-
|
|
11786
|
+
signature
|
|
11787
11787
|
))
|
|
11788
11788
|
selector = "numberOfSectionsInTableView:";
|
|
11789
11789
|
else {
|
|
11790
11790
|
const match = /^func\s+tableView\s*\(\s*_\s+\w+\s*:\s*(?:UIKit\.)?UITableView\s*,\s*(\w+)\b/.exec(
|
|
11791
|
-
|
|
11791
|
+
signature
|
|
11792
11792
|
);
|
|
11793
11793
|
if (match) selector = selectors[match[1]];
|
|
11794
11794
|
}
|
|
@@ -13667,15 +13667,13 @@ async function range(url, spec) {
|
|
|
13667
13667
|
total: Number(match[2])
|
|
13668
13668
|
};
|
|
13669
13669
|
}
|
|
13670
|
-
var signature = (bytes, value) => {
|
|
13671
|
-
const needle = Buffer.alloc(4);
|
|
13672
|
-
needle.writeUInt32LE(value);
|
|
13673
|
-
return bytes.lastIndexOf(needle);
|
|
13674
|
-
};
|
|
13675
13670
|
async function zipEntries(url) {
|
|
13676
13671
|
const { total } = await range(url, "0-0");
|
|
13677
13672
|
const tail = await range(url, `${Math.max(0, total - 65558)}-${total - 1}`);
|
|
13678
|
-
|
|
13673
|
+
let end = tail.bytes.length - 22;
|
|
13674
|
+
for (; end >= 0; end--)
|
|
13675
|
+
if (tail.bytes.readUInt32LE(end) === 101010256 && end + 22 + tail.bytes.readUInt16LE(end + 20) === tail.bytes.length)
|
|
13676
|
+
break;
|
|
13679
13677
|
if (end < 0) throw new Error(`${url} has no zip end record`);
|
|
13680
13678
|
let size = tail.bytes.readUInt32LE(end + 12);
|
|
13681
13679
|
let offset = tail.bytes.readUInt32LE(end + 16);
|
|
@@ -14207,7 +14205,7 @@ var import_node_os7 = __toESM(require("node:os"), 1);
|
|
|
14207
14205
|
var import_node_path17 = __toESM(require("node:path"), 1);
|
|
14208
14206
|
|
|
14209
14207
|
// src/swift-standin-emit.ts
|
|
14210
|
-
var STANDIN_EMIT_VERSION = "
|
|
14208
|
+
var STANDIN_EMIT_VERSION = "5";
|
|
14211
14209
|
var TYPE_KINDS = /* @__PURE__ */ new Set([
|
|
14212
14210
|
"swift.class",
|
|
14213
14211
|
"swift.struct",
|
|
@@ -14645,24 +14643,6 @@ function emitSwiftStandin(graphs, options) {
|
|
|
14645
14643
|
);
|
|
14646
14644
|
continue;
|
|
14647
14645
|
}
|
|
14648
|
-
if (raw2 && list2.includes("Hashable")) {
|
|
14649
|
-
if (leaf(member) === "hash(into:)") {
|
|
14650
|
-
emit(
|
|
14651
|
-
`${inner}public func hash(into hasher: inout Hasher) { hasher.combine(rawValue) }`
|
|
14652
|
-
);
|
|
14653
|
-
continue;
|
|
14654
|
-
}
|
|
14655
|
-
if (leaf(member) === "hashValue") {
|
|
14656
|
-
emit(`${inner}public var hashValue: Int { rawValue.hashValue }`);
|
|
14657
|
-
continue;
|
|
14658
|
-
}
|
|
14659
|
-
if (leaf(member).startsWith("==")) {
|
|
14660
|
-
emit(
|
|
14661
|
-
`${inner}public static func == (lhs: ${shape.name}${shape.generics}, rhs: ${shape.name}${shape.generics}) -> Bool { lhs.rawValue == rhs.rawValue }`
|
|
14662
|
-
);
|
|
14663
|
-
continue;
|
|
14664
|
-
}
|
|
14665
|
-
}
|
|
14666
14646
|
emitMember(member, inner, {
|
|
14667
14647
|
openOwner: false,
|
|
14668
14648
|
inClass: false,
|
|
@@ -14678,7 +14658,7 @@ function emitSwiftStandin(graphs, options) {
|
|
|
14678
14658
|
return void skipped.push({ path: path25, reason: `unparsed enum ${text(symbol)}` });
|
|
14679
14659
|
const members = membersOf(id);
|
|
14680
14660
|
const raw2 = rawType(members);
|
|
14681
|
-
const cases =
|
|
14661
|
+
const cases = members.filter(
|
|
14682
14662
|
(member) => member.kind.identifier === "swift.enum.case"
|
|
14683
14663
|
);
|
|
14684
14664
|
const missing = raw2 ? cases.filter((member) => !values.has(member.identifier.precise)) : [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.815 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|