nuxt-nightly 4.1.3-29314777.50febbbb → 4.1.3-29316215.910d159d

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/README.md CHANGED
@@ -60,7 +60,7 @@ Example of an `app.vue`:
60
60
  <script setup lang="ts">
61
61
  useSeoMeta({
62
62
  title: 'Meet Nuxt',
63
- description: 'The Intuitive Vue Framework.'
63
+ description: 'The Intuitive Vue Framework.',
64
64
  })
65
65
  </script>
66
66
 
@@ -6,7 +6,7 @@ import {
6
6
  renderResourceHeaders
7
7
  } from "vue-bundle-renderer/runtime";
8
8
  import { appendResponseHeader, createError, getQuery, getResponseStatus, getResponseStatusText, writeEarlyHints } from "h3";
9
- import { getQuery as getURLQuery, hasProtocol, joinURL, withoutTrailingSlash } from "ufo";
9
+ import { getQuery as getURLQuery, joinURL, withoutTrailingSlash } from "ufo";
10
10
  import { propsToString, renderSSRHead } from "@unhead/vue/server";
11
11
  import destr from "destr";
12
12
  import { defineRenderHandler, getRouteRules, useNitroApp } from "nitropack/runtime";
@@ -114,7 +114,7 @@ export default defineRenderHandler(async (event) => {
114
114
  let path = entryPath;
115
115
  if (!path) {
116
116
  path = buildAssetsURL(entryFileName);
117
- if (/^(?:\/|\.+\/)/.test(path) || hasProtocol(path, { acceptRelative: true })) {
117
+ if (ssrContext.runtimeConfig.app.cdnURL || /^(?:\/|\.+\/)/.test(path)) {
118
118
  entryPath = path;
119
119
  } else {
120
120
  path = relative(event.path.replace(/\/[^/]+$/, "/"), joinURL("/", path));
package/dist/index.mjs CHANGED
@@ -3821,7 +3821,7 @@ function addDeclarationTemplates(ctx, options) {
3821
3821
  });
3822
3822
  }
3823
3823
 
3824
- const version = "4.1.3-29314777.50febbbb";
3824
+ const version = "4.1.3-29316215.910d159d";
3825
3825
 
3826
3826
  const createImportProtectionPatterns = (nuxt, options) => {
3827
3827
  const patterns = [];
@@ -6731,11 +6731,7 @@ const nuxtConfigTemplate = {
6731
6731
  `export const devRootDir = ${ctx.nuxt.options.dev ? JSON.stringify(ctx.nuxt.options.rootDir) : "null"}`,
6732
6732
  `export const devLogs = ${JSON.stringify(ctx.nuxt.options.features.devLogs)}`,
6733
6733
  `export const nuxtLinkDefaults = ${JSON.stringify(ctx.nuxt.options.experimental.defaults.nuxtLink)}`,
6734
- `export const asyncDataDefaults = ${JSON.stringify({
6735
- ...ctx.nuxt.options.experimental.defaults.useAsyncData,
6736
- errorValue: void 0,
6737
- value: void 0
6738
- })}`,
6734
+ `export const asyncDataDefaults = ${JSON.stringify(ctx.nuxt.options.experimental.defaults.useAsyncData)}`,
6739
6735
  `export const fetchDefaults = ${JSON.stringify(fetchDefaults)}`,
6740
6736
  `export const vueAppRootContainer = ${ctx.nuxt.options.app.rootAttrs.id ? `'#${ctx.nuxt.options.app.rootAttrs.id}'` : `'body > ${ctx.nuxt.options.app.rootTag}'`}`,
6741
6737
  `export const viewTransition = ${ctx.nuxt.options.experimental.viewTransition}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-nightly",
3
- "version": "4.1.3-29314777.50febbbb",
3
+ "version": "4.1.3-29316215.910d159d",
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.3-29314777.50febbbb",
71
- "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-29314777.50febbbb",
70
+ "@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.3-29316215.910d159d",
71
+ "@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-29316215.910d159d",
72
72
  "@nuxt/telemetry": "^2.6.6",
73
- "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-29314777.50febbbb",
73
+ "@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-29316215.910d159d",
74
74
  "@unhead/vue": "^2.0.14",
75
75
  "@vue/shared": "^3.5.21",
76
76
  "c12": "^3.3.0",