Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump markdown-to-jsx, @storybook/addon-docs, @storybook/react and storybook-design-token #471

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 15, 2024

Bumps markdown-to-jsx to 7.5.0 and updates ancestor dependencies markdown-to-jsx, @storybook/addon-docs, @storybook/react and storybook-design-token. These dependencies need to be updated together.

Updates markdown-to-jsx from 7.1.3 to 7.5.0

Release notes

Sourced from markdown-to-jsx's releases.

v7.5.0

Minor Changes

  • 62a16f3: Allow modifying HTML attribute sanitization when options.sanitizer is passed by the composer.

    By default a lightweight URL sanitizer function is provided to avoid common attack vectors that might be placed into the href of an anchor tag, for example. The sanitizer receives the input, the HTML tag being targeted, and the attribute name. The original function is available as a library export called sanitizer.

    This can be overridden and replaced with a custom sanitizer if desired via options.sanitizer:

    // sanitizer in this situation would receive:
    // ('javascript:alert("foo")', 'a', 'href')
    <Markdown options={{ sanitizer: (value, tag, attribute) => value }}>
    {[foo](https://github.com/quantizor/markdown-to-jsx/blob/HEAD/javascript:alert(&quot;foo&quot;))}
    </Markdown>
    // or
    compiler('foo', {
    sanitizer: (value, tag, attribute) => value,
    })

Patch Changes

  • 553a175: Replace RuleType enum with an object

v7.4.7

Patch Changes

  • 7603248: Fix parsing isolation of individual table cells.
  • f9328cc: Improved block html detection regex to handle certain edge cases that cause extreme slowness. Thank you @​devbrains-com for the basis for this fix 🤝

v7.4.6

Patch Changes

  • a9e5276: Browsers assign element with id to the global scope using the value as the variable name. E.g.: <h1 id="analytics"> can be referenced via window.analytics. This can be a problem when a name conflict happens. For instance, pages that expect analytics.push() to be a function will stop working if the an element with an id of analytics exists in the page.

    In this change, we export the slugify function so that users can easily augment it. This can be used to avoid variable name conflicts by giving the element a different id.

    import { slugify } from 'markdown-to-jsx';
    options={{
    slugify: str => {
    let result = slugify(str)

... (truncated)

Changelog

Sourced from markdown-to-jsx's changelog.

7.5.0

Minor Changes

  • 62a16f3: Allow modifying HTML attribute sanitization when options.sanitizer is passed by the composer.

    By default a lightweight URL sanitizer function is provided to avoid common attack vectors that might be placed into the href of an anchor tag, for example. The sanitizer receives the input, the HTML tag being targeted, and the attribute name. The original function is available as a library export called sanitizer.

    This can be overridden and replaced with a custom sanitizer if desired via options.sanitizer:

    // sanitizer in this situation would receive:
    // ('javascript:alert("foo")', 'a', 'href')
    ;<Markdown options={{ sanitizer: (value, tag, attribute) => value }}>
    {[foo](https://github.com/quantizor/markdown-to-jsx/blob/main/javascript:alert(&quot;foo&quot;))}
    </Markdown>
    // or
    compiler('foo', {
    sanitizer: (value, tag, attribute) => value,
    })

Patch Changes

  • 553a175: Replace RuleType enum with an object

7.4.7

Patch Changes

  • 7603248: Fix parsing isolation of individual table cells.
  • f9328cc: Improved block html detection regex to handle certain edge cases that cause extreme slowness. Thank you @​devbrains-com for the basis for this fix 🤝

7.4.6

Patch Changes

  • a9e5276: Browsers assign element with id to the global scope using the value as the variable name. E.g.: <h1 id="analytics"> can be referenced via window.analytics. This can be a problem when a name conflict happens. For instance, pages that expect analytics.push() to be a function will stop working if the an element with an id of analytics exists in the page.

    In this change, we export the slugify function so that users can easily augment it. This can be used to avoid variable name conflicts by giving the element a different id.

    import { slugify } from 'markdown-to-jsx';
    options={{

... (truncated)

Commits

Updates @storybook/addon-docs from 6.3.7 to 6.5.16

Changelog

Sourced from @​storybook/addon-docs's changelog.

  • MDX: Upgrade csf-mdx libraries (#18300)
  • security: update x-default-browser (#18157)

6.5.0-rc.1 (May 18, 2022)

Bug Fixes

  • CLI: Improve webpack version and add detection of nextjs (#18220)
  • ArgsTable: Gracefully handle conditional args failures (#18248)
  • Controls: Fix reset button broken for !undefined URL values (#18231)
  • Vue3: Add support for TSX in single file components (#18038)

6.5.0-rc.0 (May 17, 2022)

Features

  • Addon-a11y: Show % of users in toolbar menu (#18003)

Bug Fixes

  • Web-components: Clean Lit Expression comments in story source (#18108)
  • Vue: Map args correctly in CSF3 implicit render function (#18209)
  • Vue3: Fix CSF3 implicit render function when storyStoreV7 is enabled (#18208

Maintenance

  • CLI: Don't throw is Ctrl + C was pressed when selecting a package in the build command (#18195)
  • Build: Cleanup noise from unit tests (#18196)

Dependency Upgrades

  • Fixed PnP compatibility for bundled components package (#18015)

6.5.0-beta.8 (May 11, 2022)

Bug Fixes

  • Composition: Fix metadata.json incorrectly overriding main.js refs versions (#18185)

Maintenance

  • Examples: Set channelOptions to disallow function serialization (#18071)

Dependency Upgrades

  • Upgrade to telejson 6 (#18164)

6.5.0-beta.7 (May 9, 2022)

Features

... (truncated)

Commits

Updates @storybook/react from 6.3.7 to 6.5.16

Changelog

Sourced from @​storybook/react's changelog.

  • MDX: Upgrade csf-mdx libraries (#18300)
  • security: update x-default-browser (#18157)

6.5.0-rc.1 (May 18, 2022)

Bug Fixes

  • CLI: Improve webpack version and add detection of nextjs (#18220)
  • ArgsTable: Gracefully handle conditional args failures (#18248)
  • Controls: Fix reset button broken for !undefined URL values (#18231)
  • Vue3: Add support for TSX in single file components (#18038)

6.5.0-rc.0 (May 17, 2022)

Features

  • Addon-a11y: Show % of users in toolbar menu (#18003)

Bug Fixes

  • Web-components: Clean Lit Expression comments in story source (#18108)
  • Vue: Map args correctly in CSF3 implicit render function (#18209)
  • Vue3: Fix CSF3 implicit render function when storyStoreV7 is enabled (#18208

Maintenance

  • CLI: Don't throw is Ctrl + C was pressed when selecting a package in the build command (#18195)
  • Build: Cleanup noise from unit tests (#18196)

Dependency Upgrades

  • Fixed PnP compatibility for bundled components package (#18015)

6.5.0-beta.8 (May 11, 2022)

Bug Fixes

  • Composition: Fix metadata.json incorrectly overriding main.js refs versions (#18185)

Maintenance

  • Examples: Set channelOptions to disallow function serialization (#18071)

Dependency Upgrades

  • Upgrade to telejson 6 (#18164)

6.5.0-beta.7 (May 9, 2022)

Features

... (truncated)

Commits

Updates storybook-design-token from 0.8.4 to 3.1.0

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

…react and storybook-design-token

Bumps [markdown-to-jsx](https://github.com/quantizor/markdown-to-jsx) to 7.5.0 and updates ancestor dependencies [markdown-to-jsx](https://github.com/quantizor/markdown-to-jsx), [@storybook/addon-docs](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/docs), [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/code/renderers/react) and [storybook-design-token](https://github.com/UX-and-I/storybook-design-token). These dependencies need to be updated together.


Updates `markdown-to-jsx` from 7.1.3 to 7.5.0
- [Release notes](https://github.com/quantizor/markdown-to-jsx/releases)
- [Changelog](https://github.com/quantizor/markdown-to-jsx/blob/main/CHANGELOG.md)
- [Commits](quantizor/markdown-to-jsx@7.1.3...v7.5.0)

Updates `@storybook/addon-docs` from 6.3.7 to 6.5.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.v6.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.16/code/addons/docs)

Updates `@storybook/react` from 6.3.7 to 6.5.16
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.v6.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.16/code/renderers/react)

Updates `storybook-design-token` from 0.8.4 to 3.1.0
- [Release notes](https://github.com/UX-and-I/storybook-design-token/releases)
- [Commits](https://github.com/UX-and-I/storybook-design-token/commits)

---
updated-dependencies:
- dependency-name: markdown-to-jsx
  dependency-type: indirect
- dependency-name: "@storybook/addon-docs"
  dependency-type: direct:development
- dependency-name: "@storybook/react"
  dependency-type: direct:development
- dependency-name: storybook-design-token
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Update one or more dependencies version javascript Pull requests that update Javascript code labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update one or more dependencies version javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants