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

Bump astro-expressive-code from 0.36.1 to 0.38.3 #105

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 Dec 1, 2024

Bumps astro-expressive-code from 0.36.1 to 0.38.3.

Release notes

Sourced from astro-expressive-code's releases.

[email protected]

Patch Changes

  • 90b614e: Makes the types used by the shiki.langs config option less strict to align them better with actual grammars found in the wild. This attempts to reduce the amount of type errors that occurred before when using external grammars, while still being supported by the language processing code.
  • Updated dependencies [90b614e]

[email protected]

Patch Changes

  • 480361a: Fixes an issue where the optional getBlockLocale callback function was not called when using the <Code> component. Thank you @​HiDeoo!

    As the parent document's source file path is not available from an Astro component, the file property passed to the getBlockLocale callback function now contains an additional url property that will be set to the value of Astro.url in this case.

    When determining the locale of a code block, it is recommended to use this new property first, and only fall back to the existing path and cwd properties if url is undefined.

  • 480361a: Fixes an issue where the tabWidth setting was not applied when using the <Code> component. Thank you @​mrchantey!

  • Updated dependencies [480361a]

[email protected]

Patch Changes

[email protected]

Minor Changes

  • 944dda0: Updates Shiki to the latest version (1.22.2).

  • b6638f9: Adds config merging functionality to astro-expressive-code, which allows using ec.config.mjs together with other configuration sources like the Astro / Starlight config or Starlight themes.

    Options defined in ec.config.mjs have the highest priority and will override any corresponding values coming from other configuration sources.

    For the following object options, a deep merge is performed instead of a simple override:

    • defaultProps
    • frames
    • shiki
    • styleOverrides

    The following array options are concatenated instead of being replaced:

    • shiki.langs

Patch Changes

... (truncated)

Changelog

Sourced from astro-expressive-code's changelog.

0.38.3

Patch Changes

  • 90b614e: Makes the types used by the shiki.langs config option less strict to align them better with actual grammars found in the wild. This attempts to reduce the amount of type errors that occurred before when using external grammars, while still being supported by the language processing code.
  • Updated dependencies [90b614e]

0.38.2

Patch Changes

  • 480361a: Fixes an issue where the optional getBlockLocale callback function was not called when using the <Code> component. Thank you @​HiDeoo!

    As the parent document's source file path is not available from an Astro component, the file property passed to the getBlockLocale callback function now contains an additional url property that will be set to the value of Astro.url in this case.

    When determining the locale of a code block, it is recommended to use this new property first, and only fall back to the existing path and cwd properties if url is undefined.

  • 480361a: Fixes an issue where the tabWidth setting was not applied when using the <Code> component. Thank you @​mrchantey!

  • Updated dependencies [480361a]

0.38.1

Patch Changes

0.38.0

Minor Changes

  • 944dda0: Updates Shiki to the latest version (1.22.2).

  • b6638f9: Adds config merging functionality to astro-expressive-code, which allows using ec.config.mjs together with other configuration sources like the Astro / Starlight config or Starlight themes.

    Options defined in ec.config.mjs have the highest priority and will override any corresponding values coming from other configuration sources.

    For the following object options, a deep merge is performed instead of a simple override:

    • defaultProps
    • frames
    • shiki
    • styleOverrides

    The following array options are concatenated instead of being replaced:

    • shiki.langs

Patch Changes

... (truncated)

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 1, 2024
Copy link

This PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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 no-pr-activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants