@vueuse/nuxt 14.1.0 → 14.2.0

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/dist/index.js +2 -2
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -84,7 +84,7 @@ var nuxt_default = defineNuxtModule({
84
84
  for (const pkg of packages) {
85
85
  if (pkg === "shared") continue;
86
86
  if (pkg !== "core" && !isPackageExists(`@vueuse/${pkg}`, { paths: nuxt.options._layers.map((layer) => layer.config.rootDir) })) continue;
87
- const imports = metadata.functions.filter((i) => i.package === pkg && !i.internal).flatMap((i) => {
87
+ const imports = metadata.functions.filter((i) => i.package === pkg && !i.internal && i.name.length >= 4 && !disabledFunctions.includes(i.name)).flatMap((i) => {
88
88
  return [i.name, ...i.alias || []].map((n) => ({
89
89
  from: `@vueuse/${i.importPath || i.package}`,
90
90
  name: n,
@@ -96,7 +96,7 @@ var nuxt_default = defineNuxtModule({
96
96
  category: i.category
97
97
  }
98
98
  }));
99
- }).filter((i) => i.name.length >= 4 && !disabledFunctions.includes(i.name));
99
+ });
100
100
  sources.push({
101
101
  from: "@vueuse/core",
102
102
  imports,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vueuse/nuxt",
3
3
  "type": "module",
4
- "version": "14.1.0",
4
+ "version": "14.2.0",
5
5
  "description": "VueUse Nuxt Module",
6
6
  "author": "Anthony Fu <https://github.com/antfu>",
7
7
  "license": "MIT",
@@ -38,15 +38,15 @@
38
38
  "vue": "^3.5.0"
39
39
  },
40
40
  "dependencies": {
41
- "@nuxt/kit": "^4.1.3",
41
+ "@nuxt/kit": "^4.3.0",
42
42
  "local-pkg": "^1.1.2",
43
- "@vueuse/metadata": "14.1.0",
44
- "@vueuse/core": "14.1.0"
43
+ "@vueuse/core": "14.2.0",
44
+ "@vueuse/metadata": "14.2.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@nuxt/schema": "^4.1.3",
48
- "nuxt": "^4.1.3",
49
- "unimport": "^5.5.0"
47
+ "@nuxt/schema": "^4.3.0",
48
+ "nuxt": "^4.3.0",
49
+ "unimport": "^5.6.0"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsdown",