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

build(deps): bump @astrojs/mdx from 1.0.3 to 1.1.4 #151

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2023

Bumps @astrojs/mdx from 1.0.3 to 1.1.4.

Release notes

Sourced from @​astrojs/mdx's releases.

@​astrojs/mdx@​1.1.4

Patch Changes

  • Updated dependencies [c5010aad3]:
    • @​astrojs/markdown-remark@​3.4.0

@​astrojs/mdx@​1.1.3

Patch Changes

@​astrojs/mdx@​1.1.2

Patch Changes

@​astrojs/mdx@​1.1.0

Minor Changes

  • #8468 a8d72ceae Thanks @​bholmesdev! - Support the img component export for optimized images. This allows you to customize how optimized images are styled and rendered.

    When rendering an optimized image, Astro will pass the ImageMetadata object to your img component as the src prop. For unoptimized images (i.e. images using URLs or absolute paths), Astro will continue to pass the src as a string.

    This example handles both cases and applies custom styling:

    ---
    // src/components/MyImage.astro
    import type { ImageMetadata } from 'astro';
    import { Image } from 'astro:assets';
    type Props = {
    src: string | ImageMetadata;
    alt: string;
    };
    const { src, alt } = Astro.props;
    {
    typeof src === 'string' ? (
    <img class="custom-styles" src={src} alt={alt} />
    ) : (
    <Image class="custom-styles" {src} {alt} />
    )

... (truncated)

Changelog

Sourced from @​astrojs/mdx's changelog.

1.1.4

Patch Changes

  • Updated dependencies [c5010aad3]:
    • @​astrojs/markdown-remark@​3.4.0

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

  • #8468 a8d72ceae Thanks @​bholmesdev! - Support the img component export for optimized images. This allows you to customize how optimized images are styled and rendered.

    When rendering an optimized image, Astro will pass the ImageMetadata object to your img component as the src prop. For unoptimized images (i.e. images using URLs or absolute paths), Astro will continue to pass the src as a string.

    This example handles both cases and applies custom styling:

    ---
    // src/components/MyImage.astro
    import type { ImageMetadata } from 'astro';
    import { Image } from 'astro:assets';

... (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)

Bumps [@astrojs/mdx](https://github.com/withastro/astro/tree/HEAD/packages/integrations/mdx) from 1.0.3 to 1.1.4.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/mdx/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/[email protected]/packages/integrations/mdx)

---
updated-dependencies:
- dependency-name: "@astrojs/mdx"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 10, 2023
Copy link

netlify bot commented Nov 10, 2023

Deploy Preview for mister-gold-pro failed.

Name Link
🔨 Latest commit 017d347
🔍 Latest deploy log https://app.netlify.com/sites/mister-gold-pro/deploys/654e01d7565c2b000954ec6e

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 15, 2023

Superseded by #155.

@dependabot dependabot bot closed this Nov 15, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/astrojs/mdx-1.1.4 branch November 15, 2023 10:33
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