@vueuse/metadata 9.13.0 → 10.0.0-beta.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 (4) hide show
  1. package/index.cjs +77 -27
  2. package/index.json +77 -27
  3. package/index.mjs +77 -27
  4. package/package.json +1 -1
package/index.cjs CHANGED
@@ -163,7 +163,7 @@ var functions$1 = [
163
163
  {
164
164
  name: "computedAsync",
165
165
  "package": "core",
166
- lastUpdated: 1672940168000,
166
+ lastUpdated: 1677934598000,
167
167
  docs: "https://vueuse.org/core/computedAsync/",
168
168
  category: "Reactivity",
169
169
  description: "computed for async functions",
@@ -207,7 +207,7 @@ var functions$1 = [
207
207
  {
208
208
  name: "createEventHook",
209
209
  "package": "shared",
210
- lastUpdated: 1671205540000,
210
+ lastUpdated: 1677939657000,
211
211
  docs: "https://vueuse.org/shared/createEventHook/",
212
212
  category: "Utilities",
213
213
  description: "utility for creating event hooks"
@@ -227,7 +227,7 @@ var functions$1 = [
227
227
  {
228
228
  name: "createGlobalState",
229
229
  "package": "shared",
230
- lastUpdated: 1625749207000,
230
+ lastUpdated: 1678811060000,
231
231
  docs: "https://vueuse.org/shared/createGlobalState/",
232
232
  category: "State",
233
233
  description: "keep states in the global scope to be reusable across Vue instances",
@@ -272,7 +272,7 @@ var functions$1 = [
272
272
  {
273
273
  name: "createSharedComposable",
274
274
  "package": "shared",
275
- lastUpdated: 1639442454000,
275
+ lastUpdated: 1678811060000,
276
276
  docs: "https://vueuse.org/shared/createSharedComposable/",
277
277
  category: "State",
278
278
  description: "make a composable function usable with multiple Vue instances",
@@ -430,7 +430,7 @@ var functions$1 = [
430
430
  {
431
431
  name: "reactifyObject",
432
432
  "package": "shared",
433
- lastUpdated: 1667952962000,
433
+ lastUpdated: 1678811060000,
434
434
  docs: "https://vueuse.org/shared/reactifyObject/",
435
435
  category: "Reactivity",
436
436
  description: "apply `reactify` to an object"
@@ -536,7 +536,7 @@ var functions$1 = [
536
536
  {
537
537
  name: "resolveUnref",
538
538
  "package": "shared",
539
- lastUpdated: 1667054063000,
539
+ lastUpdated: 1678811060000,
540
540
  docs: "https://vueuse.org/shared/resolveUnref/",
541
541
  category: "Reactivity",
542
542
  description: "get the value of value/ref/getter",
@@ -679,6 +679,14 @@ var functions$1 = [
679
679
  category: "Elements",
680
680
  description: "reactive `document.activeElement`"
681
681
  },
682
+ {
683
+ name: "useArrayDifference",
684
+ "package": "shared",
685
+ lastUpdated: 1677935013000,
686
+ docs: "https://vueuse.org/shared/useArrayDifference/",
687
+ category: "Array",
688
+ description: "reactive get array difference of two array"
689
+ },
682
690
  {
683
691
  name: "useArrayEvery",
684
692
  "package": "shared",
@@ -719,6 +727,14 @@ var functions$1 = [
719
727
  category: "Array",
720
728
  description: "reactive `Array.findLast`"
721
729
  },
730
+ {
731
+ name: "useArrayIncludes",
732
+ "package": "shared",
733
+ lastUpdated: 1677935050000,
734
+ docs: "https://vueuse.org/shared/useArrayIncludes/",
735
+ category: "Array",
736
+ description: "reactive `Array.includes`"
737
+ },
722
738
  {
723
739
  name: "useArrayJoin",
724
740
  "package": "shared",
@@ -778,7 +794,7 @@ var functions$1 = [
778
794
  {
779
795
  name: "useAsyncValidator",
780
796
  "package": "integrations",
781
- lastUpdated: 1676570052000,
797
+ lastUpdated: 1676801066000,
782
798
  component: true,
783
799
  docs: "https://vueuse.org/integrations/useAsyncValidator/",
784
800
  category: "@Integrations",
@@ -805,7 +821,7 @@ var functions$1 = [
805
821
  {
806
822
  name: "useAxios",
807
823
  "package": "integrations",
808
- lastUpdated: 1676590260000,
824
+ lastUpdated: 1678813845000,
809
825
  docs: "https://vueuse.org/integrations/useAxios/",
810
826
  category: "@Integrations",
811
827
  description: "wrapper for [`axios`](https://github.com/axios/axios)",
@@ -855,7 +871,7 @@ var functions$1 = [
855
871
  {
856
872
  name: "useBrowserLocation",
857
873
  "package": "core",
858
- lastUpdated: 1639442454000,
874
+ lastUpdated: 1677934301000,
859
875
  component: true,
860
876
  docs: "https://vueuse.org/core/useBrowserLocation/",
861
877
  category: "Browser",
@@ -913,7 +929,7 @@ var functions$1 = [
913
929
  {
914
930
  name: "useColorMode",
915
931
  "package": "core",
916
- lastUpdated: 1674955241000,
932
+ lastUpdated: 1677249459000,
917
933
  component: true,
918
934
  docs: "https://vueuse.org/core/useColorMode/",
919
935
  category: "Browser",
@@ -935,7 +951,7 @@ var functions$1 = [
935
951
  {
936
952
  name: "useCookies",
937
953
  "package": "integrations",
938
- lastUpdated: 1642756753000,
954
+ lastUpdated: 1678811272000,
939
955
  docs: "https://vueuse.org/integrations/useCookies/",
940
956
  category: "@Integrations",
941
957
  description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)",
@@ -952,7 +968,7 @@ var functions$1 = [
952
968
  {
953
969
  name: "useCssVar",
954
970
  "package": "core",
955
- lastUpdated: 1657259100000,
971
+ lastUpdated: 1677757262000,
956
972
  docs: "https://vueuse.org/core/useCssVar/",
957
973
  category: "Browser",
958
974
  description: "manipulate CSS variables"
@@ -968,7 +984,7 @@ var functions$1 = [
968
984
  {
969
985
  name: "useCycleList",
970
986
  "package": "core",
971
- lastUpdated: 1659556886000,
987
+ lastUpdated: 1678812178000,
972
988
  docs: "https://vueuse.org/core/useCycleList/",
973
989
  category: "Utilities",
974
990
  description: "cycle through a list of items"
@@ -1123,7 +1139,7 @@ var functions$1 = [
1123
1139
  {
1124
1140
  name: "useElementHover",
1125
1141
  "package": "core",
1126
- lastUpdated: 1676712131000,
1142
+ lastUpdated: 1676891150000,
1127
1143
  directive: true,
1128
1144
  docs: "https://vueuse.org/core/useElementHover/",
1129
1145
  category: "Sensors",
@@ -1166,7 +1182,7 @@ var functions$1 = [
1166
1182
  {
1167
1183
  name: "useEventBus",
1168
1184
  "package": "core",
1169
- lastUpdated: 1676389922000,
1185
+ lastUpdated: 1677934962000,
1170
1186
  docs: "https://vueuse.org/core/useEventBus/",
1171
1187
  category: "Utilities",
1172
1188
  description: "a basic event bus"
@@ -1207,7 +1223,7 @@ var functions$1 = [
1207
1223
  {
1208
1224
  name: "useFetch",
1209
1225
  "package": "core",
1210
- lastUpdated: 1676093591000,
1226
+ lastUpdated: 1678811463000,
1211
1227
  docs: "https://vueuse.org/core/useFetch/",
1212
1228
  category: "Network",
1213
1229
  description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1282,7 +1298,7 @@ var functions$1 = [
1282
1298
  {
1283
1299
  name: "useFullscreen",
1284
1300
  "package": "core",
1285
- lastUpdated: 1657430593000,
1301
+ lastUpdated: 1678813589000,
1286
1302
  component: true,
1287
1303
  docs: "https://vueuse.org/core/useFullscreen/",
1288
1304
  category: "Browser",
@@ -1324,7 +1340,7 @@ var functions$1 = [
1324
1340
  {
1325
1341
  name: "useIDBKeyval",
1326
1342
  "package": "integrations",
1327
- lastUpdated: 1668302379000,
1343
+ lastUpdated: 1677934368000,
1328
1344
  docs: "https://vueuse.org/integrations/useIDBKeyval/",
1329
1345
  category: "@Integrations",
1330
1346
  description: "wrapper for [`idb-keyval`](https://www.npmjs.com/package/idb-keyval)",
@@ -1453,7 +1469,7 @@ var functions$1 = [
1453
1469
  {
1454
1470
  name: "useManualRefHistory",
1455
1471
  "package": "core",
1456
- lastUpdated: 1662386652000,
1472
+ lastUpdated: 1677182138000,
1457
1473
  docs: "https://vueuse.org/core/useManualRefHistory/",
1458
1474
  category: "State",
1459
1475
  description: "manually track the change history of a ref when the using calls `commit()`",
@@ -1668,6 +1684,14 @@ var functions$1 = [
1668
1684
  category: "Sensors",
1669
1685
  description: "create parallax effect easily"
1670
1686
  },
1687
+ {
1688
+ name: "usePerformanceObserver",
1689
+ "package": "core",
1690
+ lastUpdated: 1677935193000,
1691
+ docs: "https://vueuse.org/core/usePerformanceObserver/",
1692
+ category: "Browser",
1693
+ description: "observe performance metrics"
1694
+ },
1671
1695
  {
1672
1696
  name: "usePermission",
1673
1697
  "package": "core",
@@ -1700,7 +1724,7 @@ var functions$1 = [
1700
1724
  {
1701
1725
  name: "usePointerSwipe",
1702
1726
  "package": "core",
1703
- lastUpdated: 1667953110000,
1727
+ lastUpdated: 1678813240000,
1704
1728
  docs: "https://vueuse.org/core/usePointerSwipe/",
1705
1729
  category: "Sensors",
1706
1730
  description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
@@ -1930,6 +1954,16 @@ var functions$1 = [
1930
1954
  category: "Browser",
1931
1955
  description: "reactive [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"
1932
1956
  },
1957
+ {
1958
+ name: "useSortable",
1959
+ "package": "integrations",
1960
+ lastUpdated: 1678811414000,
1961
+ component: true,
1962
+ docs: "https://vueuse.org/integrations/useSortable/",
1963
+ category: "@Integrations",
1964
+ description: "wrapper for [`sortable`](https://github.com/SortableJS/Sortable)",
1965
+ importPath: "integrations/useSortable"
1966
+ },
1933
1967
  {
1934
1968
  name: "useSorted",
1935
1969
  "package": "core",
@@ -2045,7 +2079,7 @@ var functions$1 = [
2045
2079
  {
2046
2080
  name: "useSwipe",
2047
2081
  "package": "core",
2048
- lastUpdated: 1657721393000,
2082
+ lastUpdated: 1678813240000,
2049
2083
  docs: "https://vueuse.org/core/useSwipe/",
2050
2084
  category: "Sensors",
2051
2085
  description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2061,7 +2095,7 @@ var functions$1 = [
2061
2095
  {
2062
2096
  name: "useTextareaAutosize",
2063
2097
  "package": "core",
2064
- lastUpdated: 1671205095000,
2098
+ lastUpdated: 1678813570000,
2065
2099
  docs: "https://vueuse.org/core/useTextareaAutosize/",
2066
2100
  category: "Browser",
2067
2101
  description: "automatically update the height of a textarea depending on the content"
@@ -2127,7 +2161,7 @@ var functions$1 = [
2127
2161
  {
2128
2162
  name: "useTimeoutFn",
2129
2163
  "package": "shared",
2130
- lastUpdated: 1674954620000,
2164
+ lastUpdated: 1678811060000,
2131
2165
  docs: "https://vueuse.org/shared/useTimeoutFn/",
2132
2166
  category: "Animation",
2133
2167
  description: "wrapper for `setTimeout` with controls"
@@ -2193,7 +2227,7 @@ var functions$1 = [
2193
2227
  {
2194
2228
  name: "useTransition",
2195
2229
  "package": "core",
2196
- lastUpdated: 1674955241000,
2230
+ lastUpdated: 1678812989000,
2197
2231
  docs: "https://vueuse.org/core/useTransition/",
2198
2232
  category: "Animation",
2199
2233
  description: "transition between values"
@@ -2217,7 +2251,7 @@ var functions$1 = [
2217
2251
  {
2218
2252
  name: "useUserMedia",
2219
2253
  "package": "core",
2220
- lastUpdated: 1657430593000,
2254
+ lastUpdated: 1677938854000,
2221
2255
  docs: "https://vueuse.org/core/useUserMedia/",
2222
2256
  category: "Sensors",
2223
2257
  description: "reactive [`mediaDevices.getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) streaming",
@@ -2277,7 +2311,7 @@ var functions$1 = [
2277
2311
  {
2278
2312
  name: "useWebNotification",
2279
2313
  "package": "core",
2280
- lastUpdated: 1658083596000,
2314
+ lastUpdated: 1677939548000,
2281
2315
  docs: "https://vueuse.org/core/useWebNotification/",
2282
2316
  category: "Browser",
2283
2317
  description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
@@ -2357,7 +2391,7 @@ var functions$1 = [
2357
2391
  {
2358
2392
  name: "utils",
2359
2393
  "package": "shared",
2360
- lastUpdated: 1672752994000,
2394
+ lastUpdated: 1677934301000,
2361
2395
  internal: true
2362
2396
  },
2363
2397
  {
@@ -2387,6 +2421,14 @@ var functions$1 = [
2387
2421
  "debouncedWatch"
2388
2422
  ]
2389
2423
  },
2424
+ {
2425
+ name: "watchDeep",
2426
+ "package": "shared",
2427
+ lastUpdated: 1677934625000,
2428
+ docs: "https://vueuse.org/shared/watchDeep/",
2429
+ category: "Watch",
2430
+ description: "shorthand for watching value with {deep: true}"
2431
+ },
2390
2432
  {
2391
2433
  name: "watchIgnorable",
2392
2434
  "package": "shared",
@@ -2398,6 +2440,14 @@ var functions$1 = [
2398
2440
  "ignorableWatch"
2399
2441
  ]
2400
2442
  },
2443
+ {
2444
+ name: "watchImmediate",
2445
+ "package": "shared",
2446
+ lastUpdated: 1678354793000,
2447
+ docs: "https://vueuse.org/shared/watchImmediate/",
2448
+ category: "Watch",
2449
+ description: "shorthand for watching value with {immediate: true}"
2450
+ },
2401
2451
  {
2402
2452
  name: "watchOnce",
2403
2453
  "package": "shared",
package/index.json CHANGED
@@ -162,7 +162,7 @@
162
162
  {
163
163
  "name": "computedAsync",
164
164
  "package": "core",
165
- "lastUpdated": 1672940168000,
165
+ "lastUpdated": 1677934598000,
166
166
  "docs": "https://vueuse.org/core/computedAsync/",
167
167
  "category": "Reactivity",
168
168
  "description": "computed for async functions",
@@ -206,7 +206,7 @@
206
206
  {
207
207
  "name": "createEventHook",
208
208
  "package": "shared",
209
- "lastUpdated": 1671205540000,
209
+ "lastUpdated": 1677939657000,
210
210
  "docs": "https://vueuse.org/shared/createEventHook/",
211
211
  "category": "Utilities",
212
212
  "description": "utility for creating event hooks"
@@ -226,7 +226,7 @@
226
226
  {
227
227
  "name": "createGlobalState",
228
228
  "package": "shared",
229
- "lastUpdated": 1625749207000,
229
+ "lastUpdated": 1678811060000,
230
230
  "docs": "https://vueuse.org/shared/createGlobalState/",
231
231
  "category": "State",
232
232
  "description": "keep states in the global scope to be reusable across Vue instances",
@@ -271,7 +271,7 @@
271
271
  {
272
272
  "name": "createSharedComposable",
273
273
  "package": "shared",
274
- "lastUpdated": 1639442454000,
274
+ "lastUpdated": 1678811060000,
275
275
  "docs": "https://vueuse.org/shared/createSharedComposable/",
276
276
  "category": "State",
277
277
  "description": "make a composable function usable with multiple Vue instances",
@@ -429,7 +429,7 @@
429
429
  {
430
430
  "name": "reactifyObject",
431
431
  "package": "shared",
432
- "lastUpdated": 1667952962000,
432
+ "lastUpdated": 1678811060000,
433
433
  "docs": "https://vueuse.org/shared/reactifyObject/",
434
434
  "category": "Reactivity",
435
435
  "description": "apply `reactify` to an object"
@@ -535,7 +535,7 @@
535
535
  {
536
536
  "name": "resolveUnref",
537
537
  "package": "shared",
538
- "lastUpdated": 1667054063000,
538
+ "lastUpdated": 1678811060000,
539
539
  "docs": "https://vueuse.org/shared/resolveUnref/",
540
540
  "category": "Reactivity",
541
541
  "description": "get the value of value/ref/getter",
@@ -678,6 +678,14 @@
678
678
  "category": "Elements",
679
679
  "description": "reactive `document.activeElement`"
680
680
  },
681
+ {
682
+ "name": "useArrayDifference",
683
+ "package": "shared",
684
+ "lastUpdated": 1677935013000,
685
+ "docs": "https://vueuse.org/shared/useArrayDifference/",
686
+ "category": "Array",
687
+ "description": "reactive get array difference of two array"
688
+ },
681
689
  {
682
690
  "name": "useArrayEvery",
683
691
  "package": "shared",
@@ -718,6 +726,14 @@
718
726
  "category": "Array",
719
727
  "description": "reactive `Array.findLast`"
720
728
  },
729
+ {
730
+ "name": "useArrayIncludes",
731
+ "package": "shared",
732
+ "lastUpdated": 1677935050000,
733
+ "docs": "https://vueuse.org/shared/useArrayIncludes/",
734
+ "category": "Array",
735
+ "description": "reactive `Array.includes`"
736
+ },
721
737
  {
722
738
  "name": "useArrayJoin",
723
739
  "package": "shared",
@@ -777,7 +793,7 @@
777
793
  {
778
794
  "name": "useAsyncValidator",
779
795
  "package": "integrations",
780
- "lastUpdated": 1676570052000,
796
+ "lastUpdated": 1676801066000,
781
797
  "component": true,
782
798
  "docs": "https://vueuse.org/integrations/useAsyncValidator/",
783
799
  "category": "@Integrations",
@@ -804,7 +820,7 @@
804
820
  {
805
821
  "name": "useAxios",
806
822
  "package": "integrations",
807
- "lastUpdated": 1676590260000,
823
+ "lastUpdated": 1678813845000,
808
824
  "docs": "https://vueuse.org/integrations/useAxios/",
809
825
  "category": "@Integrations",
810
826
  "description": "wrapper for [`axios`](https://github.com/axios/axios)",
@@ -854,7 +870,7 @@
854
870
  {
855
871
  "name": "useBrowserLocation",
856
872
  "package": "core",
857
- "lastUpdated": 1639442454000,
873
+ "lastUpdated": 1677934301000,
858
874
  "component": true,
859
875
  "docs": "https://vueuse.org/core/useBrowserLocation/",
860
876
  "category": "Browser",
@@ -912,7 +928,7 @@
912
928
  {
913
929
  "name": "useColorMode",
914
930
  "package": "core",
915
- "lastUpdated": 1674955241000,
931
+ "lastUpdated": 1677249459000,
916
932
  "component": true,
917
933
  "docs": "https://vueuse.org/core/useColorMode/",
918
934
  "category": "Browser",
@@ -934,7 +950,7 @@
934
950
  {
935
951
  "name": "useCookies",
936
952
  "package": "integrations",
937
- "lastUpdated": 1642756753000,
953
+ "lastUpdated": 1678811272000,
938
954
  "docs": "https://vueuse.org/integrations/useCookies/",
939
955
  "category": "@Integrations",
940
956
  "description": "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)",
@@ -951,7 +967,7 @@
951
967
  {
952
968
  "name": "useCssVar",
953
969
  "package": "core",
954
- "lastUpdated": 1657259100000,
970
+ "lastUpdated": 1677757262000,
955
971
  "docs": "https://vueuse.org/core/useCssVar/",
956
972
  "category": "Browser",
957
973
  "description": "manipulate CSS variables"
@@ -967,7 +983,7 @@
967
983
  {
968
984
  "name": "useCycleList",
969
985
  "package": "core",
970
- "lastUpdated": 1659556886000,
986
+ "lastUpdated": 1678812178000,
971
987
  "docs": "https://vueuse.org/core/useCycleList/",
972
988
  "category": "Utilities",
973
989
  "description": "cycle through a list of items"
@@ -1122,7 +1138,7 @@
1122
1138
  {
1123
1139
  "name": "useElementHover",
1124
1140
  "package": "core",
1125
- "lastUpdated": 1676712131000,
1141
+ "lastUpdated": 1676891150000,
1126
1142
  "directive": true,
1127
1143
  "docs": "https://vueuse.org/core/useElementHover/",
1128
1144
  "category": "Sensors",
@@ -1165,7 +1181,7 @@
1165
1181
  {
1166
1182
  "name": "useEventBus",
1167
1183
  "package": "core",
1168
- "lastUpdated": 1676389922000,
1184
+ "lastUpdated": 1677934962000,
1169
1185
  "docs": "https://vueuse.org/core/useEventBus/",
1170
1186
  "category": "Utilities",
1171
1187
  "description": "a basic event bus"
@@ -1206,7 +1222,7 @@
1206
1222
  {
1207
1223
  "name": "useFetch",
1208
1224
  "package": "core",
1209
- "lastUpdated": 1676093591000,
1225
+ "lastUpdated": 1678811463000,
1210
1226
  "docs": "https://vueuse.org/core/useFetch/",
1211
1227
  "category": "Network",
1212
1228
  "description": "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1281,7 +1297,7 @@
1281
1297
  {
1282
1298
  "name": "useFullscreen",
1283
1299
  "package": "core",
1284
- "lastUpdated": 1657430593000,
1300
+ "lastUpdated": 1678813589000,
1285
1301
  "component": true,
1286
1302
  "docs": "https://vueuse.org/core/useFullscreen/",
1287
1303
  "category": "Browser",
@@ -1323,7 +1339,7 @@
1323
1339
  {
1324
1340
  "name": "useIDBKeyval",
1325
1341
  "package": "integrations",
1326
- "lastUpdated": 1668302379000,
1342
+ "lastUpdated": 1677934368000,
1327
1343
  "docs": "https://vueuse.org/integrations/useIDBKeyval/",
1328
1344
  "category": "@Integrations",
1329
1345
  "description": "wrapper for [`idb-keyval`](https://www.npmjs.com/package/idb-keyval)",
@@ -1452,7 +1468,7 @@
1452
1468
  {
1453
1469
  "name": "useManualRefHistory",
1454
1470
  "package": "core",
1455
- "lastUpdated": 1662386652000,
1471
+ "lastUpdated": 1677182138000,
1456
1472
  "docs": "https://vueuse.org/core/useManualRefHistory/",
1457
1473
  "category": "State",
1458
1474
  "description": "manually track the change history of a ref when the using calls `commit()`",
@@ -1667,6 +1683,14 @@
1667
1683
  "category": "Sensors",
1668
1684
  "description": "create parallax effect easily"
1669
1685
  },
1686
+ {
1687
+ "name": "usePerformanceObserver",
1688
+ "package": "core",
1689
+ "lastUpdated": 1677935193000,
1690
+ "docs": "https://vueuse.org/core/usePerformanceObserver/",
1691
+ "category": "Browser",
1692
+ "description": "observe performance metrics"
1693
+ },
1670
1694
  {
1671
1695
  "name": "usePermission",
1672
1696
  "package": "core",
@@ -1699,7 +1723,7 @@
1699
1723
  {
1700
1724
  "name": "usePointerSwipe",
1701
1725
  "package": "core",
1702
- "lastUpdated": 1667953110000,
1726
+ "lastUpdated": 1678813240000,
1703
1727
  "docs": "https://vueuse.org/core/usePointerSwipe/",
1704
1728
  "category": "Sensors",
1705
1729
  "description": "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
@@ -1929,6 +1953,16 @@
1929
1953
  "category": "Browser",
1930
1954
  "description": "reactive [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"
1931
1955
  },
1956
+ {
1957
+ "name": "useSortable",
1958
+ "package": "integrations",
1959
+ "lastUpdated": 1678811414000,
1960
+ "component": true,
1961
+ "docs": "https://vueuse.org/integrations/useSortable/",
1962
+ "category": "@Integrations",
1963
+ "description": "wrapper for [`sortable`](https://github.com/SortableJS/Sortable)",
1964
+ "importPath": "integrations/useSortable"
1965
+ },
1932
1966
  {
1933
1967
  "name": "useSorted",
1934
1968
  "package": "core",
@@ -2044,7 +2078,7 @@
2044
2078
  {
2045
2079
  "name": "useSwipe",
2046
2080
  "package": "core",
2047
- "lastUpdated": 1657721393000,
2081
+ "lastUpdated": 1678813240000,
2048
2082
  "docs": "https://vueuse.org/core/useSwipe/",
2049
2083
  "category": "Sensors",
2050
2084
  "description": "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2060,7 +2094,7 @@
2060
2094
  {
2061
2095
  "name": "useTextareaAutosize",
2062
2096
  "package": "core",
2063
- "lastUpdated": 1671205095000,
2097
+ "lastUpdated": 1678813570000,
2064
2098
  "docs": "https://vueuse.org/core/useTextareaAutosize/",
2065
2099
  "category": "Browser",
2066
2100
  "description": "automatically update the height of a textarea depending on the content"
@@ -2126,7 +2160,7 @@
2126
2160
  {
2127
2161
  "name": "useTimeoutFn",
2128
2162
  "package": "shared",
2129
- "lastUpdated": 1674954620000,
2163
+ "lastUpdated": 1678811060000,
2130
2164
  "docs": "https://vueuse.org/shared/useTimeoutFn/",
2131
2165
  "category": "Animation",
2132
2166
  "description": "wrapper for `setTimeout` with controls"
@@ -2192,7 +2226,7 @@
2192
2226
  {
2193
2227
  "name": "useTransition",
2194
2228
  "package": "core",
2195
- "lastUpdated": 1674955241000,
2229
+ "lastUpdated": 1678812989000,
2196
2230
  "docs": "https://vueuse.org/core/useTransition/",
2197
2231
  "category": "Animation",
2198
2232
  "description": "transition between values"
@@ -2216,7 +2250,7 @@
2216
2250
  {
2217
2251
  "name": "useUserMedia",
2218
2252
  "package": "core",
2219
- "lastUpdated": 1657430593000,
2253
+ "lastUpdated": 1677938854000,
2220
2254
  "docs": "https://vueuse.org/core/useUserMedia/",
2221
2255
  "category": "Sensors",
2222
2256
  "description": "reactive [`mediaDevices.getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) streaming",
@@ -2276,7 +2310,7 @@
2276
2310
  {
2277
2311
  "name": "useWebNotification",
2278
2312
  "package": "core",
2279
- "lastUpdated": 1658083596000,
2313
+ "lastUpdated": 1677939548000,
2280
2314
  "docs": "https://vueuse.org/core/useWebNotification/",
2281
2315
  "category": "Browser",
2282
2316
  "description": "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
@@ -2356,7 +2390,7 @@
2356
2390
  {
2357
2391
  "name": "utils",
2358
2392
  "package": "shared",
2359
- "lastUpdated": 1672752994000,
2393
+ "lastUpdated": 1677934301000,
2360
2394
  "internal": true
2361
2395
  },
2362
2396
  {
@@ -2386,6 +2420,14 @@
2386
2420
  "debouncedWatch"
2387
2421
  ]
2388
2422
  },
2423
+ {
2424
+ "name": "watchDeep",
2425
+ "package": "shared",
2426
+ "lastUpdated": 1677934625000,
2427
+ "docs": "https://vueuse.org/shared/watchDeep/",
2428
+ "category": "Watch",
2429
+ "description": "shorthand for watching value with {deep: true}"
2430
+ },
2389
2431
  {
2390
2432
  "name": "watchIgnorable",
2391
2433
  "package": "shared",
@@ -2397,6 +2439,14 @@
2397
2439
  "ignorableWatch"
2398
2440
  ]
2399
2441
  },
2442
+ {
2443
+ "name": "watchImmediate",
2444
+ "package": "shared",
2445
+ "lastUpdated": 1678354793000,
2446
+ "docs": "https://vueuse.org/shared/watchImmediate/",
2447
+ "category": "Watch",
2448
+ "description": "shorthand for watching value with {immediate: true}"
2449
+ },
2400
2450
  {
2401
2451
  "name": "watchOnce",
2402
2452
  "package": "shared",
package/index.mjs CHANGED
@@ -161,7 +161,7 @@ var functions$1 = [
161
161
  {
162
162
  name: "computedAsync",
163
163
  "package": "core",
164
- lastUpdated: 1672940168000,
164
+ lastUpdated: 1677934598000,
165
165
  docs: "https://vueuse.org/core/computedAsync/",
166
166
  category: "Reactivity",
167
167
  description: "computed for async functions",
@@ -205,7 +205,7 @@ var functions$1 = [
205
205
  {
206
206
  name: "createEventHook",
207
207
  "package": "shared",
208
- lastUpdated: 1671205540000,
208
+ lastUpdated: 1677939657000,
209
209
  docs: "https://vueuse.org/shared/createEventHook/",
210
210
  category: "Utilities",
211
211
  description: "utility for creating event hooks"
@@ -225,7 +225,7 @@ var functions$1 = [
225
225
  {
226
226
  name: "createGlobalState",
227
227
  "package": "shared",
228
- lastUpdated: 1625749207000,
228
+ lastUpdated: 1678811060000,
229
229
  docs: "https://vueuse.org/shared/createGlobalState/",
230
230
  category: "State",
231
231
  description: "keep states in the global scope to be reusable across Vue instances",
@@ -270,7 +270,7 @@ var functions$1 = [
270
270
  {
271
271
  name: "createSharedComposable",
272
272
  "package": "shared",
273
- lastUpdated: 1639442454000,
273
+ lastUpdated: 1678811060000,
274
274
  docs: "https://vueuse.org/shared/createSharedComposable/",
275
275
  category: "State",
276
276
  description: "make a composable function usable with multiple Vue instances",
@@ -428,7 +428,7 @@ var functions$1 = [
428
428
  {
429
429
  name: "reactifyObject",
430
430
  "package": "shared",
431
- lastUpdated: 1667952962000,
431
+ lastUpdated: 1678811060000,
432
432
  docs: "https://vueuse.org/shared/reactifyObject/",
433
433
  category: "Reactivity",
434
434
  description: "apply `reactify` to an object"
@@ -534,7 +534,7 @@ var functions$1 = [
534
534
  {
535
535
  name: "resolveUnref",
536
536
  "package": "shared",
537
- lastUpdated: 1667054063000,
537
+ lastUpdated: 1678811060000,
538
538
  docs: "https://vueuse.org/shared/resolveUnref/",
539
539
  category: "Reactivity",
540
540
  description: "get the value of value/ref/getter",
@@ -677,6 +677,14 @@ var functions$1 = [
677
677
  category: "Elements",
678
678
  description: "reactive `document.activeElement`"
679
679
  },
680
+ {
681
+ name: "useArrayDifference",
682
+ "package": "shared",
683
+ lastUpdated: 1677935013000,
684
+ docs: "https://vueuse.org/shared/useArrayDifference/",
685
+ category: "Array",
686
+ description: "reactive get array difference of two array"
687
+ },
680
688
  {
681
689
  name: "useArrayEvery",
682
690
  "package": "shared",
@@ -717,6 +725,14 @@ var functions$1 = [
717
725
  category: "Array",
718
726
  description: "reactive `Array.findLast`"
719
727
  },
728
+ {
729
+ name: "useArrayIncludes",
730
+ "package": "shared",
731
+ lastUpdated: 1677935050000,
732
+ docs: "https://vueuse.org/shared/useArrayIncludes/",
733
+ category: "Array",
734
+ description: "reactive `Array.includes`"
735
+ },
720
736
  {
721
737
  name: "useArrayJoin",
722
738
  "package": "shared",
@@ -776,7 +792,7 @@ var functions$1 = [
776
792
  {
777
793
  name: "useAsyncValidator",
778
794
  "package": "integrations",
779
- lastUpdated: 1676570052000,
795
+ lastUpdated: 1676801066000,
780
796
  component: true,
781
797
  docs: "https://vueuse.org/integrations/useAsyncValidator/",
782
798
  category: "@Integrations",
@@ -803,7 +819,7 @@ var functions$1 = [
803
819
  {
804
820
  name: "useAxios",
805
821
  "package": "integrations",
806
- lastUpdated: 1676590260000,
822
+ lastUpdated: 1678813845000,
807
823
  docs: "https://vueuse.org/integrations/useAxios/",
808
824
  category: "@Integrations",
809
825
  description: "wrapper for [`axios`](https://github.com/axios/axios)",
@@ -853,7 +869,7 @@ var functions$1 = [
853
869
  {
854
870
  name: "useBrowserLocation",
855
871
  "package": "core",
856
- lastUpdated: 1639442454000,
872
+ lastUpdated: 1677934301000,
857
873
  component: true,
858
874
  docs: "https://vueuse.org/core/useBrowserLocation/",
859
875
  category: "Browser",
@@ -911,7 +927,7 @@ var functions$1 = [
911
927
  {
912
928
  name: "useColorMode",
913
929
  "package": "core",
914
- lastUpdated: 1674955241000,
930
+ lastUpdated: 1677249459000,
915
931
  component: true,
916
932
  docs: "https://vueuse.org/core/useColorMode/",
917
933
  category: "Browser",
@@ -933,7 +949,7 @@ var functions$1 = [
933
949
  {
934
950
  name: "useCookies",
935
951
  "package": "integrations",
936
- lastUpdated: 1642756753000,
952
+ lastUpdated: 1678811272000,
937
953
  docs: "https://vueuse.org/integrations/useCookies/",
938
954
  category: "@Integrations",
939
955
  description: "wrapper for [`universal-cookie`](https://www.npmjs.com/package/universal-cookie)",
@@ -950,7 +966,7 @@ var functions$1 = [
950
966
  {
951
967
  name: "useCssVar",
952
968
  "package": "core",
953
- lastUpdated: 1657259100000,
969
+ lastUpdated: 1677757262000,
954
970
  docs: "https://vueuse.org/core/useCssVar/",
955
971
  category: "Browser",
956
972
  description: "manipulate CSS variables"
@@ -966,7 +982,7 @@ var functions$1 = [
966
982
  {
967
983
  name: "useCycleList",
968
984
  "package": "core",
969
- lastUpdated: 1659556886000,
985
+ lastUpdated: 1678812178000,
970
986
  docs: "https://vueuse.org/core/useCycleList/",
971
987
  category: "Utilities",
972
988
  description: "cycle through a list of items"
@@ -1121,7 +1137,7 @@ var functions$1 = [
1121
1137
  {
1122
1138
  name: "useElementHover",
1123
1139
  "package": "core",
1124
- lastUpdated: 1676712131000,
1140
+ lastUpdated: 1676891150000,
1125
1141
  directive: true,
1126
1142
  docs: "https://vueuse.org/core/useElementHover/",
1127
1143
  category: "Sensors",
@@ -1164,7 +1180,7 @@ var functions$1 = [
1164
1180
  {
1165
1181
  name: "useEventBus",
1166
1182
  "package": "core",
1167
- lastUpdated: 1676389922000,
1183
+ lastUpdated: 1677934962000,
1168
1184
  docs: "https://vueuse.org/core/useEventBus/",
1169
1185
  category: "Utilities",
1170
1186
  description: "a basic event bus"
@@ -1205,7 +1221,7 @@ var functions$1 = [
1205
1221
  {
1206
1222
  name: "useFetch",
1207
1223
  "package": "core",
1208
- lastUpdated: 1676093591000,
1224
+ lastUpdated: 1678811463000,
1209
1225
  docs: "https://vueuse.org/core/useFetch/",
1210
1226
  category: "Network",
1211
1227
  description: "reactive [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) provides the ability to abort requests"
@@ -1280,7 +1296,7 @@ var functions$1 = [
1280
1296
  {
1281
1297
  name: "useFullscreen",
1282
1298
  "package": "core",
1283
- lastUpdated: 1657430593000,
1299
+ lastUpdated: 1678813589000,
1284
1300
  component: true,
1285
1301
  docs: "https://vueuse.org/core/useFullscreen/",
1286
1302
  category: "Browser",
@@ -1322,7 +1338,7 @@ var functions$1 = [
1322
1338
  {
1323
1339
  name: "useIDBKeyval",
1324
1340
  "package": "integrations",
1325
- lastUpdated: 1668302379000,
1341
+ lastUpdated: 1677934368000,
1326
1342
  docs: "https://vueuse.org/integrations/useIDBKeyval/",
1327
1343
  category: "@Integrations",
1328
1344
  description: "wrapper for [`idb-keyval`](https://www.npmjs.com/package/idb-keyval)",
@@ -1451,7 +1467,7 @@ var functions$1 = [
1451
1467
  {
1452
1468
  name: "useManualRefHistory",
1453
1469
  "package": "core",
1454
- lastUpdated: 1662386652000,
1470
+ lastUpdated: 1677182138000,
1455
1471
  docs: "https://vueuse.org/core/useManualRefHistory/",
1456
1472
  category: "State",
1457
1473
  description: "manually track the change history of a ref when the using calls `commit()`",
@@ -1666,6 +1682,14 @@ var functions$1 = [
1666
1682
  category: "Sensors",
1667
1683
  description: "create parallax effect easily"
1668
1684
  },
1685
+ {
1686
+ name: "usePerformanceObserver",
1687
+ "package": "core",
1688
+ lastUpdated: 1677935193000,
1689
+ docs: "https://vueuse.org/core/usePerformanceObserver/",
1690
+ category: "Browser",
1691
+ description: "observe performance metrics"
1692
+ },
1669
1693
  {
1670
1694
  name: "usePermission",
1671
1695
  "package": "core",
@@ -1698,7 +1722,7 @@ var functions$1 = [
1698
1722
  {
1699
1723
  name: "usePointerSwipe",
1700
1724
  "package": "core",
1701
- lastUpdated: 1667953110000,
1725
+ lastUpdated: 1678813240000,
1702
1726
  docs: "https://vueuse.org/core/usePointerSwipe/",
1703
1727
  category: "Sensors",
1704
1728
  description: "reactive swipe detection based on [PointerEvents](https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent)"
@@ -1928,6 +1952,16 @@ var functions$1 = [
1928
1952
  category: "Browser",
1929
1953
  description: "reactive [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)"
1930
1954
  },
1955
+ {
1956
+ name: "useSortable",
1957
+ "package": "integrations",
1958
+ lastUpdated: 1678811414000,
1959
+ component: true,
1960
+ docs: "https://vueuse.org/integrations/useSortable/",
1961
+ category: "@Integrations",
1962
+ description: "wrapper for [`sortable`](https://github.com/SortableJS/Sortable)",
1963
+ importPath: "integrations/useSortable"
1964
+ },
1931
1965
  {
1932
1966
  name: "useSorted",
1933
1967
  "package": "core",
@@ -2043,7 +2077,7 @@ var functions$1 = [
2043
2077
  {
2044
2078
  name: "useSwipe",
2045
2079
  "package": "core",
2046
- lastUpdated: 1657721393000,
2080
+ lastUpdated: 1678813240000,
2047
2081
  docs: "https://vueuse.org/core/useSwipe/",
2048
2082
  category: "Sensors",
2049
2083
  description: "reactive swipe detection based on [`TouchEvents`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent)"
@@ -2059,7 +2093,7 @@ var functions$1 = [
2059
2093
  {
2060
2094
  name: "useTextareaAutosize",
2061
2095
  "package": "core",
2062
- lastUpdated: 1671205095000,
2096
+ lastUpdated: 1678813570000,
2063
2097
  docs: "https://vueuse.org/core/useTextareaAutosize/",
2064
2098
  category: "Browser",
2065
2099
  description: "automatically update the height of a textarea depending on the content"
@@ -2125,7 +2159,7 @@ var functions$1 = [
2125
2159
  {
2126
2160
  name: "useTimeoutFn",
2127
2161
  "package": "shared",
2128
- lastUpdated: 1674954620000,
2162
+ lastUpdated: 1678811060000,
2129
2163
  docs: "https://vueuse.org/shared/useTimeoutFn/",
2130
2164
  category: "Animation",
2131
2165
  description: "wrapper for `setTimeout` with controls"
@@ -2191,7 +2225,7 @@ var functions$1 = [
2191
2225
  {
2192
2226
  name: "useTransition",
2193
2227
  "package": "core",
2194
- lastUpdated: 1674955241000,
2228
+ lastUpdated: 1678812989000,
2195
2229
  docs: "https://vueuse.org/core/useTransition/",
2196
2230
  category: "Animation",
2197
2231
  description: "transition between values"
@@ -2215,7 +2249,7 @@ var functions$1 = [
2215
2249
  {
2216
2250
  name: "useUserMedia",
2217
2251
  "package": "core",
2218
- lastUpdated: 1657430593000,
2252
+ lastUpdated: 1677938854000,
2219
2253
  docs: "https://vueuse.org/core/useUserMedia/",
2220
2254
  category: "Sensors",
2221
2255
  description: "reactive [`mediaDevices.getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) streaming",
@@ -2275,7 +2309,7 @@ var functions$1 = [
2275
2309
  {
2276
2310
  name: "useWebNotification",
2277
2311
  "package": "core",
2278
- lastUpdated: 1658083596000,
2312
+ lastUpdated: 1677939548000,
2279
2313
  docs: "https://vueuse.org/core/useWebNotification/",
2280
2314
  category: "Browser",
2281
2315
  description: "reactive [Notification](https://developer.mozilla.org/en-US/docs/Web/API/notification)"
@@ -2355,7 +2389,7 @@ var functions$1 = [
2355
2389
  {
2356
2390
  name: "utils",
2357
2391
  "package": "shared",
2358
- lastUpdated: 1672752994000,
2392
+ lastUpdated: 1677934301000,
2359
2393
  internal: true
2360
2394
  },
2361
2395
  {
@@ -2385,6 +2419,14 @@ var functions$1 = [
2385
2419
  "debouncedWatch"
2386
2420
  ]
2387
2421
  },
2422
+ {
2423
+ name: "watchDeep",
2424
+ "package": "shared",
2425
+ lastUpdated: 1677934625000,
2426
+ docs: "https://vueuse.org/shared/watchDeep/",
2427
+ category: "Watch",
2428
+ description: "shorthand for watching value with {deep: true}"
2429
+ },
2388
2430
  {
2389
2431
  name: "watchIgnorable",
2390
2432
  "package": "shared",
@@ -2396,6 +2438,14 @@ var functions$1 = [
2396
2438
  "ignorableWatch"
2397
2439
  ]
2398
2440
  },
2441
+ {
2442
+ name: "watchImmediate",
2443
+ "package": "shared",
2444
+ lastUpdated: 1678354793000,
2445
+ docs: "https://vueuse.org/shared/watchImmediate/",
2446
+ category: "Watch",
2447
+ description: "shorthand for watching value with {immediate: true}"
2448
+ },
2399
2449
  {
2400
2450
  name: "watchOnce",
2401
2451
  "package": "shared",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vueuse/metadata",
3
- "version": "9.13.0",
3
+ "version": "10.0.0-beta.0",
4
4
  "description": "Metadata for VueUse functions",
5
5
  "author": "Anthony Fu <https://github.com/antfu>",
6
6
  "license": "MIT",