peachsim 0.1.2405 → 0.1.2408
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/agent-note.ts +231 -0
- package/cli/cli-update.ts +2 -2
- package/cli/cloud-dispatch.ts +1 -1
- package/cli/commands/agent.ts +29 -26
- package/cli/commands/stream.ts +11 -7
- package/cli/main.ts +16 -2
- package/cli/outbound-endpoints.ts +16 -1
- package/dist-lib/agent-daemon-client.cjs +23 -3
- 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 +201 -60
- 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 +200 -59
- 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 +356 -100
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +3 -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 +56 -55
- 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 +367 -106
- package/dist-lib/swift-compile.cjs +195 -54
- package/dist-lib/swift-compile.mjs +195 -54
- 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 +198 -57
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/install.sh +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/skills/peach-setup/SKILL.md +8 -3
- package/src/agent-daemon-client.ts +35 -2
- package/src/agent-prompt.ts +68 -0
- package/src/canvas-agent-note-delivery.ts +83 -0
- package/src/host/agent-host.ts +128 -18
- package/src/swift-compile.ts +124 -66
- package/src/swift-host.ts +2 -1
- package/src/swift-objc-import.ts +99 -0
- package/src/xcode-header-search.ts +33 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2408 | (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;
|
|
@@ -13300,7 +13300,7 @@ var swiftCoverageProvenance;
|
|
|
13300
13300
|
var init_provenance = __esm({
|
|
13301
13301
|
"src/swift-coverage/provenance.ts"() {
|
|
13302
13302
|
"use strict";
|
|
13303
|
-
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":"dec93d0206df8efbd9f538d1f3e3f6173f6eb022cb9ad6b02271481db7578d77","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"
|
|
13303
|
+
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":"dec93d0206df8efbd9f538d1f3e3f6173f6eb022cb9ad6b02271481db7578d77","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"4a775ba92c7b23ce71dd6bb08c188c4bccd6e1ed500cc9fc7850030b945fc8d4","xcode-project.ts":"092e07d3f9154f5aaf9f7c668f16c933c3ac5d8c57e5c32df0222ae6f785eaf7","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
13304
13304
|
}
|
|
13305
13305
|
});
|
|
13306
13306
|
|
|
@@ -30218,6 +30218,61 @@ function swiftClangImporterFlags(flags) {
|
|
|
30218
30218
|
(flag) => flag !== "-fobjc-arc" && flag !== "-fno-objc-arc" && !/^-std=(?:c(?!\+\+)|gnu(?!\+\+)|iso9899:)/.test(flag)
|
|
30219
30219
|
);
|
|
30220
30220
|
}
|
|
30221
|
+
function compactSwiftClangDefines(flags) {
|
|
30222
|
+
const definitions = /* @__PURE__ */ new Map();
|
|
30223
|
+
const macros = [];
|
|
30224
|
+
for (let index = 0; index < flags.length; index++) {
|
|
30225
|
+
if (flags[index].startsWith("@")) return flags;
|
|
30226
|
+
if (flags[index] !== "-Xcc") continue;
|
|
30227
|
+
const flag = flags[++index];
|
|
30228
|
+
if (flag === void 0 || flags[index - 2] === "-Xfrontend" || flag === "-Xclang" || flag === "-Xpreprocessor" || flag.startsWith("-Wp,") || flag.startsWith("--config") || flag.startsWith("@"))
|
|
30229
|
+
return flags;
|
|
30230
|
+
if (CLANG_PATH_OPTIONS.has(flag) && flags[index + 1] === "-Xcc") {
|
|
30231
|
+
index += 2;
|
|
30232
|
+
continue;
|
|
30233
|
+
}
|
|
30234
|
+
if (!flag.startsWith("-D") && !flag.startsWith("-U")) continue;
|
|
30235
|
+
const name3 = /^-[DU]([A-Za-z_$][\w$]*)(?=[(=]|$)/.exec(flag)?.[1];
|
|
30236
|
+
if (!name3) return flags;
|
|
30237
|
+
const previous = definitions.get(name3);
|
|
30238
|
+
definitions.set(name3, previous === void 0 || previous === flag ? flag : null);
|
|
30239
|
+
macros.push({ index, name: name3, flag });
|
|
30240
|
+
}
|
|
30241
|
+
const seen = /* @__PURE__ */ new Set();
|
|
30242
|
+
const duplicates = /* @__PURE__ */ new Set();
|
|
30243
|
+
for (const { index, name: name3, flag } of macros) {
|
|
30244
|
+
if (definitions.get(name3) !== flag) continue;
|
|
30245
|
+
if (seen.has(name3)) {
|
|
30246
|
+
duplicates.add(index - 1);
|
|
30247
|
+
duplicates.add(index);
|
|
30248
|
+
}
|
|
30249
|
+
seen.add(name3);
|
|
30250
|
+
}
|
|
30251
|
+
return duplicates.size === 0 ? flags : flags.filter((_, index) => !duplicates.has(index));
|
|
30252
|
+
}
|
|
30253
|
+
function compactSwiftClangOverlays(flags, generated) {
|
|
30254
|
+
if (generated.size === 0) return flags;
|
|
30255
|
+
const overlays = /* @__PURE__ */ new Map();
|
|
30256
|
+
const duplicates = /* @__PURE__ */ new Set();
|
|
30257
|
+
for (let index = 0; index < flags.length; index++) {
|
|
30258
|
+
const flag = flags[index];
|
|
30259
|
+
if (flag.startsWith("@")) return flags;
|
|
30260
|
+
if (flag === "-Xcc" && flags[index - 1] === "-Xfrontend") return flags;
|
|
30261
|
+
if (flags[index - 1] === "-Xcc" && (flag.startsWith("--config") || flag === "-Xclang"))
|
|
30262
|
+
return flags;
|
|
30263
|
+
if (!flag.startsWith("-ivfsoverlay") && !flag.startsWith("-vfsoverlay")) continue;
|
|
30264
|
+
if (flag !== "-ivfsoverlay" || flags[index - 1] !== "-Xcc" || flags[index + 1] !== "-Xcc")
|
|
30265
|
+
return flags;
|
|
30266
|
+
const file = flags[index + 2];
|
|
30267
|
+
if (file === void 0 || !generated.has(file)) return flags;
|
|
30268
|
+
const previous = overlays.get(file);
|
|
30269
|
+
if (previous !== void 0)
|
|
30270
|
+
for (let offset = -1; offset < 3; offset++) duplicates.add(previous + offset);
|
|
30271
|
+
overlays.set(file, index);
|
|
30272
|
+
index += 2;
|
|
30273
|
+
}
|
|
30274
|
+
return duplicates.size === 0 ? flags : flags.filter((_, index) => !duplicates.has(index));
|
|
30275
|
+
}
|
|
30221
30276
|
function swiftSubmoduleImports(sources) {
|
|
30222
30277
|
const imports2 = /* @__PURE__ */ new Map();
|
|
30223
30278
|
for (const source of sources)
|
|
@@ -30242,7 +30297,7 @@ function swiftObjCModuleMap(module2, headers, submodules = /* @__PURE__ */ new S
|
|
|
30242
30297
|
""
|
|
30243
30298
|
].join("\n");
|
|
30244
30299
|
}
|
|
30245
|
-
var SWIFT_OBJC_INTEROP_FLAGS, SWIFT_SUBMODULE_IMPORT;
|
|
30300
|
+
var SWIFT_OBJC_INTEROP_FLAGS, CLANG_PATH_OPTIONS, SWIFT_SUBMODULE_IMPORT;
|
|
30246
30301
|
var init_swift_objc_import = __esm({
|
|
30247
30302
|
"src/swift-objc-import.ts"() {
|
|
30248
30303
|
"use strict";
|
|
@@ -30256,6 +30311,23 @@ var init_swift_objc_import = __esm({
|
|
|
30256
30311
|
"-Xcc",
|
|
30257
30312
|
"-fblocks"
|
|
30258
30313
|
];
|
|
30314
|
+
CLANG_PATH_OPTIONS = /* @__PURE__ */ new Set([
|
|
30315
|
+
"-I",
|
|
30316
|
+
"-F",
|
|
30317
|
+
"-idirafter",
|
|
30318
|
+
"-iframework",
|
|
30319
|
+
"-iframeworkwithsysroot",
|
|
30320
|
+
"-imacros",
|
|
30321
|
+
"-include",
|
|
30322
|
+
"-iprefix",
|
|
30323
|
+
"-iquote",
|
|
30324
|
+
"-isystem",
|
|
30325
|
+
"-isysroot",
|
|
30326
|
+
"-ivfsoverlay",
|
|
30327
|
+
"-iwithprefix",
|
|
30328
|
+
"-iwithprefixbefore",
|
|
30329
|
+
"--sysroot"
|
|
30330
|
+
]);
|
|
30259
30331
|
SWIFT_SUBMODULE_IMPORT = /^[ \t]*(?:@\w+(?:\([^)]*\))?[ \t]+)*import[ \t]+([A-Za-z_]\w*)\.([A-Za-z_]\w*)[ \t]*(?:\/\/.*)?$/gm;
|
|
30260
30332
|
}
|
|
30261
30333
|
});
|
|
@@ -30625,6 +30697,30 @@ var init_swift_uniform_type_constants = __esm({
|
|
|
30625
30697
|
});
|
|
30626
30698
|
|
|
30627
30699
|
// src/xcode-header-search.ts
|
|
30700
|
+
function coalescibleHeaderOverlays(files2) {
|
|
30701
|
+
const aliases = /* @__PURE__ */ new Map();
|
|
30702
|
+
const key2 = (file) => file.replace(/[A-Z]/g, (letter) => letter.toLowerCase());
|
|
30703
|
+
const index = (directory2, entry) => {
|
|
30704
|
+
const name3 = import_node_path41.default.resolve(directory2, entry.name);
|
|
30705
|
+
if (entry.type === "directory")
|
|
30706
|
+
return entry.contents.every((child) => index(name3, child));
|
|
30707
|
+
const source = entry["external-contents"];
|
|
30708
|
+
const previous = aliases.get(key2(name3));
|
|
30709
|
+
if (previous !== void 0 && previous !== source) return false;
|
|
30710
|
+
aliases.set(key2(name3), source);
|
|
30711
|
+
return true;
|
|
30712
|
+
};
|
|
30713
|
+
for (const file of files2) {
|
|
30714
|
+
const overlay = JSON.parse(import_node_fs42.default.readFileSync(file, "utf8"));
|
|
30715
|
+
if (!overlay.roots.every((entry) => index(import_node_path41.default.dirname(file), entry)))
|
|
30716
|
+
return /* @__PURE__ */ new Set();
|
|
30717
|
+
}
|
|
30718
|
+
for (const file of [...files2, ...aliases.values()]) {
|
|
30719
|
+
const source = aliases.get(key2(import_node_path41.default.normalize(file)));
|
|
30720
|
+
if (source !== void 0 && source !== file) return /* @__PURE__ */ new Set();
|
|
30721
|
+
}
|
|
30722
|
+
return files2;
|
|
30723
|
+
}
|
|
30628
30724
|
function headerMap(entries) {
|
|
30629
30725
|
const unique = /* @__PURE__ */ new Map();
|
|
30630
30726
|
for (const entry of entries)
|
|
@@ -31549,6 +31645,15 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
|
|
|
31549
31645
|
)
|
|
31550
31646
|
);
|
|
31551
31647
|
const names = /* @__PURE__ */ new Set([...frameworks, ...targets.map((target) => target.name)]);
|
|
31648
|
+
const entriesByPrefix = new Map(
|
|
31649
|
+
targets.map(({ path: path105 }) => [path105 === "." ? "" : `${path105}/`, []])
|
|
31650
|
+
);
|
|
31651
|
+
for (const entry of Object.entries(files2)) {
|
|
31652
|
+
const [file] = entry;
|
|
31653
|
+
entriesByPrefix.get("")?.push(entry);
|
|
31654
|
+
for (let end = file.indexOf("/"); end !== -1; end = file.indexOf("/", end + 1))
|
|
31655
|
+
entriesByPrefix.get(file.slice(0, end + 1))?.push(entry);
|
|
31656
|
+
}
|
|
31552
31657
|
const siblings = /* @__PURE__ */ new Map();
|
|
31553
31658
|
for (const target of targets) {
|
|
31554
31659
|
const prefix = target.path === "." ? "" : `${target.path}/`;
|
|
@@ -31562,8 +31667,11 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
|
|
|
31562
31667
|
(dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) || dependency.kind === "product" && dependency.package === "sootsim-swift" && OPTIONAL_FRAMEWORKS.has(dependency.name) ? [dependency.name] : []
|
|
31563
31668
|
)
|
|
31564
31669
|
);
|
|
31565
|
-
|
|
31566
|
-
|
|
31670
|
+
const nested = target.sources === void 0 ? targets.flatMap(
|
|
31671
|
+
(candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) ? [`${candidate.path}/`] : []
|
|
31672
|
+
) : [];
|
|
31673
|
+
for (const [file, contents2] of entriesByPrefix.get(prefix) ?? []) {
|
|
31674
|
+
if (file === "Package.swift") continue;
|
|
31567
31675
|
const relative4 = file.slice(prefix.length);
|
|
31568
31676
|
if (target.sources !== void 0 && !target.sources.some(
|
|
31569
31677
|
(source) => source === "." || relative4 === source || relative4.startsWith(`${source}/`)
|
|
@@ -31573,10 +31681,7 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
|
|
|
31573
31681
|
(excluded) => relative4 === excluded || relative4.startsWith(`${excluded}/`)
|
|
31574
31682
|
))
|
|
31575
31683
|
continue;
|
|
31576
|
-
if (
|
|
31577
|
-
(candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
|
|
31578
|
-
))
|
|
31579
|
-
continue;
|
|
31684
|
+
if (nested.some((path105) => file.startsWith(path105))) continue;
|
|
31580
31685
|
const imports2 = file.endsWith(".swift") ? swiftImportNames(contents2) : SWIFT_NATIVE_SOURCE_EXTENSIONS.some((extension) => file.endsWith(extension)) ? clangImportNames(contents2, ownsHeader) : [];
|
|
31581
31686
|
for (const name3 of imports2) {
|
|
31582
31687
|
if (names.has(name3) && name3 !== target.name && !(target.dependencies !== void 0 && localNames.has(name3)))
|
|
@@ -31821,7 +31926,9 @@ function emitSwiftPackageManifest(args) {
|
|
|
31821
31926
|
const flags = JSON.parse(literal3.replace(/,\s*]$/, "]")).filter(
|
|
31822
31927
|
(flag, index, all) => !mapsPackageModule(flag) && !(flag === "-Xcc" && mapsPackageModule(all[index + 1] ?? ""))
|
|
31823
31928
|
);
|
|
31824
|
-
const
|
|
31929
|
+
const macros = compactSwiftClangDefines(flags);
|
|
31930
|
+
const compact = args.coalescibleOverlays ? compactSwiftClangOverlays(macros, args.coalescibleOverlays) : macros;
|
|
31931
|
+
const content = compact.map((flag) => JSON.stringify(flag)).join("\n") + "\n";
|
|
31825
31932
|
const digest4 = (0, import_node_crypto21.createHash)("sha256").update(content).digest("hex");
|
|
31826
31933
|
const file = import_node_path42.default.join(args.root, ".peach-swift-arguments", `${digest4}.rsp`);
|
|
31827
31934
|
args.files.set(file, content);
|
|
@@ -31912,7 +32019,7 @@ function emitSwiftPackageManifest(args) {
|
|
|
31912
32019
|
].map((flag) => `, ${JSON.stringify(flag)}`).join("");
|
|
31913
32020
|
const header = args.headerDirectory && (args.nativeHeaderDeclarations?.[target.name] || [...args.native?.values() ?? []].some(
|
|
31914
32021
|
(value) => value.late?.producers.includes(target.name)
|
|
31915
|
-
)) ? `, "-emit-objc-header-path", ${JSON.stringify(import_node_path42.default.join(args.headerDirectory, `${target.name}-Swift
|
|
32022
|
+
)) ? `, "-emit-objc-header-path", ${JSON.stringify(import_node_path42.default.join(args.headerDirectory, `${target.name}-Swift.original.h`))}` : "";
|
|
31916
32023
|
const clangMode = target.cxxInterop ? "" : ', "-Xcc", "-fno-cxx-modules"';
|
|
31917
32024
|
const deployment = `, "-Xfrontend", "-peach-ios-deployment-target", "-Xfrontend", ${JSON.stringify(target.iosDeploymentTarget ?? SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET)}`;
|
|
31918
32025
|
const swiftSettings = `swiftSettings: [.swiftLanguageMode(.v${target.languageMode}),${isolation}${interoperability}${defines}${features}${upcoming} .unsafeFlags(${swiftFlagArray(`["-Osize", "-Xfrontend", "-enable-cross-import-overlays"${overlayFlags}${FOUNDATION_IMPLICIT_FLAGS}${oneModule ? ONE_IMPLICIT_FLAGS : ""}${imports2}${nativeImportFlags}${objcFlags}${header}${clangMode}${deployment}${upstream}]`)})]`;
|
|
@@ -33994,6 +34101,9 @@ module ${moduleName2}.Swift {
|
|
|
33994
34101
|
nativeHeaderDeclarations[module2] = [...declared];
|
|
33995
34102
|
}
|
|
33996
34103
|
const nativeFlags = native.size > 0 ? /* @__PURE__ */ new Map() : void 0;
|
|
34104
|
+
const generatedOverlays = new Set(
|
|
34105
|
+
headerSearch.files.filter((file) => file.endsWith(".yaml"))
|
|
34106
|
+
);
|
|
33997
34107
|
if (nativeFlags) {
|
|
33998
34108
|
const toolchainBin = nativeToolchain();
|
|
33999
34109
|
const headers = import_node_path42.default.join(swiftSdkPaths(moduleRoot, toolchainBin).sysroot, "darwin");
|
|
@@ -34014,8 +34124,11 @@ module ${moduleName2}.Swift {
|
|
|
34014
34124
|
throw new Error(
|
|
34015
34125
|
target.name + ": missing or unsupported declared iOS deployment target " + JSON.stringify(version2)
|
|
34016
34126
|
);
|
|
34127
|
+
const sdkIntake = objcSdkIntakeFlags(headers, toolchainBin, minimum);
|
|
34128
|
+
const sdkOverlay = sdkIntake.indexOf("-ivfsoverlay");
|
|
34129
|
+
if (sdkOverlay >= 0) generatedOverlays.add(sdkIntake[sdkOverlay + 1]);
|
|
34017
34130
|
const intake = [
|
|
34018
|
-
...
|
|
34131
|
+
...sdkIntake,
|
|
34019
34132
|
"-ivfsoverlay",
|
|
34020
34133
|
headerSearch.files[0],
|
|
34021
34134
|
"-I",
|
|
@@ -34184,6 +34297,7 @@ module ${moduleName2}.Swift {
|
|
|
34184
34297
|
sourceSwiftTargets: swiftTargets,
|
|
34185
34298
|
nativeFlags,
|
|
34186
34299
|
nativeImportFlags,
|
|
34300
|
+
coalescibleOverlays: nativeFlags ? coalescibleHeaderOverlays(generatedOverlays) : void 0,
|
|
34187
34301
|
nativeHeaderFlags,
|
|
34188
34302
|
nativeSwiftHeaderMaps,
|
|
34189
34303
|
nativeHeaderDeclarations,
|
|
@@ -35482,6 +35596,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35482
35596
|
report("compiling and linking Swift modules");
|
|
35483
35597
|
const frameworkInterfaces = /* @__PURE__ */ new Map();
|
|
35484
35598
|
const nativeDeclarations = /* @__PURE__ */ new Map();
|
|
35599
|
+
const nativeHeaders = Object.entries(input.files).filter(([name3]) => name3.endsWith(".h") && !name3.endsWith("-Swift.h")).map(([, source]) => source);
|
|
35485
35600
|
for (const [file, contents2] of Object.entries(input.files)) {
|
|
35486
35601
|
if (!file.endsWith(".modulemap")) continue;
|
|
35487
35602
|
const name3 = moduleMapName(contents2);
|
|
@@ -35569,54 +35684,83 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35569
35684
|
);
|
|
35570
35685
|
return value;
|
|
35571
35686
|
};
|
|
35572
|
-
|
|
35573
|
-
|
|
35574
|
-
|
|
35575
|
-
|
|
35576
|
-
|
|
35577
|
-
|
|
35578
|
-
|
|
35579
|
-
|
|
35687
|
+
const compileApp = async () => {
|
|
35688
|
+
const stages = [
|
|
35689
|
+
...preparation.headerBuilds,
|
|
35690
|
+
...preparation.nativeProductTarget ? [{ target: preparation.nativeProductTarget, producers: [] }] : []
|
|
35691
|
+
];
|
|
35692
|
+
const checkpoints = import_node_path42.default.join(root, ".build", "peach-product-checkpoints");
|
|
35693
|
+
const recipe2 = (0, import_node_crypto21.createHash)("sha256").update(hash).update((0, import_node_fs43.readFileSync)(import_node_path42.default.join(root, "Package.swift"))).update(JSON.stringify(buildArgs)).digest("hex");
|
|
35694
|
+
for (const { target, producers } of stages) {
|
|
35695
|
+
const receipt = import_node_path42.default.join(
|
|
35696
|
+
checkpoints,
|
|
35697
|
+
(0, import_node_crypto21.createHash)("sha256").update(target).digest("hex")
|
|
35580
35698
|
);
|
|
35581
|
-
|
|
35582
|
-
const
|
|
35699
|
+
const headers = producers.map((producer) => {
|
|
35700
|
+
const stem = import_node_path42.default.join(
|
|
35583
35701
|
root,
|
|
35584
35702
|
".build",
|
|
35585
35703
|
"peach-cxx-headers",
|
|
35586
|
-
`${producer}-Swift
|
|
35704
|
+
`${producer}-Swift`
|
|
35587
35705
|
);
|
|
35588
|
-
|
|
35589
|
-
|
|
35590
|
-
|
|
35591
|
-
|
|
35592
|
-
|
|
35593
|
-
|
|
35594
|
-
|
|
35595
|
-
|
|
35596
|
-
|
|
35597
|
-
|
|
35598
|
-
|
|
35599
|
-
|
|
35600
|
-
generated,
|
|
35601
|
-
Object.entries(input.files).filter(
|
|
35602
|
-
([name3]) => name3.endsWith(".h") && !name3.endsWith("-Swift.h")
|
|
35603
|
-
).map(([, source]) => source)
|
|
35604
|
-
)
|
|
35605
|
-
]),
|
|
35606
|
-
`#import <${producer}/${producer}.h>`
|
|
35607
|
-
)
|
|
35706
|
+
return {
|
|
35707
|
+
producer,
|
|
35708
|
+
original: `${stem}.original.h`,
|
|
35709
|
+
emitted: `${stem}.h`
|
|
35710
|
+
};
|
|
35711
|
+
});
|
|
35712
|
+
const fingerprint = () => {
|
|
35713
|
+
const digest4 = (0, import_node_crypto21.createHash)("sha256").update(recipe2);
|
|
35714
|
+
for (const { emitted } of headers) {
|
|
35715
|
+
if (!(0, import_node_fs43.existsSync)(emitted)) return;
|
|
35716
|
+
digest4.update(
|
|
35717
|
+
(0, import_node_crypto21.createHash)("sha256").update((0, import_node_fs43.readFileSync)(emitted)).digest()
|
|
35608
35718
|
);
|
|
35609
35719
|
}
|
|
35610
|
-
|
|
35611
|
-
|
|
35612
|
-
|
|
35720
|
+
return digest4.digest("hex");
|
|
35721
|
+
};
|
|
35722
|
+
if (!options.project && (0, import_node_fs43.existsSync)(receipt) && (0, import_node_fs43.readFileSync)(receipt, "utf8") === fingerprint())
|
|
35723
|
+
continue;
|
|
35724
|
+
if (!options.project) (0, import_node_fs43.rmSync)(receipt, { force: true });
|
|
35725
|
+
for (const { producer, original } of headers)
|
|
35726
|
+
if (!(0, import_node_fs43.existsSync)(original))
|
|
35727
|
+
(0, import_node_fs43.rmSync)(
|
|
35728
|
+
import_node_path42.default.join(
|
|
35729
|
+
root,
|
|
35730
|
+
".build",
|
|
35731
|
+
WASM_TRIPLE,
|
|
35732
|
+
"release",
|
|
35733
|
+
"Modules",
|
|
35734
|
+
`${swiftTargetModuleName(producer)}.swiftmodule`
|
|
35735
|
+
),
|
|
35736
|
+
{ force: true }
|
|
35737
|
+
);
|
|
35613
35738
|
await runCompiler(
|
|
35614
35739
|
swift,
|
|
35615
|
-
[...buildArgs, "--target",
|
|
35740
|
+
[...buildArgs, "--target", target],
|
|
35616
35741
|
appOptions,
|
|
35617
35742
|
SWIFTPM_PROGRESS,
|
|
35618
35743
|
SWIFTPM_NOISE
|
|
35619
35744
|
);
|
|
35745
|
+
for (const { producer, original, emitted } of headers) {
|
|
35746
|
+
const generated = clangInterfaceHeader((0, import_node_fs43.readFileSync)(original, "utf8"));
|
|
35747
|
+
writeBuildFile(
|
|
35748
|
+
emitted,
|
|
35749
|
+
withoutSwiftDeclarations(
|
|
35750
|
+
swiftHeaderWithSuperclassImports(generated, frameworkInterface),
|
|
35751
|
+
/* @__PURE__ */ new Set([
|
|
35752
|
+
...preparation.nativeHeaderDeclarations[producer] ?? [],
|
|
35753
|
+
...nativelyDeclaredFunctions(generated, nativeHeaders)
|
|
35754
|
+
]),
|
|
35755
|
+
`#import <${producer}/${producer}.h>`
|
|
35756
|
+
)
|
|
35757
|
+
);
|
|
35758
|
+
}
|
|
35759
|
+
if (!options.project) {
|
|
35760
|
+
(0, import_node_fs43.mkdirSync)(checkpoints, { recursive: true });
|
|
35761
|
+
(0, import_node_fs43.writeFileSync)(`${receipt}.partial`, fingerprint());
|
|
35762
|
+
(0, import_node_fs43.renameSync)(`${receipt}.partial`, receipt);
|
|
35763
|
+
}
|
|
35620
35764
|
}
|
|
35621
35765
|
await runCompiler(
|
|
35622
35766
|
swift,
|
|
@@ -35625,6 +35769,9 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35625
35769
|
SWIFTPM_PROGRESS,
|
|
35626
35770
|
SWIFTPM_NOISE
|
|
35627
35771
|
);
|
|
35772
|
+
};
|
|
35773
|
+
try {
|
|
35774
|
+
await compileApp();
|
|
35628
35775
|
} catch (error) {
|
|
35629
35776
|
const output3 = outputOf(error);
|
|
35630
35777
|
const moduleCache = import_node_path42.default.join(
|
|
@@ -35637,13 +35784,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35637
35784
|
if (output3.includes("was compiled with module cache path") && (0, import_node_fs43.existsSync)(moduleCache)) {
|
|
35638
35785
|
(0, import_node_fs43.rmSync)(moduleCache, { recursive: true, force: true });
|
|
35639
35786
|
try {
|
|
35640
|
-
await
|
|
35641
|
-
swift,
|
|
35642
|
-
buildArgs,
|
|
35643
|
-
appOptions,
|
|
35644
|
-
SWIFTPM_PROGRESS,
|
|
35645
|
-
SWIFTPM_NOISE
|
|
35646
|
-
);
|
|
35787
|
+
await compileApp();
|
|
35647
35788
|
} catch (retryError) {
|
|
35648
35789
|
throw new Error(
|
|
35649
35790
|
[
|
|
@@ -35974,9 +36115,9 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
35974
36115
|
`;
|
|
35975
36116
|
darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...quoted2, "-Wl,--end-lib"] : [];
|
|
35976
36117
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
35977
|
-
MULTI_MANIFEST_VERSION =
|
|
36118
|
+
MULTI_MANIFEST_VERSION = 71;
|
|
35978
36119
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
35979
|
-
compilerSourceDigest = true ? "
|
|
36120
|
+
compilerSourceDigest = true ? "36b1496faf39a688e5ab3ee63bdab89a3afde2b9c6355443c3162f4b1e3b9144" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
35980
36121
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
35981
36122
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
35982
36123
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -50531,7 +50672,7 @@ var init_swift_standin_digest = __esm({
|
|
|
50531
50672
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
50532
50673
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
50533
50674
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
50534
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
50675
|
+
STANDIN_SOURCE_DIGEST = true ? "80b89d414ee068d747a0859811608daad7d3c46ca66f7bf589cc5c82b820de93" : standinSourceDigest();
|
|
50535
50676
|
}
|
|
50536
50677
|
});
|
|
50537
50678
|
|
|
@@ -55947,7 +56088,7 @@ async function swiftPackages(entry, app) {
|
|
|
55947
56088
|
] : []
|
|
55948
56089
|
);
|
|
55949
56090
|
let reached = [...cached2.binaries.filter((binary2) => binary2.reached), ...vendored];
|
|
55950
|
-
const standinArtifact = (binary2) => binary2.publicHeaders === void 0 || binary2.unloweredSources !== void 0;
|
|
56091
|
+
const standinArtifact = (binary2) => !binary2.rustCrate && (binary2.publicHeaders === void 0 || binary2.unloweredSources !== void 0);
|
|
55951
56092
|
const artifacts = reached.filter(standinArtifact);
|
|
55952
56093
|
if (entry.moduleRoot && entry.provided && artifacts.length > 0) {
|
|
55953
56094
|
const { provided } = entry;
|
|
@@ -65015,7 +65156,7 @@ var init_nitro_superset = __esm({
|
|
|
65015
65156
|
init_nitroContract();
|
|
65016
65157
|
init_swift_standin_digest();
|
|
65017
65158
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
65018
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
65159
|
+
NITRO_COMPILER_DIGEST = true ? "46fa7b8faaa964fe0011aec30ae6215d5249f6c1668cc19a35082c35738917cb" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
65019
65160
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
65020
65161
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
65021
65162
|
published = /* @__PURE__ */ new Map();
|
|
@@ -66254,7 +66395,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
66254
66395
|
|
|
66255
66396
|
// src/expo-native-prebuilt.ts
|
|
66256
66397
|
function expoNativeCompilerDigestValue() {
|
|
66257
|
-
return true ? "
|
|
66398
|
+
return true ? "3860d02e968c4e679b7669066efdc2302ff559ff6014934ad88d4fad7996909d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
66258
66399
|
}
|
|
66259
66400
|
function readSources(value) {
|
|
66260
66401
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2408 | (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.2408 | (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.2408 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2408 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2408 | (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.2408 | (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.2408 | (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.2408 | (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;
|