Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions AUDIT_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

This log tracks all significant changes, updates, and versions in the PaperCache project.

## 2026-06-27 (Lockfile Sync)
**Change:** build(deps): move @emnapi WASM fallbacks to devDependencies for deterministic lockfile resolution across OS targets

**Details/Why:**
When `@emnapi/core` and `@emnapi/runtime` were listed under `optionalDependencies` in `package.json`, running `npm install` on macOS arm64 stripped their resolution metadata from `package-lock.json` (since npm deemed WASM fallback bindings inapplicable to macOS native architecture). However, sub-dependencies like `@rolldown/binding-wasm32-wasi` still referenced them, causing `npm ci` on Linux and Windows runners to crash with `Missing: @emnapi/core@1.11.1 from lock file`. Moved `@emnapi/core` and `@emnapi/runtime` to `devDependencies` to guarantee their resolution entries are preserved in `package-lock.json` across all OS targets.

**Files changed:** `package.json`, `package-lock.json`, `AUDIT_LOG.md`.

---

## 2026-06-27 (Update)
**Change:** fix: resolve TypeScript strict build errors in GraphView and setupTests

Expand Down
22 changes: 9 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"@codemirror/search": "^6.7.0",
"@codemirror/state": "^6.6.0",
"@codemirror/view": "^6.43.0",
"@emnapi/core": "^1.11.1",
"@emnapi/runtime": "^1.11.1",
"@eslint/js": "^10.0.1",
"@lezer/common": "^1.5.2",
"@lezer/highlight": "^1.2.3",
Expand Down Expand Up @@ -80,9 +82,5 @@
"vite": "^8.0.12",
"vitest": "^4.1.7",
"zustand": "^5.0.14"
},
"optionalDependencies": {
"@emnapi/core": "1.11.1",
"@emnapi/runtime": "1.11.1"
}
}
Loading