agrc / gis.utah.gov

The official UGRC website
https://gis.utah.gov
MIT License
25 stars 40 forks source link

deps(dev): bump the safe-dependencies group with 8 updates #2766

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps the safe-dependencies group with 8 updates:

Package From To
@astrojs/mdx 3.0.0 3.0.1
@astrojs/react 3.3.4 3.4.0
@astrojs/sitemap 3.1.4 3.1.5
@types/react 18.3.2 18.3.3
astro 4.8.6 4.9.2
mdast-util-from-markdown 2.0.0 2.0.1
prettier-plugin-astro 0.13.0 0.14.0
prettier-plugin-tailwindcss 0.5.14 0.6.1

Updates @astrojs/mdx from 3.0.0 to 3.0.1

Release notes

Sourced from @​astrojs/mdx's releases.

@​astrojs/mdx@​3.0.1

Patch Changes

  • #10813 3cc3e2c Thanks @​Xetera! - Omitting compiler-internal symbol from user components to fix breaking error messages
Changelog

Sourced from @​astrojs/mdx's changelog.

3.0.1

Patch Changes

  • #10813 3cc3e2c Thanks @​Xetera! - Omitting compiler-internal symbol from user components to fix breaking error messages
Commits


Updates @astrojs/react from 3.3.4 to 3.4.0

Release notes

Sourced from @​astrojs/react's releases.

@​astrojs/react@​3.4.0

Minor Changes

  • #11071 8ca7c73 Thanks @​bholmesdev! - Adds two new functions experimental_getActionState() and experimental_withState() to support the React 19 useActionState() hook when using Astro Actions. This introduces progressive enhancement when calling an Action with the withState() utility.

    This example calls a like action that accepts a postId and returns the number of likes. Pass this action to the experimental_withState() function to apply progressive enhancement info, and apply to useActionState() to track the result:

    import { actions } from 'astro:actions';
    import { experimental_withState } from '@astrojs/react/actions';
    

    export function Like({ postId }: { postId: string }) { const [state, action, pending] = useActionState( experimental_withState(actions.like), 0 // initial likes );

    return ( <form action={action}> <input type="hidden" name="postId" value={postId} /> <button disabled={pending}>{state} ❤️</button> </form> ); }

    You can also access the state stored by useActionState() from your action handler. Call experimental_getActionState() with the API context, and optionally apply a type to the result:

    import { defineAction, z } from 'astro:actions';
    import { experimental_getActionState } from '@astrojs/react/actions';
    

    export const server = { like: defineAction({ input: z.object({ postId: z.string(), }), handler: async ({ postId }, ctx) => { const currentLikes = experimental_getActionState<number>(ctx); // write to database return currentLikes + 1; }, }), };

Changelog

Sourced from @​astrojs/react's changelog.

3.4.0

Minor Changes

  • #11071 8ca7c73 Thanks @​bholmesdev! - Adds two new functions experimental_getActionState() and experimental_withState() to support the React 19 useActionState() hook when using Astro Actions. This introduces progressive enhancement when calling an Action with the withState() utility.

    This example calls a like action that accepts a postId and returns the number of likes. Pass this action to the experimental_withState() function to apply progressive enhancement info, and apply to useActionState() to track the result:

    import { actions } from 'astro:actions';
    import { experimental_withState } from '@astrojs/react/actions';
    

    export function Like({ postId }: { postId: string }) { const [state, action, pending] = useActionState( experimental_withState(actions.like), 0 // initial likes );

    return ( <form action={action}> <input type="hidden" name="postId" value={postId} /> <button disabled={pending}>{state} ❤️</button> </form> ); }

    You can also access the state stored by useActionState() from your action handler. Call experimental_getActionState() with the API context, and optionally apply a type to the result:

    import { defineAction, z } from 'astro:actions';
    import { experimental_getActionState } from '@astrojs/react/actions';
    

    export const server = { like: defineAction({ input: z.object({ postId: z.string(), }), handler: async ({ postId }, ctx) => { const currentLikes = experimental_getActionState<number>(ctx); // write to database return currentLikes + 1; }, }), };

Commits


Updates @astrojs/sitemap from 3.1.4 to 3.1.5

Release notes

Sourced from @​astrojs/sitemap's releases.

@​astrojs/sitemap@​3.1.5

Patch Changes

Changelog

Sourced from @​astrojs/sitemap's changelog.

3.1.5

Patch Changes

Commits


Updates @types/react from 18.3.2 to 18.3.3

Commits


Updates astro from 4.8.6 to 4.9.2

Release notes

Sourced from astro's releases.

astro@4.9.2

Patch Changes

  • #11138 98e0372 Thanks @​ematipico! - You can now pass props when rendering a component using the Container APIs:

    import { experimental_AstroContainer as AstroContainer } from 'astro/contaienr';
    import Card from '../src/components/Card.astro';
    

    const container = await AstroContainer.create(); const result = await container.renderToString(Card, { props: { someState: true, }, });

astro@4.9.1

Patch Changes

astro@4.9.0

Minor Changes

  • #11051 12a1bcc Thanks @​ematipico! - Introduces an experimental Container API to render .astro components in isolation.

    This API introduces three new functions to allow you to create a new container and render an Astro component returning either a string or a Response:

    • create(): creates a new instance of the container.
    • renderToString(): renders a component and return a string.
    • renderToResponse(): renders a component and returns the Response emitted by the rendering phase.

    The first supported use of this new API is to enable unit testing. For example, with vitest, you can create a container to render your component with test data and check the result:

    import { experimental_AstroContainer as AstroContainer } from 'astro/container';
    import { expect, test } from 'vitest';
    import Card from '../src/components/Card.astro';
    

    test('Card with slots', async () => { const container = await AstroContainer.create(); const result = await container.renderToString(Card, { slots: { default: 'Card content', }, });

    expect(result).toContain('This is a card'); expect(result).toContain('Card content');

... (truncated)

Changelog

Sourced from astro's changelog.

4.9.2

Patch Changes

  • #11138 98e0372 Thanks @​ematipico! - You can now pass props when rendering a component using the Container APIs:

    import { experimental_AstroContainer as AstroContainer } from 'astro/container';
    import Card from '../src/components/Card.astro';
    

    const container = await AstroContainer.create(); const result = await container.renderToString(Card, { props: { someState: true, }, });

4.9.1

Patch Changes

4.9.0

Minor Changes

  • #11051 12a1bcc Thanks @​ematipico! - Introduces an experimental Container API to render .astro components in isolation.

    This API introduces three new functions to allow you to create a new container and render an Astro component returning either a string or a Response:

    • create(): creates a new instance of the container.
    • renderToString(): renders a component and return a string.
    • renderToResponse(): renders a component and returns the Response emitted by the rendering phase.

    The first supported use of this new API is to enable unit testing. For example, with vitest, you can create a container to render your component with test data and check the result:

    import { experimental_AstroContainer as AstroContainer } from 'astro/container';
    import { expect, test } from 'vitest';
    import Card from '../src/components/Card.astro';
    

    test('Card with slots', async () => { const container = await AstroContainer.create(); const result = await container.renderToString(Card, { slots: { default: 'Card content', }, });

... (truncated)

Commits


Updates mdast-util-from-markdown from 2.0.0 to 2.0.1

Release notes

Sourced from mdast-util-from-markdown's releases.

2.0.1

Fix

  • 4aa8425 Fix end point of texts ending in character reference

Types

  • 1120df9 Add declaration maps

Full Changelog: https://github.com/syntax-tree/mdast-util-from-markdown/compare/2.0.0...2.0.1

Commits


Updates prettier-plugin-astro from 0.13.0 to 0.14.0

Release notes

Sourced from prettier-plugin-astro's releases.

v0.14.0

Minor Changes

  • bb756df: Adds a new option called astroSkipFrontmatter to disable formatting the frontmatter. This can be useful when using other tools to format the frontmatter, such as Biome or dprint.
Changelog

Sourced from prettier-plugin-astro's changelog.

0.14.0

Minor Changes

  • bb756df: Adds a new option called astroSkipFrontmatter to disable formatting the frontmatter. This can be useful when using other tools to format the frontmatter, such as Biome or dprint.
Commits


Updates prettier-plugin-tailwindcss from 0.5.14 to 0.6.1

Release notes

Sourced from prettier-plugin-tailwindcss's releases.

v0.6.1

Added

  • Add new tailwindPreserveDuplicates option to disable removal of duplicate classes (#276)

Fixed

  • Improve handling of whitespace removal when concatenating strings (#276)
  • Fix a bug where Angular expressions may produce invalid code after sorting (#276)
  • Disabled whitespace and duplicate class removal for Liquid and Svelte (#276)

v0.6.0

Changed

  • Remove duplicate classes (#272)
  • Remove extra whitespace around classes (#272)
Changelog

Sourced from prettier-plugin-tailwindcss's changelog.

[0.6.1] - 2024-05-31

Added

  • Add new tailwindPreserveDuplicates option to disable removal of duplicate classes (#276)

Fixed

  • Improve handling of whitespace removal when concatenating strings (#276)
  • Fix a bug where Angular expressions may produce invalid code after sorting (#276)
  • Disabled whitespace and duplicate class removal for Liquid and Svelte (#276)

[0.6.0] - 2024-05-30

Changed

  • Remove duplicate classes (#272)
  • Remove extra whitespace around classes (#272)
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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
netlify[bot] commented 2 months ago

Deploy Preview for gis-utah-gov ready!

Name Link
Latest commit 40d506621aaf60dde773cf7ac9189e71291462df
Latest deploy log https://app.netlify.com/sites/gis-utah-gov/deploys/665abaec95ae61000842b70f
Deploy Preview https://deploy-preview-2766--gis-utah-gov.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 96 (🔴 down 1 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 93 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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