@vueuse/nuxt 9.11.0 → 9.12.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 (3) hide show
  1. package/index.cjs +1 -1
  2. package/index.mjs +6 -1
  3. package/package.json +7 -7
package/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // CommonJS proxy to bypass jiti transforms from nuxt 2 and using native ESM
2
- module.exports = function(...args) {
2
+ module.exports = function (...args) {
3
3
  return import('./index.mjs').then(m => m.default.call(this, ...args))
4
4
  }
5
5
 
package/index.mjs CHANGED
@@ -79,7 +79,12 @@ var index = defineNuxtModule({
79
79
  from: `@vueuse/${i.importPath || i.package}`,
80
80
  name: n,
81
81
  as: n,
82
- priority: -1
82
+ priority: -1,
83
+ meta: {
84
+ description: i.description,
85
+ docsUrl: i.docs,
86
+ category: i.category
87
+ }
83
88
  }));
84
89
  }).filter((i) => i.name.length >= 4 && !disabledFunctions.includes(i.name));
85
90
  sources.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/nuxt",
3
- "version": "9.11.0",
3
+ "version": "9.12.0",
4
4
  "description": "VueUse Nuxt Module",
5
5
  "author": "Anthony Fu <https://github.com/antfu>",
6
6
  "license": "MIT",
@@ -37,14 +37,14 @@
37
37
  "nuxt": "^3.0.0"
38
38
  },
39
39
  "dependencies": {
40
- "@nuxt/kit": "^3.0.0",
41
- "@vueuse/core": "9.11.0",
42
- "@vueuse/metadata": "9.11.0",
43
- "local-pkg": "^0.4.2",
40
+ "@nuxt/kit": "^3.1.1",
41
+ "@vueuse/core": "9.12.0",
42
+ "@vueuse/metadata": "9.12.0",
43
+ "local-pkg": "^0.4.3",
44
44
  "vue-demi": "*"
45
45
  },
46
46
  "devDependencies": {
47
- "@nuxt/schema": "^3.0.0",
48
- "unimport": "^1.1.0"
47
+ "@nuxt/schema": "^3.1.1",
48
+ "unimport": "^2.0.1"
49
49
  }
50
50
  }