nuxt-nightly 4.1.1-29281581.418bafeb → 4.1.1-29281685.c73957ae
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 +1 @@
|
|
|
1
|
-
export declare const setInterval:
|
|
1
|
+
export declare const setInterval: typeof globalThis.setInterval | (() => void);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createError } from "../composables/error.js";
|
|
2
2
|
const intervalError = "[nuxt] `setInterval` should not be used on the server. Consider wrapping it with an `onNuxtReady`, `onBeforeMount` or `onMounted` lifecycle hook, or ensure you only call it in the browser by checking `import.meta.client`.";
|
|
3
|
-
export const setInterval = import.meta.client ?
|
|
3
|
+
export const setInterval = import.meta.client ? globalThis.setInterval : () => {
|
|
4
4
|
if (import.meta.dev) {
|
|
5
5
|
throw createError({
|
|
6
6
|
statusCode: 500,
|
|
@@ -13,7 +13,7 @@ const CookieDefaults = {
|
|
|
13
13
|
decode: (val) => destr(decodeURIComponent(val)),
|
|
14
14
|
encode: (val) => encodeURIComponent(typeof val === "string" ? val : JSON.stringify(val))
|
|
15
15
|
};
|
|
16
|
-
const store = import.meta.client && cookieStore ?
|
|
16
|
+
const store = import.meta.client && cookieStore ? globalThis.cookieStore : void 0;
|
|
17
17
|
export function useCookie(name, _opts) {
|
|
18
18
|
const opts = { ...CookieDefaults, ..._opts };
|
|
19
19
|
opts.filter ??= (key) => key === name;
|
package/dist/index.mjs
CHANGED
|
@@ -3757,7 +3757,7 @@ function addDeclarationTemplates(ctx, options) {
|
|
|
3757
3757
|
});
|
|
3758
3758
|
}
|
|
3759
3759
|
|
|
3760
|
-
const version = "4.1.1-
|
|
3760
|
+
const version = "4.1.1-29281685.c73957ae";
|
|
3761
3761
|
|
|
3762
3762
|
const createImportProtectionPatterns = (nuxt, options) => {
|
|
3763
3763
|
const patterns = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-nightly",
|
|
3
|
-
"version": "4.1.1-
|
|
3
|
+
"version": "4.1.1-29281685.c73957ae",
|
|
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.1-
|
|
71
|
-
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.1-
|
|
70
|
+
"@nuxt/kit": "npm:@nuxt/kit-nightly@4.1.1-29281685.c73957ae",
|
|
71
|
+
"@nuxt/schema": "npm:@nuxt/schema-nightly@4.1.1-29281685.c73957ae",
|
|
72
72
|
"@nuxt/telemetry": "^2.6.6",
|
|
73
|
-
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.1-
|
|
73
|
+
"@nuxt/vite-builder": "npm:@nuxt/vite-builder-nightly@4.1.1-29281685.c73957ae",
|
|
74
74
|
"@unhead/vue": "^2.0.14",
|
|
75
75
|
"@vue/shared": "^3.5.20",
|
|
76
76
|
"c12": "^3.2.0",
|