Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) from 10.5.0 to 10.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/vueuse/vueuse/releases"><code>@vueuse/core</code>'s releases</a>.</em></p>
<blockquote>
<h2>v10.6.0</h2>
<h3> 🚀 Features</h3>
<ul>
<li><strong>createEventHook</strong>: Allow trigger to optionally have no parameters - by <a href="https://github.com/curtgrimes"><code>@curtgrimes</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3507">vueuse/vueuse#3507</a> <a href="https://github.com/vueuse/vueuse/commit/6040e1cc"><!-- raw HTML omitted -->(6040e)<!-- raw HTML omitted --></a></li>
<li><strong>onLongClick</strong>: Return stop function - by <a href="https://github.com/its-lee"><code>@its-lee</code></a> and <strong>lee</strong> in <a href="https://github.com/vueuse/vueuse/issues/3506">vueuse/vueuse#3506</a> <a href="https://github.com/vueuse/vueuse/commit/8eb0b2d7"><!-- raw HTML omitted -->(8eb0b)<!-- raw HTML omitted --></a></li>
<li><strong>syncRef</strong>: Enhance syncRef type restrict - by <a href="https://github.com/Doctor-wu"><code>@Doctor-wu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3515">vueuse/vueuse#3515</a> <a href="https://github.com/vueuse/vueuse/commit/892666b7"><!-- raw HTML omitted -->(89266)<!-- raw HTML omitted --></a></li>
<li><strong>useClipboard</strong>: UseClipboard component - by <a href="https://github.com/alexzvn"><code>@alexzvn</code></a>, <strong>Alexzvn</strong> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3359">vueuse/vueuse#3359</a> <a href="https://github.com/vueuse/vueuse/commit/71b4653d"><!-- raw HTML omitted -->(71b46)<!-- raw HTML omitted --></a></li>
<li><strong>useClipboardItems</strong>: New function - by <a href="https://github.com/Doctor-wu"><code>@Doctor-wu</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3477">vueuse/vueuse#3477</a> <a href="https://github.com/vueuse/vueuse/commit/1aa50f82"><!-- raw HTML omitted -->(1aa50)<!-- raw HTML omitted --></a></li>
<li><strong>useDateFormat</strong>: Add date ordinal formatting - by <a href="https://github.com/Jokerzhzh"><code>@Jokerzhzh</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3474">vueuse/vueuse#3474</a> <a href="https://github.com/vueuse/vueuse/commit/61ceb19f"><!-- raw HTML omitted -->(61ceb)<!-- raw HTML omitted --></a></li>
<li><strong>useDropZone</strong>: Add <code>dataTypes</code> option - by <a href="https://github.com/rtugeek"><code>@rtugeek</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3471">vueuse/vueuse#3471</a> <a href="https://github.com/vueuse/vueuse/commit/3f3f153e"><!-- raw HTML omitted -->(3f3f1)<!-- raw HTML omitted --></a></li>
<li><strong>useElementSize</strong>: Stop function - by <a href="https://github.com/chaii3"><code>@chaii3</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3367">vueuse/vueuse#3367</a> <a href="https://github.com/vueuse/vueuse/commit/5f545be9"><!-- raw HTML omitted -->(5f545)<!-- raw HTML omitted --></a></li>
<li><strong>useFileDialog</strong>: Add directory parameters - by <a href="https://github.com/huiliangShen"><code>@huiliangShen</code></a> and <strong>banruo</strong> in <a href="https://github.com/vueuse/vueuse/issues/3513">vueuse/vueuse#3513</a> <a href="https://github.com/vueuse/vueuse/commit/cefca9ab"><!-- raw HTML omitted -->(cefca)<!-- raw HTML omitted --></a></li>
<li><strong>useMutationObserver</strong>: Add <code>takeRecords</code> function - by <a href="https://github.com/Alfred-Skyblue"><code>@Alfred-Skyblue</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3480">vueuse/vueuse#3480</a> <a href="https://github.com/vueuse/vueuse/commit/f9136e85"><!-- raw HTML omitted -->(f9136)<!-- raw HTML omitted --></a></li>
<li><strong>useStorage</strong>: Add <code>waitOnMounted</code> option for SSR - by <a href="https://github.com/posva"><code>@posva</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3504">vueuse/vueuse#3504</a> <a href="https://github.com/vueuse/vueuse/commit/dc6f2e8c"><!-- raw HTML omitted -->(dc6f2)<!-- raw HTML omitted --></a></li>
<li><strong>useWindowScroll</strong>: Allow rewriting back to scroll - by <a href="https://github.com/nothing-sy"><code>@nothing-sy</code></a>, <strong>chensiyuan</strong> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3500">vueuse/vueuse#3500</a> <a href="https://github.com/vueuse/vueuse/commit/931b2797"><!-- raw HTML omitted -->(931b2)<!-- raw HTML omitted --></a></li>
<li><strong>watchOnce</strong>: Return function for manual watcher stopping - by <a href="https://github.com/valerypatorius"><code>@valerypatorius</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3475">vueuse/vueuse#3475</a> <a href="https://github.com/vueuse/vueuse/commit/bb0a78e1"><!-- raw HTML omitted -->(bb0a7)<!-- raw HTML omitted --></a></li>
</ul>
<h3> 🐞 Bug Fixes</h3>
<ul>
<li><strong>onClickOutside</strong>: Adjust shouldListen handling timing - by <a href="https://github.com/Doctor-wu"><code>@Doctor-wu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3503">vueuse/vueuse#3503</a> <a href="https://github.com/vueuse/vueuse/commit/6985152d"><!-- raw HTML omitted -->(69851)<!-- raw HTML omitted --></a></li>
<li><strong>onScrollLock</strong>: Cache the el initial overflow value - by <a href="https://github.com/Doctor-wu"><code>@Doctor-wu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3527">vueuse/vueuse#3527</a> <a href="https://github.com/vueuse/vueuse/commit/038666ba"><!-- raw HTML omitted -->(03866)<!-- raw HTML omitted --></a></li>
<li><strong>useAxios</strong>: Bail out on request abort - by <a href="https://github.com/jahnli"><code>@jahnli</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3394">vueuse/vueuse#3394</a> <a href="https://github.com/vueuse/vueuse/commit/151f9b00"><!-- raw HTML omitted -->(151f9)<!-- raw HTML omitted --></a></li>
<li><strong>useClipboard</strong>: Use legacy way when without permission - by <a href="https://github.com/Cat1007"><code>@Cat1007</code></a>, <strong>catye</strong>, <a href="https://github.com/posva"><code>@posva</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3379">vueuse/vueuse#3379</a> <a href="https://github.com/vueuse/vueuse/commit/37e866cd"><!-- raw HTML omitted -->(37e86)<!-- raw HTML omitted --></a></li>
<li><strong>useDraggable</strong>: Element can't relative parent element move - by <a href="https://github.com/huiliangShen"><code>@huiliangShen</code></a> and <strong>banruo</strong> in <a href="https://github.com/vueuse/vueuse/issues/3531">vueuse/vueuse#3531</a> <a href="https://github.com/vueuse/vueuse/commit/082462da"><!-- raw HTML omitted -->(08246)<!-- raw HTML omitted --></a></li>
<li><strong>useElementSize</strong>: Get value in onMounted hook - by <a href="https://github.com/chaii3"><code>@chaii3</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3366">vueuse/vueuse#3366</a> <a href="https://github.com/vueuse/vueuse/commit/165c88ab"><!-- raw HTML omitted -->(165c8)<!-- raw HTML omitted --></a></li>
<li><strong>useFetch</strong>: Don't set isFetching to false when a request is aborted because of a refetch - by <a href="https://github.com/mweghorst"><code>@mweghorst</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3479">vueuse/vueuse#3479</a> <a href="https://github.com/vueuse/vueuse/commit/75ca2bb6"><!-- raw HTML omitted -->(75ca2)<!-- raw HTML omitted --></a></li>
<li><strong>useMouseInElement</strong>: Optimize outside computation - by <a href="https://github.com/qiYuei"><code>@qiYuei</code></a>, <strong>fengmingjian</strong> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3380">vueuse/vueuse#3380</a> <a href="https://github.com/vueuse/vueuse/commit/7c88d81b"><!-- raw HTML omitted -->(7c88d)<!-- raw HTML omitted --></a></li>
<li><strong>useRouteQuery,useRouteParams</strong>: Prevent reset on other scope dispose - by <a href="https://github.com/s-montigny-desautels"><code>@s-montigny-desautels</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3418">vueuse/vueuse#3418</a> <a href="https://github.com/vueuse/vueuse/commit/771e7ffd"><!-- raw HTML omitted -->(771e7)<!-- raw HTML omitted --></a></li>
<li><strong>useScroll</strong>: Trigger once <code>onMounted</code> to get correct inital arrivedStates values - by <a href="https://github.com/nicooprat"><code>@nicooprat</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3384">vueuse/vueuse#3384</a> <a href="https://github.com/vueuse/vueuse/commit/86bd8e8f"><!-- raw HTML omitted -->(86bd8)<!-- raw HTML omitted --></a></li>
<li><strong>useSortable</strong>: Prevent from creating multi instances - by <a href="https://github.com/Doctor-wu"><code>@Doctor-wu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3501">vueuse/vueuse#3501</a> <a href="https://github.com/vueuse/vueuse/commit/d98468d1"><!-- raw HTML omitted -->(d9846)<!-- raw HTML omitted --></a></li>
<li><strong>useStorage</strong>: Fix defaults not unwrapped - by <a href="https://github.com/Alfred-Skyblue"><code>@Alfred-Skyblue</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3534">vueuse/vueuse#3534</a> <a href="https://github.com/vueuse/vueuse/commit/b6d2bd35"><!-- raw HTML omitted -->(b6d2b)<!-- raw HTML omitted --></a></li>
<li><strong>useWebSocket</strong>: Webworker support - by <a href="https://github.com/binary-signal"><code>@binary-signal</code></a> and <a href="https://github.com/antfu"><code>@antfu</code></a> in <a href="https://github.com/vueuse/vueuse/issues/3469">vueuse/vueuse#3469</a> <a href="https://github.com/vueuse/vueuse/commit/9b0141ca"><!-- raw HTML omitted -->(9b014)<!-- raw HTML omitted --></a></li>
</ul>
<h5> <a href="https://github.com/vueuse/vueuse/compare/v10.5.0...v10.6.0">View changes on GitHub</a></h5>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/vueuse/vueuse/commit/e6c787279f9da712c1231ba0ee833309c3f805a6"><code>e6c7872</code></a> chore: release v10.6.0</li>
<li><a href="https://github.com/vueuse/vueuse/commit/86bd8e8f355b34a56bd69dc78b9e108f848b6c6a"><code>86bd8e8</code></a> fix(useScroll): trigger once <code>onMounted</code> to get correct inital arrivedStates ...</li>
<li><a href="https://github.com/vueuse/vueuse/commit/165c88abdb907caca41b1604f5b5ebf3ae03f929"><code>165c88a</code></a> fix(useElementSize): get value in onMounted hook (<a href="https://github.com/vueuse/vueuse/tree/HEAD/packages/core/issues/3366">#3366</a>)</li>
<li><a href="https://github.com/vueuse/vueuse/commit/71b4653d890715d6b0df0d277122b3edbc664cca"><code>71b4653</code></a> feat(useClipboard): UseClipboard component (<a href="https://github.com/vueuse/vueuse/tree/HEAD/packages/core/issues/3359">#3359</a>)</li>
<li><a href="https://github.com/vueuse/vueuse/commit/7c88d81b4fc37c1c7a747eecef3b993ed593c599"><code>7c88d81</code></a> fix(useMouseInElement): optimize outside computation (<a href="https://github.com/vueuse/vueuse/tree/HEAD/packages/core/issues/3380">#3380</a>)</li>
<li><a href="https://github.com/vueuse/vueuse/commit/1aa50f825a24007ce58f9aaa352da75fcfd15818"><code>1aa50f8</code></a> feat(useClipboardItems): new function (<a href="https://github.com/vueuse/vueuse/tree/HEAD/packages/core/issues/3477">#3477</a>)</li>
<li><a href="https://github.com/vueuse/vueuse/commit/3f3f153e5094b9419a018cc0600b296e0deef668"><code>3f3f153</code></a> feat(useDropZone): add <code>dataTypes</code> option (<a href="https://github.com/vueuse/vueuse/tree/HEAD/packages/core/issues/3471">#3471</a>)</li>
<li><a href="https://github.com/vueuse/vueuse/commit/75ca2bb6a114a43ce1ccbd1d435b17df869d0fdb"><code>75ca2bb</code></a> fix(useFetch): don't set isFetching to false when a request is aborted becaus...</li>
<li><a href="https://github.com/vueuse/vueuse/commit/5f545be98f392d0dd6c9de88f536e2b9a2d1557b"><code>5f545be</code></a> feat(useElementSize): stop function (<a href="https://github.com/vueuse/vueuse/tree/HEAD/packages/core/issues/3367">#3367</a>)</li>
<li><a href="https://github.com/vueuse/vueuse/commit/dc6f2e8c0277cef8dd32d876721aa0b9fac89dd5"><code>dc6f2e8</code></a> feat(useStorage): add <code>waitOnMounted</code> option for SSR (<a href="https://github.com/vueuse/vueuse/tree/HEAD/packages/core/issues/3504">#3504</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/vueuse/vueuse/commits/v10.6.0/packages/core">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
argoyle
(Migrated from gitlab.com)
merged commit into master2023-11-10 15:12:31 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps @vueuse/core from 10.5.0 to 10.6.0.
Release notes
Sourced from
@vueuse/core's releases.Commits
e6c7872chore: release v10.6.086bd8e8fix(useScroll): trigger onceonMountedto get correct inital arrivedStates ...165c88afix(useElementSize): get value in onMounted hook (#3366)71b4653feat(useClipboard): UseClipboard component (#3359)7c88d81fix(useMouseInElement): optimize outside computation (#3380)1aa50f8feat(useClipboardItems): new function (#3477)3f3f153feat(useDropZone): adddataTypesoption (#3471)75ca2bbfix(useFetch): don't set isFetching to false when a request is aborted becaus...5f545befeat(useElementSize): stop function (#3367)dc6f2e8feat(useStorage): addwaitOnMountedoption for SSR (#3504)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts