@vueuse/metadata 12.8.2 → 13.0.0-beta.2

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/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _vueuse_core_metadata_cjs from '@vueuse/core/metadata.cjs';
1
+ import * as _vueuse_core_metadata_mjs from '@vueuse/core/metadata.mjs';
2
2
 
3
3
  interface PackageManifest {
4
4
  name: string;
@@ -13,7 +13,6 @@ interface PackageManifest {
13
13
  submodules?: boolean;
14
14
  build?: boolean;
15
15
  iife?: boolean;
16
- cjs?: boolean;
17
16
  mjs?: boolean;
18
17
  dts?: boolean;
19
18
  target?: string;
@@ -70,7 +69,7 @@ declare const functionNames: string[];
70
69
  declare const categoryNames: string[];
71
70
  declare const coreCategoryNames: string[];
72
71
  declare const addonCategoryNames: string[];
73
- declare function getFunction(name: string): _vueuse_core_metadata_cjs.VueUseFunction | undefined;
72
+ declare function getFunction(name: string): _vueuse_core_metadata_mjs.VueUseFunction | undefined;
74
73
 
75
74
  declare function getCategories(functions: VueUseFunction[]): string[];
76
75
  declare function uniq<T extends any[]>(a: T): any[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vueuse/metadata",
3
3
  "type": "module",
4
- "version": "12.8.2",
4
+ "version": "13.0.0-beta.2",
5
5
  "description": "Metadata for VueUse functions",
6
6
  "author": "Anthony Fu <https://github.com/antfu>",
7
7
  "license": "MIT",
@@ -21,20 +21,14 @@
21
21
  ],
22
22
  "sideEffects": false,
23
23
  "exports": {
24
- ".": {
25
- "import": "./index.mjs",
26
- "require": "./index.cjs"
27
- },
24
+ ".": "./index.mjs",
28
25
  "./*": "./*"
29
26
  },
30
- "main": "./index.cjs",
27
+ "main": "./index.mjs",
31
28
  "module": "./index.mjs",
32
- "types": "./index.d.ts",
29
+ "types": "./index.d.mts",
33
30
  "files": [
34
- "*.cjs",
35
- "*.d.cts",
36
31
  "*.d.mts",
37
- "*.d.ts",
38
32
  "*.js",
39
33
  "*.mjs",
40
34
  "index.json"