nuxt-nightly 4.1.2-29293196.c82e5a04 → 4.1.2-29293231.4568e845

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.
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent, defineComponent, h, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, mergeProps, watch } from "vue";
1
+ import { defineAsyncComponent, defineComponent, h, hydrateOnIdle, hydrateOnInteraction, hydrateOnMediaQuery, hydrateOnVisible, mergeProps } from "vue";
2
2
  import { useNuxtApp } from "#app/nuxt";
3
3
  function defineLazyComponent(props, defineStrategy) {
4
4
  return (id, loader) => defineComponent({
@@ -71,10 +71,9 @@ export const createLazyIfComponent = defineLazyComponent(
71
71
  default: true
72
72
  }
73
73
  },
74
- (props) => props.hydrateWhen ? void 0 : (hydrate) => {
75
- const unwatch = watch(() => props.hydrateWhen, () => hydrate(), { once: true });
76
- return () => unwatch();
74
+ (props) => props.hydrateWhen ? void 0 : () => {
77
75
  }
76
+ /* Vue will trigger the hydration automatically when the prop changes */
78
77
  );
79
78
  export const createLazyTimeComponent = defineLazyComponent(
80
79
  {
package/dist/index.mjs CHANGED
@@ -3769,7 +3769,7 @@ function addDeclarationTemplates(ctx, options) {
3769
3769
  });
3770
3770
  }
3771
3771
 
3772
- const version = "4.1.2-29293196.c82e5a04";
3772
+ const version = "4.1.2-29293231.4568e845";
3773
3773
 
3774
3774
  const createImportProtectionPatterns = (nuxt, options) => {
3775
3775
  const patterns = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-nightly",
3
- "version": "4.1.2-29293196.c82e5a04",
3
+ "version": "4.1.2-29293231.4568e845",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",
@@ -67,10 +67,10 @@
67
67
  "@nuxt/cli": "npm:@nuxt/cli-nightly@latest",
68
68
  "@nuxt/devalue": "^2.0.2",
69
69
  "@nuxt/devtools": "^2.6.3",
70
- "@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.2-29293196.c82e5a04",
71
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.2-29293196.c82e5a04",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.2-29293231.4568e845",
71
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.2-29293231.4568e845",
72
72
  "@nuxt/telemetry": "^2.6.6",
73
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.2-29293196.c82e5a04",
73
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.2-29293231.4568e845",
74
74
  "@unhead/vue": "^2.0.14",
75
75
  "@vue/shared": "^3.5.21",
76
76
  "c12": "^3.2.0",