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): update all non-major dependencies #1165

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 24, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@unhead/schema (source) ^1.8.20 -> ^1.9.1 age adoption passing confidence
@unhead/ssr (source) ^1.8.20 -> ^1.9.1 age adoption passing confidence
@unhead/vue (source) ^1.8.20 -> ^1.9.1 age adoption passing confidence
vite (source) ~5.2.4 -> ~5.2.6 age adoption passing confidence

Release Notes

unjs/unhead (@​unhead/schema)

v1.9.1

Compare Source

   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v1.9.0

Compare Source

Release 1.9.0 - useScript Stable

useScript is built to provide better performance and DX when working with Third-Party Scripts. In this release we reduce the composable size has been reduced by 30% with some notable breaking changes:

Removed trigger idle

While this was handy in user-land, providing support for it meant providing a polyfill for window.requestIdleCallback due to limited browser support. Most integrations will already ship a polyfill for this so it added extra unnecessary weight.

If you'd like to re-implement this behaviour there's a recipe on the docs and you should provide your own polyfill (if needed).

Early connections removed

When using the composable it would try and guess how the script is being used and append a dns-prefetch or a preconnect <link> depending on usage. To reduce the composable weight, this should now be implemented in user or integration land.

<link rel="dns-prefetch" href="<script-domain>" />
Awaiting Script Changes

When you wanted to avoid using the Proxy API and use the script instance directly, you could use the $script.waitForLoad() function. To reduce the weight, the $script object itself is now a promise:

const { $script } = useScript('<src>', { use: () => window.myScript })

$script
	.then(instance => {
		// script is loaded, instance is the same as window.myScript 
	})
    .catch(() => {
       // script failed to load
    })
Changelog
   🚨 Breaking Changes
   🐞 Bug Fixes
    View changes on GitHub
vitejs/vite (vite)

v5.2.6

Compare Source

v5.2.5

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 876bf52 to b637262 Compare March 24, 2024 14:59
@renovate renovate bot changed the title chore(deps): update dependency vite to ~5.2.5 chore(deps): update dependency vite to ~5.2.6 Mar 24, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b637262 to b0aa7a4 Compare March 25, 2024 05:09
@renovate renovate bot changed the title chore(deps): update dependency vite to ~5.2.6 chore(deps): update all non-major dependencies Mar 25, 2024
@danielroe danielroe merged commit 7d5fbe9 into main Mar 25, 2024
57 checks passed
@danielroe danielroe deleted the renovate/all-minor-patch branch March 25, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant