Skip to content

fix(deps): patch handlebars, http-cache-semantics and brace-expansion advisories - #187

Merged
cernadasjuan merged 2 commits into
masterfrom
fix/deps-audit-parent-bumps
Oct 8, 2026
Merged

cernadasjuan merged 2 commits into
masterfrom
fix/deps-audit-parent-bumps

Conversation

@cernadasjuan

@cernadasjuan cernadasjuan commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Why

pnpm audit reports 14 advisories (2 critical, 8 high, 4 moderate), and the strict supply-chain audit in preinstall blocks every install and release. The parents were updated first, and an override or exception was added only where a parent could not carry the fix.

Changes

Parents bumped (package.json, each version past the 14-day minimumReleaseAge):

Package Before After
jest 30.3.0 30.5.2
eslint 10.3.0 10.11.0
typescript-eslint, @typescript-eslint/eslint-plugin, @typescript-eslint/parser 8.59.2 8.70.1
semantic-release 25.0.3 25.0.9
@semantic-release/github 12.0.6 12.0.10
@semantic-release/npm 13.1.5 13.2.0
@semantic-release/release-notes-generator 14.1.0 14.1.1

@semantic-release/git stays on 10.0.1: 11.x requires Node ^22.22.2 || >=24.15, and the only advisory on its path (braces) has no fix anyway.

Advisories:

Package Advisories Resolution
brace-expansion 1.x / 2.x / 5.x GHSA-6j4f-fj2g-mc7p, GHSA-qhr7-859c-m2p7 (HIGH), GHSA-q2hr-2g5m-vwhr jest 30.5.2 drops the 1.x line. The three version pins were the only thing holding 2.x and 5.x on vulnerable versions, so they were removed: minimatch now resolves 2.1.7 and 5.0.12
handlebars GHSA-8r5x-fm3f-whwj, GHSA-p8wg-vrv2-v86f (CRITICAL), GHSA-xw65-4hp5-5hc7 4.7.10 through conventional-changelog-writer's own range. It was published 2026-10-05, so it gets a time-boxed minimumReleaseAgeExclude entry, to be removed after 2026-10-20
http-cache-semantics GHSA-ch52-4w7c-c8xp (HIGH) 4.3.0 through got > cacheable-request's own range. It was published 2026-10-04, so it gets an exclude entry, to be removed after 2026-10-18. got cannot move: 12+ is ESM-only
braces GHSA-vfj7-8cjw-p6xm (HIGH) No fixed release exists (3.0.3 is the latest). Added to auditConfig.ignoreGhsas with the reason: it only reaches the release tooling, which expands our own glob patterns

Overrides pruned. The new parents make lodash, lodash-es, braces, micromatch, undici@6, undici@7 and the three brace-expansion pins redundant. Each one was dropped on its own, followed by pnpm update <pkg> and a clean pnpm audit. Only js-yaml stays: without it, the jest tree brings back 3.x. A pnpm dedupe then collapsed the duplicates the bumps left behind onto the newer copy; it introduced no new versions.

allowBuilds. jest 30.5 brings in @parcel/watcher (through jest-haste-map). pnpm 11 refuses a fresh install until its install script gets an explicit decision, so it is set to false. The script only compiles from source when npm_config_build_from_source=true, and the platform binaries arrive through optionalDependencies.

Checks

  • pnpm audit: 0 (1 ignored). pnpm audit signatures: 719 verified.
  • pnpm install --frozen-lockfile from a clean node_modules, pnpm test (21 suites / 90 tests), pnpm build, eslint .: all pass.
  • The runtime dependencies (got, jsonwebtoken) keep their versions. http-cache-semantics only changes in this repo's lockfile; consumers resolve it themselves.

@jhonatan-pluggy jhonatan-pluggy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jhonatan-pluggy jhonatan-pluggy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cernadasjuan
cernadasjuan merged commit 0ef8d00 into master Oct 8, 2026
3 of 4 checks passed
@cernadasjuan
cernadasjuan deleted the fix/deps-audit-parent-bumps branch October 8, 2026 20:46
pluggy-github-app Bot pushed a commit that referenced this pull request Oct 8, 2026
# [0.92.0](v0.91.0...v0.92.0) (2026-10-08)

### Bug Fixes

* **api:** URL-encode query string values ([#184](#184)) ([16f0596](16f0596))
* **deps:** patch handlebars, http-cache-semantics and brace-expansion advisories ([#187](#187)) ([0ef8d00](0ef8d00))

### Features

* add Smart Transfer linkedJourney, data consent and source account balance ([#186](#186)) ([c77e1c3](c77e1c3))
* **item:** add fetchItemsCursor and fetchAllItems for GET /v2/items ([#185](#185)) ([7a82811](7a82811))
* sync with the API spec (card metadata, SCR, merchants, category rules, pix-qr, boletos) ([#183](#183)) ([d0f0c86](d0f0c86))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants