@zilijonas/foliark 0.1.4 → 0.1.6
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/README.md +2 -2
- package/SUPPORT_MATRIX.md +4 -4
- package/package.json +1 -1
- package/wasm/foliark_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p align="center"><b>A PDF engine in Rust and WebAssembly for the browser. Extract, search, render, edit, redact and sanitize PDFs on the user's device. The document never leaves it.</b></p>
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install @zilijonas/foliark@0.1.
|
|
8
|
+
npm install @zilijonas/foliark@0.1.6 --save-exact
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
ESM only, no runtime dependencies, typed. Runs in a worker, fetches only its own `.wasm` and worker script, and refuses what it cannot do safely with a typed `FoliarkError` instead of degrading quietly.
|
|
@@ -126,6 +126,6 @@ Chromium on desktop (macOS arm64) is supported and has budgets. WebKit is suppor
|
|
|
126
126
|
|
|
127
127
|
[AGPL-3.0-only](https://github.com/zilijonas/foliark/blob/main/LICENSE), the same licence family as the AGPL option PyMuPDF is offered under. If the AGPL does not fit your use, separate commercial licensing is available: see `COMMERCIAL-LICENSING.md` in the package. This is not legal advice. Details are in `LICENSING.md`.
|
|
128
128
|
|
|
129
|
-
Foliark is free software, so the complete corresponding source of version 0.1.
|
|
129
|
+
Foliark is free software, so the complete corresponding source of version 0.1.6 (Rust engine, vendored hayro fork and patches, build scripts) is tag `v0.1.6` of https://github.com/zilijonas/foliark. Build steps are in `docs/development.md` there (`scripts/build-wasm.sh`, `pnpm build:sdk`, `tests/package-consumers/pack.sh`). The package contains `dist/`, `wasm/` (5.8 MB raw, 2.2 MB gzip), `cmaps/`, `LICENSE`, `LICENSING.md`, `COMMERCIAL-LICENSING.md`, `LICENSE_FOXIT`, `NOTICE`, `THIRD_PARTY_NOTICES.md` and `SUPPORT_MATRIX.md`.
|
|
130
130
|
|
|
131
131
|
PyMuPDF and MuPDF are products of Artifex Software, Inc. Foliark is independent of them and not affiliated with Artifex.
|
package/SUPPORT_MATRIX.md
CHANGED
|
@@ -16,9 +16,9 @@ Words used with one meaning:
|
|
|
16
16
|
| Chromium 151.0.7922.34, desktop, macOS arm64 (Playwright headless) | supported | perf budgets (section 5); `pnpm smoke chromium`; `tests/package-consumers/run.sh` (Vite, esbuild, no bundler, at `/` and `/app/`); `tests/browser/run.sh` (CSP, offline, full flow) | one machine (Apple M4, 24 GB) |
|
|
17
17
|
| WebKit 26.5, desktop engine (Playwright) | supported as an engine, **not as Safari** | perf budgets (section 5); `pnpm smoke webkit`; `tests/browser/run.sh` | Playwright WebKit is not Safari evidence. Under Playwright, `page.reload()` while offline with a service worker fails, so the offline spec stops the origin instead (`docs/deployment.md`) |
|
|
18
18
|
| Firefox 153.0, desktop (Playwright) | functional only | `tests/browser/run.sh`: CSP policy, prepared offline, only-own-origin requests, missing-asset errors, full open/extract/render/redact/export flow | no perf numbers, no budgets, no `pnpm smoke firefox`, package consumers run in chromium only |
|
|
19
|
-
| Safari on macOS (real) |
|
|
20
|
-
| Safari on iPhone and iPad (real devices) |
|
|
21
|
-
| Chrome on Android (real device) |
|
|
19
|
+
| Safari on macOS (real) | functional, through HDDN | live and local real-Safari checks of HDDN on the owner's documents: open, find, edit (inline bold/italic, select-all retype), redact, export (`docs/support/device-evidence.md`) | manual checks, no perf numbers, no budgets |
|
|
20
|
+
| Safari on iPhone and iPad (real devices) | functional, through HDDN (owner report, NEW-64) | the owner ran the HDDN phone/tablet checklist on hddn.app (Foliark 0.1.4) and reported every step working (`docs/support/device-evidence.md`) | device models and OS/browser versions not recorded; no timings; memory ceiling, worker lifetime and wasm limits on iOS unmeasured; mobile default `Limits` stay undecided (spec 17.4) |
|
|
21
|
+
| Chrome on Android (real device) | functional, through HDDN (owner report, NEW-64) | same report | same as above |
|
|
22
22
|
| Windows, Linux, other Chromium-based browsers | not established | none | |
|
|
23
23
|
| Browser version floors | not measured | only the versions above were run | The wasm needs SIMD, bulk memory, sign extension, mutable globals, reference types and multivalue (`scripts/build-wasm.sh`). No older browser was tested, so no minimum version is promised |
|
|
24
24
|
|
|
@@ -114,7 +114,7 @@ a re-render within the 16 MiB per-document image cache is cheap, an evicted one
|
|
|
114
114
|
|
|
115
115
|
## 6. Limits and what is not established
|
|
116
116
|
|
|
117
|
-
- Mobile:
|
|
117
|
+
- Mobile: the owner's phone and tablet checks passed through HDDN (NEW-64), but device models and versions were not recorded. Mobile default `Limits`, memory ceilings, timings and thermal behaviour are not established.
|
|
118
118
|
- Documents: the corpus is 80 small synthetic and HDDN cases (39 manifest fixtures plus 41 adversarial) and 7 synthetic scan fixtures. No real-world document set has been run, and the speed numbers are not a promise for large or unusual files.
|
|
119
119
|
- Default limits (`docs/spec/v1.md` section 9): 64 MiB input, 1000 pages, 50 Mpx per render, 256 MiB output, 4 open documents. Over a limit is `LIMIT_EXCEEDED` with no output.
|
|
120
120
|
- Independent proof used one PDF renderer (MuPDF) for pixels and PyMuPDF/pypdf/pikepdf for structure; none is a certificate that a redacted file is private.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zilijonas/foliark",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Rust/WebAssembly PDF SDK for the browser: extract text, render, edit, redact and sanitize PDFs offline. A PyMuPDF alternative. AGPL-3.0.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
Binary file
|