@sveltejs/kit 2.46.4 → 2.46.5
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
|
@@ -537,8 +537,21 @@ export function form(id) {
|
|
|
537
537
|
(path, value) => {
|
|
538
538
|
if (path.length === 0) {
|
|
539
539
|
input = value;
|
|
540
|
+
update_all_versions();
|
|
540
541
|
} else {
|
|
541
542
|
input = deep_set(input, path.map(String), value);
|
|
543
|
+
|
|
544
|
+
const key = build_path_string(path);
|
|
545
|
+
versions[key] ??= 0;
|
|
546
|
+
versions[key] += 1;
|
|
547
|
+
touched[key] = true;
|
|
548
|
+
|
|
549
|
+
const parent_path = path.slice();
|
|
550
|
+
while (parent_path.pop() !== undefined) {
|
|
551
|
+
const parent_key = build_path_string(parent_path);
|
|
552
|
+
versions[parent_key] ??= 0;
|
|
553
|
+
versions[parent_key] += 1;
|
|
554
|
+
}
|
|
542
555
|
}
|
|
543
556
|
},
|
|
544
557
|
() => issues
|
package/src/version.js
CHANGED