dependabot[bot] opened a new pull request, #136: URL: https://github.com/apache/netbeans-antora-ui/pull/136
Bumps the all-dependencies group with 2 updates: [@asciidoctor/core](https://github.com/asciidoctor/asciidoctor.js) and [sass](https://github.com/sass/dart-sass). Updates `@asciidoctor/core` from 4.0.5 to 4.0.6 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/asciidoctor/asciidoctor.js/releases">@asciidoctor/core's releases</a>.</em></p> <blockquote> <h2>v4.0.6</h2> <h2>Summary</h2> <h2>Release meta</h2> <p>Released on: 2026-07-26 Released by: ggrossetie Published by: GitHub</p> <p>Logs: <a href="https://github.com/asciidoctor/asciidoctor.js/compare/v4.0.5...v4.0.6">full diff</a></p> <h2>Changelog</h2> <h3>Bug Fixes</h3> <ul> <li>Fix <code>AbstractNode#imageUri()</code> no longer percent-encoding spaces in a <code>data:</code> URI image target (e.g. <code>image::data:image/svg+xml,<svg ...><text>a b</text></svg>[]</code>), a regression from the data URI image target support added for inline SVG embedding. That change short-circuited <code>imageUri()</code> for any <code>data:</code> target by returning it unchanged, bypassing the space-encoding that <code>normalizeWebPath()</code> still applies for every other URI-ish target — and that upstream Asciidoctor (Ruby) also applies, since <code>image_uri</code> has no <code>data:</code>-specific early return at all. <code>imageUri()</code> now runs <code>data:</code> targets through <code>encodeSpacesInUri()</code> before returning them, matching Ruby’s output byte-for-byte, while still avoiding the spurious <code>could not retrieve image data from URI</code> warning the earlier fix was meant to prevent</li> <li>Fix <code>tasks/changelog.js notes</code> (used to generate GitHub release notes) leaving AsciiDoc attribute references such as <code>[#1857](https://github.com/asciidoctor/asciidoctor.js/issues/1857)</code> unresolved in the generated Markdown. <code>extractReleaseNotes</code> used to extract the raw AsciiDoc section for a release and convert only that fragment to Markdown, losing the <code>:uri-repo:</code> attribute definition from the changelog header in the process. The whole changelog is now converted to Markdown once, and the release section is extracted from the resulting Markdown instead, so attribute references resolve correctly</li> <li>Type <code>Logger#warn()</code>/<code>#debug()</code>/<code>#info()</code>/<code>#error()</code>/<code>#fatal()</code>/<code>#unknown()</code>/<code>#log()</code> (and the matching <code>MemoryLogger</code> methods) with an optional <code>progname</code>/<code>pn</code> parameter instead of a required one. The generated <code>.d.ts</code> previously declared both arguments as mandatory, so calling <code>doc.getLogger().warn(doc.messageWithContext(...))</code> with a single argument — the documented pattern for logging from an extension — was flagged by editors as "expected 2 arguments" even though it is valid at runtime; the error surfaced because <code>getLogger()</code> resolves to the <code>LoggerLike</code> union (<code>Logger | MemoryLogger | NullLogger | Console</code>) and TypeScript requires a call to satisfy every member’s signature</li> <li>Type <code>messageWithContext()</code>/<code>createLogMessage()</code> on <code>Document</code>, <code>ConverterBase</code>, <code>PathResolver</code>, and <code>Table.ParserContext</code> (and the static equivalents on <code>Parser</code>). These are installed at runtime by the <code>applyLogging()</code> mixin (<code>logging.js</code>) <strong>after</strong> the class body closes, so <code>tsc’s JSDoc-based declaration emit never picked them up — </code>doc.messageWithContext(...)`, the pattern shown in the extensions guide, previously had no type at all on the public API surface</li> </ul> <h3>Infrastructure</h3> <ul> <li>Add compile-only type tests for the Logger/MemoryLogger/NullLogger API and the <code>LoggerLike</code> union (<code>test/types/logging.test-d.ts</code>, run by <code>npm run test:types</code>), covering every shorthand log method across single- and two-argument call forms, the <code>applyLogging()</code> consumers listed above, and negative <code>@ts-expect-error</code> checks (e.g. <code>fatal()</code>/<code>unknown()</code> are intentionally unavailable on the raw <code>LoggerLike</code> union because <code>Console</code> has neither, but resolve once narrowed away from <code>Console</code>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/asciidoctor/asciidoctor.js/blob/main/CHANGELOG.adoc">@asciidoctor/core's changelog</a>.</em></p> <blockquote> <p>== v4.0.6 (2026-07-26)</p> <p>Bug Fixes::</p> <ul> <li>Fix <code>AbstractNode#imageUri()</code> no longer percent-encoding spaces in a <code>data:</code> URI image target (e.g. <code>image::data:image/svg+xml,<svg ...><text>a b</text></svg>[]</code>), a regression from the data URI image target support added for inline SVG embedding. That change short-circuited <code>imageUri()</code> for any <code>data:</code> target by returning it unchanged, bypassing the space-encoding that <code>normalizeWebPath()</code> still applies for every other URI-ish target — and that upstream Asciidoctor (Ruby) also applies, since <code>image_uri</code> has no <code>data:</code>-specific early return at all. <code>imageUri()</code> now runs <code>data:</code> targets through <code>encodeSpacesInUri()</code> before returning them, matching Ruby's output byte-for-byte, while still avoiding the spurious <code>could not retrieve image data from URI</code> warning the earlier fix was meant to prevent</li> <li>Fix <code>tasks/changelog.js notes</code> (used to generate GitHub release notes) leaving AsciiDoc attribute references such as <code>{uri-repo}/issues/1857[#1857](https://github.com/asciidoctor/asciidoctor.js/issues/1857)</code> unresolved in the generated Markdown. <code>extractReleaseNotes</code> used to extract the raw AsciiDoc section for a release and convert only that fragment to Markdown, losing the <code>:uri-repo:</code> attribute definition from the changelog header in the process. The whole changelog is now converted to Markdown once, and the release section is extracted from the resulting Markdown instead, so attribute references resolve correctly</li> <li>Type <code>Logger#warn()</code>/<code>#debug()</code>/<code>#info()</code>/<code>#error()</code>/<code>#fatal()</code>/<code>#unknown()</code>/<code>#log()</code> (and the matching <code>MemoryLogger</code> methods) with an optional <code>progname</code>/<code>pn</code> parameter instead of a required one. The generated <code>.d.ts</code> previously declared both arguments as mandatory, so calling <code>doc.getLogger().warn(doc.messageWithContext(...))</code> with a single argument — the documented pattern for logging from an extension — was flagged by editors as "expected 2 arguments" even though it is valid at runtime; the error surfaced because <code>getLogger()</code> resolves to the <code>LoggerLike</code> union (<code>Logger | MemoryLogger | NullLogger | Console</code>) and TypeScript requires a call to satisfy every member's signature</li> <li>Type <code>messageWithContext()</code>/<code>createLogMessage()</code> on <code>Document</code>, <code>ConverterBase</code>, <code>PathResolver</code>, and <code>Table.ParserContext</code> (and the static equivalents on <code>Parser</code>). These are installed at runtime by the <code>applyLogging()</code> mixin (<code>logging.js</code>) <em>after</em> the class body closes, so <code>tsc</code>'s JSDoc-based declaration emit never picked them up — <code>doc.messageWithContext(...)</code>, the pattern shown in the extensions guide, previously had no type at all on the public API surface</li> </ul> <p>Infrastructure::</p> <ul> <li>Add compile-only type tests for the Logger/MemoryLogger/NullLogger API and the <code>LoggerLike</code> union (<code>test/types/logging.test-d.ts</code>, run by <code>npm run test:types</code>), covering every shorthand log method across single- and two-argument call forms, the <code>applyLogging()</code> consumers listed above, and negative <code>@ts-expect-error</code> checks (e.g. <code>fatal()</code>/<code>unknown()</code> are intentionally unavailable on the raw <code>LoggerLike</code> union because <code>Console</code> has neither, but resolve once narrowed away from <code>Console</code>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/asciidoctor/asciidoctor.js/commit/4c53894d00f98077798846278ee05f83c07eeb01"><code>4c53894</code></a> 4.0.6</li> <li><a href="https://github.com/asciidoctor/asciidoctor.js/commit/8dc97849c46fac2e5ddd0b1f0acb1b5918bc880a"><code>8dc9784</code></a> fix(core): encode spaces in data: URI image targets</li> <li><a href="https://github.com/asciidoctor/asciidoctor.js/commit/f1c93e5cee69288e91bad1cfd2fe1522dbddb2a0"><code>f1c93e5</code></a> fix(core): type Logger progname as optional, close applyLogging() type gaps</li> <li><a href="https://github.com/asciidoctor/asciidoctor.js/commit/08b40924cdabb40086cb6a0cb11d417a3d02ffdf"><code>08b4092</code></a> fix(tasks): resolve AsciiDoc attribute references in generated release notes</li> <li>See full diff in <a href="https://github.com/asciidoctor/asciidoctor.js/compare/v4.0.5...v4.0.6">compare view</a></li> </ul> </details> <br /> Updates `sass` from 1.101.7 to 1.102.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sass/dart-sass/releases">sass's releases</a>.</em></p> <blockquote> <h2>Dart Sass 1.102.0</h2> <p>To install Sass 1.102.0, download one of the packages below and <a href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or see <a href="https://sass-lang.com/install">the Sass website</a> for full installation instructions.</p> <h1>Changes</h1> <ul> <li>Use the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.</li> </ul> <p>See the <a href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#11020">full changelog</a> for changes in earlier releases.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sass/dart-sass/blob/main/CHANGELOG.md">sass's changelog</a>.</em></p> <blockquote> <h2>1.102.0</h2> <ul> <li>Use the 2.4 gamma transfer function for rec2020, as specified by the latest draft of CSS Color 4.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sass/dart-sass/commit/45d1efe6517319ecd7b1409f1fa8355f969b0547"><code>45d1efe</code></a> Use gamma 2.40 for display-referred rec2020 (<a href="https://redirect.github.com/sass/dart-sass/issues/2729">#2729</a>)</li> <li>See full diff in <a href="https://github.com/sass/dart-sass/compare/1.101.7...1.102.0">compare view</a></li> </ul> </details> <br /> Dependabot 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will 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 version` will 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 </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
