@vueuse/nuxt 8.2.5 → 8.3.1

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.
Files changed (2) hide show
  1. package/index.mjs +5 -4
  2. package/package.json +5 -5
package/index.mjs CHANGED
@@ -8,18 +8,18 @@ const _dirname = dirname(fileURLToPath(import.meta.url));
8
8
  const disabledFunctions = [
9
9
  "useFetch",
10
10
  "toRefs",
11
- "useCookie"
11
+ "useCookie",
12
+ "useHead",
13
+ "useTitle"
12
14
  ];
13
15
  const packages = [
14
16
  "core",
15
17
  "shared",
16
- "nuxt",
17
18
  "components",
18
19
  "motion",
19
20
  "firebase",
20
21
  "rxjs",
21
- "sound",
22
- "head"
22
+ "sound"
23
23
  ];
24
24
  const fullPackages = packages.map((p) => `@vueuse/${p}`);
25
25
  var index = defineNuxtModule({
@@ -44,6 +44,7 @@ var index = defineNuxtModule({
44
44
  const pluginPath = resolve(_dirname, "./ssr-plugin.mjs");
45
45
  nuxt.options.plugins = nuxt.options.plugins || [];
46
46
  nuxt.options.plugins.push(pluginPath);
47
+ nuxt.options.build.transpile.push(pluginPath);
47
48
  }
48
49
  if (options.autoImports) {
49
50
  nuxt.hook("autoImports:sources", (sources) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/nuxt",
3
- "version": "8.2.5",
3
+ "version": "8.3.1",
4
4
  "description": "VueUse Nuxt Module",
5
5
  "keywords": [
6
6
  "vue",
@@ -34,13 +34,13 @@
34
34
  },
35
35
  "sideEffects": false,
36
36
  "dependencies": {
37
- "@nuxt/kit": "npm:@nuxt/kit-edge@latest",
38
- "@vueuse/core": "8.2.5",
39
- "@vueuse/metadata": "8.2.5",
37
+ "@nuxt/kit": "^3.0.0-rc.0",
38
+ "@vueuse/core": "8.3.1",
39
+ "@vueuse/metadata": "8.3.1",
40
40
  "local-pkg": "^0.4.1",
41
41
  "vue-demi": "*"
42
42
  },
43
43
  "devDependencies": {
44
- "@nuxt/schema": "npm:@nuxt/schema-edge@latest"
44
+ "@nuxt/schema": "^3.0.0-rc.0"
45
45
  }
46
46
  }