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: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 9
version: 11

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: pnpm

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 9
version: 11

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: pnpm
registry-url: https://registry.npmjs.org

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 9
version: 11

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: pnpm

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security-release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 9
version: 11

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: pnpm

- name: Prepare security release changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security-release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:

- uses: pnpm/action-setup@v4
with:
version: 9
version: 11

- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: pnpm
registry-url: https://registry.npmjs.org

Expand Down
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.1] - 2026-11-24

### Security

Resolved every `pnpm audit` advisory rated `moderate` or higher (20 total:
4 critical, 6 high, 8 moderate). Transitive dev-dependency fixes were applied
with `pnpm audit --fix` (override method), which records the forced
non-vulnerable versions in `pnpm-workspace.yaml`. The single remaining `low`
advisory (esbuild dev-server file read on Windows) is below the fixed threshold
and left untouched.

- **zod** upgraded from `^3.24.2` to `^4.6.6` (production dependency). The fix
for [GHSA-mrhx-c7xc-m3w5][zod] (high: memory exhaustion while validating
oversized constrained collections) ships only in the 4.x line; no 3.x patch
exists. Because `pnpm` overrides do not protect downstream consumers of a
published package, the declared dependency range was bumped rather than only
overridden. See _Changed_ for the accompanying code adjustment.
- **handlebars** forced to `^4.7.10` (via `node-plop`): JavaScript injection
via AST type and via own property (critical), plus the unsafe-inline variant
(moderate).
- **tinypool** forced to `^2.1.1`/`^2.1.2` (via `vitest`): prototype-pollution
gadgets escalating to RCE (critical).
- **vitest** / **@vitest/mocker** forced to `^4.1.11`/`^4.1.12`: unauthenticated
manual mock code injection and path-traversal / arbitrary file read
(moderate).
- **vite** forced to `^7.3.7` (via `vitest`): files outside `server.fs.allow`
could be served, and cross-origin script execution (moderate/low).
- **postcss** forced to `^8.5.18`/`^8.5.23` (via `tsup`): path traversal in the
previous source map (high) and an incomplete earlier fix (moderate).
- **source-map-js** forced to `^1.2.2` (via `tsup`): event-loop denial of
service (high).
- **nanoid** forced to `^3.3.16`/`^3.3.18` (via `tsup`): non-secure and custom
generators can loop indefinitely (high).

### Changed

- `formatZodError` now types issue paths as `ReadonlyArray<PropertyKey>` and
stringifies each segment, matching zod 4's `ZodIssue.path` type
(`PropertyKey[]`, which includes `symbol`). This keeps the declaration build
(`tsup` DTS) and tests green after the zod 4 upgrade; the public
`GitCommitConfig` API is unchanged.

[zod]: https://github.com/advisories/GHSA-mrhx-c7xc-m3w5

## [0.1.0] - 2026-06-11

### Added
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plop-pack-git-commit",
"version": "0.1.0",
"version": "0.1.1",
"description": "PlopJS action pack to stage, commit, and push changes with git",
"type": "module",
"main": "./dist/index.cjs",
Expand Down Expand Up @@ -34,7 +34,7 @@
"node-plop": ">=0.25.0"
},
"dependencies": {
"zod": "^3.24.2"
"zod": "^4.6.6"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
Expand Down
Loading
Loading