@vueuse/metadata 10.2.1 → 10.3.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.
package/index.cjs CHANGED
@@ -268,7 +268,7 @@ var functions$1 = [
268
268
  {
269
269
  name: "createReusableTemplate",
270
270
  "package": "core",
271
- lastUpdated: 1682582034000,
271
+ lastUpdated: 1690723585000,
272
272
  docs: "https://vueuse.org/core/createReusableTemplate/",
273
273
  category: "Component",
274
274
  description: "define and reuse template inside the component scope"
@@ -398,7 +398,7 @@ var functions$1 = [
398
398
  {
399
399
  name: "onClickOutside",
400
400
  "package": "core",
401
- lastUpdated: 1683316413000,
401
+ lastUpdated: 1690717940000,
402
402
  component: true,
403
403
  directive: true,
404
404
  docs: "https://vueuse.org/core/onClickOutside/",
@@ -417,7 +417,7 @@ var functions$1 = [
417
417
  {
418
418
  name: "onLongPress",
419
419
  "package": "core",
420
- lastUpdated: 1661746302000,
420
+ lastUpdated: 1690717950000,
421
421
  component: true,
422
422
  directive: true,
423
423
  docs: "https://vueuse.org/core/onLongPress/",
@@ -457,7 +457,7 @@ var functions$1 = [
457
457
  {
458
458
  name: "reactiveComputed",
459
459
  "package": "shared",
460
- lastUpdated: 1645876129000,
460
+ lastUpdated: 1690729590000,
461
461
  docs: "https://vueuse.org/shared/reactiveComputed/",
462
462
  category: "Reactivity",
463
463
  description: "computed reactive object"
@@ -590,7 +590,7 @@ var functions$1 = [
590
590
  {
591
591
  name: "toReactive",
592
592
  "package": "shared",
593
- lastUpdated: 1681373709000,
593
+ lastUpdated: 1690729590000,
594
594
  docs: "https://vueuse.org/shared/toReactive/",
595
595
  category: "Reactivity",
596
596
  description: "converts ref to reactive"
@@ -612,7 +612,7 @@ var functions$1 = [
612
612
  {
613
613
  name: "toRefs",
614
614
  "package": "shared",
615
- lastUpdated: 1687334077000,
615
+ lastUpdated: 1690722634000,
616
616
  docs: "https://vueuse.org/shared/toRefs/",
617
617
  category: "Reactivity",
618
618
  description: "extended [`toRefs`](https://v3.vuejs.org/api/refs-api.html#torefs) that also accepts refs of an object"
@@ -682,7 +682,7 @@ var functions$1 = [
682
682
  {
683
683
  name: "until",
684
684
  "package": "shared",
685
- lastUpdated: 1681372607000,
685
+ lastUpdated: 1690225787000,
686
686
  docs: "https://vueuse.org/shared/until/",
687
687
  category: "Watch",
688
688
  description: "promised one-time watch for changes"
@@ -698,7 +698,7 @@ var functions$1 = [
698
698
  {
699
699
  name: "useActiveElement",
700
700
  "package": "core",
701
- lastUpdated: 1672753027000,
701
+ lastUpdated: 1690724983000,
702
702
  component: true,
703
703
  docs: "https://vueuse.org/core/useActiveElement/",
704
704
  category: "Elements",
@@ -707,7 +707,7 @@ var functions$1 = [
707
707
  {
708
708
  name: "useAnimate",
709
709
  "package": "core",
710
- lastUpdated: 1686917986000,
710
+ lastUpdated: 1690717950000,
711
711
  docs: "https://vueuse.org/core/useAnimate/",
712
712
  category: "Animation",
713
713
  description: "reactive [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API)"
@@ -811,7 +811,7 @@ var functions$1 = [
811
811
  {
812
812
  name: "useAsyncQueue",
813
813
  "package": "core",
814
- lastUpdated: 1684138266000,
814
+ lastUpdated: 1690225787000,
815
815
  docs: "https://vueuse.org/core/useAsyncQueue/",
816
816
  category: "Utilities",
817
817
  description: "executes each asynchronous task sequentially and passes the current task result to the next task"
@@ -871,7 +871,7 @@ var functions$1 = [
871
871
  {
872
872
  name: "useBattery",
873
873
  "package": "core",
874
- lastUpdated: 1657430593000,
874
+ lastUpdated: 1690717950000,
875
875
  component: true,
876
876
  docs: "https://vueuse.org/core/useBattery/",
877
877
  category: "Sensors",
@@ -946,7 +946,7 @@ var functions$1 = [
946
946
  {
947
947
  name: "useClipboard",
948
948
  "package": "core",
949
- lastUpdated: 1681372607000,
949
+ lastUpdated: 1690717950000,
950
950
  docs: "https://vueuse.org/core/useClipboard/",
951
951
  category: "Browser",
952
952
  description: "reactive [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API)"
@@ -993,7 +993,7 @@ var functions$1 = [
993
993
  {
994
994
  name: "useCounter",
995
995
  "package": "shared",
996
- lastUpdated: 1666677599000,
996
+ lastUpdated: 1690717970000,
997
997
  docs: "https://vueuse.org/shared/useCounter/",
998
998
  category: "Utilities",
999
999
  description: "basic counter with utility functions"
@@ -1039,7 +1039,7 @@ var functions$1 = [
1039
1039
  {
1040
1040
  name: "useDateFormat",
1041
1041
  "package": "shared",
1042
- lastUpdated: 1682003983000,
1042
+ lastUpdated: 1690730131000,
1043
1043
  docs: "https://vueuse.org/shared/useDateFormat/",
1044
1044
  category: "Time",
1045
1045
  description: "get the formatted date according to the string of tokens passed in"
@@ -1223,7 +1223,7 @@ var functions$1 = [
1223
1223
  {
1224
1224
  name: "useEventListener",
1225
1225
  "package": "core",
1226
- lastUpdated: 1681402164000,
1226
+ lastUpdated: 1690717950000,
1227
1227
  docs: "https://vueuse.org/core/useEventListener/",
1228
1228
  category: "Browser",
1229
1229
  description: "use EventListener with ease"
@@ -1256,7 +1256,7 @@ var functions$1 = [
1256
1256
  {
1257
1257
  name: "useFetch",
1258
1258
  "package": "core",
1259
- lastUpdated: 1682983932000,
1259
+ lastUpdated: 1690717923000,
1260
1260
  docs: "https://vueuse.org/core/useFetch/",
1261
1261
  category: "Network",
1262
1262
  description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1297,7 +1297,7 @@ var functions$1 = [
1297
1297
  {
1298
1298
  name: "useFocus",
1299
1299
  "package": "core",
1300
- lastUpdated: 1674992405000,
1300
+ lastUpdated: 1690717931000,
1301
1301
  docs: "https://vueuse.org/core/useFocus/",
1302
1302
  category: "Sensors",
1303
1303
  description: "reactive utility to track or set the focus state of a DOM element"
@@ -1357,7 +1357,7 @@ var functions$1 = [
1357
1357
  {
1358
1358
  name: "useGeolocation",
1359
1359
  "package": "core",
1360
- lastUpdated: 1679560979000,
1360
+ lastUpdated: 1690225787000,
1361
1361
  component: true,
1362
1362
  docs: "https://vueuse.org/core/useGeolocation/",
1363
1363
  category: "Sensors",
@@ -1400,7 +1400,7 @@ var functions$1 = [
1400
1400
  {
1401
1401
  name: "useInfiniteScroll",
1402
1402
  "package": "core",
1403
- lastUpdated: 1687945394000,
1403
+ lastUpdated: 1690718842000,
1404
1404
  directive: true,
1405
1405
  docs: "https://vueuse.org/core/useInfiniteScroll/",
1406
1406
  category: "Sensors",
@@ -1494,7 +1494,7 @@ var functions$1 = [
1494
1494
  {
1495
1495
  name: "useMagicKeys",
1496
1496
  "package": "core",
1497
- lastUpdated: 1681373709000,
1497
+ lastUpdated: 1690225787000,
1498
1498
  docs: "https://vueuse.org/core/useMagicKeys/",
1499
1499
  category: "Sensors",
1500
1500
  description: "reactive keys pressed state"
@@ -1502,7 +1502,7 @@ var functions$1 = [
1502
1502
  {
1503
1503
  name: "useManualRefHistory",
1504
1504
  "package": "core",
1505
- lastUpdated: 1682524872000,
1505
+ lastUpdated: 1690225787000,
1506
1506
  docs: "https://vueuse.org/core/useManualRefHistory/",
1507
1507
  category: "State",
1508
1508
  description: "manually track the change history of a ref when the using calls `commit()`",
@@ -1537,7 +1537,7 @@ var functions$1 = [
1537
1537
  {
1538
1538
  name: "useMediaQuery",
1539
1539
  "package": "core",
1540
- lastUpdated: 1681372607000,
1540
+ lastUpdated: 1690722655000,
1541
1541
  docs: "https://vueuse.org/core/useMediaQuery/",
1542
1542
  category: "Browser",
1543
1543
  description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
@@ -1598,7 +1598,7 @@ var functions$1 = [
1598
1598
  {
1599
1599
  name: "useMouse",
1600
1600
  "package": "core",
1601
- lastUpdated: 1682154126000,
1601
+ lastUpdated: 1690717950000,
1602
1602
  component: true,
1603
1603
  docs: "https://vueuse.org/core/useMouse/",
1604
1604
  category: "Sensors",
@@ -1668,7 +1668,7 @@ var functions$1 = [
1668
1668
  {
1669
1669
  name: "useObjectUrl",
1670
1670
  "package": "core",
1671
- lastUpdated: 1681373709000,
1671
+ lastUpdated: 1690722569000,
1672
1672
  component: true,
1673
1673
  docs: "https://vueuse.org/core/useObjectUrl/",
1674
1674
  category: "Browser",
@@ -1685,7 +1685,7 @@ var functions$1 = [
1685
1685
  {
1686
1686
  name: "useOffsetPagination",
1687
1687
  "package": "core",
1688
- lastUpdated: 1681374342000,
1688
+ lastUpdated: 1690225787000,
1689
1689
  component: true,
1690
1690
  docs: "https://vueuse.org/core/useOffsetPagination/",
1691
1691
  category: "Utilities",
@@ -1747,7 +1747,7 @@ var functions$1 = [
1747
1747
  {
1748
1748
  name: "usePointer",
1749
1749
  "package": "core",
1750
- lastUpdated: 1681425913000,
1750
+ lastUpdated: 1690723812000,
1751
1751
  component: true,
1752
1752
  docs: "https://vueuse.org/core/usePointer/",
1753
1753
  category: "Sensors",
@@ -1896,7 +1896,7 @@ var functions$1 = [
1896
1896
  {
1897
1897
  name: "useRouteHash",
1898
1898
  "package": "router",
1899
- lastUpdated: 1683625976000,
1899
+ lastUpdated: 1690718020000,
1900
1900
  docs: "https://vueuse.org/router/useRouteHash/",
1901
1901
  category: "@Router",
1902
1902
  description: "shorthand for a reactive `route.hash`"
@@ -1904,7 +1904,7 @@ var functions$1 = [
1904
1904
  {
1905
1905
  name: "useRouteParams",
1906
1906
  "package": "router",
1907
- lastUpdated: 1683625976000,
1907
+ lastUpdated: 1690718020000,
1908
1908
  docs: "https://vueuse.org/router/useRouteParams/",
1909
1909
  category: "@Router",
1910
1910
  description: "shorthand for a reactive `route.params`"
@@ -1912,7 +1912,7 @@ var functions$1 = [
1912
1912
  {
1913
1913
  name: "useRouteQuery",
1914
1914
  "package": "router",
1915
- lastUpdated: 1683625976000,
1915
+ lastUpdated: 1690718020000,
1916
1916
  docs: "https://vueuse.org/router/useRouteQuery/",
1917
1917
  category: "@Router",
1918
1918
  description: "shorthand for a reactive `route.query`"
@@ -1920,7 +1920,7 @@ var functions$1 = [
1920
1920
  {
1921
1921
  name: "useRTDB",
1922
1922
  "package": "firebase",
1923
- lastUpdated: 1658645224000,
1923
+ lastUpdated: 1690729883000,
1924
1924
  docs: "https://vueuse.org/firebase/useRTDB/",
1925
1925
  category: "@Firebase",
1926
1926
  description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
@@ -1961,7 +1961,7 @@ var functions$1 = [
1961
1961
  {
1962
1962
  name: "useScroll",
1963
1963
  "package": "core",
1964
- lastUpdated: 1684138239000,
1964
+ lastUpdated: 1690723466000,
1965
1965
  directive: true,
1966
1966
  docs: "https://vueuse.org/core/useScroll/",
1967
1967
  category: "Sensors",
@@ -2008,7 +2008,7 @@ var functions$1 = [
2008
2008
  {
2009
2009
  name: "useSorted",
2010
2010
  "package": "core",
2011
- lastUpdated: 1681373709000,
2011
+ lastUpdated: 1690723207000,
2012
2012
  docs: "https://vueuse.org/core/useSorted/",
2013
2013
  category: "Array",
2014
2014
  description: "reactive sort array"
@@ -2031,7 +2031,7 @@ var functions$1 = [
2031
2031
  {
2032
2032
  name: "useSpeechSynthesis",
2033
2033
  "package": "core",
2034
- lastUpdated: 1681373709000,
2034
+ lastUpdated: 1690724174000,
2035
2035
  docs: "https://vueuse.org/core/useSpeechSynthesis/",
2036
2036
  category: "Sensors",
2037
2037
  description: "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
@@ -2080,7 +2080,7 @@ var functions$1 = [
2080
2080
  {
2081
2081
  name: "useStyleTag",
2082
2082
  "package": "core",
2083
- lastUpdated: 1669416726000,
2083
+ lastUpdated: 1688031328000,
2084
2084
  docs: "https://vueuse.org/core/useStyleTag/",
2085
2085
  category: "Browser",
2086
2086
  description: "inject reactive `style` element in head"
@@ -2120,7 +2120,7 @@ var functions$1 = [
2120
2120
  {
2121
2121
  name: "useSwipe",
2122
2122
  "package": "core",
2123
- lastUpdated: 1682154047000,
2123
+ lastUpdated: 1690717950000,
2124
2124
  docs: "https://vueuse.org/core/useSwipe/",
2125
2125
  category: "Sensors",
2126
2126
  description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2152,7 +2152,7 @@ var functions$1 = [
2152
2152
  {
2153
2153
  name: "useTextSelection",
2154
2154
  "package": "core",
2155
- lastUpdated: 1646469737000,
2155
+ lastUpdated: 1690226818000,
2156
2156
  docs: "https://vueuse.org/core/useTextSelection/",
2157
2157
  category: "Sensors",
2158
2158
  description: "reactively track user text selection based on [`Window.getSelection`](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)"
@@ -2185,7 +2185,7 @@ var functions$1 = [
2185
2185
  {
2186
2186
  name: "useTimeAgo",
2187
2187
  "package": "core",
2188
- lastUpdated: 1683363330000,
2188
+ lastUpdated: 1690225787000,
2189
2189
  component: true,
2190
2190
  docs: "https://vueuse.org/core/useTimeAgo/",
2191
2191
  category: "Time",
@@ -2398,7 +2398,7 @@ var functions$1 = [
2398
2398
  {
2399
2399
  name: "useWindowSize",
2400
2400
  "package": "core",
2401
- lastUpdated: 1681306839000,
2401
+ lastUpdated: 1690225787000,
2402
2402
  component: true,
2403
2403
  docs: "https://vueuse.org/core/useWindowSize/",
2404
2404
  category: "Elements",
@@ -2423,13 +2423,13 @@ var functions$1 = [
2423
2423
  {
2424
2424
  name: "utils",
2425
2425
  "package": "shared",
2426
- lastUpdated: 1686084730000,
2426
+ lastUpdated: 1690715050000,
2427
2427
  internal: true
2428
2428
  },
2429
2429
  {
2430
2430
  name: "watchArray",
2431
2431
  "package": "shared",
2432
- lastUpdated: 1681373709000,
2432
+ lastUpdated: 1690225787000,
2433
2433
  docs: "https://vueuse.org/shared/watchArray/",
2434
2434
  category: "Watch",
2435
2435
  description: "watch for an array with additions and removals"
package/index.d.cts ADDED
@@ -0,0 +1,76 @@
1
+ interface PackageManifest {
2
+ name: string;
3
+ display: string;
4
+ addon?: boolean;
5
+ author?: string;
6
+ description?: string;
7
+ external?: string[];
8
+ globals?: Record<string, string>;
9
+ manualImport?: boolean;
10
+ deprecated?: boolean;
11
+ submodules?: boolean;
12
+ build?: boolean;
13
+ iife?: boolean;
14
+ cjs?: boolean;
15
+ mjs?: boolean;
16
+ dts?: boolean;
17
+ target?: string;
18
+ utils?: boolean;
19
+ copy?: string[];
20
+ }
21
+ interface VueUseFunction {
22
+ name: string;
23
+ package: string;
24
+ importPath?: string;
25
+ lastUpdated?: number;
26
+ category?: string;
27
+ description?: string;
28
+ docs?: string;
29
+ deprecated?: boolean;
30
+ internal?: boolean;
31
+ component?: boolean;
32
+ directive?: boolean;
33
+ external?: string;
34
+ alias?: string[];
35
+ related?: string[];
36
+ }
37
+ interface VueUsePackage extends PackageManifest {
38
+ dir: string;
39
+ docs?: string;
40
+ }
41
+ interface PackageIndexes {
42
+ packages: Record<string, VueUsePackage>;
43
+ categories: string[];
44
+ functions: VueUseFunction[];
45
+ }
46
+ interface CommitInfo {
47
+ functions: string[];
48
+ version?: string;
49
+ hash: string;
50
+ date: string;
51
+ message: string;
52
+ refs?: string;
53
+ body?: string;
54
+ author_name: string;
55
+ author_email: string;
56
+ }
57
+ interface ContributorInfo {
58
+ name: string;
59
+ count: number;
60
+ hash: string;
61
+ }
62
+
63
+ declare const metadata: PackageIndexes;
64
+ declare const functions: VueUseFunction[];
65
+ declare const packages: Record<string, VueUsePackage>;
66
+ declare const categories: string[];
67
+ declare const functionNames: string[];
68
+ declare const categoryNames: string[];
69
+ declare const coreCategoryNames: string[];
70
+ declare const addonCategoryNames: string[];
71
+ declare function getFunction(name: string): VueUseFunction | undefined;
72
+
73
+ declare function getCategories(functions: VueUseFunction[]): string[];
74
+ declare function uniq<T extends any[]>(a: T): any[];
75
+
76
+ export { CommitInfo, ContributorInfo, PackageIndexes, PackageManifest, VueUseFunction, VueUsePackage, addonCategoryNames, categories, categoryNames, coreCategoryNames, functionNames, functions, getCategories, getFunction, metadata, packages, uniq };
package/index.d.mts ADDED
@@ -0,0 +1,76 @@
1
+ interface PackageManifest {
2
+ name: string;
3
+ display: string;
4
+ addon?: boolean;
5
+ author?: string;
6
+ description?: string;
7
+ external?: string[];
8
+ globals?: Record<string, string>;
9
+ manualImport?: boolean;
10
+ deprecated?: boolean;
11
+ submodules?: boolean;
12
+ build?: boolean;
13
+ iife?: boolean;
14
+ cjs?: boolean;
15
+ mjs?: boolean;
16
+ dts?: boolean;
17
+ target?: string;
18
+ utils?: boolean;
19
+ copy?: string[];
20
+ }
21
+ interface VueUseFunction {
22
+ name: string;
23
+ package: string;
24
+ importPath?: string;
25
+ lastUpdated?: number;
26
+ category?: string;
27
+ description?: string;
28
+ docs?: string;
29
+ deprecated?: boolean;
30
+ internal?: boolean;
31
+ component?: boolean;
32
+ directive?: boolean;
33
+ external?: string;
34
+ alias?: string[];
35
+ related?: string[];
36
+ }
37
+ interface VueUsePackage extends PackageManifest {
38
+ dir: string;
39
+ docs?: string;
40
+ }
41
+ interface PackageIndexes {
42
+ packages: Record<string, VueUsePackage>;
43
+ categories: string[];
44
+ functions: VueUseFunction[];
45
+ }
46
+ interface CommitInfo {
47
+ functions: string[];
48
+ version?: string;
49
+ hash: string;
50
+ date: string;
51
+ message: string;
52
+ refs?: string;
53
+ body?: string;
54
+ author_name: string;
55
+ author_email: string;
56
+ }
57
+ interface ContributorInfo {
58
+ name: string;
59
+ count: number;
60
+ hash: string;
61
+ }
62
+
63
+ declare const metadata: PackageIndexes;
64
+ declare const functions: VueUseFunction[];
65
+ declare const packages: Record<string, VueUsePackage>;
66
+ declare const categories: string[];
67
+ declare const functionNames: string[];
68
+ declare const categoryNames: string[];
69
+ declare const coreCategoryNames: string[];
70
+ declare const addonCategoryNames: string[];
71
+ declare function getFunction(name: string): VueUseFunction | undefined;
72
+
73
+ declare function getCategories(functions: VueUseFunction[]): string[];
74
+ declare function uniq<T extends any[]>(a: T): any[];
75
+
76
+ export { CommitInfo, ContributorInfo, PackageIndexes, PackageManifest, VueUseFunction, VueUsePackage, addonCategoryNames, categories, categoryNames, coreCategoryNames, functionNames, functions, getCategories, getFunction, metadata, packages, uniq };
package/index.json CHANGED
@@ -267,7 +267,7 @@
267
267
  {
268
268
  "name": "createReusableTemplate",
269
269
  "package": "core",
270
- "lastUpdated": 1682582034000,
270
+ "lastUpdated": 1690723585000,
271
271
  "docs": "https://vueuse.org/core/createReusableTemplate/",
272
272
  "category": "Component",
273
273
  "description": "define and reuse template inside the component scope"
@@ -397,7 +397,7 @@
397
397
  {
398
398
  "name": "onClickOutside",
399
399
  "package": "core",
400
- "lastUpdated": 1683316413000,
400
+ "lastUpdated": 1690717940000,
401
401
  "component": true,
402
402
  "directive": true,
403
403
  "docs": "https://vueuse.org/core/onClickOutside/",
@@ -416,7 +416,7 @@
416
416
  {
417
417
  "name": "onLongPress",
418
418
  "package": "core",
419
- "lastUpdated": 1661746302000,
419
+ "lastUpdated": 1690717950000,
420
420
  "component": true,
421
421
  "directive": true,
422
422
  "docs": "https://vueuse.org/core/onLongPress/",
@@ -456,7 +456,7 @@
456
456
  {
457
457
  "name": "reactiveComputed",
458
458
  "package": "shared",
459
- "lastUpdated": 1645876129000,
459
+ "lastUpdated": 1690729590000,
460
460
  "docs": "https://vueuse.org/shared/reactiveComputed/",
461
461
  "category": "Reactivity",
462
462
  "description": "computed reactive object"
@@ -589,7 +589,7 @@
589
589
  {
590
590
  "name": "toReactive",
591
591
  "package": "shared",
592
- "lastUpdated": 1681373709000,
592
+ "lastUpdated": 1690729590000,
593
593
  "docs": "https://vueuse.org/shared/toReactive/",
594
594
  "category": "Reactivity",
595
595
  "description": "converts ref to reactive"
@@ -611,7 +611,7 @@
611
611
  {
612
612
  "name": "toRefs",
613
613
  "package": "shared",
614
- "lastUpdated": 1687334077000,
614
+ "lastUpdated": 1690722634000,
615
615
  "docs": "https://vueuse.org/shared/toRefs/",
616
616
  "category": "Reactivity",
617
617
  "description": "extended [`toRefs`](https://v3.vuejs.org/api/refs-api.html#torefs) that also accepts refs of an object"
@@ -681,7 +681,7 @@
681
681
  {
682
682
  "name": "until",
683
683
  "package": "shared",
684
- "lastUpdated": 1681372607000,
684
+ "lastUpdated": 1690225787000,
685
685
  "docs": "https://vueuse.org/shared/until/",
686
686
  "category": "Watch",
687
687
  "description": "promised one-time watch for changes"
@@ -697,7 +697,7 @@
697
697
  {
698
698
  "name": "useActiveElement",
699
699
  "package": "core",
700
- "lastUpdated": 1672753027000,
700
+ "lastUpdated": 1690724983000,
701
701
  "component": true,
702
702
  "docs": "https://vueuse.org/core/useActiveElement/",
703
703
  "category": "Elements",
@@ -706,7 +706,7 @@
706
706
  {
707
707
  "name": "useAnimate",
708
708
  "package": "core",
709
- "lastUpdated": 1686917986000,
709
+ "lastUpdated": 1690717950000,
710
710
  "docs": "https://vueuse.org/core/useAnimate/",
711
711
  "category": "Animation",
712
712
  "description": "reactive [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API)"
@@ -810,7 +810,7 @@
810
810
  {
811
811
  "name": "useAsyncQueue",
812
812
  "package": "core",
813
- "lastUpdated": 1684138266000,
813
+ "lastUpdated": 1690225787000,
814
814
  "docs": "https://vueuse.org/core/useAsyncQueue/",
815
815
  "category": "Utilities",
816
816
  "description": "executes each asynchronous task sequentially and passes the current task result to the next task"
@@ -870,7 +870,7 @@
870
870
  {
871
871
  "name": "useBattery",
872
872
  "package": "core",
873
- "lastUpdated": 1657430593000,
873
+ "lastUpdated": 1690717950000,
874
874
  "component": true,
875
875
  "docs": "https://vueuse.org/core/useBattery/",
876
876
  "category": "Sensors",
@@ -945,7 +945,7 @@
945
945
  {
946
946
  "name": "useClipboard",
947
947
  "package": "core",
948
- "lastUpdated": 1681372607000,
948
+ "lastUpdated": 1690717950000,
949
949
  "docs": "https://vueuse.org/core/useClipboard/",
950
950
  "category": "Browser",
951
951
  "description": "reactive [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API)"
@@ -992,7 +992,7 @@
992
992
  {
993
993
  "name": "useCounter",
994
994
  "package": "shared",
995
- "lastUpdated": 1666677599000,
995
+ "lastUpdated": 1690717970000,
996
996
  "docs": "https://vueuse.org/shared/useCounter/",
997
997
  "category": "Utilities",
998
998
  "description": "basic counter with utility functions"
@@ -1038,7 +1038,7 @@
1038
1038
  {
1039
1039
  "name": "useDateFormat",
1040
1040
  "package": "shared",
1041
- "lastUpdated": 1682003983000,
1041
+ "lastUpdated": 1690730131000,
1042
1042
  "docs": "https://vueuse.org/shared/useDateFormat/",
1043
1043
  "category": "Time",
1044
1044
  "description": "get the formatted date according to the string of tokens passed in"
@@ -1222,7 +1222,7 @@
1222
1222
  {
1223
1223
  "name": "useEventListener",
1224
1224
  "package": "core",
1225
- "lastUpdated": 1681402164000,
1225
+ "lastUpdated": 1690717950000,
1226
1226
  "docs": "https://vueuse.org/core/useEventListener/",
1227
1227
  "category": "Browser",
1228
1228
  "description": "use EventListener with ease"
@@ -1255,7 +1255,7 @@
1255
1255
  {
1256
1256
  "name": "useFetch",
1257
1257
  "package": "core",
1258
- "lastUpdated": 1682983932000,
1258
+ "lastUpdated": 1690717923000,
1259
1259
  "docs": "https://vueuse.org/core/useFetch/",
1260
1260
  "category": "Network",
1261
1261
  "description": "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1296,7 +1296,7 @@
1296
1296
  {
1297
1297
  "name": "useFocus",
1298
1298
  "package": "core",
1299
- "lastUpdated": 1674992405000,
1299
+ "lastUpdated": 1690717931000,
1300
1300
  "docs": "https://vueuse.org/core/useFocus/",
1301
1301
  "category": "Sensors",
1302
1302
  "description": "reactive utility to track or set the focus state of a DOM element"
@@ -1356,7 +1356,7 @@
1356
1356
  {
1357
1357
  "name": "useGeolocation",
1358
1358
  "package": "core",
1359
- "lastUpdated": 1679560979000,
1359
+ "lastUpdated": 1690225787000,
1360
1360
  "component": true,
1361
1361
  "docs": "https://vueuse.org/core/useGeolocation/",
1362
1362
  "category": "Sensors",
@@ -1399,7 +1399,7 @@
1399
1399
  {
1400
1400
  "name": "useInfiniteScroll",
1401
1401
  "package": "core",
1402
- "lastUpdated": 1687945394000,
1402
+ "lastUpdated": 1690718842000,
1403
1403
  "directive": true,
1404
1404
  "docs": "https://vueuse.org/core/useInfiniteScroll/",
1405
1405
  "category": "Sensors",
@@ -1493,7 +1493,7 @@
1493
1493
  {
1494
1494
  "name": "useMagicKeys",
1495
1495
  "package": "core",
1496
- "lastUpdated": 1681373709000,
1496
+ "lastUpdated": 1690225787000,
1497
1497
  "docs": "https://vueuse.org/core/useMagicKeys/",
1498
1498
  "category": "Sensors",
1499
1499
  "description": "reactive keys pressed state"
@@ -1501,7 +1501,7 @@
1501
1501
  {
1502
1502
  "name": "useManualRefHistory",
1503
1503
  "package": "core",
1504
- "lastUpdated": 1682524872000,
1504
+ "lastUpdated": 1690225787000,
1505
1505
  "docs": "https://vueuse.org/core/useManualRefHistory/",
1506
1506
  "category": "State",
1507
1507
  "description": "manually track the change history of a ref when the using calls `commit()`",
@@ -1536,7 +1536,7 @@
1536
1536
  {
1537
1537
  "name": "useMediaQuery",
1538
1538
  "package": "core",
1539
- "lastUpdated": 1681372607000,
1539
+ "lastUpdated": 1690722655000,
1540
1540
  "docs": "https://vueuse.org/core/useMediaQuery/",
1541
1541
  "category": "Browser",
1542
1542
  "description": "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
@@ -1597,7 +1597,7 @@
1597
1597
  {
1598
1598
  "name": "useMouse",
1599
1599
  "package": "core",
1600
- "lastUpdated": 1682154126000,
1600
+ "lastUpdated": 1690717950000,
1601
1601
  "component": true,
1602
1602
  "docs": "https://vueuse.org/core/useMouse/",
1603
1603
  "category": "Sensors",
@@ -1667,7 +1667,7 @@
1667
1667
  {
1668
1668
  "name": "useObjectUrl",
1669
1669
  "package": "core",
1670
- "lastUpdated": 1681373709000,
1670
+ "lastUpdated": 1690722569000,
1671
1671
  "component": true,
1672
1672
  "docs": "https://vueuse.org/core/useObjectUrl/",
1673
1673
  "category": "Browser",
@@ -1684,7 +1684,7 @@
1684
1684
  {
1685
1685
  "name": "useOffsetPagination",
1686
1686
  "package": "core",
1687
- "lastUpdated": 1681374342000,
1687
+ "lastUpdated": 1690225787000,
1688
1688
  "component": true,
1689
1689
  "docs": "https://vueuse.org/core/useOffsetPagination/",
1690
1690
  "category": "Utilities",
@@ -1746,7 +1746,7 @@
1746
1746
  {
1747
1747
  "name": "usePointer",
1748
1748
  "package": "core",
1749
- "lastUpdated": 1681425913000,
1749
+ "lastUpdated": 1690723812000,
1750
1750
  "component": true,
1751
1751
  "docs": "https://vueuse.org/core/usePointer/",
1752
1752
  "category": "Sensors",
@@ -1895,7 +1895,7 @@
1895
1895
  {
1896
1896
  "name": "useRouteHash",
1897
1897
  "package": "router",
1898
- "lastUpdated": 1683625976000,
1898
+ "lastUpdated": 1690718020000,
1899
1899
  "docs": "https://vueuse.org/router/useRouteHash/",
1900
1900
  "category": "@Router",
1901
1901
  "description": "shorthand for a reactive `route.hash`"
@@ -1903,7 +1903,7 @@
1903
1903
  {
1904
1904
  "name": "useRouteParams",
1905
1905
  "package": "router",
1906
- "lastUpdated": 1683625976000,
1906
+ "lastUpdated": 1690718020000,
1907
1907
  "docs": "https://vueuse.org/router/useRouteParams/",
1908
1908
  "category": "@Router",
1909
1909
  "description": "shorthand for a reactive `route.params`"
@@ -1911,7 +1911,7 @@
1911
1911
  {
1912
1912
  "name": "useRouteQuery",
1913
1913
  "package": "router",
1914
- "lastUpdated": 1683625976000,
1914
+ "lastUpdated": 1690718020000,
1915
1915
  "docs": "https://vueuse.org/router/useRouteQuery/",
1916
1916
  "category": "@Router",
1917
1917
  "description": "shorthand for a reactive `route.query`"
@@ -1919,7 +1919,7 @@
1919
1919
  {
1920
1920
  "name": "useRTDB",
1921
1921
  "package": "firebase",
1922
- "lastUpdated": 1658645224000,
1922
+ "lastUpdated": 1690729883000,
1923
1923
  "docs": "https://vueuse.org/firebase/useRTDB/",
1924
1924
  "category": "@Firebase",
1925
1925
  "description": "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
@@ -1960,7 +1960,7 @@
1960
1960
  {
1961
1961
  "name": "useScroll",
1962
1962
  "package": "core",
1963
- "lastUpdated": 1684138239000,
1963
+ "lastUpdated": 1690723466000,
1964
1964
  "directive": true,
1965
1965
  "docs": "https://vueuse.org/core/useScroll/",
1966
1966
  "category": "Sensors",
@@ -2007,7 +2007,7 @@
2007
2007
  {
2008
2008
  "name": "useSorted",
2009
2009
  "package": "core",
2010
- "lastUpdated": 1681373709000,
2010
+ "lastUpdated": 1690723207000,
2011
2011
  "docs": "https://vueuse.org/core/useSorted/",
2012
2012
  "category": "Array",
2013
2013
  "description": "reactive sort array"
@@ -2030,7 +2030,7 @@
2030
2030
  {
2031
2031
  "name": "useSpeechSynthesis",
2032
2032
  "package": "core",
2033
- "lastUpdated": 1681373709000,
2033
+ "lastUpdated": 1690724174000,
2034
2034
  "docs": "https://vueuse.org/core/useSpeechSynthesis/",
2035
2035
  "category": "Sensors",
2036
2036
  "description": "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
@@ -2079,7 +2079,7 @@
2079
2079
  {
2080
2080
  "name": "useStyleTag",
2081
2081
  "package": "core",
2082
- "lastUpdated": 1669416726000,
2082
+ "lastUpdated": 1688031328000,
2083
2083
  "docs": "https://vueuse.org/core/useStyleTag/",
2084
2084
  "category": "Browser",
2085
2085
  "description": "inject reactive `style` element in head"
@@ -2119,7 +2119,7 @@
2119
2119
  {
2120
2120
  "name": "useSwipe",
2121
2121
  "package": "core",
2122
- "lastUpdated": 1682154047000,
2122
+ "lastUpdated": 1690717950000,
2123
2123
  "docs": "https://vueuse.org/core/useSwipe/",
2124
2124
  "category": "Sensors",
2125
2125
  "description": "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2151,7 +2151,7 @@
2151
2151
  {
2152
2152
  "name": "useTextSelection",
2153
2153
  "package": "core",
2154
- "lastUpdated": 1646469737000,
2154
+ "lastUpdated": 1690226818000,
2155
2155
  "docs": "https://vueuse.org/core/useTextSelection/",
2156
2156
  "category": "Sensors",
2157
2157
  "description": "reactively track user text selection based on [`Window.getSelection`](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)"
@@ -2184,7 +2184,7 @@
2184
2184
  {
2185
2185
  "name": "useTimeAgo",
2186
2186
  "package": "core",
2187
- "lastUpdated": 1683363330000,
2187
+ "lastUpdated": 1690225787000,
2188
2188
  "component": true,
2189
2189
  "docs": "https://vueuse.org/core/useTimeAgo/",
2190
2190
  "category": "Time",
@@ -2397,7 +2397,7 @@
2397
2397
  {
2398
2398
  "name": "useWindowSize",
2399
2399
  "package": "core",
2400
- "lastUpdated": 1681306839000,
2400
+ "lastUpdated": 1690225787000,
2401
2401
  "component": true,
2402
2402
  "docs": "https://vueuse.org/core/useWindowSize/",
2403
2403
  "category": "Elements",
@@ -2422,13 +2422,13 @@
2422
2422
  {
2423
2423
  "name": "utils",
2424
2424
  "package": "shared",
2425
- "lastUpdated": 1686084730000,
2425
+ "lastUpdated": 1690715050000,
2426
2426
  "internal": true
2427
2427
  },
2428
2428
  {
2429
2429
  "name": "watchArray",
2430
2430
  "package": "shared",
2431
- "lastUpdated": 1681373709000,
2431
+ "lastUpdated": 1690225787000,
2432
2432
  "docs": "https://vueuse.org/shared/watchArray/",
2433
2433
  "category": "Watch",
2434
2434
  "description": "watch for an array with additions and removals"
package/index.mjs CHANGED
@@ -266,7 +266,7 @@ var functions$1 = [
266
266
  {
267
267
  name: "createReusableTemplate",
268
268
  "package": "core",
269
- lastUpdated: 1682582034000,
269
+ lastUpdated: 1690723585000,
270
270
  docs: "https://vueuse.org/core/createReusableTemplate/",
271
271
  category: "Component",
272
272
  description: "define and reuse template inside the component scope"
@@ -396,7 +396,7 @@ var functions$1 = [
396
396
  {
397
397
  name: "onClickOutside",
398
398
  "package": "core",
399
- lastUpdated: 1683316413000,
399
+ lastUpdated: 1690717940000,
400
400
  component: true,
401
401
  directive: true,
402
402
  docs: "https://vueuse.org/core/onClickOutside/",
@@ -415,7 +415,7 @@ var functions$1 = [
415
415
  {
416
416
  name: "onLongPress",
417
417
  "package": "core",
418
- lastUpdated: 1661746302000,
418
+ lastUpdated: 1690717950000,
419
419
  component: true,
420
420
  directive: true,
421
421
  docs: "https://vueuse.org/core/onLongPress/",
@@ -455,7 +455,7 @@ var functions$1 = [
455
455
  {
456
456
  name: "reactiveComputed",
457
457
  "package": "shared",
458
- lastUpdated: 1645876129000,
458
+ lastUpdated: 1690729590000,
459
459
  docs: "https://vueuse.org/shared/reactiveComputed/",
460
460
  category: "Reactivity",
461
461
  description: "computed reactive object"
@@ -588,7 +588,7 @@ var functions$1 = [
588
588
  {
589
589
  name: "toReactive",
590
590
  "package": "shared",
591
- lastUpdated: 1681373709000,
591
+ lastUpdated: 1690729590000,
592
592
  docs: "https://vueuse.org/shared/toReactive/",
593
593
  category: "Reactivity",
594
594
  description: "converts ref to reactive"
@@ -610,7 +610,7 @@ var functions$1 = [
610
610
  {
611
611
  name: "toRefs",
612
612
  "package": "shared",
613
- lastUpdated: 1687334077000,
613
+ lastUpdated: 1690722634000,
614
614
  docs: "https://vueuse.org/shared/toRefs/",
615
615
  category: "Reactivity",
616
616
  description: "extended [`toRefs`](https://v3.vuejs.org/api/refs-api.html#torefs) that also accepts refs of an object"
@@ -680,7 +680,7 @@ var functions$1 = [
680
680
  {
681
681
  name: "until",
682
682
  "package": "shared",
683
- lastUpdated: 1681372607000,
683
+ lastUpdated: 1690225787000,
684
684
  docs: "https://vueuse.org/shared/until/",
685
685
  category: "Watch",
686
686
  description: "promised one-time watch for changes"
@@ -696,7 +696,7 @@ var functions$1 = [
696
696
  {
697
697
  name: "useActiveElement",
698
698
  "package": "core",
699
- lastUpdated: 1672753027000,
699
+ lastUpdated: 1690724983000,
700
700
  component: true,
701
701
  docs: "https://vueuse.org/core/useActiveElement/",
702
702
  category: "Elements",
@@ -705,7 +705,7 @@ var functions$1 = [
705
705
  {
706
706
  name: "useAnimate",
707
707
  "package": "core",
708
- lastUpdated: 1686917986000,
708
+ lastUpdated: 1690717950000,
709
709
  docs: "https://vueuse.org/core/useAnimate/",
710
710
  category: "Animation",
711
711
  description: "reactive [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API)"
@@ -809,7 +809,7 @@ var functions$1 = [
809
809
  {
810
810
  name: "useAsyncQueue",
811
811
  "package": "core",
812
- lastUpdated: 1684138266000,
812
+ lastUpdated: 1690225787000,
813
813
  docs: "https://vueuse.org/core/useAsyncQueue/",
814
814
  category: "Utilities",
815
815
  description: "executes each asynchronous task sequentially and passes the current task result to the next task"
@@ -869,7 +869,7 @@ var functions$1 = [
869
869
  {
870
870
  name: "useBattery",
871
871
  "package": "core",
872
- lastUpdated: 1657430593000,
872
+ lastUpdated: 1690717950000,
873
873
  component: true,
874
874
  docs: "https://vueuse.org/core/useBattery/",
875
875
  category: "Sensors",
@@ -944,7 +944,7 @@ var functions$1 = [
944
944
  {
945
945
  name: "useClipboard",
946
946
  "package": "core",
947
- lastUpdated: 1681372607000,
947
+ lastUpdated: 1690717950000,
948
948
  docs: "https://vueuse.org/core/useClipboard/",
949
949
  category: "Browser",
950
950
  description: "reactive [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API)"
@@ -991,7 +991,7 @@ var functions$1 = [
991
991
  {
992
992
  name: "useCounter",
993
993
  "package": "shared",
994
- lastUpdated: 1666677599000,
994
+ lastUpdated: 1690717970000,
995
995
  docs: "https://vueuse.org/shared/useCounter/",
996
996
  category: "Utilities",
997
997
  description: "basic counter with utility functions"
@@ -1037,7 +1037,7 @@ var functions$1 = [
1037
1037
  {
1038
1038
  name: "useDateFormat",
1039
1039
  "package": "shared",
1040
- lastUpdated: 1682003983000,
1040
+ lastUpdated: 1690730131000,
1041
1041
  docs: "https://vueuse.org/shared/useDateFormat/",
1042
1042
  category: "Time",
1043
1043
  description: "get the formatted date according to the string of tokens passed in"
@@ -1221,7 +1221,7 @@ var functions$1 = [
1221
1221
  {
1222
1222
  name: "useEventListener",
1223
1223
  "package": "core",
1224
- lastUpdated: 1681402164000,
1224
+ lastUpdated: 1690717950000,
1225
1225
  docs: "https://vueuse.org/core/useEventListener/",
1226
1226
  category: "Browser",
1227
1227
  description: "use EventListener with ease"
@@ -1254,7 +1254,7 @@ var functions$1 = [
1254
1254
  {
1255
1255
  name: "useFetch",
1256
1256
  "package": "core",
1257
- lastUpdated: 1682983932000,
1257
+ lastUpdated: 1690717923000,
1258
1258
  docs: "https://vueuse.org/core/useFetch/",
1259
1259
  category: "Network",
1260
1260
  description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1295,7 +1295,7 @@ var functions$1 = [
1295
1295
  {
1296
1296
  name: "useFocus",
1297
1297
  "package": "core",
1298
- lastUpdated: 1674992405000,
1298
+ lastUpdated: 1690717931000,
1299
1299
  docs: "https://vueuse.org/core/useFocus/",
1300
1300
  category: "Sensors",
1301
1301
  description: "reactive utility to track or set the focus state of a DOM element"
@@ -1355,7 +1355,7 @@ var functions$1 = [
1355
1355
  {
1356
1356
  name: "useGeolocation",
1357
1357
  "package": "core",
1358
- lastUpdated: 1679560979000,
1358
+ lastUpdated: 1690225787000,
1359
1359
  component: true,
1360
1360
  docs: "https://vueuse.org/core/useGeolocation/",
1361
1361
  category: "Sensors",
@@ -1398,7 +1398,7 @@ var functions$1 = [
1398
1398
  {
1399
1399
  name: "useInfiniteScroll",
1400
1400
  "package": "core",
1401
- lastUpdated: 1687945394000,
1401
+ lastUpdated: 1690718842000,
1402
1402
  directive: true,
1403
1403
  docs: "https://vueuse.org/core/useInfiniteScroll/",
1404
1404
  category: "Sensors",
@@ -1492,7 +1492,7 @@ var functions$1 = [
1492
1492
  {
1493
1493
  name: "useMagicKeys",
1494
1494
  "package": "core",
1495
- lastUpdated: 1681373709000,
1495
+ lastUpdated: 1690225787000,
1496
1496
  docs: "https://vueuse.org/core/useMagicKeys/",
1497
1497
  category: "Sensors",
1498
1498
  description: "reactive keys pressed state"
@@ -1500,7 +1500,7 @@ var functions$1 = [
1500
1500
  {
1501
1501
  name: "useManualRefHistory",
1502
1502
  "package": "core",
1503
- lastUpdated: 1682524872000,
1503
+ lastUpdated: 1690225787000,
1504
1504
  docs: "https://vueuse.org/core/useManualRefHistory/",
1505
1505
  category: "State",
1506
1506
  description: "manually track the change history of a ref when the using calls `commit()`",
@@ -1535,7 +1535,7 @@ var functions$1 = [
1535
1535
  {
1536
1536
  name: "useMediaQuery",
1537
1537
  "package": "core",
1538
- lastUpdated: 1681372607000,
1538
+ lastUpdated: 1690722655000,
1539
1539
  docs: "https://vueuse.org/core/useMediaQuery/",
1540
1540
  category: "Browser",
1541
1541
  description: "reactive [Media Query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries)"
@@ -1596,7 +1596,7 @@ var functions$1 = [
1596
1596
  {
1597
1597
  name: "useMouse",
1598
1598
  "package": "core",
1599
- lastUpdated: 1682154126000,
1599
+ lastUpdated: 1690717950000,
1600
1600
  component: true,
1601
1601
  docs: "https://vueuse.org/core/useMouse/",
1602
1602
  category: "Sensors",
@@ -1666,7 +1666,7 @@ var functions$1 = [
1666
1666
  {
1667
1667
  name: "useObjectUrl",
1668
1668
  "package": "core",
1669
- lastUpdated: 1681373709000,
1669
+ lastUpdated: 1690722569000,
1670
1670
  component: true,
1671
1671
  docs: "https://vueuse.org/core/useObjectUrl/",
1672
1672
  category: "Browser",
@@ -1683,7 +1683,7 @@ var functions$1 = [
1683
1683
  {
1684
1684
  name: "useOffsetPagination",
1685
1685
  "package": "core",
1686
- lastUpdated: 1681374342000,
1686
+ lastUpdated: 1690225787000,
1687
1687
  component: true,
1688
1688
  docs: "https://vueuse.org/core/useOffsetPagination/",
1689
1689
  category: "Utilities",
@@ -1745,7 +1745,7 @@ var functions$1 = [
1745
1745
  {
1746
1746
  name: "usePointer",
1747
1747
  "package": "core",
1748
- lastUpdated: 1681425913000,
1748
+ lastUpdated: 1690723812000,
1749
1749
  component: true,
1750
1750
  docs: "https://vueuse.org/core/usePointer/",
1751
1751
  category: "Sensors",
@@ -1894,7 +1894,7 @@ var functions$1 = [
1894
1894
  {
1895
1895
  name: "useRouteHash",
1896
1896
  "package": "router",
1897
- lastUpdated: 1683625976000,
1897
+ lastUpdated: 1690718020000,
1898
1898
  docs: "https://vueuse.org/router/useRouteHash/",
1899
1899
  category: "@Router",
1900
1900
  description: "shorthand for a reactive `route.hash`"
@@ -1902,7 +1902,7 @@ var functions$1 = [
1902
1902
  {
1903
1903
  name: "useRouteParams",
1904
1904
  "package": "router",
1905
- lastUpdated: 1683625976000,
1905
+ lastUpdated: 1690718020000,
1906
1906
  docs: "https://vueuse.org/router/useRouteParams/",
1907
1907
  category: "@Router",
1908
1908
  description: "shorthand for a reactive `route.params`"
@@ -1910,7 +1910,7 @@ var functions$1 = [
1910
1910
  {
1911
1911
  name: "useRouteQuery",
1912
1912
  "package": "router",
1913
- lastUpdated: 1683625976000,
1913
+ lastUpdated: 1690718020000,
1914
1914
  docs: "https://vueuse.org/router/useRouteQuery/",
1915
1915
  category: "@Router",
1916
1916
  description: "shorthand for a reactive `route.query`"
@@ -1918,7 +1918,7 @@ var functions$1 = [
1918
1918
  {
1919
1919
  name: "useRTDB",
1920
1920
  "package": "firebase",
1921
- lastUpdated: 1658645224000,
1921
+ lastUpdated: 1690729883000,
1922
1922
  docs: "https://vueuse.org/firebase/useRTDB/",
1923
1923
  category: "@Firebase",
1924
1924
  description: "reactive [Firebase Realtime Database](https://firebase.google.com/docs/database) binding",
@@ -1959,7 +1959,7 @@ var functions$1 = [
1959
1959
  {
1960
1960
  name: "useScroll",
1961
1961
  "package": "core",
1962
- lastUpdated: 1684138239000,
1962
+ lastUpdated: 1690723466000,
1963
1963
  directive: true,
1964
1964
  docs: "https://vueuse.org/core/useScroll/",
1965
1965
  category: "Sensors",
@@ -2006,7 +2006,7 @@ var functions$1 = [
2006
2006
  {
2007
2007
  name: "useSorted",
2008
2008
  "package": "core",
2009
- lastUpdated: 1681373709000,
2009
+ lastUpdated: 1690723207000,
2010
2010
  docs: "https://vueuse.org/core/useSorted/",
2011
2011
  category: "Array",
2012
2012
  description: "reactive sort array"
@@ -2029,7 +2029,7 @@ var functions$1 = [
2029
2029
  {
2030
2030
  name: "useSpeechSynthesis",
2031
2031
  "package": "core",
2032
- lastUpdated: 1681373709000,
2032
+ lastUpdated: 1690724174000,
2033
2033
  docs: "https://vueuse.org/core/useSpeechSynthesis/",
2034
2034
  category: "Sensors",
2035
2035
  description: "reactive [SpeechSynthesis](https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis)"
@@ -2078,7 +2078,7 @@ var functions$1 = [
2078
2078
  {
2079
2079
  name: "useStyleTag",
2080
2080
  "package": "core",
2081
- lastUpdated: 1669416726000,
2081
+ lastUpdated: 1688031328000,
2082
2082
  docs: "https://vueuse.org/core/useStyleTag/",
2083
2083
  category: "Browser",
2084
2084
  description: "inject reactive `style` element in head"
@@ -2118,7 +2118,7 @@ var functions$1 = [
2118
2118
  {
2119
2119
  name: "useSwipe",
2120
2120
  "package": "core",
2121
- lastUpdated: 1682154047000,
2121
+ lastUpdated: 1690717950000,
2122
2122
  docs: "https://vueuse.org/core/useSwipe/",
2123
2123
  category: "Sensors",
2124
2124
  description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2150,7 +2150,7 @@ var functions$1 = [
2150
2150
  {
2151
2151
  name: "useTextSelection",
2152
2152
  "package": "core",
2153
- lastUpdated: 1646469737000,
2153
+ lastUpdated: 1690226818000,
2154
2154
  docs: "https://vueuse.org/core/useTextSelection/",
2155
2155
  category: "Sensors",
2156
2156
  description: "reactively track user text selection based on [`Window.getSelection`](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)"
@@ -2183,7 +2183,7 @@ var functions$1 = [
2183
2183
  {
2184
2184
  name: "useTimeAgo",
2185
2185
  "package": "core",
2186
- lastUpdated: 1683363330000,
2186
+ lastUpdated: 1690225787000,
2187
2187
  component: true,
2188
2188
  docs: "https://vueuse.org/core/useTimeAgo/",
2189
2189
  category: "Time",
@@ -2396,7 +2396,7 @@ var functions$1 = [
2396
2396
  {
2397
2397
  name: "useWindowSize",
2398
2398
  "package": "core",
2399
- lastUpdated: 1681306839000,
2399
+ lastUpdated: 1690225787000,
2400
2400
  component: true,
2401
2401
  docs: "https://vueuse.org/core/useWindowSize/",
2402
2402
  category: "Elements",
@@ -2421,13 +2421,13 @@ var functions$1 = [
2421
2421
  {
2422
2422
  name: "utils",
2423
2423
  "package": "shared",
2424
- lastUpdated: 1686084730000,
2424
+ lastUpdated: 1690715050000,
2425
2425
  internal: true
2426
2426
  },
2427
2427
  {
2428
2428
  name: "watchArray",
2429
2429
  "package": "shared",
2430
- lastUpdated: 1681373709000,
2430
+ lastUpdated: 1690225787000,
2431
2431
  docs: "https://vueuse.org/shared/watchArray/",
2432
2432
  category: "Watch",
2433
2433
  description: "watch for an array with additions and removals"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/metadata",
3
- "version": "10.2.1",
3
+ "version": "10.3.0",
4
4
  "description": "Metadata for VueUse functions",
5
5
  "author": "Anthony Fu <https://github.com/antfu>",
6
6
  "license": "MIT",
@@ -21,7 +21,6 @@
21
21
  "sideEffects": false,
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./index.d.ts",
25
24
  "require": "./index.cjs",
26
25
  "import": "./index.mjs"
27
26
  },
@@ -29,7 +28,7 @@
29
28
  },
30
29
  "main": "./index.cjs",
31
30
  "module": "./index.mjs",
32
- "types": "./index.d.ts",
31
+ "types": "./index.d.cts",
33
32
  "files": [
34
33
  "index.*"
35
34
  ],