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 astro-expressive-code from 0.38.3 to 0.40.1 #39

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Bumps astro-expressive-code from 0.38.3 to 0.40.1.

Release notes

Sourced from astro-expressive-code's releases.

[email protected]

Patch Changes

  • ecf6ca1: Removes unnecessary end padding from the first code line if the copy to clipboard button is disabled. Thank you @​goulvenclech!
  • Updated dependencies [ecf6ca1]

[email protected]

Patch Changes

[email protected]

Minor Changes

  • dc05ddc: Adds new config option shiki.engine.

    Allows selecting the Shiki RegExp engine to be used for syntax highlighting. The following options are available:

    • 'oniguruma': The default engine that supports all grammars, but requires a target environment with WebAssembly (WASM) support.
    • 'javascript': A pure JavaScript engine that does not require WASM. The Shiki team is continuously improving this engine and aims for full compatibility with the Oniguruma engine. Use this engine if your target environment does not support WASM.
  • 9149332: Adds new config option shiki.bundledLangs.

    Allows defining a subset of language IDs from the full Shiki bundle that should be available for syntax highlighting.

    In server-side rendering (SSR) environments, setting this option to the languages used on your site can reduce bundle size by up to 80%.

    If this option is not set, all languages from the full Shiki bundle are available.

  • dc05ddc: Adds new config option removeUnusedThemes.

    In Astro and Starlight, Expressive Code now automatically removes any themes from the bundle that are not used by your themes configuration. This reduces the SSR bundle size by over 1 MB.

    This new optimization is enabled by default and does not need to be configured for most sites. If you have an advanced use case that requires access all bundled themes, you can set this option to false.

  • dc05ddc: Adds new config option shiki.langAlias.

    Allows defining alias names for languages. The keys are the alias names, and the values are the language IDs to which they should resolve.

    The values can either be bundled languages, or additional languages defined in shiki.langs.

    For example, setting langAlias: { mjs: 'javascript' } allows using mjs in your code blocks as an alias for the javascript language.

  • 9149332: Updates Shiki to the latest version (1.26.1).

Patch Changes

Changelog

Sourced from astro-expressive-code's changelog.

0.40.1

Patch Changes

  • ecf6ca1: Removes unnecessary end padding from the first code line if the copy to clipboard button is disabled. Thank you @​goulvenclech!
  • Updated dependencies [ecf6ca1]

0.40.0

Patch Changes

0.39.0

Minor Changes

  • dc05ddc: Adds new config option shiki.engine.

    Allows selecting the Shiki RegExp engine to be used for syntax highlighting. The following options are available:

    • 'oniguruma': The default engine that supports all grammars, but requires a target environment with WebAssembly (WASM) support.
    • 'javascript': A pure JavaScript engine that does not require WASM. The Shiki team is continuously improving this engine and aims for full compatibility with the Oniguruma engine. Use this engine if your target environment does not support WASM.
  • 9149332: Adds new config option shiki.bundledLangs.

    Allows defining a subset of language IDs from the full Shiki bundle that should be available for syntax highlighting.

    In server-side rendering (SSR) environments, setting this option to the languages used on your site can reduce bundle size by up to 80%.

    If this option is not set, all languages from the full Shiki bundle are available.

  • dc05ddc: Adds new config option removeUnusedThemes.

    In Astro and Starlight, Expressive Code now automatically removes any themes from the bundle that are not used by your themes configuration. This reduces the SSR bundle size by over 1 MB.

    This new optimization is enabled by default and does not need to be configured for most sites. If you have an advanced use case that requires access all bundled themes, you can set this option to false.

  • dc05ddc: Adds new config option shiki.langAlias.

    Allows defining alias names for languages. The keys are the alias names, and the values are the language IDs to which they should resolve.

    The values can either be bundled languages, or additional languages defined in shiki.langs.

    For example, setting langAlias: { mjs: 'javascript' } allows using mjs in your code blocks as an alias for the javascript language.

  • 9149332: Updates Shiki to the latest version (1.26.1).

Patch Changes

... (truncated)

Commits
  • 7b8c71b [CI] Release (#298)
  • c91f659 Skip redundant 4.0.0 test in ecosystem CI, use default reporter
  • 736f4b1 Increase max bundle size for Cloudflare test
  • b92f163 Improve Cloudflare bundle size test (#296)
  • 7381da2 Upgrade pnpm & node versions used for development and actions (#295)
  • 9ce7130 [CI] Release (#291)
  • 4eed5d0 Add collapseStyle prop to plugin-collapsible-sections (#288)
  • 692d9bb [CI] Release (#290)
  • 9149332 Update Shiki, add new Shiki options, support SSR bundle trimming (#289)
  • 616d059 Deduplicate .gitignore files
  • See full diff in compare view

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 Feb 1, 2025
Copy link

netlify bot commented Feb 1, 2025

Deploy Preview for the-last-guinea-pig ready!

Name Link
🔨 Latest commit efdd01f
🔍 Latest deploy log https://app.netlify.com/sites/the-last-guinea-pig/deploys/679e40ad337efb00081c3cee
😎 Deploy Preview https://deploy-preview-39--the-last-guinea-pig.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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

Successfully merging this pull request may close these issues.

0 participants