peachsim 0.1.1979 → 0.1.1982
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 +155 -39
- 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 +154 -38
- 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 +155 -39
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +2 -2
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +2 -2
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +155 -39
- package/dist-lib/swift-compile.cjs +22 -5
- package/dist-lib/swift-compile.mjs +22 -5
- 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 +23 -6
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/engine/visible-frame.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +1 -0
- package/package.json +1 -1
- package/src/expo-discovery-cache.ts +2 -0
- package/src/expo-swift-host.ts +144 -31
- package/src/expoSwiftContract.ts +1 -0
- package/src/swift-compile.ts +21 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1982 | (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.1982 | (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.1982 | (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.1982 | (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.1982 | (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/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1982 | (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/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1982 | (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.1982 | (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.1982 | (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.1982 | (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;
|
|
@@ -28535,7 +28535,7 @@ function swiftModuleDigest(root) {
|
|
|
28535
28535
|
return digest4;
|
|
28536
28536
|
}
|
|
28537
28537
|
function swiftProjectBuildKey(moduleRoot, release) {
|
|
28538
|
-
return (0, import_node_crypto20.createHash)("sha256").update(
|
|
28538
|
+
return (0, import_node_crypto20.createHash)("sha256").update(`swift-framework/v2\0${release}\0${swiftModuleSdk(moduleRoot).wasmSdkId}`).update(swiftModuleDigest(moduleRoot)).digest("hex").slice(0, 32);
|
|
28539
28539
|
}
|
|
28540
28540
|
function compileTargets(input) {
|
|
28541
28541
|
const manifest = input.files["Package.swift"];
|
|
@@ -32084,7 +32084,7 @@ function mirrorTree2(source, target, skip) {
|
|
|
32084
32084
|
if (!wanted.has(name3) && name3 !== skip)
|
|
32085
32085
|
(0, import_node_fs46.rmSync)(import_node_path45.default.join(target, name3), { recursive: true, force: true });
|
|
32086
32086
|
}
|
|
32087
|
-
function stageFrameworkSource(moduleRoot, slot, frameworkKey) {
|
|
32087
|
+
function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
32088
32088
|
if (!slot) return moduleRoot;
|
|
32089
32089
|
const staged = import_node_path45.default.join(slot, "source");
|
|
32090
32090
|
const stagedModule = import_node_path45.default.join(staged, "packages", import_node_path45.default.basename(moduleRoot));
|
|
@@ -32095,6 +32095,16 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey) {
|
|
|
32095
32095
|
swiftSharedSdkRoot(moduleRoot, false),
|
|
32096
32096
|
import_node_path45.default.join(staged, "packages/peachsim/sdk/ios")
|
|
32097
32097
|
);
|
|
32098
|
+
for (const file of swiftModuleInputFiles(moduleRoot)) {
|
|
32099
|
+
if (!file.startsWith("../")) continue;
|
|
32100
|
+
const from = import_node_path45.default.resolve(moduleRoot, file);
|
|
32101
|
+
const to = import_node_path45.default.resolve(stagedModule, file);
|
|
32102
|
+
if ((0, import_node_fs46.existsSync)(to) && (0, import_node_fs46.readFileSync)(from).equals((0, import_node_fs46.readFileSync)(to))) continue;
|
|
32103
|
+
(0, import_node_fs46.mkdirSync)(import_node_path45.default.dirname(to), { recursive: true });
|
|
32104
|
+
(0, import_node_fs46.copyFileSync)(from, to);
|
|
32105
|
+
}
|
|
32106
|
+
if (swiftProjectBuildKey(stagedModule, release) !== frameworkKey)
|
|
32107
|
+
throw new Error("Swift staged framework source differs from the caller");
|
|
32098
32108
|
const modules = import_node_path45.default.join(staged, "node_modules");
|
|
32099
32109
|
const target = (0, import_node_fs46.realpathSync)(import_node_path45.default.join(moduleRoot, "../../node_modules"));
|
|
32100
32110
|
if (!(0, import_node_fs46.existsSync)(modules) || (0, import_node_fs46.readlinkSync)(modules) !== target) {
|
|
@@ -32271,7 +32281,14 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
32271
32281
|
const frameworkScratch = swiftFrameworkScratch(frameworkKey);
|
|
32272
32282
|
const withFrameworkLock = (work) => distribution ? work(null) : withSwiftFrameworkSlot(frameworkKey, moduleRoot, options.signal, work);
|
|
32273
32283
|
return withFrameworkLock(async (slot, frameworkLease) => {
|
|
32274
|
-
const frameworkRoot = stageFrameworkSource(
|
|
32284
|
+
const frameworkRoot = stageFrameworkSource(
|
|
32285
|
+
moduleRoot,
|
|
32286
|
+
slot,
|
|
32287
|
+
frameworkKey,
|
|
32288
|
+
options.release
|
|
32289
|
+
);
|
|
32290
|
+
if (swiftArtifactHash(input, options.release, frameworkRoot) !== hash)
|
|
32291
|
+
throw new Error("Swift staged project source differs from the caller");
|
|
32275
32292
|
report("preparing compiler plugins");
|
|
32276
32293
|
const pluginsFor = (pluginLease) => ensureMacroPlugins(
|
|
32277
32294
|
frameworkRoot,
|
|
@@ -32738,7 +32755,7 @@ var init_swift_compile = __esm({
|
|
|
32738
32755
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
32739
32756
|
MULTI_MANIFEST_VERSION = 66;
|
|
32740
32757
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
32741
|
-
compilerSourceDigest = true ? "
|
|
32758
|
+
compilerSourceDigest = true ? "2b36a6526c1736968b10c07d3f0413954b745c6a495b4b68702c61e477ba2565" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
32742
32759
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
32743
32760
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
32744
32761
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -38120,10 +38137,10 @@ function sharedDir() {
|
|
|
38120
38137
|
return import_node_path57.default.join((0, import_node_os15.homedir)(), ".peach", "cache", "expo-discovery");
|
|
38121
38138
|
}
|
|
38122
38139
|
function isExpoSwiftSourceUnit(value) {
|
|
38123
|
-
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && (value.nativeAppIdentity === void 0 || isNativeAppIdentity(value.nativeAppIdentity)) && strings2(value.classes) && strings2(value.bridgeModules) && strings2(value.appDelegateSubscribers) && strings2(value.reactDelegateHandlers) && stringRecord(value.files) && strings2(value.frameworks) && (value.nativeTargets === void 0 || Array.isArray(value.nativeTargets) && value.nativeTargets.every(isRecord)) && (value.nativeFiles === void 0 || stringRecord(value.nativeFiles)) && (value.resources === void 0 || stringRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
38140
|
+
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && (value.nativeAppIdentity === void 0 || isNativeAppIdentity(value.nativeAppIdentity)) && strings2(value.classes) && strings2(value.bridgeModules) && strings2(value.appDelegateSubscribers) && strings2(value.reactDelegateHandlers) && stringRecord(value.files) && strings2(value.frameworks) && (value.workspaceSources === void 0 || strings2(value.workspaceSources)) && (value.nativeTargets === void 0 || Array.isArray(value.nativeTargets) && value.nativeTargets.every(isRecord)) && (value.nativeFiles === void 0 || stringRecord(value.nativeFiles)) && (value.resources === void 0 || stringRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
38124
38141
|
}
|
|
38125
38142
|
function isStoredUnit(value) {
|
|
38126
|
-
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && strings2(value.classes) && strings2(value.bridgeModules) && strings2(value.appDelegateSubscribers) && strings2(value.reactDelegateHandlers) && digestRecord(value.files) && strings2(value.frameworks) && (value.nativeTargets === void 0 || strings2(value.nativeTargets) && value.nativeTargets.every(isDigest)) && (value.nativeFiles === void 0 || digestRecord(value.nativeFiles)) && (value.resources === void 0 || digestRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
38143
|
+
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && strings2(value.classes) && strings2(value.bridgeModules) && strings2(value.appDelegateSubscribers) && strings2(value.reactDelegateHandlers) && digestRecord(value.files) && strings2(value.frameworks) && (value.workspaceSources === void 0 || strings2(value.workspaceSources)) && (value.nativeTargets === void 0 || strings2(value.nativeTargets) && value.nativeTargets.every(isDigest)) && (value.nativeFiles === void 0 || digestRecord(value.nativeFiles)) && (value.resources === void 0 || digestRecord(value.resources)) && (value.resourceBundles === void 0 || isSwiftResourceBundles(value.resourceBundles)) && (value.swiftLanguageMode === void 0 || typeof value.swiftLanguageMode === "number");
|
|
38127
38144
|
}
|
|
38128
38145
|
function readExpoDiscovery(key2) {
|
|
38129
38146
|
let parsed;
|
|
@@ -38542,7 +38559,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38542
38559
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38543
38560
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38544
38561
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38545
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38562
|
+
STANDIN_SOURCE_DIGEST = true ? "5cfe4c5e593a540246f73f905de64026203a300735fd8f8a64343838e88f2bb9" : standinSourceDigest();
|
|
38546
38563
|
}
|
|
38547
38564
|
});
|
|
38548
38565
|
|
|
@@ -39032,7 +39049,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
39032
39049
|
init_swift_native_pin();
|
|
39033
39050
|
init_xcode_project();
|
|
39034
39051
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
39035
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
39052
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "88b3db877ecb4ff83c9ecdbe1f42f181c198bd6dff6ce81a66f1c1a50f7af7af" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
39036
39053
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
39037
39054
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
39038
39055
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -53704,11 +53721,16 @@ function cloneUnits(units) {
|
|
|
53704
53721
|
appDelegateSubscribers: unit2.appDelegateSubscribers.slice(),
|
|
53705
53722
|
reactDelegateHandlers: unit2.reactDelegateHandlers.slice(),
|
|
53706
53723
|
frameworks: unit2.frameworks.slice(),
|
|
53724
|
+
...unit2.workspaceSources ? { workspaceSources: unit2.workspaceSources.slice() } : {},
|
|
53707
53725
|
files: { ...unit2.files },
|
|
53708
53726
|
...unit2.nativeFiles ? { nativeFiles: { ...unit2.nativeFiles } } : {},
|
|
53709
53727
|
...unit2.headerAliases ? { headerAliases: { ...unit2.headerAliases } } : {},
|
|
53710
53728
|
...unit2.resources ? { resources: { ...unit2.resources } } : {},
|
|
53711
|
-
...unit2.resourceBundles ? {
|
|
53729
|
+
...unit2.resourceBundles ? {
|
|
53730
|
+
resourceBundles: unit2.resourceBundles.map((bundle) => ({
|
|
53731
|
+
...bundle
|
|
53732
|
+
}))
|
|
53733
|
+
} : {},
|
|
53712
53734
|
...unit2.nativeTargets ? { nativeTargets: unit2.nativeTargets.map(cloneNativeTarget) } : {}
|
|
53713
53735
|
}));
|
|
53714
53736
|
}
|
|
@@ -54151,24 +54173,40 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
54151
54173
|
installed?.input.files["Package.swift"] ?? ""
|
|
54152
54174
|
);
|
|
54153
54175
|
const units = [];
|
|
54176
|
+
const dependencyUnits = [];
|
|
54177
|
+
const processed = /* @__PURE__ */ new Set();
|
|
54154
54178
|
const namespacesSeen = /* @__PURE__ */ new Set();
|
|
54155
54179
|
const namespaceGroups = /* @__PURE__ */ new Map();
|
|
54156
54180
|
let answeredInstalled = false;
|
|
54157
54181
|
let needsNativeWorkspace = false;
|
|
54158
54182
|
let bytes = 0;
|
|
54159
54183
|
let fileCount = 0;
|
|
54160
|
-
|
|
54161
|
-
|
|
54162
|
-
))
|
|
54184
|
+
const entries = Object.entries(search).sort(([a], [b]) => a.localeCompare(b));
|
|
54185
|
+
const queue = entries.slice();
|
|
54186
|
+
const queued = new Set(entries.map(([name3]) => name3));
|
|
54187
|
+
const reconsider = () => {
|
|
54188
|
+
for (const entry of entries)
|
|
54189
|
+
if (!processed.has(entry[0]) && !queued.has(entry[0])) {
|
|
54190
|
+
queue.push(entry);
|
|
54191
|
+
queued.add(entry[0]);
|
|
54192
|
+
}
|
|
54193
|
+
};
|
|
54194
|
+
for (const [packageName, entry] of queue) {
|
|
54195
|
+
queued.delete(packageName);
|
|
54196
|
+
if (processed.has(packageName)) continue;
|
|
54163
54197
|
if (!entry || typeof entry !== "object")
|
|
54164
54198
|
throw new Error("invalid Expo autolinking entry");
|
|
54165
54199
|
const sourceRoot = Reflect.get(entry, "path");
|
|
54166
54200
|
if (typeof sourceRoot !== "string")
|
|
54167
54201
|
throw new Error("Expo autolinking entry has no path");
|
|
54168
54202
|
const canonical = import_node_fs81.default.realpathSync(sourceRoot);
|
|
54169
|
-
|
|
54203
|
+
const answered2 = canonical.split(import_node_path80.default.sep).includes("node_modules") && peachAnsweredNativePackages().has(packageName);
|
|
54204
|
+
if (answered2) {
|
|
54170
54205
|
answeredInstalled = true;
|
|
54171
|
-
|
|
54206
|
+
if (installed || prepareNative) {
|
|
54207
|
+
processed.add(packageName);
|
|
54208
|
+
continue;
|
|
54209
|
+
}
|
|
54172
54210
|
}
|
|
54173
54211
|
for (const name3 of ["expo-module.config.json", "unimodule.json"]) {
|
|
54174
54212
|
const descriptor = import_node_path80.default.join(canonical, name3);
|
|
@@ -54195,8 +54233,21 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
54195
54233
|
const subscriberNames = delegateNames("appDelegateSubscribers");
|
|
54196
54234
|
const handlerNames = delegateNames("reactDelegateHandlers");
|
|
54197
54235
|
const deferredToWorkspace = prepareNative && !installedWorkspace && Array.isArray(pods) && pods.length > 0;
|
|
54198
|
-
|
|
54199
|
-
|
|
54236
|
+
const dependencyOnly = answered2 || (!Array.isArray(modules) || modules.length === 0) && subscriberNames.length === 0 && handlerNames.length === 0;
|
|
54237
|
+
if (dependencyOnly) {
|
|
54238
|
+
if (installed || prepareNative || !Array.isArray(namespaces)) {
|
|
54239
|
+
processed.add(packageName);
|
|
54240
|
+
continue;
|
|
54241
|
+
}
|
|
54242
|
+
const imports2 = new Set(
|
|
54243
|
+
[...units, ...dependencyUnits].flatMap(
|
|
54244
|
+
(unit2) => Object.values(unit2.files).flatMap((source) => swiftImportNames(source))
|
|
54245
|
+
)
|
|
54246
|
+
);
|
|
54247
|
+
if (!namespaces.some((name3) => typeof name3 === "string" && imports2.has(name3)))
|
|
54248
|
+
continue;
|
|
54249
|
+
}
|
|
54250
|
+
processed.add(packageName);
|
|
54200
54251
|
if (!Array.isArray(namespaces) || namespaces.length === 0 || !namespaces.every(
|
|
54201
54252
|
(name3) => typeof name3 === "string" && /^[A-Za-z_][A-Za-z0-9_]*$/.test(name3)
|
|
54202
54253
|
))
|
|
@@ -54207,9 +54258,10 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
54207
54258
|
}
|
|
54208
54259
|
if (namespaces.length > 1 && !installed) {
|
|
54209
54260
|
if (!nativeWorkspaceAvailable()) {
|
|
54210
|
-
|
|
54211
|
-
|
|
54212
|
-
|
|
54261
|
+
if (!answered2)
|
|
54262
|
+
report(
|
|
54263
|
+
`${packageName}: ${namespaces.join(", ")} need CocoaPods target membership, which only a Mac prepares; not compiled`
|
|
54264
|
+
);
|
|
54213
54265
|
continue;
|
|
54214
54266
|
}
|
|
54215
54267
|
const prepared = await prepareExpoNativeWorkspace(appRoot, signal, iosTarget);
|
|
@@ -54302,8 +54354,13 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
54302
54354
|
walk3(file, binary2 || framework);
|
|
54303
54355
|
continue;
|
|
54304
54356
|
}
|
|
54305
|
-
if (!binary2 && target.isFile() && /\.(?:mm?|c|cc|cpp)$/.test(child.name))
|
|
54306
|
-
|
|
54357
|
+
if (!binary2 && target.isFile() && /\.(?:mm?|c|cc|cpp)$/.test(child.name)) {
|
|
54358
|
+
const source2 = linked ?? resolveSource(file);
|
|
54359
|
+
if (import_node_fs81.default.statSync(source2).size > 4096 || !/^(?:\s|\/\/[^\n]*|\/\*[\s\S]*?\*\/)*$/.test(
|
|
54360
|
+
import_node_fs81.default.readFileSync(source2, "utf8")
|
|
54361
|
+
))
|
|
54362
|
+
nativeSources.add(import_node_path80.default.relative(ios, file));
|
|
54363
|
+
}
|
|
54307
54364
|
if (!target.isFile() || !child.name.endsWith(".swift")) continue;
|
|
54308
54365
|
const source = linked ?? resolveSource(file);
|
|
54309
54366
|
if (sources.has(source)) continue;
|
|
@@ -54380,6 +54437,24 @@ ${import_node_fs81.default.readFileSync(source, "utf8")}`;
|
|
|
54380
54437
|
const podspecFloor = podspec ? /\.platforms\s*=\s*\{\s*:ios\s*=>\s*['"](\d+(?:\.\d+){0,2})['"]/.exec(
|
|
54381
54438
|
import_node_fs81.default.readFileSync(import_node_path80.default.join(ios, podspec), "utf8")
|
|
54382
54439
|
)?.[1] : void 0;
|
|
54440
|
+
if (dependencyOnly && Object.keys(files2).length > 0) {
|
|
54441
|
+
dependencyUnits.push({
|
|
54442
|
+
namespace,
|
|
54443
|
+
moduleId: namespace,
|
|
54444
|
+
classes: [],
|
|
54445
|
+
bridgeModules: [],
|
|
54446
|
+
appDelegateSubscribers: [],
|
|
54447
|
+
reactDelegateHandlers: [],
|
|
54448
|
+
files: files2,
|
|
54449
|
+
frameworks: [...frameworks],
|
|
54450
|
+
...nativeSources.size ? { workspaceSources: [namespace] } : {},
|
|
54451
|
+
...podspecFloor ? {
|
|
54452
|
+
nativeTargets: [synthesizedNativeTarget(namespace, podspecFloor)]
|
|
54453
|
+
} : {}
|
|
54454
|
+
});
|
|
54455
|
+
reconsider();
|
|
54456
|
+
}
|
|
54457
|
+
if (dependencyOnly) continue;
|
|
54383
54458
|
for (const declaration of declarations) {
|
|
54384
54459
|
const className = declaration.reference;
|
|
54385
54460
|
const owner = className.split(".")[0];
|
|
@@ -54412,10 +54487,13 @@ ${import_node_fs81.default.readFileSync(source, "utf8")}`;
|
|
|
54412
54487
|
files: closure,
|
|
54413
54488
|
frameworks: [...frameworks],
|
|
54414
54489
|
...absentFrameworks.length > 0 ? { absentFrameworks } : {},
|
|
54415
|
-
...podspecFloor ? {
|
|
54490
|
+
...podspecFloor ? {
|
|
54491
|
+
nativeTargets: [synthesizedNativeTarget(namespace, podspecFloor)]
|
|
54492
|
+
} : {}
|
|
54416
54493
|
};
|
|
54417
54494
|
unit2.files[EXPO_SWIFT_ENTRY] = expoEntry([unit2]);
|
|
54418
54495
|
units.push(unit2);
|
|
54496
|
+
reconsider();
|
|
54419
54497
|
}
|
|
54420
54498
|
}
|
|
54421
54499
|
if (namespaces.length > 1) {
|
|
@@ -54532,23 +54610,26 @@ ${import_node_fs81.default.readFileSync(file, "utf8")}`;
|
|
|
54532
54610
|
);
|
|
54533
54611
|
const allFiles = Object.assign(
|
|
54534
54612
|
{},
|
|
54535
|
-
...units.map((unit2) => unit2.files)
|
|
54613
|
+
...[...units, ...dependencyUnits].map((unit2) => unit2.files)
|
|
54536
54614
|
);
|
|
54537
|
-
const targets = [
|
|
54615
|
+
const targets = [
|
|
54616
|
+
...new Set([...units, ...dependencyUnits].map((unit2) => unit2.namespace))
|
|
54617
|
+
].map((namespace) => ({
|
|
54538
54618
|
name: namespace,
|
|
54539
54619
|
path: `Sources/${namespace}`
|
|
54540
54620
|
}));
|
|
54541
54621
|
const dependencies = swiftTargetDependencies(allFiles, targets);
|
|
54542
54622
|
const byNamespace = /* @__PURE__ */ new Map();
|
|
54543
|
-
for (const unit2 of units) {
|
|
54544
|
-
const
|
|
54545
|
-
|
|
54546
|
-
byNamespace.set(unit2.namespace,
|
|
54623
|
+
for (const unit2 of [...units, ...dependencyUnits]) {
|
|
54624
|
+
const entries2 = byNamespace.get(unit2.namespace) ?? [];
|
|
54625
|
+
entries2.push(unit2);
|
|
54626
|
+
byNamespace.set(unit2.namespace, entries2);
|
|
54547
54627
|
}
|
|
54548
54628
|
for (const unit2 of units) {
|
|
54549
54629
|
const included = /* @__PURE__ */ new Set([unit2.namespace]);
|
|
54630
|
+
const ownDependencies = swiftTargetDependencies(unit2.files, targets).get(unit2.namespace) ?? [];
|
|
54550
54631
|
const visit3 = (namespace) => {
|
|
54551
|
-
for (const dependency of dependencies.get(namespace) ?? []) {
|
|
54632
|
+
for (const dependency of namespace === unit2.namespace ? ownDependencies : dependencies.get(namespace) ?? []) {
|
|
54552
54633
|
if (!byNamespace.has(dependency) || included.has(dependency)) continue;
|
|
54553
54634
|
included.add(dependency);
|
|
54554
54635
|
visit3(dependency);
|
|
@@ -54565,6 +54646,12 @@ ${import_node_fs81.default.readFileSync(file, "utf8")}`;
|
|
|
54565
54646
|
...dependency.flatMap((item) => item.frameworks)
|
|
54566
54647
|
])
|
|
54567
54648
|
];
|
|
54649
|
+
unit2.workspaceSources = [
|
|
54650
|
+
.../* @__PURE__ */ new Set([
|
|
54651
|
+
...unit2.workspaceSources ?? [],
|
|
54652
|
+
...dependency.flatMap((item) => item.workspaceSources ?? [])
|
|
54653
|
+
])
|
|
54654
|
+
];
|
|
54568
54655
|
unit2.nativeTargets = [
|
|
54569
54656
|
...new Map(
|
|
54570
54657
|
[
|
|
@@ -54587,11 +54674,19 @@ ${import_node_fs81.default.readFileSync(file, "utf8")}`;
|
|
|
54587
54674
|
if (name3.startsWith(`Sources/${namespace}/`)) unit2.files[name3] = source;
|
|
54588
54675
|
}
|
|
54589
54676
|
}
|
|
54590
|
-
|
|
54591
|
-
|
|
54592
|
-
"",
|
|
54593
|
-
targetSettings2([...included].flatMap((namespace) => byNamespace.get(namespace)))
|
|
54677
|
+
const settings = targetSettings2(
|
|
54678
|
+
[...included].flatMap((namespace) => byNamespace.get(namespace))
|
|
54594
54679
|
);
|
|
54680
|
+
if (!installed)
|
|
54681
|
+
for (const namespace of included)
|
|
54682
|
+
settings.set(namespace, {
|
|
54683
|
+
languageMode: 5,
|
|
54684
|
+
mainActorIsolation: false,
|
|
54685
|
+
resources: false,
|
|
54686
|
+
...settings.get(namespace),
|
|
54687
|
+
dependencies: (namespace === unit2.namespace ? ownDependencies : dependencies.get(namespace) ?? []).filter((name3) => included.has(name3)).map((name3) => ({ kind: "target", name: name3 }))
|
|
54688
|
+
});
|
|
54689
|
+
unit2.files["Package.swift"] = expoManifest(unit2.files, "", settings);
|
|
54595
54690
|
}
|
|
54596
54691
|
if (nativeAppIdentity)
|
|
54597
54692
|
for (const unit2 of units) unit2.nativeAppIdentity = nativeAppIdentity;
|
|
@@ -54630,8 +54725,21 @@ let package = Package(name: "PeachExpo", targets: [${declarations.join(", ")}, .
|
|
|
54630
54725
|
function targetSettings2(units) {
|
|
54631
54726
|
const settings = /* @__PURE__ */ new Map();
|
|
54632
54727
|
for (const unit2 of units) {
|
|
54633
|
-
for (const target of swiftManifestTargets(unit2.files["Package.swift"] ?? ""))
|
|
54634
|
-
settings.
|
|
54728
|
+
for (const target of swiftManifestTargets(unit2.files["Package.swift"] ?? "")) {
|
|
54729
|
+
const previous = settings.get(target.name);
|
|
54730
|
+
const dependencies = [
|
|
54731
|
+
...previous?.dependencies ?? [],
|
|
54732
|
+
...target.dependencies ?? []
|
|
54733
|
+
];
|
|
54734
|
+
settings.set(target.name, {
|
|
54735
|
+
...target,
|
|
54736
|
+
dependencies: [
|
|
54737
|
+
...new Map(
|
|
54738
|
+
dependencies.map((dependency) => [JSON.stringify(dependency), dependency])
|
|
54739
|
+
).values()
|
|
54740
|
+
]
|
|
54741
|
+
});
|
|
54742
|
+
}
|
|
54635
54743
|
if (unit2.swiftLanguageMode !== void 0)
|
|
54636
54744
|
settings.set(unit2.namespace, {
|
|
54637
54745
|
...settings.get(unit2.namespace),
|
|
@@ -54988,7 +55096,11 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
54988
55096
|
projectFor(packagePath).nativeFiles = unit2.nativeFiles;
|
|
54989
55097
|
projectFor(packagePath).headerAliases = unit2.headerAliases;
|
|
54990
55098
|
projectFor(packagePath).resourceBundles = unit2.resourceBundles;
|
|
54991
|
-
projectFor(packagePath).bundleFiles = unit2.resources ? {
|
|
55099
|
+
projectFor(packagePath).bundleFiles = unit2.resources ? {
|
|
55100
|
+
files: unit2.resources,
|
|
55101
|
+
bundles: unit2.resourceBundles ?? [],
|
|
55102
|
+
watched: []
|
|
55103
|
+
} : void 0;
|
|
54992
55104
|
const stamp = sourceContentStamp(packagePath, module2.root);
|
|
54993
55105
|
const failed = readFailedCompilation(packagePath);
|
|
54994
55106
|
if (failed?.stamp === stamp) {
|
|
@@ -55164,8 +55276,12 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
55164
55276
|
linked.push(unit2);
|
|
55165
55277
|
} catch (error) {
|
|
55166
55278
|
signal.throwIfAborted();
|
|
55279
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
55280
|
+
const missingImports = [...message.matchAll(/^ (\S+)/gm)].map(
|
|
55281
|
+
(match) => match[1]
|
|
55282
|
+
);
|
|
55167
55283
|
const diagnostic = [
|
|
55168
|
-
error instanceof
|
|
55284
|
+
error instanceof SwiftMissingModulesError && unit2.workspaceSources?.length ? `${unit2.workspaceSources.map((name3) => `${name3} needs a Mac-prepared workspace`).join("; ")}; unresolved imports: ${missingImports.join(", ")}` : message,
|
|
55169
55285
|
...gaps.get(unit2) ?? []
|
|
55170
55286
|
].join("\n");
|
|
55171
55287
|
const unitFiles = [...Object.keys(unit2.files), ...expoUnitAppPaths(unit2)];
|
|
@@ -56488,7 +56604,7 @@ var init_nitro_superset = __esm({
|
|
|
56488
56604
|
init_swift_standin_digest();
|
|
56489
56605
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
56490
56606
|
packageVersion = (root) => JSON.parse((0, import_node_fs86.readFileSync)((0, import_node_path85.join)(root, "package.json"), "utf8")).version;
|
|
56491
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
56607
|
+
NITRO_COMPILER_DIGEST = true ? "50679ec9d86f9d78812bf99a3f183a7aeac0c60f73d1020f74b65ecf6a0c1fa2" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56492
56608
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
56493
56609
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
56494
56610
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1982 | (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.1982 | (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.1982 | (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.1982 | (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.1982 | (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.1982 | (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.1982 | (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.1982 | (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;
|