@sveltejs/kit 1.0.0-next.425 → 1.0.0-next.426

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.425",
3
+ "version": "1.0.0-next.426",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -345,7 +345,7 @@ export function create_client({ target, base, trailing_slash }) {
345
345
  page = navigation_result.props.page;
346
346
  }
347
347
 
348
- const leaf_node = navigation_result.state.branch.at(-1);
348
+ const leaf_node = navigation_result.state.branch[navigation_result.state.branch.length - 1];
349
349
  router_enabled = leaf_node?.node.shared?.router !== false;
350
350
 
351
351
  if (callback) callback();