Skip to content

Bump mdsvex from 0.12.8 to 1.0.1 in /webapp/frontend - #559

Open
dependabot[bot] wants to merge 1 commit into
hotfixfrom
dependabot/npm_and_yarn/webapp/frontend/hotfix/mdsvex-1.0.1
Open

dependabot[bot] wants to merge 1 commit into
hotfixfrom
dependabot/npm_and_yarn/webapp/frontend/hotfix/mdsvex-1.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps mdsvex from 0.12.8 to 1.0.1.

Release notes

Sourced from mdsvex's releases.

mdsvex@1.0.1

Patch Changes

  • #1290 90d9b99 Thanks @​pngwn! - The install commands in each README no longer use the next tag, and links point at the main branch. mdsvex-migrate --help says it migrates to mdsvex 1.0.

mdsvex@1.0.0

Major Changes

Minor Changes

  • #1086 6e921ad Thanks @​pngwn! - The children handlers of a directive take a '*' key, a handler for a child of any type. It runs for every node written directly inside the directive as it opens, after the handler for the type of the child, so a plugin can act on content it did not expect where it arrives:

    tabs: {
    	children: {
    		heading(node, ctx) {
    			ctx.state.tab?.close();
    			ctx.state.tab = node.wrap_from('directive_container', { name: 'tab' });
    		},
    		'*'(node, ctx) {
    			if (ctx.state.tab === undefined && node.type !== 'directive_label')
    				ctx.warn('before_first_tab', 'content before the first tab is in no tab', node);
    		},
    	},
    }

    ctx.index counts its own runs, so 0 is the first child. It is not called for the blank lines between children. descendants has no such key and throws for one.

  • #948 6c5901c Thanks @​pngwn! - Leaf and container directives can be written without square brackets: ::toc, ::toc(depth=2), and :::steps closed by :::. They render the same component as ::toc[] and :::steps[], with args as props and no label snippet, and a plugin's handlers run for the bare container as they do for the bracketed one.

    A line that is exactly ::word or :::word used to be a paragraph. It is now a directive, so it needs a component or a plugin, and without one the compile fails with the usual error naming the directive and its line and column. Write \::word to keep such a line as text. The inline form still needs its brackets, :word in a sentence stays text.

  • #866 60da683 Thanks @​pngwn! - Import statements at the top of a document are kept. They go into the document's instance <script>, or into a new <script> when there is none.

    import Chart from './Chart.svelte'
    <Chart />

  • #1042 364b172 Thanks @​pngwn! - A fence shows a file with src=. The path resolves as an import from the document would, #L5-L20 picks lines, and a fence with no language takes it from the file name. The file is highlighted like any code, a replaced pre gets src as a prop, and in dev saving the file updates every page that shows it. A file that is missing, a slice past the end of the file, and a fence with src= and code of its own each fail the build at the fence.

    ```ts src=./math.ts#L5-L20
    </code></pre>
    </li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a href="https://github.com/pngwn/MDsveX/blob/main/packages/mdsvex/CHANGELOG.md&quot;&gt;mdsvex's changelog</a>.</em></p>
    <blockquote>
    <h2>1.0.1</h2>
    <h3>Patch Changes</h3>
    <ul>
    <li><a href="https://redirect.github.com/pngwn/MDsveX/pull/1290&quot;&gt;#1290&lt;/a> <a href="https://github.com/pngwn/MDsveX/commit/90d9b992630868b06872690868d78e24fc9f70ae&quot;&gt;&lt;code&gt;90d9b99&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/pngwn&quot;&gt;&lt;code&gt;@​pngwn&lt;/code&gt;&lt;/a>! - The install commands in each README no longer use the <code>next</code> tag, and links point at the <code>main</code> branch. <code>mdsvex-migrate --help</code> says it migrates to mdsvex 1.0.</li>
    </ul>
    <h2>1.0.0</h2>
    <h3>Major Changes</h3>
    <ul>
    <li><a href="https://redirect.github.com/pngwn/MDsveX/pull/795&quot;&gt;#795&lt;/a> <a href="https://github.com/pngwn/MDsveX/commit/6ac382615eb410230e8423d5ca4202005588869e&quot;&gt;&lt;code&gt;6ac3826&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/pngwn&quot;&gt;&lt;code&gt;@​pngwn&lt;/code&gt;&lt;/a>! - Add new PFM parser, renderers</li>
    </ul>
    <h3>Minor Changes</h3>
    <ul>
    <li>
    <p><a href="https://redirect.github.com/pngwn/MDsveX/pull/1086&quot;&gt;#1086&lt;/a> <a href="https://github.com/pngwn/MDsveX/commit/6e921adadb13a01894c48a1a8ba8e4cbac1a5016&quot;&gt;&lt;code&gt;6e921ad&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/pngwn&quot;&gt;&lt;code&gt;@​pngwn&lt;/code&gt;&lt;/a>! - The <code>children</code> handlers of a directive take a <code>''</code> key, a handler for a child of any type. It runs for every node written directly inside the directive as it opens, after the handler for the type of the child, so a plugin can act on content it did not expect where it arrives:</p>
    <pre lang="js"><code>tabs: {
    children: {
    heading(node, ctx) {
    ctx.state.tab?.close();
    ctx.state.tab = node.wrap_from('directive_container', { name: 'tab' });
    },
    ''(node, ctx) {
    if (ctx.state.tab === undefined &amp;&amp; node.type !== 'directive_label')
    ctx.warn('before_first_tab', 'content before the first tab is in no tab', node);
    },
    },
    }
    </code></pre>
    <p><code>ctx.index</code> counts its own runs, so <code>0</code> is the first child. It is not called for the blank lines between children. <code>descendants</code> has no such key and throws for one.</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/pngwn/MDsveX/pull/948&quot;&gt;#948&lt;/a> <a href="https://github.com/pngwn/MDsveX/commit/6c5901c1eb87d10a2f43c835a10930a9dd5c0d27&quot;&gt;&lt;code&gt;6c5901c&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/pngwn&quot;&gt;&lt;code&gt;@​pngwn&lt;/code&gt;&lt;/a>! - Leaf and container directives can be written without square brackets: <code>::toc</code>, <code>::toc(depth=2)</code>, and <code>:::steps</code> closed by <code>:::</code>. They render the same component as <code>::toc[]</code> and <code>:::steps[]</code>, with args as props and no <code>label</code> snippet, and a plugin's handlers run for the bare container as they do for the bracketed one.</p>
    <p>A line that is exactly <code>::word</code> or <code>:::word</code> used to be a paragraph. It is now a directive, so it needs a component or a plugin, and without one the compile fails with the usual error naming the directive and its line and column. Write <code>::word</code> to keep such a line as text. The inline form still needs its brackets, <code>:word</code> in a sentence stays text.</p>
    </li>
    <li>
    <p><a href="https://redirect.github.com/pngwn/MDsveX/pull/866&quot;&gt;#866&lt;/a> <a href="https://github.com/pngwn/MDsveX/commit/60da68313df11747bdd6235dffc325c30af60cb2&quot;&gt;&lt;code&gt;60da683&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/pngwn&quot;&gt;&lt;code&gt;@​pngwn&lt;/code&gt;&lt;/a>! - Import statements at the top of a document are kept. They go into the document's instance <code>&lt;script&gt;</code>, or into a new <code>&lt;script&gt;</code> when there is none.</p>
    <pre lang="md"><code>import Chart from './Chart.svelte'
    &lt;Chart /&gt;
    </code></pre>
    </li>
    <li>
    <p><a href="https://redirect.github.com/pngwn/MDsveX/pull/1042&quot;&gt;#1042&lt;/a> <a href="https://github.com/pngwn/MDsveX/commit/364b17205ef9a73e0fb037b7da0b217018cc097d&quot;&gt;&lt;code&gt;364b172&lt;/code&gt;&lt;/a> Thanks <a href="https://github.com/pngwn&quot;&gt;&lt;code&gt;@​pngwn&lt;/code&gt;&lt;/a>! - A fence shows a file with <code>src=</code>. The path resolves as an import from the document would, <code>#L5-L20</code> picks lines, and a fence with no language takes it from the file name. The file is highlighted like any code, a replaced <code>pre</code> gets <code>src</code> as a prop, and in dev saving the file updates every page that shows it. A file that is missing, a slice past the end of the file, and a fence with <code>src=</code> and code of its own each fail the build at the fence.</p>
    <pre lang="md"><code>```ts src=./math.ts#L5-L20
    </code></pre>
    </li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/pngwn/MDsveX/commit/bc4bf0abfbdb53f09e0912d707fe87a1faaee168&quot;&gt;&lt;code&gt;bc4bf0a&lt;/code&gt;&lt;/a> Version Packages (<a href="https://github.com/pngwn/MDsveX/tree/HEAD/packages/mdsvex/issues/1291&quot;&gt;#1291&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/pngwn/MDsveX/commit/90d9b992630868b06872690868d78e24fc9f70ae&quot;&gt;&lt;code&gt;90d9b99&lt;/code&gt;&lt;/a> drop next tag from install commands (<a href="https://github.com/pngwn/MDsveX/tree/HEAD/packages/mdsvex/issues/1290&quot;&gt;#1290&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/pngwn/MDsveX/commit/81a8db4c242f5bf3966d024afb0a0dfc2011ab26&quot;&gt;&lt;code&gt;81a8db4&lt;/code&gt;&lt;/a> version packages (<a href="https://github.com/pngwn/MDsveX/tree/HEAD/packages/mdsvex/issues/1280&quot;&gt;#1280&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/pngwn/MDsveX/commit/c7edb23fa5ccf7b51aae29fc54698e24f355211e&quot;&gt;&lt;code&gt;c7edb23&lt;/code&gt;&lt;/a> release 1.0 (<a href="https://github.com/pngwn/MDsveX/tree/HEAD/packages/mdsvex/issues/1271&quot;&gt;#1271&lt;/a&gt;)&lt;/li>
    <li><a href="https://github.com/pngwn/MDsveX/commit/d167b203357d7bff9537c1b82fbb03757aea3a33&quot;&gt;&lt;code&gt;d167b20&lt;/code&gt;&lt;/a> fix: Remove escaping of pipes inside inline code inside tables (<a href="https://github.com/pngwn/MDsveX/tree/HEAD/packages/mdsvex/issues/814&quot;&gt;#814&lt;/a&gt;)&lt;/li>
    <li>See full diff in <a href="https://github.com/pngwn/MDsveX/commits/mdsvex@1.0.1/packages/mdsvex&quot;&gt;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 commands and options
    
    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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    

Bumps [mdsvex](https://github.com/pngwn/MDsveX/tree/HEAD/packages/mdsvex) from 0.12.8 to 1.0.1.
- [Release notes](https://github.com/pngwn/MDsveX/releases)
- [Changelog](https://github.com/pngwn/MDsveX/blob/main/packages/mdsvex/CHANGELOG.md)
- [Commits](https://github.com/pngwn/MDsveX/commits/mdsvex@1.0.1/packages/mdsvex)

---
updated-dependencies:
- dependency-name: mdsvex
  dependency-version: 1.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code major labels Nov 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants