chore(deps): Bump antora from 3.1.15 to 3.2.0 in the npm-minor-patch group - #116
Conversation
Bumps the npm-minor-patch group with 1 update: [antora](https://gitlab.com/antora/antora/tree/HEAD/packages/antora). Updates `antora` from 3.1.15 to 3.2.0 - [Changelog](https://gitlab.com/antora/antora/blob/main/CHANGELOG.adoc) - [Commits](https://gitlab.com/antora/antora/compare/v3.1.15...v3.2.0) --- updated-dependencies: - dependency-name: antora dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Antora 3.2.0 migrated to js-yaml 5: @antora/playbook-builder,
@antora/content-aggregator and @antora/ui-loader now declare
`js-yaml: ~5.4` and use the js-yaml 5 API. The very first thing
playbook-builder does at module load is
const YAML_SCHEMA = yaml.CORE_SCHEMA.withTags(yaml.mergeTag)
and neither `CORE_SCHEMA.withTags` nor `mergeTag` exists in js-yaml 4,
so `npm run antora` died with
TypeError: yaml.CORE_SCHEMA.withTags is not a function
before it ever read the playbook.
The overrides pinning js-yaml 4.3.1 into those three packages came from
#99, as a workaround for Antora 3.1.15 depending on the vulnerable `~4.1`
line. Antora 3.2.0 makes them obsolete: it resolves js-yaml 5.4.1 on its
own, which is the version this repo already declares as a direct
dependency, so #99's security goal still holds with no override at all.
Keeping them only downgrades Antora into a library it no longer supports.
Removing them leaves a single hoisted js-yaml 5.4.1 and no nested copies.
`npm audit` reports no js-yaml advisories.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
kw-tmueller
left a comment
There was a problem hiding this comment.
Root cause of the red build: Antora 3.2.0 migrated to js-yaml 5, so @antora/playbook-builder calls yaml.CORE_SCHEMA.withTags(yaml.mergeTag) at module load — neither symbol exists in js-yaml 4, which the overrides block was forcing into it. Those overrides came from #99 as a workaround for 3.1.15's vulnerable ~4.1 pin and are obsolete here: 3.2.0 resolves js-yaml 5.4.1 itself, the version already declared as a direct dependency, so #99's security goal holds with no override at all.
Removing them (78e0a21) leaves a single hoisted js-yaml 5.4.1. Verified locally on this branch: npm ci clean, npm run antora builds 4618 files across 19 component versions, npm test 42 pass / 0 fail, npm run pagefind indexes 485 pages, and npm audit reports no js-yaml advisories. CI build is green.
Bumps the npm-minor-patch group with 1 update: antora.
Updates
antorafrom 3.1.15 to 3.2.0Changelog
Sourced from antora's changelog.
... (truncated)
Commits
85665d0release 3.2.079f23d7add Node.js 26 to test matrix04c952aupgrade xmldom4b923edupdate declared supported versions of Node.jsecc28ebupdate release date on what's new page03b788cadd missing entries from what's new page058f436apply pending formatting to example code9452ccaupgrade js-yaml621fe93refresh dependency lock file57a244eremove unused imagesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions