@sveltejs/kit 2.46.3 → 2.46.4
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/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
/** @import { StandardSchemaV1 } from '@standard-schema/spec' */
|
|
4
4
|
|
|
5
5
|
import { DEV } from 'esm-env';
|
|
6
|
-
import
|
|
6
|
+
import * as svelte from 'svelte';
|
|
7
|
+
// Svelte 4 and under don't have `untrack` - you'll not be able to use remote functions with Svelte 4 but this will still be loaded
|
|
8
|
+
const untrack = svelte.untrack ?? ((value) => value());
|
|
7
9
|
|
|
8
10
|
/**
|
|
9
11
|
* Sets a value in a nested object using a path string, not mutating the original object but returning a new object
|
package/src/version.js
CHANGED