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
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
strategy:
fail-fast: false
matrix:
# Node 20 is not tested: pnpm 11 is pure ESM and requires Node >=22, so
# `pnpm install` cannot run on it. Node 20 reached end-of-life in April
# 2026, and engines.node is set to >=22 to match what is actually tested.
node-version:
- 20.x
- 22.x
- 24.x
steps:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"type": "module",
"license": "MIT",
"author": "Logan Lindquist Land",
"packageManager": "pnpm@10.34.5",
"packageManager": "pnpm@11.18.0",
"engines": {
"node": ">=20"
"node": ">=22"
},
"repository": {
"type": "git",
Expand Down
16 changes: 16 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# pnpm 11 supply-chain hardening.
# These are pnpm 11's defaults, stated explicitly so the security posture is
# visible in review and survives future changes to pnpm's own defaults.

minimumReleaseAge: 1440 # block packages younger than 24h
blockExoticSubdeps: true # no git/tarball transitive deps
strictDepBuilds: true # fail install on unapproved postinstalls
verifyDepsBeforeRun: install # re-check lockfile before `pnpm run`

# Postinstall allowlist. Empty map = block all build scripts.
#
# Deliberately empty: no dependency in this tree requests a build script. With
# strictDepBuilds enabled, `pnpm install` would fail with ERR_PNPM_IGNORED_BUILDS
# if one appeared, so this staying empty is an enforced property, not an
# oversight. Add an entry only after auditing that package's postinstall.
allowBuilds: {}