nuxt-nightly 4.1.3-29323750.011c13eb → 4.1.3-29323971.d6df732e
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/dist/index.mjs +3 -3
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -3830,7 +3830,7 @@ function addDeclarationTemplates(ctx, options) {
|
|
|
3830
3830
|
});
|
|
3831
3831
|
}
|
|
3832
3832
|
|
|
3833
|
-
const version = "4.1.3-
|
|
3833
|
+
const version = "4.1.3-29323971.d6df732e";
|
|
3834
3834
|
|
|
3835
3835
|
const createImportProtectionPatterns = (nuxt, options) => {
|
|
3836
3836
|
const patterns = [];
|
|
@@ -6485,7 +6485,7 @@ const middlewareTemplate = {
|
|
|
6485
6485
|
] : [
|
|
6486
6486
|
`const _globalMiddleware = ${genObjectFromRawEntries(globalMiddleware.map((mw) => [reverseResolveAlias(mw.path, alias).pop() || mw.path, genSafeVariableName(mw.name)]))}`,
|
|
6487
6487
|
`for (const path in _globalMiddleware) {`,
|
|
6488
|
-
` Object.defineProperty(_globalMiddleware[path], '_path', { value: path })`,
|
|
6488
|
+
` Object.defineProperty(_globalMiddleware[path], '_path', { value: path, configurable: true })`,
|
|
6489
6489
|
`}`,
|
|
6490
6490
|
`export const globalMiddleware = Object.values(_globalMiddleware)`,
|
|
6491
6491
|
`const _namedMiddleware = ${genArrayFromRaw(namedMiddleware.map((mw) => ({
|
|
@@ -6496,7 +6496,7 @@ const middlewareTemplate = {
|
|
|
6496
6496
|
`for (const mw of _namedMiddleware) {`,
|
|
6497
6497
|
` const i = mw.import`,
|
|
6498
6498
|
` mw.import = () => i().then(r => {`,
|
|
6499
|
-
` Object.defineProperty(r.default || r, '_path', { value: mw.path })`,
|
|
6499
|
+
` Object.defineProperty(r.default || r, '_path', { value: mw.path, configurable: true })`,
|
|
6500
6500
|
` return r`,
|
|
6501
6501
|
` })`,
|
|
6502
6502
|
`}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-nightly",
|
|
3
|
-
"version": "4.1.3-
|
|
3
|
+
"version": "4.1.3-29323971.d6df732e",
|
|
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-
|
|
71
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-
|
|
70
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.3-29323971.d6df732e",
|
|
71
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.3-29323971.d6df732e",
|
|
72
72
|
"@nuxt/telemetry": "^2.6.6",
|
|
73
|
-
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-
|
|
73
|
+
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.3-29323971.d6df732e",
|
|
74
74
|
"@unhead/vue": "^2.0.14",
|
|
75
75
|
"@vue/shared": "^3.5.21",
|
|
76
76
|
"c12": "^3.3.0",
|