peachsim 0.1.2058 → 0.1.2060
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/commands/package.ts +11 -3
- 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 +61 -20
- 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 +56 -18
- 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 +69 -26
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -5
- 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 -5
- 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 -5
- 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 +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 +91 -50
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- 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 +6 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +4 -4
- package/dist-lib/vite.cjs +4 -5
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/components/native-ui/context-menu-types.d.ts +1 -1
- package/package.json +2 -1
- package/src/expo-discovery-cache.ts +48 -5
- package/src/expo-native-prebuilt.ts +7 -4
- package/src/expo-native-workspace.ts +2 -1
- package/src/expo-pod-prebuilt.ts +2 -2
- package/src/swift-toolchain.ts +6 -0
package/cli/commands/package.ts
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
extractAssetDescriptors,
|
|
8
8
|
metroAssetScaleFilename,
|
|
9
9
|
} from '../../../contrast-bundler/src/metroAssetArtifact'
|
|
10
|
+
import { isSwiftIcuPacked } from '../../../sootsim-swift/src/icuData'
|
|
10
11
|
import {
|
|
11
12
|
APP_PACKAGE_ORIGIN,
|
|
12
13
|
APP_PACKAGE_ADDRESS_PATTERN,
|
|
@@ -436,6 +437,7 @@ export async function runPackage(args: string[]): Promise<void> {
|
|
|
436
437
|
throw new Error('app release bundle hash mismatch')
|
|
437
438
|
let source = bytes.toString('utf8')
|
|
438
439
|
const resources = new Set<string>()
|
|
440
|
+
const icuUrls = new Set<string>()
|
|
439
441
|
const visit = (value: unknown) => {
|
|
440
442
|
if (Array.isArray(value)) {
|
|
441
443
|
for (const child of value) visit(child)
|
|
@@ -443,9 +445,10 @@ export async function runPackage(args: string[]): Promise<void> {
|
|
|
443
445
|
}
|
|
444
446
|
if (!isRecord(value)) return
|
|
445
447
|
for (const [key, child] of Object.entries(value)) {
|
|
446
|
-
if ((key === 'url' || key === 'icuUrl') && typeof child === 'string')
|
|
448
|
+
if ((key === 'url' || key === 'icuUrl') && typeof child === 'string') {
|
|
447
449
|
resources.add(child)
|
|
448
|
-
|
|
450
|
+
if (key === 'icuUrl') icuUrls.add(child)
|
|
451
|
+
} else visit(child)
|
|
449
452
|
}
|
|
450
453
|
}
|
|
451
454
|
if (configuredProject) {
|
|
@@ -489,13 +492,18 @@ export async function runPackage(args: string[]): Promise<void> {
|
|
|
489
492
|
for (const url of resources) {
|
|
490
493
|
const asset = await fetch(url)
|
|
491
494
|
if (!asset.ok) throw new Error(`native app resource: HTTP ${asset.status}`)
|
|
495
|
+
const resource = new Uint8Array(await asset.arrayBuffer())
|
|
496
|
+
if (icuUrls.has(url) && !isSwiftIcuPacked(resource))
|
|
497
|
+
throw new Error(
|
|
498
|
+
`${url} is not a version 1 packed swift icu file; the release was published by an older peachsim than this cli, so publish it again`,
|
|
499
|
+
)
|
|
492
500
|
const packaged =
|
|
493
501
|
'/__peach/app-assets/' +
|
|
494
502
|
createHash('sha256').update(url).digest('hex') +
|
|
495
503
|
path.extname(new URL(url).pathname)
|
|
496
504
|
route(
|
|
497
505
|
packaged,
|
|
498
|
-
|
|
506
|
+
resource,
|
|
499
507
|
asset.headers.get('content-type') ?? 'application/octet-stream',
|
|
500
508
|
)
|
|
501
509
|
source = source.replaceAll(JSON.stringify(url), JSON.stringify(packaged))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "90c067104b8525e5b2eb9b8dc400cdd19e433e343cc70497d1ff0dc0c324a2ac", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "3dea1482aa4180b576e9151c1a687590d4b43261cadf7657788febb480a640d9", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -14712,6 +14712,9 @@ function swiftCacheDir() {
|
|
|
14712
14712
|
const root = buildersRootEnv();
|
|
14713
14713
|
return root ? import_node_path19.default.join(root, "peach-cache") : import_node_path19.default.join(peachHome(), "cache");
|
|
14714
14714
|
}
|
|
14715
|
+
function sharedCacheDir(fallback) {
|
|
14716
|
+
return buildersRootEnv() ? swiftCacheDir() : fallback;
|
|
14717
|
+
}
|
|
14715
14718
|
function swiftPackageCacheOptions() {
|
|
14716
14719
|
const root = import_node_path19.default.join(swiftCacheDir(), "swiftpm");
|
|
14717
14720
|
return [
|
|
@@ -30286,7 +30289,7 @@ var init_swift_compile = __esm({
|
|
|
30286
30289
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
30287
30290
|
MULTI_MANIFEST_VERSION = 68;
|
|
30288
30291
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
30289
|
-
compilerSourceDigest = true ? "
|
|
30292
|
+
compilerSourceDigest = true ? "6d720b5ca62d6aa047168bc2a7096fbe1d29316eb2e828722eca8a3323f450af" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
30290
30293
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
30291
30294
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
30292
30295
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -37243,7 +37246,7 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
|
|
|
37243
37246
|
watch.excluded = excluded;
|
|
37244
37247
|
const manifest = JSON.parse(import_node_fs57.default.readFileSync(import_node_path56.default.join(root, "package.json"), "utf8"));
|
|
37245
37248
|
const appManifest = JSON.parse(import_node_fs57.default.readFileSync(import_node_path56.default.join(app, "package.json"), "utf8"));
|
|
37246
|
-
const work = import_node_path56.default.join(cacheDir(), "expo-native-workspaces", nativeHash);
|
|
37249
|
+
const work = import_node_path56.default.join(sharedCacheDir(cacheDir()), "expo-native-workspaces", nativeHash);
|
|
37247
37250
|
report(`hashed ${root}`);
|
|
37248
37251
|
const result = await withSwiftRootLock(work, async (lease) => {
|
|
37249
37252
|
const marker = import_node_path56.default.join(work, ".peach-complete");
|
|
@@ -37486,6 +37489,7 @@ var init_expo_native_workspace = __esm({
|
|
|
37486
37489
|
init_portable_expo_workspace();
|
|
37487
37490
|
init_retired_cache_directory();
|
|
37488
37491
|
init_swift_root_lock();
|
|
37492
|
+
init_swift_toolchain();
|
|
37489
37493
|
init_workspace_root();
|
|
37490
37494
|
init_xcode_project();
|
|
37491
37495
|
isolatedGitEnv = {
|
|
@@ -42145,7 +42149,7 @@ var init_swift_standin_digest = __esm({
|
|
|
42145
42149
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
42146
42150
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
42147
42151
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
42148
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
42152
|
+
STANDIN_SOURCE_DIGEST = true ? "d3989025f0bd01881a5114ec49ccc0f742ec0a93aba1a3e3271f90514c18d6de" : standinSourceDigest();
|
|
42149
42153
|
}
|
|
42150
42154
|
});
|
|
42151
42155
|
|
|
@@ -53838,7 +53842,7 @@ var init_nitro_superset = __esm({
|
|
|
53838
53842
|
init_nitroContract();
|
|
53839
53843
|
init_swift_standin_digest();
|
|
53840
53844
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
53841
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
53845
|
+
NITRO_COMPILER_DIGEST = true ? "3cc5750baacfcc2b136b9721df281ca2921d659c21133bbfb8d04aa7642e9ed5" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
53842
53846
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
53843
53847
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
53844
53848
|
published = /* @__PURE__ */ new Map();
|
|
@@ -54569,7 +54573,33 @@ async function expoDiscoveryKey(options) {
|
|
|
54569
54573
|
return { key: key2, root };
|
|
54570
54574
|
}
|
|
54571
54575
|
function sharedDir() {
|
|
54572
|
-
return import_node_path87.default.join((
|
|
54576
|
+
return import_node_path87.default.join(sharedCacheDir(import_node_path87.default.join(ambientHomeDir(), "cache")), "expo-discovery");
|
|
54577
|
+
}
|
|
54578
|
+
function vanished2(error) {
|
|
54579
|
+
return error instanceof Error && "code" in error && error.code === "ENOENT";
|
|
54580
|
+
}
|
|
54581
|
+
function renew(file) {
|
|
54582
|
+
const now = /* @__PURE__ */ new Date();
|
|
54583
|
+
try {
|
|
54584
|
+
import_node_fs89.default.utimesSync(file, now, now);
|
|
54585
|
+
} catch (error) {
|
|
54586
|
+
if (!vanished2(error)) throw error;
|
|
54587
|
+
}
|
|
54588
|
+
}
|
|
54589
|
+
function expireDiscovery(dir, keep) {
|
|
54590
|
+
const sweep = (parent, expiry) => {
|
|
54591
|
+
if (!import_node_fs89.default.existsSync(parent)) return;
|
|
54592
|
+
for (const name3 of import_node_fs89.default.readdirSync(parent)) {
|
|
54593
|
+
if (!expiry(name3)) continue;
|
|
54594
|
+
const file = import_node_path87.default.join(parent, name3);
|
|
54595
|
+
const modified = import_node_fs89.default.statSync(file, { throwIfNoEntry: false })?.mtimeMs;
|
|
54596
|
+
if (modified === void 0 || file === keep) continue;
|
|
54597
|
+
const limit = name3.endsWith(".tmp") ? ORPHAN_TEMPORARY_MS : EXPIRY_MS;
|
|
54598
|
+
if (Date.now() - modified > limit) import_node_fs89.default.rmSync(file, { force: true });
|
|
54599
|
+
}
|
|
54600
|
+
};
|
|
54601
|
+
sweep(dir, (name3) => name3.endsWith(".json") || name3.endsWith(".tmp"));
|
|
54602
|
+
sweep(import_node_path87.default.join(dir, "blobs"), () => true);
|
|
54573
54603
|
}
|
|
54574
54604
|
function isExpoSwiftSourceUnit(value) {
|
|
54575
54605
|
return isRecord(value) && typeof value.namespace === "string" && typeof value.moduleId === "string" && (value.nativeAppIdentity === void 0 || isNativeAppIdentity(value.nativeAppIdentity)) && strings3(value.classes) && strings3(value.bridgeModules) && strings3(value.appDelegateSubscribers) && strings3(value.reactDelegateHandlers) && stringRecord(value.files) && strings3(value.frameworks) && (value.workspaceSources === void 0 || strings3(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");
|
|
@@ -54579,8 +54609,9 @@ function isStoredUnit(value) {
|
|
|
54579
54609
|
}
|
|
54580
54610
|
function readExpoDiscovery(key2) {
|
|
54581
54611
|
let parsed;
|
|
54612
|
+
const record3 = import_node_path87.default.join(sharedDir(), `${key2}.json`);
|
|
54582
54613
|
try {
|
|
54583
|
-
parsed = JSON.parse(import_node_fs89.default.readFileSync(
|
|
54614
|
+
parsed = JSON.parse(import_node_fs89.default.readFileSync(record3, "utf8"));
|
|
54584
54615
|
} catch {
|
|
54585
54616
|
return void 0;
|
|
54586
54617
|
}
|
|
@@ -54599,16 +54630,19 @@ function readExpoDiscovery(key2) {
|
|
|
54599
54630
|
} catch {
|
|
54600
54631
|
return void 0;
|
|
54601
54632
|
}
|
|
54633
|
+
renew(record3);
|
|
54602
54634
|
if (parsed.units === null) return null;
|
|
54603
54635
|
if (!strings3(parsed.units) || !parsed.units.every(isDigest)) return void 0;
|
|
54604
54636
|
const blobs = /* @__PURE__ */ new Map();
|
|
54605
54637
|
const read = (digest4) => {
|
|
54606
54638
|
const known = blobs.get(digest4);
|
|
54607
54639
|
if (known !== void 0) return known;
|
|
54608
|
-
const
|
|
54640
|
+
const blob = import_node_path87.default.join(sharedDir(), "blobs", digest4);
|
|
54641
|
+
const body = import_node_fs89.default.readFileSync(blob, "utf8");
|
|
54609
54642
|
if ((0, import_node_crypto45.createHash)("sha256").update(body).digest("hex") !== digest4)
|
|
54610
54643
|
throw new Error("discovery blob differs from its digest");
|
|
54611
54644
|
blobs.set(digest4, body);
|
|
54645
|
+
renew(blob);
|
|
54612
54646
|
return body;
|
|
54613
54647
|
};
|
|
54614
54648
|
const resolve4 = (refs) => {
|
|
@@ -54827,6 +54861,7 @@ function writeExpoDiscovery(options) {
|
|
|
54827
54861
|
})
|
|
54828
54862
|
);
|
|
54829
54863
|
import_node_fs89.default.renameSync(tmp, import_node_path87.default.join(dir, `${options.key}.json`));
|
|
54864
|
+
expireDiscovery(dir, import_node_path87.default.join(dir, `${options.key}.json`));
|
|
54830
54865
|
return null;
|
|
54831
54866
|
}
|
|
54832
54867
|
const preparedRoot = import_node_fs89.default.realpathSync(options.preparedRoot);
|
|
@@ -54885,28 +54920,30 @@ function writeExpoDiscovery(options) {
|
|
|
54885
54920
|
})
|
|
54886
54921
|
);
|
|
54887
54922
|
import_node_fs89.default.renameSync(tmp, import_node_path87.default.join(dir, `${options.key}.json`));
|
|
54923
|
+
expireDiscovery(dir, import_node_path87.default.join(dir, `${options.key}.json`));
|
|
54888
54924
|
return rewritten.units;
|
|
54889
54925
|
} catch (error) {
|
|
54890
54926
|
if (options.signal?.aborted) throw error;
|
|
54891
54927
|
return error instanceof Error ? error.message : String(error);
|
|
54892
54928
|
}
|
|
54893
54929
|
}
|
|
54894
|
-
var import_node_crypto45, import_node_fs89,
|
|
54930
|
+
var import_node_crypto45, import_node_fs89, import_node_path87, import_node_url5, FORMAT, PIPELINE_FILES, EXPIRY_MS, ORPHAN_TEMPORARY_MS, strings3, stringRecord, isDigest, digestRecord, sourceLocationLine, MISSING_TREE;
|
|
54895
54931
|
var init_expo_discovery_cache = __esm({
|
|
54896
54932
|
"src/expo-discovery-cache.ts"() {
|
|
54897
54933
|
"use strict";
|
|
54898
54934
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
54899
54935
|
import_node_crypto45 = require("node:crypto");
|
|
54900
54936
|
import_node_fs89 = __toESM(require("node:fs"), 1);
|
|
54901
|
-
import_node_os18 = require("node:os");
|
|
54902
54937
|
import_node_path87 = __toESM(require("node:path"), 1);
|
|
54903
54938
|
import_node_url5 = require("node:url");
|
|
54904
54939
|
init_expo_eager_seam_contract();
|
|
54905
54940
|
init_answeredNativePackages();
|
|
54906
54941
|
init_cli_version();
|
|
54907
54942
|
init_expo_native_workspace();
|
|
54943
|
+
init_home_paths();
|
|
54908
54944
|
init_is_record();
|
|
54909
54945
|
init_native_app_identity();
|
|
54946
|
+
init_swift_toolchain();
|
|
54910
54947
|
init_swiftContract();
|
|
54911
54948
|
FORMAT = "expo-discovery-v5";
|
|
54912
54949
|
PIPELINE_FILES = [
|
|
@@ -54931,6 +54968,8 @@ var init_expo_discovery_cache = __esm({
|
|
|
54931
54968
|
"swift-standins",
|
|
54932
54969
|
"xcode-project"
|
|
54933
54970
|
];
|
|
54971
|
+
EXPIRY_MS = 7 * 24 * 36e5;
|
|
54972
|
+
ORPHAN_TEMPORARY_MS = 24 * 36e5;
|
|
54934
54973
|
strings3 = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
54935
54974
|
stringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
54936
54975
|
isDigest = (value) => /^[0-9a-f]{64}$/.test(value);
|
|
@@ -54951,6 +54990,9 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
54951
54990
|
});
|
|
54952
54991
|
|
|
54953
54992
|
// src/expo-native-prebuilt.ts
|
|
54993
|
+
function expoNativeCompilerDigestValue() {
|
|
54994
|
+
return true ? "f5b03dc470b9bd69a280676280590a82805bc1302c2af585963b4f1aee29626d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
54995
|
+
}
|
|
54954
54996
|
function readSources(value) {
|
|
54955
54997
|
const sources = isRecord(value) ? value.sources : null;
|
|
54956
54998
|
if (!Array.isArray(sources)) throw new Error("invalid Expo fingerprint");
|
|
@@ -55018,7 +55060,7 @@ async function expoNativeInputs(appRoot) {
|
|
|
55018
55060
|
);
|
|
55019
55061
|
return {
|
|
55020
55062
|
inputs: {
|
|
55021
|
-
compiler:
|
|
55063
|
+
compiler: expoNativeCompilerDigestValue(),
|
|
55022
55064
|
"swift-pin": JSON.stringify(swiftNativePin()),
|
|
55023
55065
|
answered: JSON.stringify([...peachAnsweredNativePackages()].sort()),
|
|
55024
55066
|
"pods-environment": JSON.stringify(reactNativePodsEnvironment()),
|
|
@@ -55131,7 +55173,7 @@ async function prebuiltExpoSwiftResult(appRoot, entry, signal) {
|
|
|
55131
55173
|
if (entry.expoSwift.modules.length === 0 && !entry.identity) return entry.expoSwift;
|
|
55132
55174
|
return servedExpoSwift(appRoot, entry, await prebuiltAppTarget(appRoot, signal));
|
|
55133
55175
|
}
|
|
55134
|
-
var import_node_crypto46, import_node_fs90, import_node_module10, import_node_path88, import_node_util14, import_plist7, EXPO_NATIVE_ENTRY_NAME,
|
|
55176
|
+
var import_node_crypto46, import_node_fs90, import_node_module10, import_node_path88, import_node_util14, import_plist7, EXPO_NATIVE_ENTRY_NAME, IDENTITY_SOURCE_SKIPS, expoNativeEntryUrl, isStringRecord, isPlistArray, published2, lookups;
|
|
55135
55177
|
var init_expo_native_prebuilt = __esm({
|
|
55136
55178
|
"src/expo-native-prebuilt.ts"() {
|
|
55137
55179
|
"use strict";
|
|
@@ -55154,7 +55196,6 @@ var init_expo_native_prebuilt = __esm({
|
|
|
55154
55196
|
init_swift_native_pin();
|
|
55155
55197
|
init_xcode_project();
|
|
55156
55198
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
55157
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "9261d0a9154839a3f56da0055e3fa5dd6156b6224d07aeea0ea0152cf9ccf227" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
55158
55199
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
55159
55200
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
55160
55201
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -55855,7 +55896,7 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
|
|
|
55855
55896
|
async function compileTurboModule(options) {
|
|
55856
55897
|
await prepareTurboSourceDependencies(options.reactNativeRoot);
|
|
55857
55898
|
const key2 = (0, import_node_crypto47.createHash)("sha256").update(options.providers.map(({ root }) => import_node_fs92.default.realpathSync(root)).join("\0")).update("\0").update(import_node_fs92.default.realpathSync(options.moduleRoot)).digest("hex");
|
|
55858
|
-
const scratch2 = import_node_path90.default.join(
|
|
55899
|
+
const scratch2 = import_node_path90.default.join(import_node_os18.default.tmpdir(), "peach-turbo-swift", key2);
|
|
55859
55900
|
import_node_fs92.default.rmSync(import_node_path90.default.join(scratch2, "codegen"), { recursive: true, force: true });
|
|
55860
55901
|
const collection = await collectTurboSources({
|
|
55861
55902
|
appRoot: options.appRoot,
|
|
@@ -56054,7 +56095,7 @@ async function compileTurboModule(options) {
|
|
|
56054
56095
|
collection
|
|
56055
56096
|
};
|
|
56056
56097
|
}
|
|
56057
|
-
var import_node_crypto47, import_node_fs92, import_node_module12,
|
|
56098
|
+
var import_node_crypto47, import_node_fs92, import_node_module12, import_node_os18, import_node_path90;
|
|
56058
56099
|
var init_turbo_compile = __esm({
|
|
56059
56100
|
"src/turbo-compile.ts"() {
|
|
56060
56101
|
"use strict";
|
|
@@ -56062,7 +56103,7 @@ var init_turbo_compile = __esm({
|
|
|
56062
56103
|
import_node_crypto47 = require("node:crypto");
|
|
56063
56104
|
import_node_fs92 = __toESM(require("node:fs"), 1);
|
|
56064
56105
|
import_node_module12 = require("node:module");
|
|
56065
|
-
|
|
56106
|
+
import_node_os18 = __toESM(require("node:os"), 1);
|
|
56066
56107
|
import_node_path90 = __toESM(require("node:path"), 1);
|
|
56067
56108
|
init_native_app_identity_project();
|
|
56068
56109
|
init_nitro_adapter();
|
|
@@ -57548,7 +57589,7 @@ function expoUnitAppPaths(unit2) {
|
|
|
57548
57589
|
});
|
|
57549
57590
|
}
|
|
57550
57591
|
function expoSwiftPackage(appKey, name3) {
|
|
57551
|
-
return import_node_path91.default.join(
|
|
57592
|
+
return import_node_path91.default.join(import_node_os19.default.tmpdir(), "peach-expo-swift", appKey, `p${process.pid}`, name3);
|
|
57552
57593
|
}
|
|
57553
57594
|
function failureRecordPath(packagePath) {
|
|
57554
57595
|
const app = import_node_path91.default.dirname(import_node_path91.default.dirname(packagePath));
|
|
@@ -58182,7 +58223,7 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
|
|
|
58182
58223
|
throw failure2;
|
|
58183
58224
|
}
|
|
58184
58225
|
}
|
|
58185
|
-
var import_node_async_hooks2, import_node_child_process43, import_node_crypto48, import_node_fs93, import_node_module13,
|
|
58226
|
+
var import_node_async_hooks2, import_node_child_process43, import_node_crypto48, import_node_fs93, import_node_module13, import_node_os19, import_node_path91, import_node_url6, import_node_util15, run7, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
|
|
58186
58227
|
var init_expo_swift_host = __esm({
|
|
58187
58228
|
"src/expo-swift-host.ts"() {
|
|
58188
58229
|
"use strict";
|
|
@@ -58192,7 +58233,7 @@ var init_expo_swift_host = __esm({
|
|
|
58192
58233
|
import_node_crypto48 = require("node:crypto");
|
|
58193
58234
|
import_node_fs93 = __toESM(require("node:fs"), 1);
|
|
58194
58235
|
import_node_module13 = require("node:module");
|
|
58195
|
-
|
|
58236
|
+
import_node_os19 = __toESM(require("node:os"), 1);
|
|
58196
58237
|
import_node_path91 = __toESM(require("node:path"), 1);
|
|
58197
58238
|
import_node_url6 = require("node:url");
|
|
58198
58239
|
import_node_util15 = require("node:util");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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.2060 | (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;
|