@urbicon-ui/sveltekit-utils 6.19.0 → 6.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/url.svelte.js +0 -2
- package/package.json +1 -1
package/dist/url.svelte.js
CHANGED
|
@@ -4,7 +4,6 @@ import { page } from '$app/state';
|
|
|
4
4
|
// SvelteURLSearchParams wrapper is unnecessary here. Likewise for `goto`:
|
|
5
5
|
// we pass constructed relative paths, not resolved route ids; callers of
|
|
6
6
|
// this helper are free to call `resolve()` at their composition point.
|
|
7
|
-
/* eslint-disable svelte/prefer-svelte-reactivity, svelte/no-navigation-without-resolve */
|
|
8
7
|
export function updateUrlSearchParams(next, opts) {
|
|
9
8
|
const base = new URLSearchParams(page.url.searchParams);
|
|
10
9
|
if (next instanceof URLSearchParams) {
|
|
@@ -81,4 +80,3 @@ export function useUrlArrayParam(key, opts) {
|
|
|
81
80
|
};
|
|
82
81
|
return useUrlParam(key, { parse, serialize, initial: opts.initial });
|
|
83
82
|
}
|
|
84
|
-
/* eslint-enable svelte/prefer-svelte-reactivity, svelte/no-navigation-without-resolve */
|