ViorelMocanu / digital-resources

A web-based version of the digital resources document found in https://bit.ly/vio-digital
https://resurse.dev/
ISC License
33 stars 6 forks source link

[Snyk] Upgrade @astrojs/sitemap from 3.0.5 to 3.1.0 #240

Closed ViorelMocanu closed 4 months ago

ViorelMocanu commented 7 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @astrojs/sitemap from 3.0.5 to 3.1.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **1 version** ahead of your current version. - The recommended version was released **22 days ago**, on 2024-02-20.
Release notes
Package name: @astrojs/sitemap
  • 3.1.0 - 2024-02-20

    Minor Changes

    • #10136 9cd84bd19b92fb43ae48809f575ee12ebd43ea8f Thanks @ matthewp! - Changes the default behavior of transition:persist to update the props of persisted islands upon navigation. Also adds a new view transitions option transition:persist-props (default: false) to prevent props from updating as needed.

      Islands which have the transition:persist property to keep their state when using the <ViewTransitions /> router will now have their props updated upon navigation. This is useful in cases where the component relies on page-specific props, such as the current page title, which should update upon navigation.

      For example, the component below is set to persist across navigation. This component receives a products props and might have some internal state, such as which filters are applied:

      <ProductListing transition:persist products={products} />

      Upon navigation, this component persists, but the desired products might change, for example if you are visiting a category of products, or you are performing a search.

      Previously the props would not change on navigation, and your island would have to handle updating them externally, such as with API calls.

      With this change the props are now updated, while still preserving state.

      You can override this new default behavior on a per-component basis using transition:persist-props=true to persist both props and state during navigation:

      <ProductListing transition:persist-props="true" products={products} />
  • 3.0.5 - 2024-01-18
from @astrojs/sitemap GitHub release notes

**Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/viorelmocanu/project/d412aad3-39fb-421a-a193-ebb46a52e491?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/viorelmocanu/project/d412aad3-39fb-421a-a193-ebb46a52e491/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/viorelmocanu/project/d412aad3-39fb-421a-a193-ebb46a52e491/settings/integration?pkg=@astrojs/sitemap&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)
cloudflare-workers-and-pages[bot] commented 7 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 04159e0
Status:🚫  Build failed.

View logs

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **digital-resources** | ⬜️ Ignored ([Inspect](https://vercel.com/viorelmocanu/digital-resources/GftskuRsX6TUKq4SrtMVW4fa6M3W)) | [Visit Preview](https://digital-resources-git-snyk-upgrade-660566de-cbadb1-viorelmocanu.vercel.app) | | Mar 13, 2024 4:47am |