peachsim 0.1.2794 → 0.1.2795
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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +28 -12
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-A7OMJDVK.mjs → acorn-75V3OBXH.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-35HEHEYA.mjs → chunk-2RTQFMA3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CIFEHSEA.mjs → chunk-3E4ZLMXW.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-B3E5ZI2D.mjs → chunk-5DDUQYBY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-R6ES6QCH.mjs → chunk-ASMHH2QN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2TCGEMEV.mjs → chunk-ATM3HZDR.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-NKJ67PFZ.mjs → chunk-B5Q2MKHJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-5RQ3U7WK.mjs → chunk-BMIH6S26.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZTDPCBGG.mjs → chunk-CZCT5EAJ.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-E6KA576K.mjs → chunk-DGXGBF5N.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Y6YMRYNX.mjs → chunk-DJXJO7YZ.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-OS6YJU3W.mjs → chunk-F4G4DEEZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PRYC6EMT.mjs → chunk-JKYNP3NX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KVFRYFZI.mjs → chunk-JMGRUOXY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DLEQ5NZ5.mjs → chunk-K2ZBCAZ5.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-7QNWHCMJ.mjs → chunk-KJEDFVG6.mjs} +14 -14
- package/dist-lib/esm-chunks/{chunk-GDITZ3K2.mjs → chunk-LQQMXMCV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TJULYSLY.mjs → chunk-MNBUUJ2A.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AW4Z3K2U.mjs → chunk-N5O5BB3F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CIR4VZ22.mjs → chunk-OOXCOL63.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-V6BE34Q3.mjs → chunk-PHBFU273.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K7RLWF5X.mjs → chunk-QRW6R5HX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GHGDWJY3.mjs → chunk-RHM2LED4.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-O6HHWO4Y.mjs → chunk-US5W76OK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ANIC22U3.mjs → chunk-UV2BL5ZA.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-WG2ITRQD.mjs → metro-layout-parser-72VRHWZM.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-DN7G5XKR.mjs → swift-package-prebuilt-ZOQMKNDR.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-3DB4F4Y2.mjs → swift-sdk-app-module-XC4QIMOI.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-JTYM3OQY.mjs → swift-sdk-image-P5NS5P7F.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-QQUODPXF.mjs → swift-sdk-image-producer-7VTOFOND.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +27 -11
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +28 -12
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +46 -27
- package/dist-lib/pdfium-raster.mjs +47 -28
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +87 -86
- package/dist-lib/public-origins-lib.json +67 -65
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +8 -8
- package/dist-lib/skills.cjs +36 -12
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/core-abi/style/style-field-hash.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-hot-ops.d.ts +3 -3
- package/dist-types/packages/peach-globals/src/fnv1a.d.ts +4 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +31 -9
- package/src/pdfium-raster.ts +1 -58
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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/menu.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
rnxPublicBrand
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-LQQMXMCV.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-PHBFU273.mjs";
|
|
6
6
|
|
|
7
7
|
// src/menuContract.ts
|
|
8
8
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isRecord
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-QRW6R5HX.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-PHBFU273.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-fingerprint-registry.ts
|
|
8
8
|
var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-JMGRUOXY.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-PHBFU273.mjs";
|
|
6
6
|
|
|
7
7
|
// src/metro-production-bundle.ts
|
|
8
8
|
var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
|
|
@@ -131,7 +131,7 @@ function metroCalls(expression) {
|
|
|
131
131
|
return [];
|
|
132
132
|
}
|
|
133
133
|
async function readRNXMetroBundleLayout(source) {
|
|
134
|
-
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-
|
|
134
|
+
const { loadMetroLayoutParser } = await import("./esm-chunks/metro-layout-parser-72VRHWZM.mjs");
|
|
135
135
|
const MetroLayoutParser = await loadMetroLayoutParser();
|
|
136
136
|
const program = MetroLayoutParser.parse(source, {
|
|
137
137
|
ecmaVersion: "latest",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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,25 +1,25 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftNativePin
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
6
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-ATM3HZDR.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-B5Q2MKHJ.mjs";
|
|
6
|
+
import "./esm-chunks/chunk-DGXGBF5N.mjs";
|
|
7
7
|
import {
|
|
8
8
|
NATIVE_GRAPH_SDK_VERSION,
|
|
9
9
|
cacheDir,
|
|
10
10
|
sha256Hex
|
|
11
|
-
} from "./esm-chunks/chunk-
|
|
11
|
+
} from "./esm-chunks/chunk-DJXJO7YZ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
privateSwiftRelease,
|
|
14
14
|
swiftEnvironment,
|
|
15
15
|
swiftToolchainBin
|
|
16
|
-
} from "./esm-chunks/chunk-
|
|
17
|
-
import "./esm-chunks/chunk-
|
|
16
|
+
} from "./esm-chunks/chunk-OOXCOL63.mjs";
|
|
17
|
+
import "./esm-chunks/chunk-5DDUQYBY.mjs";
|
|
18
18
|
import {
|
|
19
19
|
SWIFT_OBJCXX_LANGUAGE_FLAG,
|
|
20
20
|
isSwiftNativeTranslationUnit,
|
|
21
21
|
moduleMapName
|
|
22
|
-
} from "./esm-chunks/chunk-
|
|
22
|
+
} from "./esm-chunks/chunk-ASMHH2QN.mjs";
|
|
23
23
|
import {
|
|
24
24
|
androidMergedResourceValuesDirectory,
|
|
25
25
|
extractNativeAppIdentityFromFiles,
|
|
@@ -37,22 +37,22 @@ import {
|
|
|
37
37
|
xcodeBuildFileBuildsForIos,
|
|
38
38
|
xcodePathResolver,
|
|
39
39
|
xcodeTargetMemberVisitor
|
|
40
|
-
} from "./esm-chunks/chunk-
|
|
41
|
-
import "./esm-chunks/chunk-
|
|
40
|
+
} from "./esm-chunks/chunk-K2ZBCAZ5.mjs";
|
|
41
|
+
import "./esm-chunks/chunk-N5O5BB3F.mjs";
|
|
42
42
|
import {
|
|
43
43
|
buildPlist,
|
|
44
44
|
parsePlist,
|
|
45
45
|
parsePlistSource,
|
|
46
46
|
parseXmlPlist
|
|
47
|
-
} from "./esm-chunks/chunk-
|
|
48
|
-
import "./esm-chunks/chunk-
|
|
49
|
-
import "./esm-chunks/chunk-
|
|
47
|
+
} from "./esm-chunks/chunk-2RTQFMA3.mjs";
|
|
48
|
+
import "./esm-chunks/chunk-US5W76OK.mjs";
|
|
49
|
+
import "./esm-chunks/chunk-JMGRUOXY.mjs";
|
|
50
50
|
import {
|
|
51
51
|
isRecord
|
|
52
|
-
} from "./esm-chunks/chunk-
|
|
52
|
+
} from "./esm-chunks/chunk-QRW6R5HX.mjs";
|
|
53
53
|
import {
|
|
54
54
|
__publicField
|
|
55
|
-
} from "./esm-chunks/chunk-
|
|
55
|
+
} from "./esm-chunks/chunk-PHBFU273.mjs";
|
|
56
56
|
|
|
57
57
|
// src/native-app-identity-project.ts
|
|
58
58
|
import fs8 from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
NATIVE_APP_IDENTITY_HEADER,
|
|
4
4
|
applyNativeAppIdentity,
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
readRootModuleName,
|
|
23
23
|
readSiriEntitlement,
|
|
24
24
|
selectNativeAppIdentityReader
|
|
25
|
-
} from "./esm-chunks/chunk-
|
|
26
|
-
import "./esm-chunks/chunk-
|
|
27
|
-
import "./esm-chunks/chunk-
|
|
28
|
-
import "./esm-chunks/chunk-
|
|
29
|
-
import "./esm-chunks/chunk-
|
|
25
|
+
} from "./esm-chunks/chunk-K2ZBCAZ5.mjs";
|
|
26
|
+
import "./esm-chunks/chunk-N5O5BB3F.mjs";
|
|
27
|
+
import "./esm-chunks/chunk-JMGRUOXY.mjs";
|
|
28
|
+
import "./esm-chunks/chunk-QRW6R5HX.mjs";
|
|
29
|
+
import "./esm-chunks/chunk-PHBFU273.mjs";
|
|
30
30
|
export {
|
|
31
31
|
NATIVE_APP_IDENTITY_HEADER,
|
|
32
32
|
applyNativeAppIdentity,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
findBundleFooter
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
5
|
-
import "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-JMGRUOXY.mjs";
|
|
5
|
+
import "./esm-chunks/chunk-PHBFU273.mjs";
|
|
6
6
|
|
|
7
7
|
// src/native-firebase-metadata.ts
|
|
8
8
|
var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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;
|
|
@@ -27,52 +27,71 @@ __export(pdfium_raster_exports, {
|
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(pdfium_raster_exports);
|
|
29
29
|
var import_inline = require("@hyzyla/pdfium/inline");
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
|
|
31
|
+
// ../peach-globals/src/png.ts
|
|
32
|
+
var PNG_SIGNATURE = new Uint8Array([
|
|
33
|
+
137,
|
|
34
|
+
80,
|
|
35
|
+
78,
|
|
36
|
+
71,
|
|
37
|
+
13,
|
|
38
|
+
10,
|
|
39
|
+
26,
|
|
40
|
+
10
|
|
41
|
+
]);
|
|
42
|
+
var CRC_TABLE = Uint32Array.from({ length: 256 }, (_, index) => {
|
|
43
|
+
let value = index;
|
|
44
|
+
for (let bit = 0; bit < 8; bit++)
|
|
45
|
+
value = value & 1 ? 3988292384 ^ value >>> 1 : value >>> 1;
|
|
46
|
+
return value >>> 0;
|
|
34
47
|
});
|
|
35
48
|
function crc32(bytes) {
|
|
36
|
-
let
|
|
37
|
-
for (
|
|
38
|
-
|
|
49
|
+
let value = 4294967295;
|
|
50
|
+
for (let i = 0; i < bytes.length; i++)
|
|
51
|
+
value = CRC_TABLE[(value ^ bytes[i]) & 255] ^ value >>> 8;
|
|
52
|
+
return (value ^ 4294967295) >>> 0;
|
|
39
53
|
}
|
|
40
|
-
function
|
|
54
|
+
function pngChunk(type, data, checksum = crc32) {
|
|
41
55
|
const out = new Uint8Array(12 + data.length);
|
|
42
56
|
const view = new DataView(out.buffer);
|
|
43
57
|
view.setUint32(0, data.length);
|
|
44
58
|
for (let i = 0; i < 4; i++) out[4 + i] = type.charCodeAt(i);
|
|
45
59
|
out.set(data, 8);
|
|
46
|
-
view.setUint32(8 + data.length,
|
|
60
|
+
view.setUint32(8 + data.length, checksum(out.subarray(4, 8 + data.length)));
|
|
47
61
|
return out;
|
|
48
62
|
}
|
|
49
|
-
|
|
50
|
-
const stream = new Blob([Uint8Array.from(bytes)]).stream().pipeThrough(new CompressionStream("deflate"));
|
|
51
|
-
return new Uint8Array(await new Response(stream).arrayBuffer());
|
|
52
|
-
}
|
|
53
|
-
async function encodeRgbaPng(width, height, rgba) {
|
|
54
|
-
const raw = new Uint8Array((width * 4 + 1) * height);
|
|
55
|
-
for (let y = 0; y < height; y++)
|
|
56
|
-
raw.set(rgba.subarray(y * width * 4, (y + 1) * width * 4), y * (width * 4 + 1) + 1);
|
|
63
|
+
function encodePngFromScanlines(width, height, colorType, deflatedScanlines, checksum = crc32) {
|
|
57
64
|
const header = new Uint8Array(13);
|
|
58
65
|
const view = new DataView(header.buffer);
|
|
59
66
|
view.setUint32(0, width);
|
|
60
67
|
view.setUint32(4, height);
|
|
61
|
-
header.set([8,
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
const png = new Uint8Array(parts.reduce((total, part) => total + part.length, 0));
|
|
68
|
+
header.set([8, colorType, 0, 0, 0], 8);
|
|
69
|
+
const ihdr = pngChunk("IHDR", header, checksum);
|
|
70
|
+
const idat = pngChunk("IDAT", deflatedScanlines, checksum);
|
|
71
|
+
const iend = pngChunk("IEND", new Uint8Array(0), checksum);
|
|
72
|
+
const png = new Uint8Array(
|
|
73
|
+
PNG_SIGNATURE.length + ihdr.length + idat.length + iend.length
|
|
74
|
+
);
|
|
69
75
|
let offset = 0;
|
|
70
|
-
for (const part of
|
|
76
|
+
for (const part of [PNG_SIGNATURE, ihdr, idat, iend]) {
|
|
71
77
|
png.set(part, offset);
|
|
72
78
|
offset += part.length;
|
|
73
79
|
}
|
|
74
80
|
return png;
|
|
75
81
|
}
|
|
82
|
+
async function deflateZlib(bytes) {
|
|
83
|
+
const stream = new Blob([bytes]).stream().pipeThrough(new CompressionStream("deflate"));
|
|
84
|
+
return new Uint8Array(await new Response(stream).arrayBuffer());
|
|
85
|
+
}
|
|
86
|
+
async function encodeRgbaPng(width, height, rgba) {
|
|
87
|
+
const stride = width * 4;
|
|
88
|
+
const raw = new Uint8Array((stride + 1) * height);
|
|
89
|
+
for (let y = 0; y < height; y++)
|
|
90
|
+
raw.set(rgba.subarray(y * stride, (y + 1) * stride), y * (stride + 1) + 1);
|
|
91
|
+
return encodePngFromScanlines(width, height, 6, await deflateZlib(raw));
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// src/pdfium-raster.ts
|
|
76
95
|
async function rasterizePage(library, pdf, scale) {
|
|
77
96
|
const document = await library.loadDocument(pdf);
|
|
78
97
|
try {
|
|
@@ -1,54 +1,73 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-PHBFU273.mjs";
|
|
3
3
|
|
|
4
4
|
// src/pdfium-raster.ts
|
|
5
5
|
import { PDFiumLibrary } from "@hyzyla/pdfium/inline";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
|
|
7
|
+
// ../peach-globals/src/png.ts
|
|
8
|
+
var PNG_SIGNATURE = new Uint8Array([
|
|
9
|
+
137,
|
|
10
|
+
80,
|
|
11
|
+
78,
|
|
12
|
+
71,
|
|
13
|
+
13,
|
|
14
|
+
10,
|
|
15
|
+
26,
|
|
16
|
+
10
|
|
17
|
+
]);
|
|
18
|
+
var CRC_TABLE = Uint32Array.from({ length: 256 }, (_, index) => {
|
|
19
|
+
let value = index;
|
|
20
|
+
for (let bit = 0; bit < 8; bit++)
|
|
21
|
+
value = value & 1 ? 3988292384 ^ value >>> 1 : value >>> 1;
|
|
22
|
+
return value >>> 0;
|
|
10
23
|
});
|
|
11
24
|
function crc32(bytes) {
|
|
12
|
-
let
|
|
13
|
-
for (
|
|
14
|
-
|
|
25
|
+
let value = 4294967295;
|
|
26
|
+
for (let i = 0; i < bytes.length; i++)
|
|
27
|
+
value = CRC_TABLE[(value ^ bytes[i]) & 255] ^ value >>> 8;
|
|
28
|
+
return (value ^ 4294967295) >>> 0;
|
|
15
29
|
}
|
|
16
|
-
function
|
|
30
|
+
function pngChunk(type, data, checksum = crc32) {
|
|
17
31
|
const out = new Uint8Array(12 + data.length);
|
|
18
32
|
const view = new DataView(out.buffer);
|
|
19
33
|
view.setUint32(0, data.length);
|
|
20
34
|
for (let i = 0; i < 4; i++) out[4 + i] = type.charCodeAt(i);
|
|
21
35
|
out.set(data, 8);
|
|
22
|
-
view.setUint32(8 + data.length,
|
|
36
|
+
view.setUint32(8 + data.length, checksum(out.subarray(4, 8 + data.length)));
|
|
23
37
|
return out;
|
|
24
38
|
}
|
|
25
|
-
|
|
26
|
-
const stream = new Blob([Uint8Array.from(bytes)]).stream().pipeThrough(new CompressionStream("deflate"));
|
|
27
|
-
return new Uint8Array(await new Response(stream).arrayBuffer());
|
|
28
|
-
}
|
|
29
|
-
async function encodeRgbaPng(width, height, rgba) {
|
|
30
|
-
const raw = new Uint8Array((width * 4 + 1) * height);
|
|
31
|
-
for (let y = 0; y < height; y++)
|
|
32
|
-
raw.set(rgba.subarray(y * width * 4, (y + 1) * width * 4), y * (width * 4 + 1) + 1);
|
|
39
|
+
function encodePngFromScanlines(width, height, colorType, deflatedScanlines, checksum = crc32) {
|
|
33
40
|
const header = new Uint8Array(13);
|
|
34
41
|
const view = new DataView(header.buffer);
|
|
35
42
|
view.setUint32(0, width);
|
|
36
43
|
view.setUint32(4, height);
|
|
37
|
-
header.set([8,
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
const png = new Uint8Array(parts.reduce((total, part) => total + part.length, 0));
|
|
44
|
+
header.set([8, colorType, 0, 0, 0], 8);
|
|
45
|
+
const ihdr = pngChunk("IHDR", header, checksum);
|
|
46
|
+
const idat = pngChunk("IDAT", deflatedScanlines, checksum);
|
|
47
|
+
const iend = pngChunk("IEND", new Uint8Array(0), checksum);
|
|
48
|
+
const png = new Uint8Array(
|
|
49
|
+
PNG_SIGNATURE.length + ihdr.length + idat.length + iend.length
|
|
50
|
+
);
|
|
45
51
|
let offset = 0;
|
|
46
|
-
for (const part of
|
|
52
|
+
for (const part of [PNG_SIGNATURE, ihdr, idat, iend]) {
|
|
47
53
|
png.set(part, offset);
|
|
48
54
|
offset += part.length;
|
|
49
55
|
}
|
|
50
56
|
return png;
|
|
51
57
|
}
|
|
58
|
+
async function deflateZlib(bytes) {
|
|
59
|
+
const stream = new Blob([bytes]).stream().pipeThrough(new CompressionStream("deflate"));
|
|
60
|
+
return new Uint8Array(await new Response(stream).arrayBuffer());
|
|
61
|
+
}
|
|
62
|
+
async function encodeRgbaPng(width, height, rgba) {
|
|
63
|
+
const stride = width * 4;
|
|
64
|
+
const raw = new Uint8Array((stride + 1) * height);
|
|
65
|
+
for (let y = 0; y < height; y++)
|
|
66
|
+
raw.set(rgba.subarray(y * stride, (y + 1) * stride), y * (stride + 1) + 1);
|
|
67
|
+
return encodePngFromScanlines(width, height, 6, await deflateZlib(raw));
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// src/pdfium-raster.ts
|
|
52
71
|
async function rasterizePage(library, pdf, scale) {
|
|
53
72
|
const document = await library.loadDocument(pdf);
|
|
54
73
|
try {
|
package/dist-lib/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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/plist.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
buildPlist,
|
|
4
4
|
parsePlist,
|
|
5
5
|
parsePlistSource,
|
|
6
6
|
parseXmlPlist
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-2RTQFMA3.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-PHBFU273.mjs";
|
|
9
9
|
export {
|
|
10
10
|
buildPlist as build,
|
|
11
11
|
buildPlist,
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2795 | (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.2795 | (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;
|