diff --git a/package.json b/package.json index 5a1a24547ae..317ab5d8aae 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@vueuse/monorepo", - "version": "8.4.2", + "version": "8.5.0", "private": true, - "packageManager": "pnpm@7.0.0", + "packageManager": "pnpm@7.1.7", "description": "Collection of essential Vue Composition Utilities", - "license": "MIT", "author": "Anthony Fu", + "license": "MIT", "scripts": { "build": "nr update && esno scripts/build.ts", "build:redirects": "esno scripts/redirects.ts", @@ -34,84 +34,84 @@ "watch": "esno scripts/build.ts --watch" }, "devDependencies": { - "@antfu/eslint-config": "^0.23.0", + "@antfu/eslint-config": "^0.24.2", "@antfu/ni": "^0.16.2", - "@iconify/json": "^2.1.35", + "@iconify/json": "^2.1.48", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-replace": "^4.0.0", "@types/fs-extra": "^9.0.13", "@types/js-yaml": "^4.0.5", "@types/md5": "^2.3.2", - "@types/node": "^17.0.31", - "@types/prettier": "^2.6.0", + "@types/node": "^17.0.35", + "@types/prettier": "^2.6.1", "@types/semver": "^7.3.9", "@types/sharp": "^0.30.2", - "@vitest/ui": "^0.10.2", - "@vue/compiler-sfc": "^3.2.33", - "@vue/composition-api": "^1.6.0", - "@vue/test-utils": "^2.0.0-rc.21", + "@vitest/ui": "^0.12.9", + "@vue/compiler-sfc": "^3.2.36", + "@vue/composition-api": "^1.6.2", + "@vue/test-utils": "^2.0.0", "@vue/theme": "^1.0.2", "axios": "^0.27.2", "bumpp": "^7.1.1", "consola": "^2.15.3", "cross-env": "^7.0.3", "esbuild-register": "^3.3.2", - "eslint": "^8.14.0", - "esno": "^0.14.1", + "eslint": "^8.16.0", + "esno": "^0.16.3", "export-size": "^0.5.2", "fast-glob": "^3.2.11", "firebase": "^8.10.0", "fs-extra": "^10.1.0", - "fuse.js": "^6.6.0", + "fuse.js": "^6.6.2", "google-font-installer": "^1.2.0", "gray-matter": "^4.0.3", "js-yaml": "^4.1.0", "jsdom": "^19.0.0", - "lint-staged": "^12.4.1", + "lint-staged": "^12.4.2", "markdown-table": "^3.0.2", "md5": "^2.3.0", - "msw": "^0.39.2", + "msw": "^0.41.0", "node-fetch": "^3.2.4", - "ohmyfetch": "^0.4.16", - "pnpm": "^7.0.0", - "postcss": "^8.4.13", + "ohmyfetch": "^0.4.18", + "pnpm": "^7.1.7", + "postcss": "^8.4.14", "postcss-nested": "^5.0.6", "prettier": "^2.6.2", - "prism-theme-vars": "^0.2.2", + "prism-theme-vars": "^0.2.3", "remove-markdown": "^0.5.0", "rimraf": "^3.0.2", - "rollup": "^2.71.1", + "rollup": "^2.74.1", "rollup-plugin-dts": "^4.2.1", "rollup-plugin-esbuild": "^4.9.1", - "sharp": "^0.30.4", + "sharp": "^0.30.5", "simple-git": "^3.7.1", "simple-git-hooks": "^2.7.0", - "typescript": "4.6.4", - "unocss": "^0.32.9", + "typescript": "4.7.2", + "unocss": "^0.34.1", "unplugin-icons": "^0.14.3", - "unplugin-vue-components": "^0.19.3", - "vite": "^2.9.7", + "unplugin-vue-components": "^0.19.5", + "vite": "^2.9.9", "vite-plugin-inspect": "^0.5.0", "vite-plugin-pwa": "^0.12.0", - "vitepress": "^0.22.3", - "vitest": "^0.10.2", - "vue": "^3.2.33", + "vitepress": "^0.22.4", + "vitest": "^0.12.9", + "vue": "^3.2.36", "vue2": "npm:vue@^2.6.14" }, - "lint-staged": { - "*.{js,ts,tsx,vue,md}": [ - "eslint --fix" - ] - }, "pnpm": { "neverBuiltDependencies": [ "electron" ], "overrides": { - "vue-demi": "0.12.5" + "vue-demi": "0.13.0" } }, "simple-git-hooks": { "pre-commit": "npx lint-staged" + }, + "lint-staged": { + "*.{js,ts,tsx,vue,md}": [ + "eslint --fix" + ] } } diff --git a/packages/.test/mockServer.ts b/packages/.test/mockServer.ts index b0bdd1bd57b..3677e410064 100644 --- a/packages/.test/mockServer.ts +++ b/packages/.test/mockServer.ts @@ -4,14 +4,14 @@ */ import { setupServer } from 'msw/node' -import type { DefaultRequestBody, PathParams, RestContext, RestRequest } from 'msw' +import type { RestContext, RestRequest } from 'msw' import { rest } from 'msw' const defaultJsonMessage = { hello: 'world' } const defaultTextMessage = 'Hello World' const baseUrl = 'https://example.com' -const commonTransformers = (req: RestRequest, _: any, ctx: RestContext) => { +const commonTransformers = (req: RestRequest, _: any, ctx: RestContext) => { const t = [] const qs = req.url.searchParams diff --git a/packages/components/package.json b/packages/components/package.json index 06d7a4f9534..ea44bdbfd78 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,37 +1,37 @@ { "name": "@vueuse/components", - "version": "8.4.2", + "version": "8.5.0", "description": "Renderless components for VueUse", - "keywords": [ - "vue", - "vue-use", - "utils" - ], - "license": "MIT", "author": "Jacob Clevenger", + "license": "MIT", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/components#readme", "repository": { "type": "git", "url": "git+https://github.com/vueuse/vueuse.git", "directory": "packages/components" }, - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "unpkg": "./index.iife.min.js", - "jsdelivr": "./index.iife.min.js", + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, + "keywords": [ + "vue", + "vue-use", + "utils" + ], + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*" }, - "sideEffects": false, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/components#readme", + "main": "./index.cjs", + "module": "./index.mjs", + "unpkg": "./index.iife.min.js", + "jsdelivr": "./index.iife.min.js", + "types": "./index.d.ts", "dependencies": { "@vueuse/core": "workspace:*", "@vueuse/shared": "workspace:*", diff --git a/packages/contributors.json b/packages/contributors.json index 1da47e21862..e90445b1862 100644 --- a/packages/contributors.json +++ b/packages/contributors.json @@ -1,7 +1,7 @@ [ "antfu", - "wheatjs", "webfansplz", + "wheatjs", "okxiaoliang4", "sibbng", "anteriovieira", @@ -27,6 +27,7 @@ "ArcherGu", "daikiojm", "Demivan", + "jbaubree", "ansidev", "marshallswain", "victortolbert", @@ -35,8 +36,10 @@ "Talljack", "markthree", "AllenYu0118", + "LittleSound", "peter50216", "amrbashir", + "bodograumann", "thisprojectworks", "hikariNTU", "heartbeatLV", @@ -47,7 +50,6 @@ "Flamenco", "husayt", "Jay214", - "jbaubree", "JessicaSachs", "JserWang", "wvffle", @@ -71,10 +73,10 @@ "macheteHot", "unknownzjc", "vaaski", - "yyyang1996", "sapphi-red", "FRSgit", "climba03003", + "AaronBeaudoin", "soub4i", "adrianjost", "avfrancev", @@ -90,14 +92,13 @@ "heyitsarpit", "zhl1232", "aryraditya", - "LittleSound", "azrikahar", "baboon-king", "benlesh", "benatkin", "blackhu0804", "Bobakanoosh", - "bodograumann", + "bperel", "MssText", "CharlesOkwuagwu", "caozhong1996", @@ -127,6 +128,7 @@ "hchiam", "IIFelix", "ilkome", + "iagafonov", "ivanq3w", "jairoblatt", "Jamiewarb", @@ -171,6 +173,7 @@ "praburangki", "QiroNT", "ramonakira", + "Redemption198", "neelance", "wobsoriano", "rromanv", @@ -187,6 +190,7 @@ "thalesagapito", "thierrymichel", "tmkx", + "tobyzerner", "livthomas", "scvnc", "viniciuskneves", @@ -195,7 +199,9 @@ "xiaoxiangmoe", "Zenthae", "vhhsyt", + "chaii3", "r1ader", + "hchlq", "iGalaxyz", "winter-ice", "monkeywithacupcake", @@ -207,6 +213,7 @@ "lvjiaxuan", "lxhyl", "lzdFeiFei", + "odex21", "ordago", "tolking", "reslear", @@ -216,6 +223,7 @@ "taidaid", "userquin", "wangjing013", + "xuxucode", "yangger6", "zmtlwzy", "7ooz", diff --git a/packages/core/index.ts b/packages/core/index.ts index fb34dc83890..5707de41c3b 100644 --- a/packages/core/index.ts +++ b/packages/core/index.ts @@ -32,6 +32,7 @@ export * from './useDevicesList' export * from './useDisplayMedia' export * from './useDocumentVisibility' export * from './useDraggable' +export * from './useDropZone' export * from './useElementBounding' export * from './useElementByPoint' export * from './useElementHover' diff --git a/packages/core/package.json b/packages/core/package.json index aacc9ad1075..b1158eeb399 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,43 +1,43 @@ { "name": "@vueuse/core", - "version": "8.4.2", + "version": "8.5.0", "description": "Collection of essential Vue Composition Utilities", - "keywords": [ - "vue", - "vue-use", - "utils" - ], - "license": "MIT", "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse#readme", "repository": { "type": "git", "url": "git+https://github.com/vueuse/vueuse.git", "directory": "packages/core" }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "unpkg": "./index.iife.min.js", - "jsdelivr": "./index.iife.min.js", + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, + "keywords": [ + "vue", + "vue-use", + "utils" + ], + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*", "./metadata": { + "types": "./metadata.d.ts", "import": "./metadata.mjs", - "require": "./metadata.cjs", - "types": "./metadata.d.ts" + "require": "./metadata.cjs" } }, - "sideEffects": false, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse#readme", + "main": "./index.cjs", + "module": "./index.mjs", + "unpkg": "./index.iife.min.js", + "jsdelivr": "./index.iife.min.js", + "types": "./index.d.ts", "peerDependencies": { "@vue/composition-api": "^1.1.0", "vue": "^2.6.0 || ^3.2.0" diff --git a/packages/core/useBrowserLocation/index.md b/packages/core/useBrowserLocation/index.md index 7cfa1d96406..f0d403bde2f 100644 --- a/packages/core/useBrowserLocation/index.md +++ b/packages/core/useBrowserLocation/index.md @@ -6,7 +6,7 @@ category: Browser Reactive browser location -> When Vue Router installed use the [`useRoute`](https://router.vuejs.org/guide/advanced/composition-api.html) provided by Vue Router instead. +> NOTE: If you're using Vue Router, use [`useRoute`](https://router.vuejs.org/guide/advanced/composition-api.html) provided by Vue Router instead. ## Usage diff --git a/packages/core/useCssVar/index.md b/packages/core/useCssVar/index.md index eff4bbe4e04..f2e2bd949ba 100644 --- a/packages/core/useCssVar/index.md +++ b/packages/core/useCssVar/index.md @@ -17,4 +17,7 @@ const color = useCssVar('--color', el) const elv = ref(null) const key = ref('--color') const colorVal = useCssVar(key, elv) + +const someEl = ref(null) +const color = useCssVar('--color', someEl, { initialValue: '#eee' }) ``` diff --git a/packages/core/useCssVar/index.ts b/packages/core/useCssVar/index.ts index e51a52a34ee..943408e35b5 100644 --- a/packages/core/useCssVar/index.ts +++ b/packages/core/useCssVar/index.ts @@ -5,27 +5,34 @@ import { defaultWindow } from '../_configurable' import type { MaybeElementRef } from '../unrefElement' import { unrefElement } from '../unrefElement' +export interface UseCssVarOptions extends ConfigurableWindow { + initialValue?: string +} + /** * Manipulate CSS variables. * * @see https://vueuse.org/useCssVar * @param prop - * @param el + * @param target + * @param initialValue * @param options */ export function useCssVar( prop: MaybeRef, target?: MaybeElementRef, - { window = defaultWindow }: ConfigurableWindow = {}, + { window = defaultWindow, initialValue = '' }: UseCssVarOptions = {}, ) { - const variable = ref('') + const variable = ref(initialValue) const elRef = computed(() => unrefElement(target) || window?.document?.documentElement) watch( [elRef, () => unref(prop)], ([el, prop]) => { - if (el && window) - variable.value = window.getComputedStyle(el).getPropertyValue(prop) + if (el && window) { + const value = window.getComputedStyle(el).getPropertyValue(prop) + variable.value = value || initialValue + } }, { immediate: true }, ) diff --git a/packages/core/useDraggable/component.ts b/packages/core/useDraggable/component.ts index 6368059f979..4ece8272096 100644 --- a/packages/core/useDraggable/component.ts +++ b/packages/core/useDraggable/component.ts @@ -25,6 +25,7 @@ export const UseDraggable = defineComponent({ 'initialValue', 'exact', 'preventDefault', + 'stopPropagation', 'pointerTypes', 'as', ] as unknown as undefined, diff --git a/packages/core/useDropZone/demo.vue b/packages/core/useDropZone/demo.vue new file mode 100644 index 00000000000..e694c34638c --- /dev/null +++ b/packages/core/useDropZone/demo.vue @@ -0,0 +1,42 @@ + + + diff --git a/packages/core/useDropZone/index.md b/packages/core/useDropZone/index.md new file mode 100644 index 00000000000..7795a58a1d5 --- /dev/null +++ b/packages/core/useDropZone/index.md @@ -0,0 +1,29 @@ +--- +category: Elements +--- + +# useDropZone + +Create an zone where files can be dropped. + +## Usage + +```html + + + +``` diff --git a/packages/core/useDropZone/index.ts b/packages/core/useDropZone/index.ts new file mode 100644 index 00000000000..219a9f14d99 --- /dev/null +++ b/packages/core/useDropZone/index.ts @@ -0,0 +1,46 @@ +import { ref } from 'vue-demi' +import type { Ref } from 'vue-demi' +import type { MaybeRef } from '@vueuse/shared' +import { isClient } from '@vueuse/shared' +import { useEventListener } from '../useEventListener' + +export interface UseDropZoneReturn { + isOverDropZone: Ref +} + +export function useDropZone(target: MaybeRef, onDrop: (files: File[] | null) => void): UseDropZoneReturn { + const isOverDropZone = ref(false) + let counter = 0 + + if (isClient) { + useEventListener(target, 'dragenter', (event) => { + event.preventDefault() + counter += 1 + isOverDropZone.value = true + }) + useEventListener(target, 'dragover', (event) => { + event.preventDefault() + }) + useEventListener(target, 'dragleave', (event) => { + event.preventDefault() + counter -= 1 + if (counter === 0) + isOverDropZone.value = false + }) + useEventListener(target, 'drop', (event) => { + event.preventDefault() + counter = 0 + isOverDropZone.value = false + const files = Array.from(event.dataTransfer?.files ?? []) + if (files.length === 0) { + onDrop(null) + return + } + onDrop(files) + }) + } + + return { + isOverDropZone, + } +} diff --git a/packages/core/useFetch/index.test.ts b/packages/core/useFetch/index.test.ts index 6c602919b6f..02e32afce9c 100644 --- a/packages/core/useFetch/index.test.ts +++ b/packages/core/useFetch/index.test.ts @@ -52,6 +52,18 @@ describe('useFetch', () => { }) }) + test('should use custom fetch', async () => { + let count = 0 + await useFetch('https://example.com/', { + fetch(input, init) { + count = 1 + return window.fetch(input, init) + }, + }) + + expect(count).toEqual(1) + }) + test('should have an error on 400', async () => { const { error, statusCode } = useFetch('https://example.com?status=400') diff --git a/packages/core/useFetch/index.ts b/packages/core/useFetch/index.ts index e4b5de875aa..bb3841b96bc 100644 --- a/packages/core/useFetch/index.ts +++ b/packages/core/useFetch/index.ts @@ -205,7 +205,7 @@ export interface CreateFetchOptions { * to include the new options */ function isFetchOptions(obj: object): obj is UseFetchOptions { - return containsProp(obj, 'immediate', 'refetch', 'initialData', 'timeout', 'beforeFetch', 'afterFetch', 'onFetchError') + return containsProp(obj, 'immediate', 'refetch', 'initialData', 'timeout', 'beforeFetch', 'afterFetch', 'onFetchError', 'fetch') } function headersToObject(headers: HeadersInit | undefined) { @@ -481,7 +481,13 @@ export function useFetch(url: MaybeRef, ...args: any[]): UseFetchRetu if (!payloadType && unref(payload) && Object.getPrototypeOf(unref(payload)) === Object.prototype) config.payloadType = 'json' - return shell as any + return { + ...shell, + then(onFulfilled: any, onRejected: any) { + return waitUntilFinished() + .then(onFulfilled, onRejected) + }, + } as any } return undefined } diff --git a/packages/core/useFocus/index.ts b/packages/core/useFocus/index.ts index 98aee00b5dc..e6022d47712 100644 --- a/packages/core/useFocus/index.ts +++ b/packages/core/useFocus/index.ts @@ -1,5 +1,6 @@ import type { Ref } from 'vue-demi' import { computed, watch } from 'vue-demi' +import { isDef } from '@vueuse/shared' import type { MaybeElementRef } from '../unrefElement' import { unrefElement } from '../unrefElement' import { useActiveElement } from '../useActiveElement' @@ -36,7 +37,7 @@ export function useFocus(target: MaybeElementRef, options: UseFocusOptions = {}) const targetElement = computed(() => unrefElement(target)) const focused = computed({ get() { - return activeElement.value === targetElement.value + return isDef(activeElement.value) && isDef(targetElement.value) && activeElement.value === targetElement.value }, set(value: boolean) { if (!value && focused.value) diff --git a/packages/core/useMediaControls/index.md b/packages/core/useMediaControls/index.md index 90c355cf16e..2fd1fdcbe92 100644 --- a/packages/core/useMediaControls/index.md +++ b/packages/core/useMediaControls/index.md @@ -33,7 +33,7 @@ onMounted(() => { ``` -### Proving Captions, Subtitles, etc... +### Providing Captions, Subtitles, etc... You can provide captions, subtitles, etc in the `tracks` options of the `useMediaControls` function. The function will return an array of tracks along with two functions for controlling them, `enableTrack`, `disableTrack`, and `selectedTrack`. diff --git a/packages/core/useMouseInElement/index.ts b/packages/core/useMouseInElement/index.ts index 417dd22d94f..7170159ca26 100644 --- a/packages/core/useMouseInElement/index.ts +++ b/packages/core/useMouseInElement/index.ts @@ -33,7 +33,7 @@ export function useMouseInElement( const elementPositionY = ref(0) const elementHeight = ref(0) const elementWidth = ref(0) - const isOutside = ref(false) + const isOutside = ref(true) let stop = () => {} @@ -59,7 +59,9 @@ export function useMouseInElement( const elX = x.value - elementPositionX.value const elY = y.value - elementPositionY.value - isOutside.value = elX < 0 || elY < 0 || elX > elementWidth.value || elY > elementHeight.value + isOutside.value = width === 0 || height === 0 + || elX < 0 || elY < 0 + || elX > width || elY > height if (handleOutside || !isOutside.value) { elementX.value = elX diff --git a/packages/core/useOffsetPagination/component.ts b/packages/core/useOffsetPagination/component.ts index a5da0c62a6b..788cc1a92cc 100644 --- a/packages/core/useOffsetPagination/component.ts +++ b/packages/core/useOffsetPagination/component.ts @@ -21,15 +21,15 @@ export const UseOffsetPagination = defineComponent({ const data = reactive(useOffsetPagination({ ...props, onPageChange(...args) { - props.onPageChange?.(...args) + props.onPageChange?.(...args as unknown as []) emit('page-change', ...args) }, onPageSizeChange(...args) { - props.onPageSizeChange?.(...args) + props.onPageSizeChange?.(...args as unknown as []) emit('page-size-change', ...args) }, onPageCountChange(...args) { - props.onPageCountChange?.(...args) + props.onPageCountChange?.(...args as unknown as []) emit('page-count-change', ...args) }, })) diff --git a/packages/core/useRefHistory/index.md b/packages/core/useRefHistory/index.md index 091b4632423..4ba5376fe65 100644 --- a/packages/core/useRefHistory/index.md +++ b/packages/core/useRefHistory/index.md @@ -110,7 +110,7 @@ refHistory.clear() // explicitly clear all the history ### History Flush Timing -From [Vue's documentation](https://v3.vuejs.org/guide/reactivity-computed-watchers.html#effect-flush-timing): Vue's reactivity system buffers invalidated effects and flush them asynchronously to avoid unnecessary duplicate invocation when there are many state mutations happening in the same "tick". +From [Vue's documentation](https://vuejs.org/guide/essentials/watchers.html#callback-flush-timing): Vue's reactivity system buffers invalidated effects and flush them asynchronously to avoid unnecessary duplicate invocation when there are many state mutations happening in the same "tick". In the same way as `watch`, you can modify the flush timing using the `flush` option. diff --git a/packages/core/useThrottledRefHistory/index.test.ts b/packages/core/useThrottledRefHistory/index.test.ts index 2a843ed7dfc..5a9f7facae2 100644 --- a/packages/core/useThrottledRefHistory/index.test.ts +++ b/packages/core/useThrottledRefHistory/index.test.ts @@ -16,7 +16,7 @@ describe('useThrottledRefHistory - sync', () => { await promiseTimeout(ms * 3) - expect(history.value.length).toBe(3) + expect(history.value.length).toBe(2) expect(history.value[0].snapshot).toBe(100) v.value = 200 @@ -25,7 +25,7 @@ describe('useThrottledRefHistory - sync', () => { await promiseTimeout(ms * 3) - expect(history.value.length).toBe(5) + expect(history.value.length).toBe(3) expect(history.value[0].snapshot).toBe(400) }) }) diff --git a/packages/core/useUrlSearchParams/index.test.ts b/packages/core/useUrlSearchParams/index.test.ts index 2630576325b..adb54217a20 100644 --- a/packages/core/useUrlSearchParams/index.test.ts +++ b/packages/core/useUrlSearchParams/index.test.ts @@ -46,6 +46,16 @@ describe('useUrlSearchParams', () => { expect(params.foo).toBe('bar') }) + test('return initialValue', async () => { + const params = useUrlSearchParams(mode, { + initialValue: { + foo: 'bar', + }, + }) + + expect(params.foo).toBe('bar') + }) + test('update params on poststate event', async () => { const params = useUrlSearchParams(mode) expect(params.foo).toBeUndefined() diff --git a/packages/core/useUrlSearchParams/index.ts b/packages/core/useUrlSearchParams/index.ts index 7c54de9cf57..abd3c931e2c 100644 --- a/packages/core/useUrlSearchParams/index.ts +++ b/packages/core/useUrlSearchParams/index.ts @@ -44,7 +44,7 @@ export function useUrlSearchParams = UrlParams>( if (!window) return reactive(initialValue) as T - const state: Record = reactive(initialValue) + const state: Record = reactive({}) function getRawParams() { if (mode === 'history') { @@ -129,7 +129,11 @@ export function useUrlSearchParams = UrlParams>( if (mode !== 'history') useEventListener(window, 'hashchange', onChanged, false) - updateState(read()) + const initial = read() + if (initial.keys().next().value) + updateState(initial) + else + Object.assign(state, initialValue) return state as T } diff --git a/packages/core/useVModel/index.test.ts b/packages/core/useVModel/index.test.ts index 013af82ca47..4b510dd28e9 100644 --- a/packages/core/useVModel/index.test.ts +++ b/packages/core/useVModel/index.test.ts @@ -155,4 +155,26 @@ describe('useVModel', () => { expect(dataD.value).toBe(null) expect(dataE.value).toBe('default-data') }) + + it('Should work with classes', async () => { + const emitMock = vitest.fn() + + class SomeClass { + num1 = 1 + + someMethod() {} + } + + const props = { cl: new SomeClass() } + + const ref = useVModel(props, 'cl', emitMock, { passive: true, deep: true }) + + ref.value.num1 = 10 + + await nextTick() + + const emitValue = (emitMock as any).calls[0][1] + + expect(emitValue instanceof SomeClass).toBeTruthy() + }) }) diff --git a/packages/core/useVModel/index.ts b/packages/core/useVModel/index.ts index cbb00c55641..e85e0b13a8d 100644 --- a/packages/core/useVModel/index.ts +++ b/packages/core/useVModel/index.ts @@ -18,6 +18,7 @@ export interface VModelOptions { eventName?: string /** * Attempting to check for changes of properties in a deeply nested object or array. + * Apply only when `passive` option is set to `true` * * @default false */ @@ -68,7 +69,7 @@ export function useVModel

isDef(props[key!]) ? props[key!] : defaultValue diff --git a/packages/electron/package.json b/packages/electron/package.json index ca55b374b6c..07960b7cf01 100644 --- a/packages/electron/package.json +++ b/packages/electron/package.json @@ -1,7 +1,19 @@ { "name": "@vueuse/electron", - "version": "8.4.2", + "version": "8.5.0", "description": "Electron renderer process modules for VueUse", + "author": "Archer Gu", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/electron#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/vueuse/vueuse.git", + "directory": "packages/electron" + }, + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, "keywords": [ "vue", "vue-use", @@ -9,30 +21,18 @@ "electron", "renderer" ], - "license": "MIT", - "author": "Archer Gu", - "repository": { - "type": "git", - "url": "git+https://github.com/vueuse/vueuse.git", - "directory": "packages/electron" - }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*" }, - "sideEffects": false, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/electron#readme", + "main": "./index.cjs", + "module": "./index.mjs", + "types": "./index.d.ts", "peerDependencies": { "electron": ">=9.0.0" }, diff --git a/packages/firebase/package.json b/packages/firebase/package.json index 54e988f20db..40c45675201 100644 --- a/packages/firebase/package.json +++ b/packages/firebase/package.json @@ -1,7 +1,19 @@ { "name": "@vueuse/firebase", - "version": "8.4.2", + "version": "8.5.0", "description": "Enables realtime bindings for Firebase", + "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/firebase#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/vueuse/vueuse.git", + "directory": "packages/firebase" + }, + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, "keywords": [ "vue", "vue-use", @@ -9,47 +21,35 @@ "firebase", "vuefire" ], - "license": "MIT", - "author": "Anthony Fu ", - "repository": { - "type": "git", - "url": "git+https://github.com/vueuse/vueuse.git", - "directory": "packages/firebase" - }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "unpkg": "./index.iife.min.js", - "jsdelivr": "./index.iife.min.js", + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*", "./useAuth": { + "types": "./useAuth.d.ts", "import": "./useAuth.mjs", - "require": "./useAuth.cjs", - "types": "./useAuth.d.ts" + "require": "./useAuth.cjs" }, "./useFirestore": { + "types": "./useFirestore.d.ts", "import": "./useFirestore.mjs", - "require": "./useFirestore.cjs", - "types": "./useFirestore.d.ts" + "require": "./useFirestore.cjs" }, "./useRTDB": { + "types": "./useRTDB.d.ts", "import": "./useRTDB.mjs", - "require": "./useRTDB.cjs", - "types": "./useRTDB.d.ts" + "require": "./useRTDB.cjs" } }, - "sideEffects": false, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/firebase#readme", + "main": "./index.cjs", + "module": "./index.mjs", + "unpkg": "./index.iife.min.js", + "jsdelivr": "./index.iife.min.js", + "types": "./index.d.ts", "peerDependencies": { "firebase": ">=4.0.0" }, diff --git a/packages/guide/config.md b/packages/guide/config.md index f20c2ba14dc..7cad6d51a6f 100644 --- a/packages/guide/config.md +++ b/packages/guide/config.md @@ -36,7 +36,7 @@ motionControl.resume() ### Reactive Timing -VueUse's functions follow Vue's reactivity system defaults for [flush timing](https://v3.vuejs.org/guide/reactivity-computed-watchers.html#effect-flush-timing) where possible. +VueUse's functions follow Vue's reactivity system defaults for [flush timing](https://vuejs.org/guide/essentials/watchers.html#callback-flush-timing) where possible. For `watch`-like composables (e.g. `pausableWatch`, `whenever`, `useStorage`, `useRefHistory`) the default is `{ flush: 'pre' }`. Which means they will buffer invalidated effects and flush them asynchronously. This avoids unnecessary duplicate invocation when there are multiple state mutations happening in the same "tick". diff --git a/packages/guide/index.md b/packages/guide/index.md index 854b8a37651..b283b12c267 100644 --- a/packages/guide/index.md +++ b/packages/guide/index.md @@ -39,6 +39,17 @@ From v7.2.0, we shipped a Nuxt module to enable auto importing for Nuxt 3 and Nu npm i -D @vueuse/nuxt @vueuse/core ``` +Nuxt 3 +```ts +// nuxt.config.ts +export default { + modules: [ + '@vueuse/nuxt', + ], +} +``` + +Nuxt 2 ```ts // nuxt.config.js export default { diff --git a/packages/integrations/package.json b/packages/integrations/package.json index a31b1b3d974..d88638a382f 100644 --- a/packages/integrations/package.json +++ b/packages/integrations/package.json @@ -1,34 +1,30 @@ { "name": "@vueuse/integrations", - "version": "8.4.2", + "version": "8.5.0", "description": "Integration wrappers for utility libraries", - "keywords": [ - "vue", - "vue-use", - "utils" - ], - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/integrations#readme", - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "license": "MIT", "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/integrations#readme", "repository": { "type": "git", "url": "git+https://github.com/vueuse/vueuse.git", "directory": "packages/integrations" }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "unpkg": "./index.iife.min.js", - "jsdelivr": "./index.iife.min.js", + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, + "keywords": [ + "vue", + "vue-use", + "utils" + ], + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*", "./useAsyncValidator": { @@ -37,54 +33,54 @@ "types": "./useAsyncValidator.d.ts" }, "./useAxios": { + "types": "./useAxios.d.ts", "import": "./useAxios.mjs", - "require": "./useAxios.cjs", - "types": "./useAxios.d.ts" + "require": "./useAxios.cjs" }, "./useCookies": { + "types": "./useCookies.d.ts", "import": "./useCookies.mjs", - "require": "./useCookies.cjs", - "types": "./useCookies.d.ts" + "require": "./useCookies.cjs" }, "./useDrauu": { + "types": "./useDrauu.d.ts", "import": "./useDrauu.mjs", - "require": "./useDrauu.cjs", - "types": "./useDrauu.d.ts" + "require": "./useDrauu.cjs" }, "./useFocusTrap": { + "types": "./useFocusTrap.d.ts", "import": "./useFocusTrap.mjs", - "require": "./useFocusTrap.cjs", - "types": "./useFocusTrap.d.ts" + "require": "./useFocusTrap.cjs" }, "./useFocusTrap/component": { + "types": "./useFocusTrap/component.d.ts", "import": "./useFocusTrap/component.mjs", - "require": "./useFocusTrap/component.cjs", - "types": "./useFocusTrap/component.d.ts" + "require": "./useFocusTrap/component.cjs" }, "./useFuse": { + "types": "./useFuse.d.ts", "import": "./useFuse.mjs", - "require": "./useFuse.cjs", - "types": "./useFuse.d.ts" + "require": "./useFuse.cjs" }, "./useJwt": { + "types": "./useJwt.d.ts", "import": "./useJwt.mjs", - "require": "./useJwt.cjs", - "types": "./useJwt.d.ts" + "require": "./useJwt.cjs" }, "./useNProgress": { + "types": "./useNProgress.d.ts", "import": "./useNProgress.mjs", - "require": "./useNProgress.cjs", - "types": "./useNProgress.d.ts" + "require": "./useNProgress.cjs" }, "./useQRCode": { + "types": "./useQRCode.d.ts", "import": "./useQRCode.mjs", - "require": "./useQRCode.cjs", - "types": "./useQRCode.d.ts" + "require": "./useQRCode.cjs" }, "./useChangeCase": { + "types": "./useChangeCase.d.ts", "import": "./useChangeCase.mjs", - "require": "./useChangeCase.cjs", - "types": "./useChangeCase.d.ts" + "require": "./useChangeCase.cjs" }, "./useAsyncValidator/component": { "import": "./useAsyncValidator/component.mjs", @@ -92,7 +88,11 @@ "types": "./useAsyncValidator/component.d.ts" } }, - "sideEffects": false, + "main": "./index.cjs", + "module": "./index.mjs", + "unpkg": "./index.iife.min.js", + "jsdelivr": "./index.iife.min.js", + "types": "./index.d.ts", "peerDependencies": { "async-validator": "*", "axios": "*", @@ -149,8 +149,8 @@ "axios": "^0.27.2", "change-case": "^4.1.2", "drauu": "^0.3.0", - "focus-trap": "^6.9.0", - "fuse.js": "^6.6.0", + "focus-trap": "^6.9.2", + "fuse.js": "^6.6.2", "jwt-decode": "^3.1.2", "nprogress": "^0.2.0", "qrcode": "^1.5.0", diff --git a/packages/integrations/useAxios/index.ts b/packages/integrations/useAxios/index.ts index 0836ba1a35a..1df15281830 100644 --- a/packages/integrations/useAxios/index.ts +++ b/packages/integrations/useAxios/index.ts @@ -65,9 +65,15 @@ export interface UseAxiosReturn { cancel: (message?: string | undefined) => void /** - * abort aborted + * isAborted alias + * @deprecated use `isCanceled` instead */ canceled: Ref + + /** + * isAborted alias + */ + isCanceled: Ref } export interface StrictUseAxiosReturn extends UseAxiosReturn { /** @@ -192,6 +198,7 @@ export function useAxios(...args: any[]): OverallUseAxiosReturn & Pr isAborted, canceled: isAborted, aborted: isAborted, + isCanceled: isAborted, abort, execute, } as OverallUseAxiosReturn diff --git a/packages/metadata/package.json b/packages/metadata/package.json index 01237423329..918140a4234 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -1,39 +1,39 @@ { "name": "@vueuse/metadata", - "version": "8.4.2", + "version": "8.5.0", "description": "Metadata for VueUse functions", - "keywords": [ - "vue", - "vue-use" - ], - "license": "MIT", "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/metadata#readme", "repository": { "type": "git", "url": "git+https://github.com/vueuse/vueuse.git", "directory": "packages/metadata" }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, + "keywords": [ + "vue", + "vue-use" + ], + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*" }, + "main": "./index.cjs", + "module": "./index.mjs", + "types": "./index.d.ts", "files": [ "index.*" ], - "sideEffects": false, "scripts": { "update": "esno scripts/update.ts" - }, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/metadata#readme" + } } diff --git a/packages/nuxt/README.md b/packages/nuxt/README.md index 3f526c53323..98298555c20 100644 --- a/packages/nuxt/README.md +++ b/packages/nuxt/README.md @@ -19,6 +19,19 @@ export default defineNuxtConfig({ }) ``` +## Caveats + +The following utils are **disabled** from auto-import for Nuxt to avoid conflicts with Nuxt's built-in utils: + +- `toRefs` +- `useFetch` +- `useCookie` +- `useHead` +- `useTitle` +- `useStorage` + +You can always use them by explicitly import from `@vueuse/core` + ## License [MIT License](https://github.com/vueuse/vueuse/blob/master/LICENSE) © 2021-PRESENT [Anthony Fu](https://github.com/antfu) diff --git a/packages/nuxt/index.ts b/packages/nuxt/index.ts index 705f79050df..ce6c1f5c061 100644 --- a/packages/nuxt/index.ts +++ b/packages/nuxt/index.ts @@ -12,6 +12,7 @@ const disabledFunctions = [ 'useCookie', 'useHead', 'useTitle', + 'useStorage', ] const packages = [ diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index e9d6d42c370..3a3e03aa38f 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,7 +1,19 @@ { "name": "@vueuse/nuxt", - "version": "8.4.2", + "version": "8.5.0", "description": "VueUse Nuxt Module", + "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/nuxt#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/vueuse/vueuse.git", + "directory": "packages/nuxt" + }, + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, "keywords": [ "vue", "vueuse", @@ -9,38 +21,26 @@ "nuxt3", "nuxt-module" ], - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/nuxt#readme", - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "license": "MIT", - "author": "Anthony Fu ", - "repository": { - "type": "git", - "url": "git+https://github.com/vueuse/vueuse.git", - "directory": "packages/nuxt" - }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*" }, - "sideEffects": false, + "main": "./index.cjs", + "module": "./index.mjs", + "types": "./index.d.ts", "dependencies": { - "@nuxt/kit": "^3.0.0-rc.2", + "@nuxt/kit": "^3.0.0-rc.3", "@vueuse/core": "workspace:*", "@vueuse/metadata": "workspace:*", "local-pkg": "^0.4.1", "vue-demi": "*" }, "devDependencies": { - "@nuxt/schema": "^3.0.0-rc.2" + "@nuxt/schema": "^3.0.0-rc.3" } } diff --git a/packages/router/package.json b/packages/router/package.json index d76a8f9057c..bf77b5253c9 100644 --- a/packages/router/package.json +++ b/packages/router/package.json @@ -1,39 +1,39 @@ { "name": "@vueuse/router", - "version": "8.4.2", + "version": "8.5.0", "description": "Utilities for vue-router", - "keywords": [ - "vue", - "vue-use", - "vue-router", - "utils" - ], - "license": "MIT", "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/router#readme", "repository": { "type": "git", "url": "git+https://github.com/vueuse/vueuse.git", "directory": "packages/router" }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "unpkg": "./index.iife.min.js", - "jsdelivr": "./index.iife.min.js", + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, + "keywords": [ + "vue", + "vue-use", + "vue-router", + "utils" + ], + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*" }, - "sideEffects": false, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/router#readme", + "main": "./index.cjs", + "module": "./index.mjs", + "unpkg": "./index.iife.min.js", + "jsdelivr": "./index.iife.min.js", + "types": "./index.d.ts", "peerDependencies": { "vue-router": ">=4.0.0-rc.1" }, @@ -42,6 +42,6 @@ "vue-demi": "*" }, "devDependencies": { - "vue-router": "^4.0.14" + "vue-router": "^4.0.15" } } diff --git a/packages/rxjs/package.json b/packages/rxjs/package.json index 7091591075a..c7e59e761e1 100644 --- a/packages/rxjs/package.json +++ b/packages/rxjs/package.json @@ -1,7 +1,19 @@ { "name": "@vueuse/rxjs", - "version": "8.4.2", + "version": "8.5.0", "description": "Enables RxJS reactive functions in Vue", + "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/rxjs#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/vueuse/vueuse.git", + "directory": "packages/rxjs" + }, + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, "keywords": [ "vue", "vue-use", @@ -9,32 +21,20 @@ "rxjs", "reactive" ], - "license": "MIT", - "author": "Anthony Fu ", - "repository": { - "type": "git", - "url": "git+https://github.com/vueuse/vueuse.git", - "directory": "packages/rxjs" - }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "unpkg": "./index.iife.min.js", - "jsdelivr": "./index.iife.min.js", + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*" }, - "sideEffects": false, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/rxjs#readme", + "main": "./index.cjs", + "module": "./index.mjs", + "unpkg": "./index.iife.min.js", + "jsdelivr": "./index.iife.min.js", + "types": "./index.d.ts", "peerDependencies": { "rxjs": ">=6.0.0" }, diff --git a/packages/shared/package.json b/packages/shared/package.json index 179d2f549b4..decd1376113 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,37 +1,37 @@ { "name": "@vueuse/shared", - "version": "8.4.2", - "keywords": [ - "vue", - "vue-use", - "utils" - ], - "license": "MIT", + "version": "8.5.0", "author": "Anthony Fu ", + "license": "MIT", + "funding": "https://github.com/sponsors/antfu", + "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/shared#readme", "repository": { "type": "git", "url": "git+https://github.com/vueuse/vueuse.git", "directory": "packages/shared" }, - "funding": "https://github.com/sponsors/antfu", - "main": "./index.cjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "unpkg": "./index.iife.min.js", - "jsdelivr": "./index.iife.min.js", + "bugs": { + "url": "https://github.com/vueuse/vueuse/issues" + }, + "keywords": [ + "vue", + "vue-use", + "utils" + ], + "sideEffects": false, "exports": { ".": { + "types": "./index.d.ts", "import": "./index.mjs", - "require": "./index.cjs", - "types": "./index.d.ts" + "require": "./index.cjs" }, "./*": "./*" }, - "sideEffects": false, - "bugs": { - "url": "https://github.com/vueuse/vueuse/issues" - }, - "homepage": "https://github.com/vueuse/vueuse/tree/main/packages/shared#readme", + "main": "./index.cjs", + "module": "./index.mjs", + "unpkg": "./index.iife.min.js", + "jsdelivr": "./index.iife.min.js", + "types": "./index.d.ts", "peerDependencies": { "@vue/composition-api": "^1.1.0", "vue": "^2.6.0 || ^3.2.0" diff --git a/packages/shared/reactify/index.md b/packages/shared/reactify/index.md index 82c554dcc32..7da722ebcd4 100644 --- a/packages/shared/reactify/index.md +++ b/packages/shared/reactify/index.md @@ -66,7 +66,7 @@ You can also do it this way: import { reactify } from '@vueuse/core' function pythagorean(a: number, b: number) { - return Math.sqrt(Math.pow(a, 2) + Math.pow(b, 2)) + return Math.sqrt(a ** 2 + b ** 2) } const a = ref(3) diff --git a/packages/shared/syncRefs/index.md b/packages/shared/syncRefs/index.md index 7bf2e6158b6..92b135ab856 100644 --- a/packages/shared/syncRefs/index.md +++ b/packages/shared/syncRefs/index.md @@ -51,7 +51,7 @@ export interface SyncRefOptions { } ``` -When setting `{ flush: 'pre' }`, the target reference will be updated at [the end of the current "tick"](https://v3.vuejs.org/guide/reactivity-computed-watchers.html#effect-flush-timing) before rendering starts. +When setting `{ flush: 'pre' }`, the target reference will be updated at [the end of the current "tick"](https://vuejs.org/guide/essentials/watchers.html#callback-flush-timing) before rendering starts. ```ts import { syncRefs } from '@vueuse/core' diff --git a/packages/shared/toRefs/index.test.ts b/packages/shared/toRefs/index.test.ts index 1615bcc064a..4b28eb8a3f0 100644 --- a/packages/shared/toRefs/index.test.ts +++ b/packages/shared/toRefs/index.test.ts @@ -96,4 +96,22 @@ describe('toRefs', () => { refs[1].value = 1 expect(spy).toHaveBeenLastCalledWith(['a', 1]) }) + + it('should save instance of class', () => { + class SomeClass { + v = 1 + + fn() { + + } + } + + const obj = ref(new SomeClass()) + + const { v } = toRefs(obj) + + v.value = 10 + + expect(obj.value instanceof SomeClass).toBeTruthy() + }) }) diff --git a/packages/shared/toRefs/index.ts b/packages/shared/toRefs/index.ts index 3925ac7cdb2..25b943c90ba 100644 --- a/packages/shared/toRefs/index.ts +++ b/packages/shared/toRefs/index.ts @@ -31,7 +31,11 @@ export function toRefs( objectRef.value = copy } else { - objectRef.value = { ...objectRef.value, [key]: v } + const newObject = { ...objectRef.value, [key]: v } + + Object.setPrototypeOf(newObject, objectRef.value) + + objectRef.value = newObject } }, })) diff --git a/packages/shared/useIntervalFn/demo.vue b/packages/shared/useIntervalFn/demo.vue index d2f57fd5e80..ba2f8b6647a 100644 --- a/packages/shared/useIntervalFn/demo.vue +++ b/packages/shared/useIntervalFn/demo.vue @@ -1,13 +1,14 @@ diff --git a/packages/shared/useIntervalFn/index.ts b/packages/shared/useIntervalFn/index.ts index 18e2b22fa2d..d00a2cfccdd 100644 --- a/packages/shared/useIntervalFn/index.ts +++ b/packages/shared/useIntervalFn/index.ts @@ -48,7 +48,7 @@ export function useIntervalFn(cb: Fn, interval: MaybeRef = 1000, options } function resume() { - if (interval <= 0) + if (unref(interval) <= 0) return isActive.value = true if (immediateCallback) diff --git a/packages/shared/utils/filters.ts b/packages/shared/utils/filters.ts index 46795f51f21..bc55d12d5f2 100644 --- a/packages/shared/utils/filters.ts +++ b/packages/shared/utils/filters.ts @@ -103,7 +103,7 @@ export function debounceFilter(ms: MaybeRef, options: DebounceFilterOpti export function throttleFilter(ms: MaybeRef, trailing = true, leading = true) { let lastExec = 0 let timer: ReturnType | undefined - let preventLeading = !leading + let isLeading = true const clear = () => { if (timer) { @@ -123,24 +123,23 @@ export function throttleFilter(ms: MaybeRef, trailing = true, leading = return invoke() } - if (elapsed > duration) { + if (elapsed > duration && (leading || !isLeading)) { lastExec = Date.now() - if (preventLeading) - preventLeading = false - else invoke() + invoke() } - if (trailing) { + else if (trailing) { timer = setTimeout(() => { lastExec = Date.now() - if (!leading) - preventLeading = true + isLeading = true clear() invoke() }, duration) } if (!leading && !timer) - timer = setTimeout(() => preventLeading = true, duration) + timer = setTimeout(() => isLeading = true, duration) + + isLeading = false } return filter diff --git a/packages/shared/utils/index.test.ts b/packages/shared/utils/index.test.ts index 5b9ab5f33b3..d9d9c679f5b 100644 --- a/packages/shared/utils/index.test.ts +++ b/packages/shared/utils/index.test.ts @@ -77,20 +77,6 @@ describe('filters', () => { expect(debouncedFilterSpy).toHaveBeenCalledTimes(2) }) - it('should throttle', () => { - const debouncedFilterSpy = vitest.fn() - const filter = createFilterWrapper(throttleFilter(1000), debouncedFilterSpy) - - setTimeout(filter, 500) - setTimeout(filter, 500) - setTimeout(filter, 500) - setTimeout(filter, 500) - - vitest.runAllTimers() - - expect(debouncedFilterSpy).toHaveBeenCalledTimes(2) - }) - it('should throttle with ref', () => { const debouncedFilterSpy = vitest.fn() const throttle = ref(0) @@ -107,4 +93,15 @@ describe('filters', () => { expect(debouncedFilterSpy).toHaveBeenCalledTimes(2) }) + + it('should not duplicate single event', () => { + const debouncedFilterSpy = vitest.fn() + const filter = createFilterWrapper(throttleFilter(1000), debouncedFilterSpy) + + setTimeout(filter, 500) + + vitest.runAllTimers() + + expect(debouncedFilterSpy).toHaveBeenCalledTimes(1) + }) }) diff --git a/playgrounds/nuxt3/package.json b/playgrounds/nuxt3/package.json index 9b17937c670..c6c753613c9 100644 --- a/playgrounds/nuxt3/package.json +++ b/playgrounds/nuxt3/package.json @@ -6,6 +6,6 @@ "start": "node .output/server/index.mjs" }, "devDependencies": { - "nuxt": "^3.0.0-rc.2" + "nuxt": "^3.0.0-rc.3" } } diff --git a/playgrounds/vite/package.json b/playgrounds/vite/package.json index 4420e0cab15..d2fc3a9a98a 100644 --- a/playgrounds/vite/package.json +++ b/playgrounds/vite/package.json @@ -6,10 +6,10 @@ "serve": "vite preview" }, "dependencies": { - "vue": "^3.2.33" + "vue": "^3.2.36" }, "devDependencies": { - "@vitejs/plugin-vue": "^2.3.1", - "vite": "^2.9.7" + "@vitejs/plugin-vue": "^2.3.3", + "vite": "^2.9.9" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 321ab427e93..b7690849fbb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,178 +4,178 @@ neverBuiltDependencies: - electron overrides: - vue-demi: 0.12.5 + vue-demi: 0.13.0 importers: .: specifiers: - '@antfu/eslint-config': ^0.23.0 + '@antfu/eslint-config': ^0.24.2 '@antfu/ni': ^0.16.2 - '@iconify/json': ^2.1.35 + '@iconify/json': ^2.1.48 '@rollup/plugin-json': ^4.1.0 '@rollup/plugin-replace': ^4.0.0 '@types/fs-extra': ^9.0.13 '@types/js-yaml': ^4.0.5 '@types/md5': ^2.3.2 - '@types/node': ^17.0.31 - '@types/prettier': ^2.6.0 + '@types/node': ^17.0.35 + '@types/prettier': ^2.6.1 '@types/semver': ^7.3.9 '@types/sharp': ^0.30.2 - '@vitest/ui': ^0.10.2 - '@vue/compiler-sfc': ^3.2.33 - '@vue/composition-api': ^1.6.0 - '@vue/test-utils': ^2.0.0-rc.21 + '@vitest/ui': ^0.12.9 + '@vue/compiler-sfc': ^3.2.36 + '@vue/composition-api': ^1.6.2 + '@vue/test-utils': ^2.0.0 '@vue/theme': ^1.0.2 axios: ^0.27.2 bumpp: ^7.1.1 consola: ^2.15.3 cross-env: ^7.0.3 esbuild-register: ^3.3.2 - eslint: ^8.14.0 - esno: ^0.14.1 + eslint: ^8.16.0 + esno: ^0.16.3 export-size: ^0.5.2 fast-glob: ^3.2.11 firebase: ^8.10.0 fs-extra: ^10.1.0 - fuse.js: ^6.6.0 + fuse.js: ^6.6.2 google-font-installer: ^1.2.0 gray-matter: ^4.0.3 js-yaml: ^4.1.0 jsdom: ^19.0.0 - lint-staged: ^12.4.1 + lint-staged: ^12.4.2 markdown-table: ^3.0.2 md5: ^2.3.0 - msw: ^0.39.2 + msw: ^0.41.0 node-fetch: ^3.2.4 - ohmyfetch: ^0.4.16 - pnpm: ^7.0.0 - postcss: ^8.4.13 + ohmyfetch: ^0.4.18 + pnpm: ^7.1.7 + postcss: ^8.4.14 postcss-nested: ^5.0.6 prettier: ^2.6.2 - prism-theme-vars: ^0.2.2 + prism-theme-vars: ^0.2.3 remove-markdown: ^0.5.0 rimraf: ^3.0.2 - rollup: ^2.71.1 + rollup: ^2.74.1 rollup-plugin-dts: ^4.2.1 rollup-plugin-esbuild: ^4.9.1 - sharp: ^0.30.4 + sharp: ^0.30.5 simple-git: ^3.7.1 simple-git-hooks: ^2.7.0 - typescript: 4.6.4 - unocss: ^0.32.9 + typescript: 4.7.2 + unocss: ^0.34.1 unplugin-icons: ^0.14.3 - unplugin-vue-components: ^0.19.3 - vite: ^2.9.7 + unplugin-vue-components: ^0.19.5 + vite: ^2.9.9 vite-plugin-inspect: ^0.5.0 vite-plugin-pwa: ^0.12.0 - vitepress: ^0.22.3 - vitest: ^0.10.2 - vue: ^3.2.33 + vitepress: ^0.22.4 + vitest: ^0.12.9 + vue: ^3.2.36 vue2: npm:vue@^2.6.14 devDependencies: - '@antfu/eslint-config': 0.23.0_t725usgvqspm5woeqpaxbfp2qu + '@antfu/eslint-config': 0.24.2_xztl6dhthcahlo6akmb2bmjmle '@antfu/ni': 0.16.2 - '@iconify/json': 2.1.35 - '@rollup/plugin-json': 4.1.0_rollup@2.71.1 - '@rollup/plugin-replace': 4.0.0_rollup@2.71.1 + '@iconify/json': 2.1.48 + '@rollup/plugin-json': 4.1.0_rollup@2.74.1 + '@rollup/plugin-replace': 4.0.0_rollup@2.74.1 '@types/fs-extra': 9.0.13 '@types/js-yaml': 4.0.5 '@types/md5': 2.3.2 - '@types/node': 17.0.31 - '@types/prettier': 2.6.0 + '@types/node': 17.0.35 + '@types/prettier': 2.6.1 '@types/semver': 7.3.9 '@types/sharp': 0.30.2 - '@vitest/ui': 0.10.2 - '@vue/compiler-sfc': 3.2.33 - '@vue/composition-api': 1.6.0_vue@3.2.33 - '@vue/test-utils': 2.0.0-rc.21_vue@3.2.33 - '@vue/theme': 1.0.2_kbmtb3wmvrrk5xtxnbdbdjl4qq + '@vitest/ui': 0.12.9 + '@vue/compiler-sfc': 3.2.36 + '@vue/composition-api': 1.6.2_vue@3.2.36 + '@vue/test-utils': 2.0.0_vue@3.2.36 + '@vue/theme': 1.0.2_fxyydyqjavkblcmg2ywsuz264y axios: 0.27.2 bumpp: 7.1.1 consola: 2.15.3 cross-env: 7.0.3 esbuild-register: 3.3.2 - eslint: 8.14.0 - esno: 0.14.1 + eslint: 8.16.0 + esno: 0.16.3 export-size: 0.5.2 fast-glob: 3.2.11 firebase: 8.10.0 fs-extra: 10.1.0 - fuse.js: 6.6.0 + fuse.js: 6.6.2 google-font-installer: 1.2.0 gray-matter: 4.0.3 js-yaml: 4.1.0 jsdom: 19.0.0 - lint-staged: 12.4.1 + lint-staged: 12.4.2 markdown-table: 3.0.2 md5: 2.3.0 - msw: 0.39.2 + msw: 0.41.0_typescript@4.7.2 node-fetch: 3.2.4 - ohmyfetch: 0.4.16 - pnpm: 7.0.0 - postcss: 8.4.13 - postcss-nested: 5.0.6_postcss@8.4.13 + ohmyfetch: 0.4.18 + pnpm: 7.1.7 + postcss: 8.4.14 + postcss-nested: 5.0.6_postcss@8.4.14 prettier: 2.6.2 - prism-theme-vars: 0.2.2 + prism-theme-vars: 0.2.3 remove-markdown: 0.5.0 rimraf: 3.0.2 - rollup: 2.71.1 - rollup-plugin-dts: 4.2.1_ucrswzumipog3rfswkcvuves4u - rollup-plugin-esbuild: 4.9.1_rollup@2.71.1 - sharp: 0.30.4 + rollup: 2.74.1 + rollup-plugin-dts: 4.2.1_durm56y4qsrp7annnznb67puce + rollup-plugin-esbuild: 4.9.1_rollup@2.74.1 + sharp: 0.30.5 simple-git: 3.7.1 simple-git-hooks: 2.7.0 - typescript: 4.6.4 - unocss: 0.32.9_vite@2.9.7 - unplugin-icons: 0.14.3_vhhexzonwcf6y3fqpv4ckpj6ru - unplugin-vue-components: 0.19.3_67oimwpizr2btai3fwx2b3h7cu - vite: 2.9.7 - vite-plugin-inspect: 0.5.0_vite@2.9.7 - vite-plugin-pwa: 0.12.0_vite@2.9.7 - vitepress: 0.22.3 - vitest: 0.10.2_5p6wmr6lxmj27zng35u7okaq7u - vue: 3.2.33 + typescript: 4.7.2 + unocss: 0.34.1_vite@2.9.9 + unplugin-icons: 0.14.3_5ldljao7w6lsiq5e2abv2ioccy + unplugin-vue-components: 0.19.5_spcnh6tolfhh3jo26jzl6kgg4m + vite: 2.9.9 + vite-plugin-inspect: 0.5.0_vite@2.9.9 + vite-plugin-pwa: 0.12.0_vite@2.9.9 + vitepress: 0.22.4 + vitest: 0.12.9_vrw6rgtr7itp6ghyrtnu3o3lrq + vue: 3.2.36 vue2: /vue/2.6.14 packages/components: specifiers: '@vueuse/core': workspace:* '@vueuse/shared': workspace:* - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: '@vueuse/core': link:../core '@vueuse/shared': link:../shared - vue-demi: 0.12.5 + vue-demi: 0.13.0 packages/core: specifiers: '@vueuse/metadata': workspace:* '@vueuse/shared': workspace:* - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: '@vueuse/metadata': link:../metadata '@vueuse/shared': link:../shared - vue-demi: 0.12.5 + vue-demi: 0.13.0 packages/electron: specifiers: '@vueuse/shared': workspace:* electron: ^13.1.0 - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: '@vueuse/shared': link:../shared - vue-demi: 0.12.5 + vue-demi: 0.13.0 devDependencies: electron: 13.6.9 packages/firebase: specifiers: '@vueuse/shared': workspace:* - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: '@vueuse/shared': link:../shared - vue-demi: 0.12.5 + vue-demi: 0.13.0 packages/integrations: specifiers: @@ -187,17 +187,17 @@ importers: axios: ^0.27.2 change-case: ^4.1.2 drauu: ^0.3.0 - focus-trap: ^6.9.0 - fuse.js: ^6.6.0 + focus-trap: ^6.9.2 + fuse.js: ^6.6.2 jwt-decode: ^3.1.2 nprogress: ^0.2.0 qrcode: ^1.5.0 universal-cookie: ^4.0.4 - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: '@vueuse/core': link:../core '@vueuse/shared': link:../shared - vue-demi: 0.12.5 + vue-demi: 0.13.0 devDependencies: '@types/nprogress': 0.2.0 '@types/qrcode': 1.4.2 @@ -205,8 +205,8 @@ importers: axios: 0.27.2 change-case: 4.1.2 drauu: 0.3.0 - focus-trap: 6.9.1 - fuse.js: 6.6.0 + focus-trap: 6.9.2 + fuse.js: 6.6.2 jwt-decode: 3.1.2 nprogress: 0.2.0 qrcode: 1.5.0 @@ -217,29 +217,29 @@ importers: packages/nuxt: specifiers: - '@nuxt/kit': ^3.0.0-rc.2 - '@nuxt/schema': ^3.0.0-rc.2 + '@nuxt/kit': ^3.0.0-rc.3 + '@nuxt/schema': ^3.0.0-rc.3 '@vueuse/core': workspace:* '@vueuse/metadata': workspace:* local-pkg: ^0.4.1 - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: - '@nuxt/kit': 3.0.0-rc.2 + '@nuxt/kit': 3.0.0-rc.3 '@vueuse/core': link:../core '@vueuse/metadata': link:../metadata local-pkg: 0.4.1 - vue-demi: 0.12.5 + vue-demi: 0.13.0 devDependencies: - '@nuxt/schema': 3.0.0-rc.2 + '@nuxt/schema': 3.0.0-rc.3 packages/router: specifiers: '@vueuse/shared': workspace:* - vue-demi: 0.12.5 - vue-router: ^4.0.14 + vue-demi: 0.13.0 + vue-router: ^4.0.15 dependencies: '@vueuse/shared': link:../shared - vue-demi: 0.12.5 + vue-demi: 0.13.0 devDependencies: vue-router: 4.0.15 @@ -247,18 +247,18 @@ importers: specifiers: '@vueuse/shared': workspace:* rxjs: ^6.6.7 - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: '@vueuse/shared': link:../shared - vue-demi: 0.12.5 + vue-demi: 0.13.0 devDependencies: rxjs: 6.6.7 packages/shared: specifiers: - vue-demi: 0.12.5 + vue-demi: 0.13.0 dependencies: - vue-demi: 0.12.5 + vue-demi: 0.13.0 packages: @@ -268,6 +268,12 @@ packages: '@algolia/autocomplete-shared': 1.5.0 dev: true + /@algolia/autocomplete-core/1.6.3: + resolution: {integrity: sha512-dqQqRt01fX3YuVFrkceHsoCnzX0bLhrrg8itJI1NM68KjrPYQPYsE+kY8EZTCM4y8VDnhqJErR73xe/ZsV+qAA==} + dependencies: + '@algolia/autocomplete-shared': 1.6.3 + dev: true + /@algolia/autocomplete-preset-algolia/1.5.0_algoliasearch@4.11.0: resolution: {integrity: sha512-iiFxKERGHkvkiupmrFJbvESpP/zv5jSgH714XRiP5LDvUHaYOo4GLAwZCFf2ef/L5tdtPBARvekn6k1Xf33gjA==} peerDependencies: @@ -282,6 +288,10 @@ packages: resolution: {integrity: sha512-bRSkqHHHSwZYbFY3w9hgMyQRm86Wz27bRaGCbNldLfbk0zUjApmE4ajx+ZCVSLqxvcUEjMqZFJzDsder12eKsg==} dev: true + /@algolia/autocomplete-shared/1.6.3: + resolution: {integrity: sha512-UV46bnkTztyADFaETfzFC5ryIdGVb2zpAoYgu0tfcuYWjhg1KbLXveFffZIrGVoboqmAk1b+jMrl6iCja1i3lg==} + dev: true + /@algolia/cache-browser-local-storage/4.11.0: resolution: {integrity: sha512-4sr9vHIG1fVA9dONagdzhsI/6M5mjs/qOe2xUP0yBmwsTsuwiZq3+Xu6D3dsxsuFetcJgC6ydQoCW8b7fDJHYQ==} dependencies: @@ -378,92 +388,103 @@ packages: dependencies: '@jridgewell/trace-mapping': 0.3.4 - /@antfu/eslint-config-basic/0.23.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-Jygnpgq+9Rb7gBjeQjWx5SNUBPfcHtCh87nydHKXc3hly/wi2pwebp0lZMJahSfIH38DYpVTj4q4pl4lAh1sNA==} + /@antfu/eslint-config-basic/0.24.2_hzuh7e2up357pvq3mkokjvu2lq: + resolution: {integrity: sha512-JQOJP5zM6pVg0wNUMJCcseNTbOSjIOK6kqhAzzkE1Xz5oUtaHgL9zjGyazPpJU6tkYzpXsUpCn3Nd2rFY02b4g==} peerDependencies: eslint: '>=7.4.0' dependencies: - eslint: 8.14.0 - eslint-plugin-antfu: 0.23.0_t725usgvqspm5woeqpaxbfp2qu - eslint-plugin-eslint-comments: 3.2.0_eslint@8.14.0 + eslint: 8.16.0 + eslint-plugin-antfu: 0.24.2_xztl6dhthcahlo6akmb2bmjmle + eslint-plugin-eslint-comments: 3.2.0_eslint@8.16.0 eslint-plugin-html: 6.2.0 - eslint-plugin-import: 2.26.0_eslint@8.14.0 - eslint-plugin-jsonc: 2.2.1_eslint@8.14.0 - eslint-plugin-markdown: 2.2.1_eslint@8.14.0 - eslint-plugin-n: 15.2.0_eslint@8.14.0 - eslint-plugin-promise: 6.0.0_eslint@8.14.0 - eslint-plugin-unicorn: 42.0.0_eslint@8.14.0 - eslint-plugin-yml: 0.14.0_eslint@8.14.0 + eslint-plugin-import: 2.26.0_grfei5yostfimvqdpf73rlhy3e + eslint-plugin-jsonc: 2.2.1_eslint@8.16.0 + eslint-plugin-markdown: 2.2.1_eslint@8.16.0 + eslint-plugin-n: 15.2.0_eslint@8.16.0 + eslint-plugin-promise: 6.0.0_eslint@8.16.0 + eslint-plugin-unicorn: 42.0.0_eslint@8.16.0 + eslint-plugin-yml: 1.0.0_eslint@8.16.0 jsonc-eslint-parser: 2.1.0 - yaml-eslint-parser: 0.5.0 + yaml-eslint-parser: 1.0.1 transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack - supports-color - typescript dev: true - /@antfu/eslint-config-react/0.23.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-bF/4ngA9IEv9WconCtKneub1xlFRu/XBVmkbYzfXSZk8QcrNfb+BZOuLQihxCSo534ulh2zWbxc4EsS/4AOs9Q==} + /@antfu/eslint-config-react/0.24.2_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-rovMrWq4ZGNrPMTOrnLNcXNzztgaTGNT15e7fhOXvP1Zq2UMmj1BCvZjJnLFeHE+ptl7HGd9OADf+WdEfWEfKw==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-ts': 0.23.0_t725usgvqspm5woeqpaxbfp2qu - eslint: 8.14.0 - eslint-plugin-react: 7.29.4_eslint@8.14.0 + '@antfu/eslint-config-ts': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + eslint: 8.16.0 + eslint-plugin-react: 7.30.0_eslint@8.16.0 transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack - supports-color - typescript dev: true - /@antfu/eslint-config-ts/0.23.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-3nLrgj0jLyznTAgBxsRj9HbmnHcHw9RkYVorkge7gf2yVRXXTsjbjYo4O7YSsq/ZrF9Wj4gOJWiX5uVI981V8A==} + /@antfu/eslint-config-ts/0.24.2_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-SLuePt5doZxiYPc4UpNpXHGufgK14/1PXb7qJlDOPYx9jWuPyCkpxesxWXBZ4S+ZHNOw4rvR2iJG0HFVPuNZxg==} peerDependencies: eslint: '>=7.4.0' typescript: '>=3.9' dependencies: - '@antfu/eslint-config-basic': 0.23.0_t725usgvqspm5woeqpaxbfp2qu - '@typescript-eslint/eslint-plugin': 5.22.0_lnjlwhtxjffjmj5o7dnwvwyqxq - '@typescript-eslint/parser': 5.22.0_t725usgvqspm5woeqpaxbfp2qu - eslint: 8.14.0 - typescript: 4.6.4 + '@antfu/eslint-config-basic': 0.24.2_hzuh7e2up357pvq3mkokjvu2lq + '@typescript-eslint/eslint-plugin': 5.26.0_hzuh7e2up357pvq3mkokjvu2lq + '@typescript-eslint/parser': 5.26.0_xztl6dhthcahlo6akmb2bmjmle + eslint: 8.16.0 + typescript: 4.7.2 transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack - supports-color dev: true - /@antfu/eslint-config-vue/0.23.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-ufgJM+iTx8sNnOJtOnb/U9cqb45g0iUVRGSuSfHBFsN6EAV4IOhHDYioO/S1x1HC7ecdYrfvmlJRLPopxJph+Q==} + /@antfu/eslint-config-vue/0.24.2_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-lENl6u3GHnzoP75nEx2J+BNZ5S8ORx3XBPD+izxvxoyarVeda4JZf66YJ3nfMI1g/7/5KoM2ebf3g3ceOEBi3w==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-ts': 0.23.0_t725usgvqspm5woeqpaxbfp2qu - eslint: 8.14.0 - eslint-plugin-vue: 8.7.1_eslint@8.14.0 + '@antfu/eslint-config-ts': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + eslint: 8.16.0 + eslint-plugin-vue: 9.0.1_eslint@8.16.0 transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack - supports-color - typescript dev: true - /@antfu/eslint-config/0.23.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-hfK7zkBH1UxdKRMyUxuAzOihBuoPrk1wZBvGBtQkhpEYwkd//sl3uFaIi+DnLiAsmRWBleAmruaEfkJyvA3Efg==} + /@antfu/eslint-config/0.24.2_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-hDqwNg8e2xud31467KQRmIaYknoF6ijZIUSVY4LI6rlOZPWHQp7J/rMW6NnIF5RHcGJnI/O0Pf1A0GJl3/pjJw==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-react': 0.23.0_t725usgvqspm5woeqpaxbfp2qu - '@antfu/eslint-config-vue': 0.23.0_t725usgvqspm5woeqpaxbfp2qu - '@typescript-eslint/eslint-plugin': 5.22.0_lnjlwhtxjffjmj5o7dnwvwyqxq - '@typescript-eslint/parser': 5.22.0_t725usgvqspm5woeqpaxbfp2qu - eslint: 8.14.0 - eslint-plugin-eslint-comments: 3.2.0_eslint@8.14.0 + '@antfu/eslint-config-react': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + '@antfu/eslint-config-vue': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + '@typescript-eslint/eslint-plugin': 5.26.0_hzuh7e2up357pvq3mkokjvu2lq + '@typescript-eslint/parser': 5.26.0_xztl6dhthcahlo6akmb2bmjmle + eslint: 8.16.0 + eslint-plugin-eslint-comments: 3.2.0_eslint@8.16.0 eslint-plugin-html: 6.2.0 - eslint-plugin-import: 2.26.0_eslint@8.14.0 - eslint-plugin-jsonc: 2.2.1_eslint@8.14.0 - eslint-plugin-n: 15.2.0_eslint@8.14.0 - eslint-plugin-promise: 6.0.0_eslint@8.14.0 - eslint-plugin-unicorn: 42.0.0_eslint@8.14.0 - eslint-plugin-vue: 8.7.1_eslint@8.14.0 - eslint-plugin-yml: 0.14.0_eslint@8.14.0 + eslint-plugin-import: 2.26.0_grfei5yostfimvqdpf73rlhy3e + eslint-plugin-jsonc: 2.2.1_eslint@8.16.0 + eslint-plugin-n: 15.2.0_eslint@8.16.0 + eslint-plugin-promise: 6.0.0_eslint@8.16.0 + eslint-plugin-unicorn: 42.0.0_eslint@8.16.0 + eslint-plugin-vue: 9.0.1_eslint@8.16.0 + eslint-plugin-yml: 1.0.0_eslint@8.16.0 jsonc-eslint-parser: 2.1.0 - yaml-eslint-parser: 0.5.0 + yaml-eslint-parser: 1.0.1 transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack - supports-color - typescript dev: true @@ -480,10 +501,6 @@ packages: hasBin: true dev: true - /@antfu/utils/0.5.0: - resolution: {integrity: sha512-MrAQ/MrPSxbh1bBrmwJjORfJymw4IqSHFBXqvxaga3ZdDM+/zokYF8DjyJpSjY2QmpmgQrajDUBJOWrYeARfzA==} - dev: true - /@antfu/utils/0.5.1: resolution: {integrity: sha512-8Afo0+xvYe1K8Wm4xHTymfTkpzy36aaqDvhXIayUwl+mecMG9Xzl3XjXa6swG6Bk8FBeQ646RyvmsYt6+2Be9g==} dev: true @@ -536,7 +553,7 @@ packages: resolution: {integrity: sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.16.0 + '@babel/types': 7.17.0 jsesc: 2.5.2 source-map: 0.5.7 dev: true @@ -627,7 +644,7 @@ packages: resolution: {integrity: sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.16.0 + '@babel/types': 7.17.0 dev: true /@babel/helper-environment-visitor/7.16.7: @@ -649,7 +666,7 @@ packages: dependencies: '@babel/helper-get-function-arity': 7.16.0 '@babel/template': 7.16.0 - '@babel/types': 7.16.0 + '@babel/types': 7.17.0 dev: true /@babel/helper-function-name/7.16.7: @@ -664,7 +681,7 @@ packages: resolution: {integrity: sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.16.0 + '@babel/types': 7.17.0 dev: true /@babel/helper-get-function-arity/7.16.7: @@ -677,7 +694,7 @@ packages: resolution: {integrity: sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.16.0 + '@babel/types': 7.17.0 dev: true /@babel/helper-hoist-variables/7.16.7: @@ -767,7 +784,7 @@ packages: resolution: {integrity: sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.16.0 + '@babel/types': 7.17.0 dev: true /@babel/helper-split-export-declaration/7.16.7: @@ -818,12 +835,16 @@ packages: resolution: {integrity: sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==} engines: {node: '>=6.0.0'} hasBin: true + dependencies: + '@babel/types': 7.17.0 dev: true /@babel/parser/7.17.7: resolution: {integrity: sha512-bm3AQf45vR4gKggRfvJdYJ0gFLoCbsPxiFLSH6hTVYABptNHY6l9NrhnucVjQ/X+SPtLANT9lc0fFhikj+VBRA==} engines: {node: '>=6.0.0'} hasBin: true + dependencies: + '@babel/types': 7.17.0 /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/7.16.2_@babel+core@7.17.7: resolution: {integrity: sha512-h37CvpLSf8gb2lIJ2CgC3t+EjFbi0t8qS7LCS1xcJIlEXE4czlofwaW7W1HA8zpgOCzI9C1nmoqNR1zWkk0pQg==} @@ -1634,7 +1655,7 @@ packages: dependencies: '@babel/code-frame': 7.16.7 '@babel/parser': 7.17.7 - '@babel/types': 7.16.0 + '@babel/types': 7.17.0 dev: true /@babel/template/7.16.7: @@ -1699,6 +1720,10 @@ packages: resolution: {integrity: sha512-AGwI2AXUacYhVOHmYnsXoYDJKO6Ued2W+QO80GERbMLhC7GH5tfvtW5REs/s7jSdcU3vzFoxT8iPDBCh/PkrlQ==} dev: true + /@docsearch/css/3.1.0: + resolution: {integrity: sha512-bh5IskwkkodbvC0FzSg1AxMykfDl95hebEKwxNoq4e5QaGzOXSBgW8+jnMFZ7JU4sTBiB04vZWoUSzNrPboLZA==} + dev: true + /@docsearch/js/3.0.0-alpha.42: resolution: {integrity: sha512-8rxxsvFKS5GzDX2MYMETeib4EOwAkoxVUHFP5R4tSENXojhuCEy3np+k3Q0c9WPT+MUmWLxKJab5jyl0jmaeBQ==} dependencies: @@ -1711,6 +1736,17 @@ packages: - react-dom dev: true + /@docsearch/js/3.1.0: + resolution: {integrity: sha512-5XSK+xbP0hcTIp54MECqxkWLs6kf7Ug4nWdxWNtx8cUpLiFNFnKXDxCb35wnyNpjukmrx7Q9DkO5tFFsmNVxng==} + dependencies: + '@docsearch/react': 3.1.0 + preact: 10.6.4 + transitivePeerDependencies: + - '@types/react' + - react + - react-dom + dev: true + /@docsearch/react/3.0.0-alpha.42: resolution: {integrity: sha512-1aOslZJDxwUUcm2QRNmlEePUgL8P5fOAeFdOLDMctHQkV2iTja9/rKVbkP8FZbIUnZxuuCCn8ErLrjD/oXWOag==} peerDependencies: @@ -1726,6 +1762,18 @@ packages: - '@algolia/client-search' dev: true + /@docsearch/react/3.1.0: + resolution: {integrity: sha512-bjB6ExnZzf++5B7Tfoi6UXgNwoUnNOfZ1NyvnvPhWgCMy5V/biAtLL4o7owmZSYdAKeFSvZ5Lxm0is4su/dBWg==} + peerDependencies: + '@types/react': '>= 16.8.0 < 19.0.0' + react: '>= 16.8.0 < 19.0.0' + react-dom: '>= 16.8.0 < 19.0.0' + dependencies: + '@algolia/autocomplete-core': 1.6.3 + '@docsearch/css': 3.1.0 + algoliasearch: 4.11.0 + dev: true + /@drauu/core/0.3.0: resolution: {integrity: sha512-rN2Nu70lDIqWrihwlrBlncv94PJrPUi2F91O8vnOEJYpb1qQnG5v8oFiYzfshiSmKzENPKHt7F8eaG5xoaLW4w==} dependencies: @@ -1750,14 +1798,35 @@ packages: - supports-color dev: true - /@eslint/eslintrc/1.2.2: - resolution: {integrity: sha512-lTVWHs7O2hjBFZunXTZYnYqtB9GakA1lnxIf+gKq2nY5gxkkNi/lQvveW6t8gFdOHTg6nG50Xs95PrLqVpcaLg==} + /@esbuild-kit/cjs-loader/2.0.0: + resolution: {integrity: sha512-1ijCpmiCQcOcr0dmwwwCpzv0inWpNtEgiXDWc74AL52AhvY108M26suhWe9PMDcF1esnPJf0YSeVBLLZS6SQvg==} + dependencies: + '@esbuild-kit/core-utils': 1.1.2 + get-tsconfig: 3.0.1 + dev: true + + /@esbuild-kit/core-utils/1.1.2: + resolution: {integrity: sha512-t5uqG23MYDR0e664jP4B6aPXnX1/mJVxbvJKgQDMzOS3NblKZEwwOG1D/JM7Sju+R+gpV6fD1N7L3ouHCLTAAA==} + dependencies: + esbuild: 0.14.38 + dev: true + + /@esbuild-kit/esm-loader/2.1.1: + resolution: {integrity: sha512-SzB7wsSsKZToEvP29gslW6cjudrABMe6q4ZuDk9SDahdWg8QPo3HelLJu97VglhfVXm3gS6iCZbXyfjIWK6LHg==} + dependencies: + '@esbuild-kit/core-utils': 1.1.2 + es-module-lexer: 0.10.5 + get-tsconfig: 3.0.1 + dev: true + + /@eslint/eslintrc/1.3.0: + resolution: {integrity: sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 debug: 4.3.4 - espree: 9.3.1 - globals: 13.12.0 + espree: 9.3.2 + globals: 13.15.0 ignore: 5.2.0 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -2075,7 +2144,7 @@ packages: engines: {node: ^8.13.0 || >=10.10.0} dependencies: '@grpc/proto-loader': 0.6.7 - '@types/node': 17.0.31 + '@types/node': 17.0.35 dev: true /@grpc/proto-loader/0.6.7: @@ -2105,8 +2174,8 @@ packages: resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} dev: true - /@iconify/json/2.1.35: - resolution: {integrity: sha512-VFPRA58gMmT3bAPBhPTyN3KCcrImeiMzHEAPzRRUaz6SGaXvpKlGDJa+qUVHaJKL3Ht1UYUv1cY0t0wNKM/3Bg==} + /@iconify/json/2.1.48: + resolution: {integrity: sha512-84F4/QBfJsDltU7yHgSX6lvEsHB4k4DDkVDkEW3QqFaUZ59fGa1Ls5MAOCH2TGhPrAmeRJN0JOEG3OaFK6AfMA==} dependencies: '@iconify/types': 1.1.0 pathe: 0.2.0 @@ -2204,11 +2273,11 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.13.0 - /@nuxt/kit/3.0.0-rc.2: - resolution: {integrity: sha512-uRsV2UWj4sgkXhXq8bMcl+jostzfKsRUNQVIVHOi7TrhuHBnF1UjZJN9UfOAHVVzobQ9zUXLnGL7+PJhQ/xDdw==} + /@nuxt/kit/3.0.0-rc.3: + resolution: {integrity: sha512-aD993HKXZ76cwxkM2LCwWRQaOI3RjLCg/kj+8ZS6qN4VrpwrZp4xM59YYIYs3/Vze4OG3D4+0gr0u5zdgf8v8g==} engines: {node: ^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0} dependencies: - '@nuxt/schema': 3.0.0-rc.2 + '@nuxt/schema': 3.0.0-rc.3 c12: 0.2.7 consola: 2.15.3 defu: 6.0.0 @@ -2219,12 +2288,12 @@ packages: knitwork: 0.1.1 lodash.template: 4.5.0 mlly: 0.5.2 - pathe: 0.2.0 + pathe: 0.3.0 pkg-types: 0.3.2 scule: 0.2.1 semver: 7.3.7 unctx: 1.1.4 - unimport: 0.1.8 + unimport: 0.1.9 untyped: 0.4.4 transitivePeerDependencies: - esbuild @@ -2234,20 +2303,20 @@ packages: - webpack dev: false - /@nuxt/schema/3.0.0-rc.2: - resolution: {integrity: sha512-5lhM+TF8jw2rx4asBtaP91KjEDYMbjid142dEla8TO4DPqZcwtzQ1rm075aGRtywwxjRVZ/e2kcu/3DV53D6VQ==} + /@nuxt/schema/3.0.0-rc.3: + resolution: {integrity: sha512-vICmOpIk8SjVVUN+MadAMMF/MEXqPgY3jquSjSkmWdydtMOBoxrBpl+5nkpJCtsCq5KJAK8WI+9SCNIkEASCgw==} engines: {node: ^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0} dependencies: c12: 0.2.7 create-require: 1.1.1 defu: 6.0.0 jiti: 1.13.0 - pathe: 0.2.0 + pathe: 0.3.0 postcss-import-resolver: 2.0.0 scule: 0.2.1 std-env: 3.1.1 - ufo: 0.8.3 - unimport: 0.1.8 + ufo: 0.8.4 + unimport: 0.1.9 transitivePeerDependencies: - esbuild - rollup @@ -2305,7 +2374,7 @@ packages: resolution: {integrity: sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA=} dev: true - /@rollup/plugin-babel/5.3.0_wcjvusw4zhufksfyyfhnkgaxxm: + /@rollup/plugin-babel/5.3.0_x2aor467pf57uz6h672f6uaxfe: resolution: {integrity: sha512-9uIC8HZOnVLrLHxayq/PTzw+uS25E14KPUBh5ktF+18Mjo5yK0ToMMx6epY0uEgkjwJw0aBW4x2horYXh8juWw==} engines: {node: '>= 10.0.0'} peerDependencies: @@ -2318,70 +2387,70 @@ packages: dependencies: '@babel/core': 7.17.7 '@babel/helper-module-imports': 7.16.7 - '@rollup/pluginutils': 3.1.0_rollup@2.71.1 - rollup: 2.71.1 + '@rollup/pluginutils': 3.1.0_rollup@2.74.1 + rollup: 2.74.1 dev: true - /@rollup/plugin-json/4.1.0_rollup@2.71.1: + /@rollup/plugin-json/4.1.0_rollup@2.74.1: resolution: {integrity: sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.71.1 - rollup: 2.71.1 + '@rollup/pluginutils': 3.1.0_rollup@2.74.1 + rollup: 2.74.1 dev: true - /@rollup/plugin-node-resolve/11.2.1_rollup@2.71.1: + /@rollup/plugin-node-resolve/11.2.1_rollup@2.74.1: resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==} engines: {node: '>= 10.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.71.1 + '@rollup/pluginutils': 3.1.0_rollup@2.74.1 '@types/resolve': 1.17.1 builtin-modules: 3.2.0 deepmerge: 4.2.2 is-module: 1.0.0 resolve: 1.22.0 - rollup: 2.71.1 + rollup: 2.74.1 dev: true - /@rollup/plugin-node-resolve/13.1.1_rollup@2.71.1: + /@rollup/plugin-node-resolve/13.1.1_rollup@2.74.1: resolution: {integrity: sha512-6QKtRevXLrmEig9UiMYt2fSvee9TyltGRfw+qSs6xjUnxwjOzTOqy+/Lpxsgjb8mJn1EQNbCDAvt89O4uzL5kw==} engines: {node: '>= 10.0.0'} peerDependencies: rollup: ^2.42.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.71.1 + '@rollup/pluginutils': 3.1.0_rollup@2.74.1 '@types/resolve': 1.17.1 builtin-modules: 3.2.0 deepmerge: 4.2.2 is-module: 1.0.0 resolve: 1.22.0 - rollup: 2.71.1 + rollup: 2.74.1 dev: true - /@rollup/plugin-replace/2.4.2_rollup@2.71.1: + /@rollup/plugin-replace/2.4.2_rollup@2.74.1: resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.71.1 + '@rollup/pluginutils': 3.1.0_rollup@2.74.1 magic-string: 0.25.7 - rollup: 2.71.1 + rollup: 2.74.1 dev: true - /@rollup/plugin-replace/4.0.0_rollup@2.71.1: + /@rollup/plugin-replace/4.0.0_rollup@2.74.1: resolution: {integrity: sha512-+rumQFiaNac9y64OHtkHGmdjm7us9bo1PlbgQfdihQtuNxzjpaB064HbRnewUOggLQxVCCyINfStkgmBeQpv1g==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 dependencies: - '@rollup/pluginutils': 3.1.0_rollup@2.71.1 + '@rollup/pluginutils': 3.1.0_rollup@2.74.1 magic-string: 0.25.7 - rollup: 2.71.1 + rollup: 2.74.1 dev: true - /@rollup/pluginutils/3.1.0_rollup@2.71.1: + /@rollup/pluginutils/3.1.0_rollup@2.74.1: resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} engines: {node: '>= 8.0.0'} peerDependencies: @@ -2390,7 +2459,7 @@ packages: '@types/estree': 0.0.39 estree-walker: 1.0.1 picomatch: 2.3.0 - rollup: 2.71.1 + rollup: 2.74.1 dev: true /@rollup/pluginutils/4.2.0: @@ -2459,7 +2528,7 @@ packages: /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 17.0.31 + '@types/node': 17.0.35 dev: true /@types/js-levenshtein/1.1.1: @@ -2475,7 +2544,13 @@ packages: dev: true /@types/json5/0.0.29: - resolution: {integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4=} + resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} + dev: true + + /@types/keyv/3.1.4: + resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} + dependencies: + '@types/node': 17.0.35 dev: true /@types/long/4.0.1: @@ -2500,6 +2575,10 @@ packages: resolution: {integrity: sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==} dev: true + /@types/node/17.0.35: + resolution: {integrity: sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg==} + dev: true + /@types/normalize-package-data/2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true @@ -2508,8 +2587,8 @@ packages: resolution: {integrity: sha512-1cYJrqq9GezNFPsWTZpFut/d4CjpZqA0vhqDUPFWYKF1oIyBz5qnoYMzR+0C/T96t3ebLAC1SSnwrVOm5/j74A==} dev: true - /@types/prettier/2.6.0: - resolution: {integrity: sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==} + /@types/prettier/2.6.1: + resolution: {integrity: sha512-XFjFHmaLVifrAKaZ+EKghFHtHSUonyw8P2Qmy2/+osBnrKbH9UYtlK10zg8/kCt47MFilll/DEDKy3DHfJ0URw==} dev: true /@types/qrcode/1.4.2: @@ -2521,7 +2600,13 @@ packages: /@types/resolve/1.17.1: resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} dependencies: - '@types/node': 17.0.31 + '@types/node': 17.0.35 + dev: true + + /@types/responselike/1.0.0: + resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} + dependencies: + '@types/node': 17.0.35 dev: true /@types/semver/7.3.9: @@ -2531,13 +2616,13 @@ packages: /@types/set-cookie-parser/2.4.2: resolution: {integrity: sha512-fBZgytwhYAUkj/jC/FAV4RQ5EerRup1YQsXQCh8rZfiHkc4UahC192oH0smGwsXol3cL3A5oETuAHeQHmhXM4w==} dependencies: - '@types/node': 17.0.31 + '@types/node': 17.0.35 dev: true /@types/sharp/0.30.2: resolution: {integrity: sha512-uLCBwjDg/BTcQit0dpNGvkIjvH3wsb8zpaJePCjvONBBSfaKHoxXBIuq1MT8DMQEfk2fKYnpC9QExCgFhkGkMQ==} dependencies: - '@types/node': 17.0.31 + '@types/node': 17.0.35 dev: true /@types/trusted-types/2.0.2: @@ -2548,8 +2633,8 @@ packages: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: true - /@typescript-eslint/eslint-plugin/5.22.0_lnjlwhtxjffjmj5o7dnwvwyqxq: - resolution: {integrity: sha512-YCiy5PUzpAeOPGQ7VSGDEY2NeYUV1B0swde2e0HzokRsHBYjSdF6DZ51OuRZxVPHx0032lXGLvOMls91D8FXlg==} + /@typescript-eslint/eslint-plugin/5.26.0_hzuh7e2up357pvq3mkokjvu2lq: + resolution: {integrity: sha512-oGCmo0PqnRZZndr+KwvvAUvD3kNE4AfyoGCwOZpoCncSh4MVD06JTE8XQa2u9u+NX5CsyZMBTEc2C72zx38eYA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -2559,24 +2644,24 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.22.0_t725usgvqspm5woeqpaxbfp2qu - '@typescript-eslint/scope-manager': 5.22.0 - '@typescript-eslint/type-utils': 5.22.0_t725usgvqspm5woeqpaxbfp2qu - '@typescript-eslint/utils': 5.22.0_t725usgvqspm5woeqpaxbfp2qu + '@typescript-eslint/parser': 5.26.0_xztl6dhthcahlo6akmb2bmjmle + '@typescript-eslint/scope-manager': 5.26.0 + '@typescript-eslint/type-utils': 5.26.0_xztl6dhthcahlo6akmb2bmjmle + '@typescript-eslint/utils': 5.26.0_xztl6dhthcahlo6akmb2bmjmle debug: 4.3.4 - eslint: 8.14.0 + eslint: 8.16.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.6.4 - typescript: 4.6.4 + tsutils: 3.21.0_typescript@4.7.2 + typescript: 4.7.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.22.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-piwC4krUpRDqPaPbFaycN70KCP87+PC5WZmrWs+DlVOxxmF+zI6b6hETv7Quy4s9wbkV16ikMeZgXsvzwI3icQ==} + /@typescript-eslint/parser/5.26.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-n/IzU87ttzIdnAH5vQ4BBDnLPly7rC5VnjN3m0xBG82HK6rhRxnCb3w/GyWbNDghPd+NktJqB/wl6+YkzZ5T5Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2585,26 +2670,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.22.0 - '@typescript-eslint/types': 5.22.0 - '@typescript-eslint/typescript-estree': 5.22.0_typescript@4.6.4 + '@typescript-eslint/scope-manager': 5.26.0 + '@typescript-eslint/types': 5.26.0 + '@typescript-eslint/typescript-estree': 5.26.0_typescript@4.7.2 debug: 4.3.4 - eslint: 8.14.0 - typescript: 4.6.4 + eslint: 8.16.0 + typescript: 4.7.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.22.0: - resolution: {integrity: sha512-yA9G5NJgV5esANJCO0oF15MkBO20mIskbZ8ijfmlKIvQKg0ynVKfHZ15/nhAJN5m8Jn3X5qkwriQCiUntC9AbA==} + /@typescript-eslint/scope-manager/5.26.0: + resolution: {integrity: sha512-gVzTJUESuTwiju/7NiTb4c5oqod8xt5GhMbExKsCTp6adU3mya6AGJ4Pl9xC7x2DX9UYFsjImC0mA62BCY22Iw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.22.0 - '@typescript-eslint/visitor-keys': 5.22.0 + '@typescript-eslint/types': 5.26.0 + '@typescript-eslint/visitor-keys': 5.26.0 dev: true - /@typescript-eslint/type-utils/5.22.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-iqfLZIsZhK2OEJ4cQ01xOq3NaCuG5FQRKyHicA3xhZxMgaxQazLUHbH/B2k9y5i7l3+o+B5ND9Mf1AWETeMISA==} + /@typescript-eslint/type-utils/5.26.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-7ccbUVWGLmcRDSA1+ADkDBl5fP87EJt0fnijsMFTVHXKGduYMgienC/i3QwoVhDADUAPoytgjbZbCOMj4TY55A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -2613,22 +2698,22 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.22.0_t725usgvqspm5woeqpaxbfp2qu + '@typescript-eslint/utils': 5.26.0_xztl6dhthcahlo6akmb2bmjmle debug: 4.3.4 - eslint: 8.14.0 - tsutils: 3.21.0_typescript@4.6.4 - typescript: 4.6.4 + eslint: 8.16.0 + tsutils: 3.21.0_typescript@4.7.2 + typescript: 4.7.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.22.0: - resolution: {integrity: sha512-T7owcXW4l0v7NTijmjGWwWf/1JqdlWiBzPqzAWhobxft0SiEvMJB56QXmeCQjrPuM8zEfGUKyPQr/L8+cFUBLw==} + /@typescript-eslint/types/5.26.0: + resolution: {integrity: sha512-8794JZFE1RN4XaExLWLI2oSXsVImNkl79PzTOOWt9h0UHROwJedNOD2IJyfL0NbddFllcktGIO2aOu10avQQyA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.22.0_typescript@4.6.4: - resolution: {integrity: sha512-EyBEQxvNjg80yinGE2xdhpDYm41so/1kOItl0qrjIiJ1kX/L/L8WWGmJg8ni6eG3DwqmOzDqOhe6763bF92nOw==} + /@typescript-eslint/typescript-estree/5.26.0_typescript@4.7.2: + resolution: {integrity: sha512-EyGpw6eQDsfD6jIqmXP3rU5oHScZ51tL/cZgFbFBvWuCwrIptl+oueUZzSmLtxFuSOQ9vDcJIs+279gnJkfd1w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -2636,291 +2721,298 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.22.0 - '@typescript-eslint/visitor-keys': 5.22.0 + '@typescript-eslint/types': 5.26.0 + '@typescript-eslint/visitor-keys': 5.26.0 debug: 4.3.4 - globby: 11.0.4 + globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.7 - tsutils: 3.21.0_typescript@4.6.4 - typescript: 4.6.4 + tsutils: 3.21.0_typescript@4.7.2 + typescript: 4.7.2 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.22.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-HodsGb037iobrWSUMS7QH6Hl1kppikjA1ELiJlNSTYf/UdMEwzgj0WIp+lBNb6WZ3zTwb0tEz51j0Wee3iJ3wQ==} + /@typescript-eslint/utils/5.26.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-PJFwcTq2Pt4AMOKfe3zQOdez6InIDOjUJJD3v3LyEtxHGVVRK3Vo7Dd923t/4M9hSH2q2CLvcTdxlLPjcIk3eg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@types/json-schema': 7.0.9 - '@typescript-eslint/scope-manager': 5.22.0 - '@typescript-eslint/types': 5.22.0 - '@typescript-eslint/typescript-estree': 5.22.0_typescript@4.6.4 - eslint: 8.14.0 + '@typescript-eslint/scope-manager': 5.26.0 + '@typescript-eslint/types': 5.26.0 + '@typescript-eslint/typescript-estree': 5.26.0_typescript@4.7.2 + eslint: 8.16.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint-utils: 3.0.0_eslint@8.16.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@typescript-eslint/visitor-keys/5.22.0: - resolution: {integrity: sha512-DbgTqn2Dv5RFWluG88tn0pP6Ex0ROF+dpDO1TNNZdRtLjUr6bdznjA6f/qNqJLjd2PgguAES2Zgxh/JzwzETDg==} + /@typescript-eslint/visitor-keys/5.26.0: + resolution: {integrity: sha512-wei+ffqHanYDOQgg/fS6Hcar6wAWv0CUPQ3TZzOWd2BLfgP539rb49bwua8WRAs7R6kOSLn82rfEu2ro6Llt8Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.22.0 + '@typescript-eslint/types': 5.26.0 eslint-visitor-keys: 3.3.0 dev: true - /@unocss/cli/0.32.9: - resolution: {integrity: sha512-lHqq7wCI7Q7yWbDyGB4W4BMsr9m4U+HIu9/18Vn4N7eqr0wog5tUTaea2c0ErJYH8LVXvqMmvbib1Kq/KrbRaA==} + /@unocss/cli/0.34.1: + resolution: {integrity: sha512-RHZyo70xOO/Loq17wVQoL+9Hs0QY0RbfAVfap6vk1uQMcDoZ3FVPjOvaDmpfqwwFeA6rExBplEF0jKlmsPfbuQ==} engines: {node: '>=14'} hasBin: true dependencies: - '@unocss/config': 0.32.9 - '@unocss/core': 0.32.9 - '@unocss/preset-uno': 0.32.9 + '@unocss/config': 0.34.1 + '@unocss/core': 0.34.1 + '@unocss/preset-uno': 0.34.1 cac: 6.7.12 chokidar: 3.5.3 colorette: 2.0.16 consola: 2.15.3 fast-glob: 3.2.11 - pathe: 0.2.0 + pathe: 0.3.0 perfect-debounce: 0.1.3 dev: true - /@unocss/config/0.32.9: - resolution: {integrity: sha512-AXZS+AjZzObyPtFK02esDAEaCu6D3FeR8qv+IQ1lGBMe0jGws8lQlduV/ey59HEzoRPxaIi3ziQ6FlxL4wiZ/g==} + /@unocss/config/0.34.1: + resolution: {integrity: sha512-aB8AEIxo2C8Dvev4NFu8e/ClCy+1jY6TgKfYxVpDpITqwiNGGnFvFsj563JGGI9oD+cPAIXwHv0Kb79NBJTpyg==} engines: {node: '>=14'} dependencies: - '@unocss/core': 0.32.9 - unconfig: 0.3.3 + '@unocss/core': 0.34.1 + unconfig: 0.3.4 dev: true - /@unocss/core/0.32.9: - resolution: {integrity: sha512-tnKMbe3hGFaMyVCiK5kw4rVEENNJ/XZHOy1SQ+WVobLv4K6zAxXdqeQ3DiNvzzHnEzAFX6ddp4zx975sTJ74ZQ==} + /@unocss/core/0.34.1: + resolution: {integrity: sha512-h2AeTLAiBWu6IZzR1tN2H/ypuCbc9CK7t8H/o2ncG22Jfoh6FO09jQPoiRZr72PcpDf2/0snN94iZLnjvPGZOg==} dev: true - /@unocss/inspector/0.32.9: - resolution: {integrity: sha512-dSjAWTkxkyOU48+mroF3hbxVm8SxNtx57HkT/j2nuZoX3F3tVVEi+5xHwiIKeDO4h0oR8zpbzWCK6NkhtdTEsw==} + /@unocss/inspector/0.34.1: + resolution: {integrity: sha512-4V4gUy1bykm/oOtEAXT5Lc98Bxp6k+vp141O/Yp+AMgX4wK0+dB9ELrQx7gzVLQauQv209xuMZ9tscKf0VEZaA==} dependencies: gzip-size: 6.0.0 sirv: 2.0.2 dev: true - /@unocss/preset-attributify/0.32.9: - resolution: {integrity: sha512-a2GwHj9ukh1WhhrXHfOQyOCDPYAwg8JVJKwn9EAOdOSb1xNw0LtWF+y90/wZqab7eAZbWwsxb7S8Ja32w7MwLg==} + /@unocss/preset-attributify/0.34.1: + resolution: {integrity: sha512-ik4Dh0CEFa3yZuSY7C8ct4X1wRb50RHjZvp8exyDmWoUpMq/nKB6op9MRnPASAcMFeXs2pMnFYlNwg5rPiw3xQ==} dependencies: - '@unocss/core': 0.32.9 + '@unocss/core': 0.34.1 dev: true - /@unocss/preset-icons/0.32.9: - resolution: {integrity: sha512-ccYMPNYQ1nCR3Exe7GoWuW2upP/1wHTyI0zxFQuWI8Pfs3umHsRFnjkDd2J55svK2EmQi0wmVvh9nNu0d63qdQ==} + /@unocss/preset-icons/0.34.1: + resolution: {integrity: sha512-fGfchdyf5qFm3wX6cLJWFIqfnfsWKPwipNGJDdPgnk0kFiV9sPBE7GD0ctwdZg6v+dpHImOAMRqfhpx5ocJUKw==} dependencies: '@iconify/utils': 1.0.32 - '@unocss/core': 0.32.9 + '@unocss/core': 0.34.1 + ohmyfetch: 0.4.18 transitivePeerDependencies: - supports-color dev: true - /@unocss/preset-mini/0.32.9: - resolution: {integrity: sha512-AXuY4tQMbESzLwgIPPCspC5lppoJ1P7Qhrc/1tdDEb4+11ryTeLyb3yQZgL7HQ1YKKxS0i1hVV5f2x8eNEe2Pg==} + /@unocss/preset-mini/0.34.1: + resolution: {integrity: sha512-pEL+/55RfRTfpUplCVzC1l0gLy5cGR1lRSduNz91+FqHmxmyw/rzEoZl0+KhlcNTKWGJY6pM/UYQ3AcbNu5n9w==} dependencies: - '@unocss/core': 0.32.9 + '@unocss/core': 0.34.1 dev: true - /@unocss/preset-typography/0.32.9: - resolution: {integrity: sha512-j4aUsl56HSnMZHVjnNl+BQRpWef2NiCiEMADzFrwrw+YvFj4WsMAQITnAMW5i5LXKM8WPYuLEmc3dStuIKnK5w==} + /@unocss/preset-typography/0.34.1: + resolution: {integrity: sha512-plNmH6LqJx6Zp7R42PvMlRJ60r+9zjL4gRmHP2V/kUWlAelrHDtBrCT4V8ndrNUXCIK9cE0rLKk6acafDbgsHg==} dependencies: - '@unocss/core': 0.32.9 + '@unocss/core': 0.34.1 dev: true - /@unocss/preset-uno/0.32.9: - resolution: {integrity: sha512-pTp6HDGn//zhoX05+7B96K9jyR2OpGPLT4pfMatu1ipjyIr6hT8pB3NjXQe26N+VAoLlyckQmAD1rB/gvVaWMw==} + /@unocss/preset-uno/0.34.1: + resolution: {integrity: sha512-QQxSyZRBzgVwH+m6c6vdJt0ZMa4EHSj4DHpZ68r35FRbs7Wk8cJ7mK40FW+d4FbuFKaMN8EmH6zQTeN9+vtbUg==} dependencies: - '@unocss/core': 0.32.9 - '@unocss/preset-mini': 0.32.9 - '@unocss/preset-wind': 0.32.9 + '@unocss/core': 0.34.1 + '@unocss/preset-mini': 0.34.1 + '@unocss/preset-wind': 0.34.1 dev: true - /@unocss/preset-web-fonts/0.32.9: - resolution: {integrity: sha512-XruDgt/sD4DpJsN45qSBSdJ2NGfmItGqWbKtrErxDghbEYQdkIyZBrKn+4dzjs2qe4aOTtWzzRx5+fBlHFc5rg==} + /@unocss/preset-web-fonts/0.34.1: + resolution: {integrity: sha512-xLQT9ERot5pANELA9nXrzHlMOxOQkdNBkcaoeSwD/Lup4mpHKPXDAqWIry+GYfQvcF9k7BYD/40CSx44RAhOpw==} dependencies: - '@unocss/core': 0.32.9 - ohmyfetch: 0.4.16 + '@unocss/core': 0.34.1 + ohmyfetch: 0.4.18 dev: true - /@unocss/preset-wind/0.32.9: - resolution: {integrity: sha512-wnbVU/rpMrONowCMC9XTXSo34CuSGST6nje/PXyGssdHOHRaC4DcOM2tznJ2Ol0QlhmJ3n6gq/JbSTO0PRp9bQ==} + /@unocss/preset-wind/0.34.1: + resolution: {integrity: sha512-NDDIdtPv6tX0scNx4o9oF6GPz2U6ufI9uhbqacWhZX43aolJaNM0W5WsEOnw8GrO7RXOlgtChn0r79Uc91Ip0g==} dependencies: - '@unocss/core': 0.32.9 - '@unocss/preset-mini': 0.32.9 + '@unocss/core': 0.34.1 + '@unocss/preset-mini': 0.34.1 dev: true - /@unocss/reset/0.32.9: - resolution: {integrity: sha512-H7MVOCmlDc78hl7nb1Ct+Sa1Hp2wtiO5qLhkHAvd3sB0R0l8kccBDTU7RcGpBD1Vq4QspCadFM5zjLScndyp5A==} + /@unocss/reset/0.34.1: + resolution: {integrity: sha512-KbDzfB+CLcyNPOjm5g/sNhIvZn5LVlGTYvsxkCj3kzNKsNcuwK0QttDiR2Eo4/Zwtm8VJi0nWH6Oeg5lKyvV6w==} dev: true - /@unocss/scope/0.32.9: - resolution: {integrity: sha512-Mv2jFxGuV369Zn3rLb/cKQp/yyw7IVp0TrSd3j7Q3WUTqqg2zjKxXcRGs3EVHtfJV0YC6LxGc1HA7iwH5voAQQ==} + /@unocss/scope/0.34.1: + resolution: {integrity: sha512-uWCbjdKzSqiGvaTsvOFvQlWYErlUQ2TKfer90dJid5mdak2XHnH1X/XqSYqqHLT5pmyVk7c2OGALxgUQV+IzjQ==} dev: true - /@unocss/transformer-directives/0.32.9: - resolution: {integrity: sha512-1R1lknyQDzeI3dxnAtjQ6oSB6eYVoGXvY5Lo7g8jwOvxkso7DcqG/Evq9KGOj97QWz0Ez/Z7uKQuUXDZdV/11w==} + /@unocss/transformer-compile-class/0.34.1: + resolution: {integrity: sha512-NjjNOa4l5BWWJKW87BKiAOmudVaxyuKPRd8B80fz7lAQn/5VGEgQ0/1A6NmqAyHwKprUi4Gu4thsJezBiIAuNA==} dependencies: - '@unocss/core': 0.32.9 + '@unocss/core': 0.34.1 + dev: true + + /@unocss/transformer-directives/0.34.1: + resolution: {integrity: sha512-aLNa3uQ1WP+GYgLB2xyhfn6yXAuSquNlKgS/muGpc8oCSOMtAtaxjkdsAFzK8CRgZUYGMB3TBynJSBQhizTlDQ==} + dependencies: + '@unocss/core': 0.34.1 css-tree: 2.1.0 dev: true - /@unocss/transformer-variant-group/0.32.9: - resolution: {integrity: sha512-qA6sQZ+U/I4wmPcddfY9/YbesvNdsavY0SBYjnqutjMjf01+1lDfIpn2g01iYR/tdj4sP00mAkigOSXvpjbaOg==} + /@unocss/transformer-variant-group/0.34.1: + resolution: {integrity: sha512-Dgk5uszraWgcVmerW1q/+AKKf/VpkyJFPOvc0EeJTl2H8kMdITrwHh5vVuQoM70rsaw3hGPWX++fThvIB48cWQ==} dependencies: - '@unocss/core': 0.32.9 + '@unocss/core': 0.34.1 dev: true - /@unocss/vite/0.32.9_vite@2.9.7: - resolution: {integrity: sha512-CE2Dt+pr3gQckvyu1lnqANkALQOPohn1HVir/lYQmd0gGd6l6nr+kL8WrLezqHkhuiJ+DZGq+OFZfs4a32TVBA==} + /@unocss/vite/0.34.1_vite@2.9.9: + resolution: {integrity: sha512-XQB4Y4hdg0Zof1obmzN1pR+/pyDOLGhvu13J6lw67nUwvLdy0t9IpBufh8yHpoka6E3j25yaGfLPqO0c5VYgkw==} peerDependencies: vite: ^2.9.0 dependencies: '@rollup/pluginutils': 4.2.1 - '@unocss/config': 0.32.9 - '@unocss/core': 0.32.9 - '@unocss/inspector': 0.32.9 - '@unocss/scope': 0.32.9 - '@unocss/transformer-directives': 0.32.9 - magic-string: 0.26.1 - vite: 2.9.7 + '@unocss/config': 0.34.1 + '@unocss/core': 0.34.1 + '@unocss/inspector': 0.34.1 + '@unocss/scope': 0.34.1 + '@unocss/transformer-directives': 0.34.1 + magic-string: 0.26.2 + vite: 2.9.9 dev: true - /@vitejs/plugin-vue/2.2.2_vite@2.9.7+vue@3.2.33: - resolution: {integrity: sha512-3C0s45VOwIFEDU+2ownJOpb0zD5fnjXWaHVOLID2R1mYOlAx3doNBFnNbVjaZvpke/L7IdPJXjpyYpXZToDKig==} + /@vitejs/plugin-vue/2.3.3_vite@2.9.9+vue@3.2.36: + resolution: {integrity: sha512-SmQLDyhz+6lGJhPELsBdzXGc+AcaT8stgkbiTFGpXPe8Tl1tJaBw1A6pxDqDuRsVkD8uscrkx3hA7QDOoKYtyw==} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 vue: ^3.2.25 dependencies: - vite: 2.9.7 - vue: 3.2.33 + vite: 2.9.9 + vue: 3.2.36 dev: true - /@vitest/ui/0.10.2: - resolution: {integrity: sha512-sFaTxareiJwBJNNyw+fHLbsvpFSYI/6qipazjA5mdVkzEGVYUzOgOTVFluu9GPJmwrdGhnumeJEB/+VUOE1Shw==} + /@vitest/ui/0.12.9: + resolution: {integrity: sha512-CFh2yEfakcNeheGAXHvaWGMpI5CcnxVIwkKC1rFz6LnEyOpkEv7i6gbZ1Tqu2YbnC5jRNCrz/bIsT5hT1lh9Rw==} dependencies: sirv: 2.0.2 dev: true - /@vue/compiler-core/3.2.33: - resolution: {integrity: sha512-AAmr52ji3Zhk7IKIuigX2osWWsb2nQE5xsdFYjdnmtQ4gymmqXbjLvkSE174+fF3A3kstYrTgGkqgOEbsdLDpw==} + /@vue/compiler-core/3.2.36: + resolution: {integrity: sha512-bbyZM5hvBicv0PW3KUfVi+x3ylHnfKG7DOn5wM+f2OztTzTjLEyBb/5yrarIYpmnGitVGbjZqDbODyW4iK8hqw==} dependencies: '@babel/parser': 7.17.7 - '@vue/shared': 3.2.33 + '@vue/shared': 3.2.36 estree-walker: 2.0.2 source-map: 0.6.1 dev: true - /@vue/compiler-dom/3.2.33: - resolution: {integrity: sha512-GhiG1C8X98Xz9QUX/RlA6/kgPBWJkjq0Rq6//5XTAGSYrTMBgcLpP9+CnlUg1TFxnnCVughAG+KZl28XJqw8uQ==} + /@vue/compiler-dom/3.2.36: + resolution: {integrity: sha512-tcOTAOiW4s24QLnq+ON6J+GRONXJ+A/mqKCORi0LSlIh8XQlNnlm24y8xIL8la+ZDgkdbjarQ9ZqYSvEja6gVA==} dependencies: - '@vue/compiler-core': 3.2.33 - '@vue/shared': 3.2.33 + '@vue/compiler-core': 3.2.36 + '@vue/shared': 3.2.36 dev: true - /@vue/compiler-sfc/3.2.33: - resolution: {integrity: sha512-H8D0WqagCr295pQjUYyO8P3IejM3vEzeCO1apzByAEaAR/WimhMYczHfZVvlCE/9yBaEu/eu9RdiWr0kF8b71Q==} + /@vue/compiler-sfc/3.2.36: + resolution: {integrity: sha512-AvGb4bTj4W8uQ4BqaSxo7UwTEqX5utdRSMyHy58OragWlt8nEACQ9mIeQh3K4di4/SX+41+pJrLIY01lHAOFOA==} dependencies: '@babel/parser': 7.17.7 - '@vue/compiler-core': 3.2.33 - '@vue/compiler-dom': 3.2.33 - '@vue/compiler-ssr': 3.2.33 - '@vue/reactivity-transform': 3.2.33 - '@vue/shared': 3.2.33 + '@vue/compiler-core': 3.2.36 + '@vue/compiler-dom': 3.2.36 + '@vue/compiler-ssr': 3.2.36 + '@vue/reactivity-transform': 3.2.36 + '@vue/shared': 3.2.36 estree-walker: 2.0.2 magic-string: 0.25.7 - postcss: 8.4.13 + postcss: 8.4.14 source-map: 0.6.1 dev: true - /@vue/compiler-ssr/3.2.33: - resolution: {integrity: sha512-XQh1Xdk3VquDpXsnoCd7JnMoWec9CfAzQDQsaMcSU79OrrO2PNR0ErlIjm/mGq3GmBfkQjzZACV+7GhfRB8xMQ==} + /@vue/compiler-ssr/3.2.36: + resolution: {integrity: sha512-+KugInUFRvOxEdLkZwE+W43BqHyhBh0jpYXhmqw1xGq2dmE6J9eZ8UUSOKNhdHtQ/iNLWWeK/wPZkVLUf3YGaw==} dependencies: - '@vue/compiler-dom': 3.2.33 - '@vue/shared': 3.2.33 + '@vue/compiler-dom': 3.2.36 + '@vue/shared': 3.2.36 dev: true - /@vue/composition-api/1.6.0_vue@3.2.33: - resolution: {integrity: sha512-m/FbsCXn0Ov2QCYUEIt4yupWJLCL6nfZg/Xx2L5VlFUqgJb2iOrbLnkYSV0TO2VUxkBLSFtTZMyG8IIHZFdKNA==} + /@vue/composition-api/1.6.2_vue@3.2.36: + resolution: {integrity: sha512-g6pCOaAB5Z987EwCBIDanRlramrgnWfrrYS8F/0axn2AL8EvyfAebDcLTSr48hac0G0rqC9ODp5LWaiupzl6Tw==} peerDependencies: vue: '>= 2.5 < 3' dependencies: - vue: 3.2.33 + vue: 3.2.36 dev: true /@vue/devtools-api/6.1.4: resolution: {integrity: sha512-IiA0SvDrJEgXvVxjNkHPFfDx6SXw0b/TUkqMcDZWNg9fnCAHbTpoo59YfJ9QLFkwa3raau5vSlRVzMSLDnfdtQ==} dev: true - /@vue/reactivity-transform/3.2.33: - resolution: {integrity: sha512-4UL5KOIvSQb254aqenW4q34qMXbfZcmEsV/yVidLUgvwYQQ/D21bGX3DlgPUGI3c4C+iOnNmDCkIxkILoX/Pyw==} + /@vue/reactivity-transform/3.2.36: + resolution: {integrity: sha512-Jk5o2BhpODC9XTA7o4EL8hSJ4JyrFWErLtClG3NH8wDS7ri9jBDWxI7/549T7JY9uilKsaNM+4pJASLj5dtRwA==} dependencies: '@babel/parser': 7.17.7 - '@vue/compiler-core': 3.2.33 - '@vue/shared': 3.2.33 + '@vue/compiler-core': 3.2.36 + '@vue/shared': 3.2.36 estree-walker: 2.0.2 magic-string: 0.25.7 dev: true - /@vue/reactivity/3.2.33: - resolution: {integrity: sha512-62Sq0mp9/0bLmDuxuLD5CIaMG2susFAGARLuZ/5jkU1FCf9EDbwUuF+BO8Ub3Rbodx0ziIecM/NsmyjardBxfQ==} + /@vue/reactivity/3.2.36: + resolution: {integrity: sha512-c2qvopo0crh9A4GXi2/2kfGYMxsJW4tVILrqRPydVGZHhq0fnzy6qmclWOhBFckEhmyxmpHpdJtIRYGeKcuhnA==} dependencies: - '@vue/shared': 3.2.33 + '@vue/shared': 3.2.36 dev: true - /@vue/runtime-core/3.2.33: - resolution: {integrity: sha512-N2D2vfaXsBPhzCV3JsXQa2NECjxP3eXgZlFqKh4tgakp3iX6LCGv76DLlc+IfFZq+TW10Y8QUfeihXOupJ1dGw==} + /@vue/runtime-core/3.2.36: + resolution: {integrity: sha512-PTWBD+Lub+1U3/KhbCExrfxyS14hstLX+cBboxVHaz+kXoiDLNDEYAovPtxeTutbqtClIXtft+wcGdC+FUQ9qQ==} dependencies: - '@vue/reactivity': 3.2.33 - '@vue/shared': 3.2.33 + '@vue/reactivity': 3.2.36 + '@vue/shared': 3.2.36 dev: true - /@vue/runtime-dom/3.2.33: - resolution: {integrity: sha512-LSrJ6W7CZTSUygX5s8aFkraDWlO6K4geOwA3quFF2O+hC3QuAMZt/0Xb7JKE3C4JD4pFwCSO7oCrZmZ0BIJUnw==} + /@vue/runtime-dom/3.2.36: + resolution: {integrity: sha512-gYPYblm7QXHVuBohqNRRT7Wez0f2Mx2D40rb4fleehrJU9CnkjG0phhcGEZFfGwCmHZRqBCRgbFWE98bPULqkg==} dependencies: - '@vue/runtime-core': 3.2.33 - '@vue/shared': 3.2.33 + '@vue/runtime-core': 3.2.36 + '@vue/shared': 3.2.36 csstype: 2.6.19 dev: true - /@vue/server-renderer/3.2.33_vue@3.2.33: - resolution: {integrity: sha512-4jpJHRD4ORv8PlbYi+/MfP8ec1okz6rybe36MdpkDrGIdEItHEUyaHSKvz+ptNEyQpALmmVfRteHkU9F8vxOew==} + /@vue/server-renderer/3.2.36_vue@3.2.36: + resolution: {integrity: sha512-uZE0+jfye6yYXWvAQYeHZv+f50sRryvy16uiqzk3jn8hEY8zTjI+rzlmZSGoE915k+W/Ol9XSw6vxOUD8dGkUg==} peerDependencies: - vue: 3.2.33 + vue: 3.2.36 dependencies: - '@vue/compiler-ssr': 3.2.33 - '@vue/shared': 3.2.33 - vue: 3.2.33 + '@vue/compiler-ssr': 3.2.36 + '@vue/shared': 3.2.36 + vue: 3.2.36 dev: true - /@vue/shared/3.2.33: - resolution: {integrity: sha512-UBc1Pg1T3yZ97vsA2ueER0F6GbJebLHYlEi4ou1H5YL4KWvMOOWwpYo9/QpWq93wxKG6Wo13IY74Hcn/f7c7Bg==} + /@vue/shared/3.2.36: + resolution: {integrity: sha512-JtB41wXl7Au3+Nl3gD16Cfpj7k/6aCroZ6BbOiCMFCMvrOpkg/qQUXTso2XowaNqBbnkuGHurLAqkLBxNGc1hQ==} dev: true - /@vue/test-utils/2.0.0-rc.21_vue@3.2.33: - resolution: {integrity: sha512-wIJR4e/jISBKVKfiod3DV32BlDsoD744WVCuCaGtaSKvhvTL9gI5vl2AYSy00V51YaM8dCOFi3zcpCON8G1WqA==} + /@vue/test-utils/2.0.0_vue@3.2.36: + resolution: {integrity: sha512-zL5kygNq7hONrO1CzaUGprEAklAX+pH8J1MPMCU3Rd2xtSYkZ+PmKU3oEDRg8VAGdL5lNJHzDgrud5amFPtirw==} peerDependencies: vue: ^3.0.1 dependencies: - vue: 3.2.33 + vue: 3.2.36 dev: true - /@vue/theme/1.0.2_kbmtb3wmvrrk5xtxnbdbdjl4qq: + /@vue/theme/1.0.2_fxyydyqjavkblcmg2ywsuz264y: resolution: {integrity: sha512-jBALidvFMLgcR76UQ2foi4yD5gHn1YrigXJglZe3Rb0rm4KRVLxPeCe/CAfD42Wsm9xAfSNDUxRneQfbQpA1eg==} dependencies: '@docsearch/css': 3.0.0-alpha.42 '@docsearch/js': 3.0.0-alpha.42 - '@vueuse/core': 7.4.1_kbmtb3wmvrrk5xtxnbdbdjl4qq + '@vueuse/core': 7.4.1_fxyydyqjavkblcmg2ywsuz264y body-scroll-lock: 3.1.5 normalize.css: 8.0.1 shiki: 0.9.15 @@ -2933,7 +3025,7 @@ packages: - vue dev: true - /@vueuse/core/7.4.1_kbmtb3wmvrrk5xtxnbdbdjl4qq: + /@vueuse/core/7.4.1_fxyydyqjavkblcmg2ywsuz264y: resolution: {integrity: sha512-8UeLPCAieeQLXFHF1/28SIEK6ILLPb/4hp03hR+xkXF00gB/YUp0CEVcRAL9uQ8HTZa3S2T/jTISMc1ZjilM0A==} peerDependencies: '@vue/composition-api': ^1.1.0 @@ -2944,13 +3036,13 @@ packages: vue: optional: true dependencies: - '@vue/composition-api': 1.6.0_vue@3.2.33 - '@vueuse/shared': 7.4.1_kbmtb3wmvrrk5xtxnbdbdjl4qq - vue: 3.2.33 - vue-demi: 0.12.5_kbmtb3wmvrrk5xtxnbdbdjl4qq + '@vue/composition-api': 1.6.2_vue@3.2.36 + '@vueuse/shared': 7.4.1_fxyydyqjavkblcmg2ywsuz264y + vue: 3.2.36 + vue-demi: 0.13.0_fxyydyqjavkblcmg2ywsuz264y dev: true - /@vueuse/shared/7.4.1_kbmtb3wmvrrk5xtxnbdbdjl4qq: + /@vueuse/shared/7.4.1_fxyydyqjavkblcmg2ywsuz264y: resolution: {integrity: sha512-Pzb7XoHIcgPwwBJ5Ow9lZb0HTDyaLDV3pgxKauPGTMN9qvEylG06kUG+VTjJXkPsRtiGu46di8XyFeMw2dongA==} peerDependencies: '@vue/composition-api': ^1.1.0 @@ -2961,9 +3053,9 @@ packages: vue: optional: true dependencies: - '@vue/composition-api': 1.6.0_vue@3.2.33 - vue: 3.2.33 - vue-demi: 0.12.5_kbmtb3wmvrrk5xtxnbdbdjl4qq + '@vue/composition-api': 1.6.2_vue@3.2.36 + vue: 3.2.36 + vue-demi: 0.13.0_fxyydyqjavkblcmg2ywsuz264y dev: true /@xmldom/xmldom/0.7.5: @@ -2982,12 +3074,12 @@ packages: acorn-walk: 7.2.0 dev: true - /acorn-jsx/5.3.2_acorn@8.7.0: + /acorn-jsx/5.3.2_acorn@8.7.1: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - acorn: 8.7.0 + acorn: 8.7.1 dev: true /acorn-walk/7.2.0: @@ -3006,6 +3098,12 @@ packages: engines: {node: '>=0.4.0'} hasBin: true + /acorn/8.7.1: + resolution: {integrity: sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + /agent-base/6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} @@ -3068,7 +3166,7 @@ packages: dev: true /ansi-regex/2.1.1: - resolution: {integrity: sha1-w7M6te42DYbg5ijwRorn7yfWVN8=} + resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==} engines: {node: '>=0.10.0'} dev: true @@ -3144,6 +3242,17 @@ packages: is-string: 1.0.7 dev: true + /array-includes/3.1.5: + resolution: {integrity: sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + es-abstract: 1.20.1 + get-intrinsic: 1.1.1 + is-string: 1.0.7 + dev: true + /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -3158,13 +3267,14 @@ packages: es-abstract: 1.19.1 dev: true - /array.prototype.flatmap/1.2.5: - resolution: {integrity: sha512-08u6rVyi1Lj7oqWbS9nUxliETrtIROT4XGTA4D/LWGten6E3ocm7cy9SIrmNHOL5XVbVuckUp3X6Xyg8/zpvHA==} + /array.prototype.flatmap/1.3.0: + resolution: {integrity: sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==} engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.3 - es-abstract: 1.19.1 + define-properties: 1.1.4 + es-abstract: 1.20.1 + es-shim-unscopables: 1.0.0 dev: true /assertion-error/1.1.0: @@ -3273,7 +3383,7 @@ packages: dev: true /boolbase/1.0.0: - resolution: {integrity: sha1-aN/1++YMUes3cl6p4+0xDcwed24=} + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} dev: true /boolean/3.2.0: @@ -3345,7 +3455,7 @@ packages: /builtins/4.0.0: resolution: {integrity: sha512-qC0E2Dxgou1IHhvJSLwGDSTvokbRovU5zZFuDY6oY8Y2lF3nGt5Ad8YZK7GMtqzY84Wu7pXTPeHQeHcXSXsRhw==} dependencies: - semver: 7.3.5 + semver: 7.3.7 dev: true /bumpp/7.1.1: @@ -3511,7 +3621,7 @@ packages: dev: true /check-error/1.0.2: - resolution: {integrity: sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=} + resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} dev: true /chokidar/3.5.3: @@ -3536,7 +3646,7 @@ packages: dev: true /clean-regexp/1.0.0: - resolution: {integrity: sha1-jffHquUf02h06PjQW5GAvBGj/tc=} + resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} engines: {node: '>=4'} dependencies: escape-string-regexp: 1.0.5 @@ -3850,12 +3960,22 @@ packages: /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.0.0 dev: true /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.1.3 dev: true @@ -3945,6 +4065,14 @@ packages: object-keys: 1.1.1 dev: true + /define-properties/1.1.4: + resolution: {integrity: sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==} + engines: {node: '>= 0.4'} + dependencies: + has-property-descriptors: 1.0.0 + object-keys: 1.1.1 + dev: true + /defu/6.0.0: resolution: {integrity: sha512-t2MZGLf1V2rV4VBZbWIaXKdX/mUcYW0n2znQZoADBkGGxYL8EWqCuCZBmJPJ/Yy9fofJkyuuSuo5GSwo0XdEgw==} @@ -4176,10 +4304,49 @@ packages: unbox-primitive: 1.0.1 dev: true + /es-abstract/1.20.1: + resolution: {integrity: sha512-WEm2oBhfoI2sImeM4OF2zE2V3BYdSF+KnSi9Sidz51fQHd7+JuF8Xgcj9/0o+OWeIeIS/MiuNnlruQrJf16GQA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + es-to-primitive: 1.2.1 + function-bind: 1.1.1 + function.prototype.name: 1.1.5 + get-intrinsic: 1.1.1 + get-symbol-description: 1.0.0 + has: 1.0.3 + has-property-descriptors: 1.0.0 + has-symbols: 1.0.3 + internal-slot: 1.0.3 + is-callable: 1.2.4 + is-negative-zero: 2.0.2 + is-regex: 1.1.4 + is-shared-array-buffer: 1.0.2 + is-string: 1.0.7 + is-weakref: 1.0.2 + object-inspect: 1.12.0 + object-keys: 1.1.1 + object.assign: 4.1.2 + regexp.prototype.flags: 1.4.3 + string.prototype.trimend: 1.0.5 + string.prototype.trimstart: 1.0.5 + unbox-primitive: 1.0.2 + dev: true + + /es-module-lexer/0.10.5: + resolution: {integrity: sha512-+7IwY/kiGAacQfY+YBhKMvEmyAJnw5grTUgjG85Pe7vcUI/6b7pZjZG8nQ7+48YhzEAEqrEgD2dCz/JIK+AYvw==} + dev: true + /es-module-lexer/0.9.3: resolution: {integrity: sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==} dev: true + /es-shim-unscopables/1.0.0: + resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} + dependencies: + has: 1.0.3 + dev: true + /es-to-primitive/1.2.1: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} @@ -4203,6 +4370,15 @@ packages: dev: true optional: true + /esbuild-android-64/0.14.38: + resolution: {integrity: sha512-aRFxR3scRKkbmNuGAK+Gee3+yFxkTJO/cx83Dkyzo4CnQl/2zVSurtG6+G86EQIZ+w+VYngVyK7P3HyTBKu3nw==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /esbuild-android-arm64/0.13.15: resolution: {integrity: sha512-m602nft/XXeO8YQPUDVoHfjyRVPdPgjyyXOxZ44MK/agewFFkPa8tUo6lAzSWh5Ui5PB4KR9UIFTSBKh/RrCmg==} cpu: [arm64] @@ -4220,8 +4396,9 @@ packages: dev: true optional: true - /esbuild-android-arm64/0.14.8: - resolution: {integrity: sha512-tAEoSHnPBSH0cCAFa/aYs3LPsoTY4SwsP6wDKi4PaelbQYNJjqNpAeweyJ8l98g1D6ZkLyqsHbkYj+209sezkA==} + /esbuild-android-arm64/0.14.38: + resolution: {integrity: sha512-L2NgQRWuHFI89IIZIlpAcINy9FvBk6xFVZ7xGdOwIm8VyhX1vNCEqUJO3DPSSy945Gzdg98cxtNt8Grv1CsyhA==} + engines: {node: '>=12'} cpu: [arm64] os: [android] requiresBuild: true @@ -4245,8 +4422,9 @@ packages: dev: true optional: true - /esbuild-darwin-64/0.14.8: - resolution: {integrity: sha512-t7p7WzTb+ybiD/irkMt5j/NzB+jY+8yPTsrXk5zCOH1O7DdthRnAUJ7pJPwImdL7jAGRbLtYRxUPgCHs/0qUPw==} + /esbuild-darwin-64/0.14.38: + resolution: {integrity: sha512-5JJvgXkX87Pd1Og0u/NJuO7TSqAikAcQQ74gyJ87bqWRVeouky84ICoV4sN6VV53aTW+NE87qLdGY4QA2S7KNA==} + engines: {node: '>=12'} cpu: [x64] os: [darwin] requiresBuild: true @@ -4270,8 +4448,9 @@ packages: dev: true optional: true - /esbuild-darwin-arm64/0.14.8: - resolution: {integrity: sha512-5FeaT2zMUajKnBwUMSsjZev5iA38YHrDmXhkOCwZQIFUvhqojinqCrvv/X7dyxb1987bcY9KGwJ+EwDwd922HQ==} + /esbuild-darwin-arm64/0.14.38: + resolution: {integrity: sha512-eqF+OejMI3mC5Dlo9Kdq/Ilbki9sQBw3QlHW3wjLmsLh+quNfHmGMp3Ly1eWm981iGBMdbtSS9+LRvR2T8B3eQ==} + engines: {node: '>=12'} cpu: [arm64] os: [darwin] requiresBuild: true @@ -4295,8 +4474,9 @@ packages: dev: true optional: true - /esbuild-freebsd-64/0.14.8: - resolution: {integrity: sha512-pGHBLSf7ynfyDZXUtbq/GsA2VIwQlWXrUj1AMcE0id47mRdEUM8/1ZuqMGZx63hRnNgtK9zNJ8OIu2c7qq76Qw==} + /esbuild-freebsd-64/0.14.38: + resolution: {integrity: sha512-epnPbhZUt93xV5cgeY36ZxPXDsQeO55DppzsIgWM8vgiG/Rz+qYDLmh5ts3e+Ln1wA9dQ+nZmVHw+RjaW3I5Ig==} + engines: {node: '>=12'} cpu: [x64] os: [freebsd] requiresBuild: true @@ -4320,8 +4500,9 @@ packages: dev: true optional: true - /esbuild-freebsd-arm64/0.14.8: - resolution: {integrity: sha512-g4GgAnrx6Gh1BjKJjJWgPnOR4tW2FcAx9wFvyUjRsIjB35gT+aAFR+P/zStu5OG9LnbS8Pvjd4wS68QIXk+2dA==} + /esbuild-freebsd-arm64/0.14.38: + resolution: {integrity: sha512-/9icXUYJWherhk+y5fjPI5yNUdFPtXHQlwP7/K/zg8t8lQdHVj20SqU9/udQmeUo5pDFHMYzcEFfJqgOVeKNNQ==} + engines: {node: '>=12'} cpu: [arm64] os: [freebsd] requiresBuild: true @@ -4345,8 +4526,9 @@ packages: dev: true optional: true - /esbuild-linux-32/0.14.8: - resolution: {integrity: sha512-wPfQJadF5vTzriw/B8Ide74PeAJlZW7czNx3NIUHkHlXb+En1SeIqNzl6jG9DuJUl57xD9Ucl9YJFEkFeX8eLg==} + /esbuild-linux-32/0.14.38: + resolution: {integrity: sha512-QfgfeNHRFvr2XeHFzP8kOZVnal3QvST3A0cgq32ZrHjSMFTdgXhMhmWdKzRXP/PKcfv3e2OW9tT9PpcjNvaq6g==} + engines: {node: '>=12'} cpu: [ia32] os: [linux] requiresBuild: true @@ -4370,8 +4552,9 @@ packages: dev: true optional: true - /esbuild-linux-64/0.14.8: - resolution: {integrity: sha512-+RNuLk9RhRDL2kG+KTEYl5cIgF6AGLkRnKKWEu9DpCZaickONEqrKyQSVn410Hj105DLdW6qvIXQQHPycJhExg==} + /esbuild-linux-64/0.14.38: + resolution: {integrity: sha512-uuZHNmqcs+Bj1qiW9k/HZU3FtIHmYiuxZ/6Aa+/KHb/pFKr7R3aVqvxlAudYI9Fw3St0VCPfv7QBpUITSmBR1Q==} + engines: {node: '>=12'} cpu: [x64] os: [linux] requiresBuild: true @@ -4395,8 +4578,9 @@ packages: dev: true optional: true - /esbuild-linux-arm/0.14.8: - resolution: {integrity: sha512-HIct38SvUAIJbiTwV/PVQroimQo96TGtzRDAEZxTorB4vsAj1r8bd0keXExPU4RH7G0zIqC4loQQpWYL+nH4Vg==} + /esbuild-linux-arm/0.14.38: + resolution: {integrity: sha512-FiFvQe8J3VKTDXG01JbvoVRXQ0x6UZwyrU4IaLBZeq39Bsbatd94Fuc3F1RGqPF5RbIWW7RvkVQjn79ejzysnA==} + engines: {node: '>=12'} cpu: [arm] os: [linux] requiresBuild: true @@ -4420,8 +4604,9 @@ packages: dev: true optional: true - /esbuild-linux-arm64/0.14.8: - resolution: {integrity: sha512-BtWoKNYul9UoxUvQUSdSrvSmJyFL1sGnNPTSqWCg1wMe4kmc8UY2yVsXSSkKO8N2jtHxlgFyz/XhvNBzEwGVcw==} + /esbuild-linux-arm64/0.14.38: + resolution: {integrity: sha512-HlMGZTEsBrXrivr64eZ/EO0NQM8H8DuSENRok9d+Jtvq8hOLzrxfsAT9U94K3KOGk2XgCmkaI2KD8hX7F97lvA==} + engines: {node: '>=12'} cpu: [arm64] os: [linux] requiresBuild: true @@ -4445,8 +4630,9 @@ packages: dev: true optional: true - /esbuild-linux-mips64le/0.14.8: - resolution: {integrity: sha512-0DxnCl9XTvaQtsX6Qa+Phr5i9b04INwwSv2RbQ2UWRLoQ/037iaFzbmuhgrcmaGOcRwPkCa+4Qo5EgI01MUgsQ==} + /esbuild-linux-mips64le/0.14.38: + resolution: {integrity: sha512-qd1dLf2v7QBiI5wwfil9j0HG/5YMFBAmMVmdeokbNAMbcg49p25t6IlJFXAeLzogv1AvgaXRXvgFNhScYEUXGQ==} + engines: {node: '>=12'} cpu: [mips64el] os: [linux] requiresBuild: true @@ -4470,8 +4656,9 @@ packages: dev: true optional: true - /esbuild-linux-ppc64le/0.14.8: - resolution: {integrity: sha512-Uzr/OMj97Q0qoWLXCvXCKUY/z1SNI4iSZEuYylM5Nd71HGStL32XWq/MReJ0PYMvUMKKJicKSKw2jWM1uBQ84Q==} + /esbuild-linux-ppc64le/0.14.38: + resolution: {integrity: sha512-mnbEm7o69gTl60jSuK+nn+pRsRHGtDPfzhrqEUXyCl7CTOCLtWN2bhK8bgsdp6J/2NyS/wHBjs1x8aBWwP2X9Q==} + engines: {node: '>=12'} cpu: [ppc64] os: [linux] requiresBuild: true @@ -4487,6 +4674,15 @@ packages: dev: true optional: true + /esbuild-linux-riscv64/0.14.38: + resolution: {integrity: sha512-+p6YKYbuV72uikChRk14FSyNJZ4WfYkffj6Af0/Tw63/6TJX6TnIKE+6D3xtEc7DeDth1fjUOEqm+ApKFXbbVQ==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /esbuild-linux-s390x/0.14.29: resolution: {integrity: sha512-o7EYajF1rC/4ho7kpSG3gENVx0o2SsHm7cJ5fvewWB/TEczWU7teDgusGSujxCYcMottE3zqa423VTglNTYhjg==} engines: {node: '>=12'} @@ -4496,8 +4692,9 @@ packages: dev: true optional: true - /esbuild-linux-s390x/0.14.8: - resolution: {integrity: sha512-vURka7aCA5DrRoOqOn6pXYwFlDSoQ4qnqam8AC0Ikn6tibutuhgar6M3Ek2DCuz9yqd396mngdYr5A8x2TPkww==} + /esbuild-linux-s390x/0.14.38: + resolution: {integrity: sha512-0zUsiDkGJiMHxBQ7JDU8jbaanUY975CdOW1YDrurjrM0vWHfjv9tLQsW9GSyEb/heSK1L5gaweRjzfUVBFoybQ==} + engines: {node: '>=12'} cpu: [s390x] os: [linux] requiresBuild: true @@ -4521,20 +4718,15 @@ packages: dev: true optional: true - /esbuild-netbsd-64/0.14.8: - resolution: {integrity: sha512-tjyDak2/pp0VUAhBW6/ueuReMd5qLHNlisXl5pq0Xn0z+kH9urA/t1igm0JassWbdMz123td5ZEQWoD9KbtOAw==} + /esbuild-netbsd-64/0.14.38: + resolution: {integrity: sha512-cljBAApVwkpnJZfnRVThpRBGzCi+a+V9Ofb1fVkKhtrPLDYlHLrSYGtmnoTVWDQdU516qYI8+wOgcGZ4XIZh0Q==} + engines: {node: '>=12'} cpu: [x64] os: [netbsd] requiresBuild: true dev: true optional: true - /esbuild-node-loader/0.6.5: - resolution: {integrity: sha512-uPP+dllWm38cFvDysdocutN3lfe5pTIbddAHp1ENyLzpHYqE2r+3Wo+pfg9X3p8DFWwzIisft5YkeBIthIcixw==} - dependencies: - esbuild: 0.14.29 - dev: true - /esbuild-openbsd-64/0.13.15: resolution: {integrity: sha512-wTfvtwYJYAFL1fSs8yHIdf5GEE4NkbtbXtjLWjM3Cw8mmQKqsg8kTiqJ9NJQe5NX/5Qlo7Xd9r1yKMMkHllp5g==} cpu: [x64] @@ -4552,8 +4744,9 @@ packages: dev: true optional: true - /esbuild-openbsd-64/0.14.8: - resolution: {integrity: sha512-zAKKV15fIyAuDDga5rQv0lW2ufBWj/OCjqjDBb3dJf5SfoAi/DMIHuzmkKQeDQ+oxt9Rp1D7ZOlOBVflutFTqQ==} + /esbuild-openbsd-64/0.14.38: + resolution: {integrity: sha512-CDswYr2PWPGEPpLDUO50mL3WO/07EMjnZDNKpmaxUPsrW+kVM3LoAqr/CE8UbzugpEiflYqJsGPLirThRB18IQ==} + engines: {node: '>=12'} cpu: [x64] os: [openbsd] requiresBuild: true @@ -4566,14 +4759,6 @@ packages: esbuild: '>=0.12 <1' dev: true - /esbuild-register/3.3.2_esbuild@0.14.8: - resolution: {integrity: sha512-jceAtTO6zxPmCfSD5cBb3rgIK1vmuqCKYwgylHiS1BF4pq0jJiJb4K2QMuqF4BEw7XDBRatYzip0upyTzfkgsQ==} - peerDependencies: - esbuild: '>=0.12 <1' - dependencies: - esbuild: 0.14.8 - dev: true - /esbuild-sunos-64/0.13.15: resolution: {integrity: sha512-lbivT9Bx3t1iWWrSnGyBP9ODriEvWDRiweAs69vI+miJoeKwHWOComSRukttbuzjZ8r1q0mQJ8Z7yUsDJ3hKdw==} cpu: [x64] @@ -4591,8 +4776,9 @@ packages: dev: true optional: true - /esbuild-sunos-64/0.14.8: - resolution: {integrity: sha512-xV41Wa8imziM/2dbWZjLKQbIETRgo5dE0oc/uPsgaecJhsrdA0VkGa/V432LJSUYv967xHDQdoRRl5tr80+NnQ==} + /esbuild-sunos-64/0.14.38: + resolution: {integrity: sha512-2mfIoYW58gKcC3bck0j7lD3RZkqYA7MmujFYmSn9l6TiIcAMpuEvqksO+ntBgbLep/eyjpgdplF7b+4T9VJGOA==} + engines: {node: '>=12'} cpu: [x64] os: [sunos] requiresBuild: true @@ -4616,8 +4802,9 @@ packages: dev: true optional: true - /esbuild-windows-32/0.14.8: - resolution: {integrity: sha512-AxpdeLKQSyCZo7MzdOyV4OgEbEJcjnrS/2niAjbHESbjuS5P1DN/5vZoJ/JSWDVa/40OkBuHBhAXMx1HK3UDsg==} + /esbuild-windows-32/0.14.38: + resolution: {integrity: sha512-L2BmEeFZATAvU+FJzJiRLFUP+d9RHN+QXpgaOrs2klshoAm1AE6Us4X6fS9k33Uy5SzScn2TpcgecbqJza1Hjw==} + engines: {node: '>=12'} cpu: [ia32] os: [win32] requiresBuild: true @@ -4641,8 +4828,9 @@ packages: dev: true optional: true - /esbuild-windows-64/0.14.8: - resolution: {integrity: sha512-/3pllNoy8mrz/E1rYalwiwwhzJBrYQhEapwAteHZbFVhGzYuB8F80e8x5eA8dhFHxDiZh1VzK+hREwwSt8UTQA==} + /esbuild-windows-64/0.14.38: + resolution: {integrity: sha512-Khy4wVmebnzue8aeSXLC+6clo/hRYeNIm0DyikoEqX+3w3rcvrhzpoix0S+MF9vzh6JFskkIGD7Zx47ODJNyCw==} + engines: {node: '>=12'} cpu: [x64] os: [win32] requiresBuild: true @@ -4666,8 +4854,9 @@ packages: dev: true optional: true - /esbuild-windows-arm64/0.14.8: - resolution: {integrity: sha512-lTm5naoNgaUvzIiax3XYIEebqwr3bIIEEtqUhzQ2UQ+JMBmvhr02w3sJIJqF3axTX6TgWrC1OtM7DYNvFG+aXA==} + /esbuild-windows-arm64/0.14.38: + resolution: {integrity: sha512-k3FGCNmHBkqdJXuJszdWciAH77PukEyDsdIryEHn9cKLQFxzhT39dSumeTuggaQcXY57UlmLGIkklWZo2qzHpw==} + engines: {node: '>=12'} cpu: [arm64] os: [win32] requiresBuild: true @@ -4726,29 +4915,32 @@ packages: esbuild-windows-arm64: 0.14.29 dev: true - /esbuild/0.14.8: - resolution: {integrity: sha512-stMsCBmxwaMpeK8GC/49L/cRGIwsHwoEN7Twk5zDTHlm/63c0KXFKzDC8iM2Mi3fyCKwS002TAH6IlAvqR6t3g==} + /esbuild/0.14.38: + resolution: {integrity: sha512-12fzJ0fsm7gVZX1YQ1InkOE5f9Tl7cgf6JPYXRJtPIoE0zkWAbHdPHVPPaLi9tYAcEBqheGzqLn/3RdTOyBfcA==} + engines: {node: '>=12'} hasBin: true requiresBuild: true optionalDependencies: - esbuild-android-arm64: 0.14.8 - esbuild-darwin-64: 0.14.8 - esbuild-darwin-arm64: 0.14.8 - esbuild-freebsd-64: 0.14.8 - esbuild-freebsd-arm64: 0.14.8 - esbuild-linux-32: 0.14.8 - esbuild-linux-64: 0.14.8 - esbuild-linux-arm: 0.14.8 - esbuild-linux-arm64: 0.14.8 - esbuild-linux-mips64le: 0.14.8 - esbuild-linux-ppc64le: 0.14.8 - esbuild-linux-s390x: 0.14.8 - esbuild-netbsd-64: 0.14.8 - esbuild-openbsd-64: 0.14.8 - esbuild-sunos-64: 0.14.8 - esbuild-windows-32: 0.14.8 - esbuild-windows-64: 0.14.8 - esbuild-windows-arm64: 0.14.8 + esbuild-android-64: 0.14.38 + esbuild-android-arm64: 0.14.38 + esbuild-darwin-64: 0.14.38 + esbuild-darwin-arm64: 0.14.38 + esbuild-freebsd-64: 0.14.38 + esbuild-freebsd-arm64: 0.14.38 + esbuild-linux-32: 0.14.38 + esbuild-linux-64: 0.14.38 + esbuild-linux-arm: 0.14.38 + esbuild-linux-arm64: 0.14.38 + esbuild-linux-mips64le: 0.14.38 + esbuild-linux-ppc64le: 0.14.38 + esbuild-linux-riscv64: 0.14.38 + esbuild-linux-s390x: 0.14.38 + esbuild-netbsd-64: 0.14.38 + esbuild-openbsd-64: 0.14.38 + esbuild-sunos-64: 0.14.38 + esbuild-windows-32: 0.14.38 + esbuild-windows-64: 0.14.38 + esbuild-windows-arm64: 0.14.38 dev: true /escalade/3.1.1: @@ -4786,45 +4978,65 @@ packages: dependencies: debug: 3.2.7 resolve: 1.22.0 + transitivePeerDependencies: + - supports-color dev: true - /eslint-module-utils/2.7.3: + /eslint-module-utils/2.7.3_zhgf6mw2wzy6dnrak3ta47vb3m: resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true dependencies: + '@typescript-eslint/parser': 5.26.0_xztl6dhthcahlo6akmb2bmjmle debug: 3.2.7 + eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 + transitivePeerDependencies: + - supports-color dev: true - /eslint-plugin-antfu/0.23.0_t725usgvqspm5woeqpaxbfp2qu: - resolution: {integrity: sha512-NiWbXYxCmfd0BVI/EunNkCLD6V33Ce9sckjlccu69MejPPPTkEAFAKfmsoxc9LuW1x38E7CE26EvODUuAKXOCw==} + /eslint-plugin-antfu/0.24.2_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-WMvTNmI8h9eRTRUcTYgbECEXD8AwF+fjsTXiKNouD4a2pOps8WW9yjRnMOENk0/9vV5p52cu6PbJbfbM0/B/TA==} dependencies: - '@typescript-eslint/utils': 5.22.0_t725usgvqspm5woeqpaxbfp2qu + '@typescript-eslint/utils': 5.26.0_xztl6dhthcahlo6akmb2bmjmle transitivePeerDependencies: - eslint - supports-color - typescript dev: true - /eslint-plugin-es/4.1.0_eslint@8.14.0: + /eslint-plugin-es/4.1.0_eslint@8.16.0: resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 8.14.0 + eslint: 8.16.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-eslint-comments/3.2.0_eslint@8.14.0: + /eslint-plugin-eslint-comments/3.2.0_eslint@8.16.0: resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} engines: {node: '>=6.5.0'} peerDependencies: eslint: '>=4.19.1' dependencies: escape-string-regexp: 1.0.5 - eslint: 8.14.0 + eslint: 8.16.0 ignore: 5.2.0 dev: true @@ -4834,19 +5046,24 @@ packages: htmlparser2: 7.2.0 dev: true - /eslint-plugin-import/2.26.0_eslint@8.14.0: + /eslint-plugin-import/2.26.0_grfei5yostfimvqdpf73rlhy3e: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: + '@typescript-eslint/parser': '*' eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true dependencies: + '@typescript-eslint/parser': 5.26.0_xztl6dhthcahlo6akmb2bmjmle array-includes: 3.1.4 array.prototype.flat: 1.2.5 debug: 2.6.9 doctrine: 2.1.0 - eslint: 8.14.0 + eslint: 8.16.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3 + eslint-module-utils: 2.7.3_zhgf6mw2wzy6dnrak3ta47vb3m has: 1.0.3 is-core-module: 2.8.1 is-glob: 4.0.3 @@ -4854,42 +5071,46 @@ packages: object.values: 1.1.5 resolve: 1.22.0 tsconfig-paths: 3.14.1 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color dev: true - /eslint-plugin-jsonc/2.2.1_eslint@8.14.0: + /eslint-plugin-jsonc/2.2.1_eslint@8.16.0: resolution: {integrity: sha512-ozGjWXhxF3ZfITHmRLuUL6zORh5Dzo0ymwVdxhfFaa4LEtU2S88JIwDYCWAifQLG92x7chqcnZlGUggaPSlfIQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.14.0 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint: 8.16.0 + eslint-utils: 3.0.0_eslint@8.16.0 jsonc-eslint-parser: 2.1.0 natural-compare: 1.4.0 dev: true - /eslint-plugin-markdown/2.2.1_eslint@8.14.0: + /eslint-plugin-markdown/2.2.1_eslint@8.16.0: resolution: {integrity: sha512-FgWp4iyYvTFxPwfbxofTvXxgzPsDuSKHQy2S+a8Ve6savbujey+lgrFFbXQA0HPygISpRYWYBjooPzhYSF81iA==} engines: {node: ^8.10.0 || ^10.12.0 || >= 12.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.14.0 + eslint: 8.16.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-n/15.2.0_eslint@8.14.0: + /eslint-plugin-n/15.2.0_eslint@8.16.0: resolution: {integrity: sha512-lWLg++jGwC88GDGGBX3CMkk0GIWq0y41aH51lavWApOKcMQcYoL3Ayd0lEdtD3SnQtR+3qBvWQS3qGbR2BxRWg==} engines: {node: '>=12.22.0'} peerDependencies: eslint: '>=7.0.0' dependencies: builtins: 4.0.0 - eslint: 8.14.0 - eslint-plugin-es: 4.1.0_eslint@8.14.0 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint: 8.16.0 + eslint-plugin-es: 4.1.0_eslint@8.16.0 + eslint-utils: 3.0.0_eslint@8.16.0 ignore: 5.2.0 is-core-module: 2.8.1 minimatch: 3.1.2 @@ -4897,39 +5118,39 @@ packages: semver: 6.3.0 dev: true - /eslint-plugin-promise/6.0.0_eslint@8.14.0: + /eslint-plugin-promise/6.0.0_eslint@8.16.0: resolution: {integrity: sha512-7GPezalm5Bfi/E22PnQxDWH2iW9GTvAlUNTztemeHb6c1BniSyoeTrM87JkC0wYdi6aQrZX9p2qEiAno8aTcbw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.14.0 + eslint: 8.16.0 dev: true - /eslint-plugin-react/7.29.4_eslint@8.14.0: - resolution: {integrity: sha512-CVCXajliVh509PcZYRFyu/BoUEz452+jtQJq2b3Bae4v3xBUWPLCmtmBM+ZinG4MzwmxJgJ2M5rMqhqLVn7MtQ==} + /eslint-plugin-react/7.30.0_eslint@8.16.0: + resolution: {integrity: sha512-RgwH7hjW48BleKsYyHK5vUAvxtE9SMPDKmcPRQgtRCYaZA0XQPt5FSkrU3nhz5ifzMZcA8opwmRJ2cmOO8tr5A==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 dependencies: - array-includes: 3.1.4 - array.prototype.flatmap: 1.2.5 + array-includes: 3.1.5 + array.prototype.flatmap: 1.3.0 doctrine: 2.1.0 - eslint: 8.14.0 + eslint: 8.16.0 estraverse: 5.3.0 jsx-ast-utils: 3.2.1 minimatch: 3.1.2 object.entries: 1.1.5 object.fromentries: 2.0.5 - object.hasown: 1.1.0 + object.hasown: 1.1.1 object.values: 1.1.5 prop-types: 15.8.1 resolve: 2.0.0-next.3 semver: 6.3.0 - string.prototype.matchall: 4.0.6 + string.prototype.matchall: 4.0.7 dev: true - /eslint-plugin-unicorn/42.0.0_eslint@8.14.0: + /eslint-plugin-unicorn/42.0.0_eslint@8.16.0: resolution: {integrity: sha512-ixBsbhgWuxVaNlPTT8AyfJMlhyC5flCJFjyK3oKE8TRrwBnaHvUbuIkCM1lqg8ryYrFStL/T557zfKzX4GKSlg==} engines: {node: '>=12'} peerDependencies: @@ -4938,8 +5159,8 @@ packages: '@babel/helper-validator-identifier': 7.16.7 ci-info: 3.3.0 clean-regexp: 1.0.0 - eslint: 8.14.0 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint: 8.16.0 + eslint-utils: 3.0.0_eslint@8.16.0 esquery: 1.4.0 indent-string: 4.0.0 is-builtin-module: 3.1.0 @@ -4952,34 +5173,35 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-vue/8.7.1_eslint@8.14.0: - resolution: {integrity: sha512-28sbtm4l4cOzoO1LtzQPxfxhQABararUb1JtqusQqObJpWX2e/gmVyeYVfepizPFne0Q5cILkYGiBoV36L12Wg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /eslint-plugin-vue/9.0.1_eslint@8.16.0: + resolution: {integrity: sha512-/w/9/vzz+4bSYtp5UqXgJ0CfycXTMtpp6lkz7/fMp0CcJxPWyRP6Pr88ihhrsNEcVt2ZweMupWRNYa+5Md41LQ==} + engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.14.0 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint: 8.16.0 + eslint-utils: 3.0.0_eslint@8.16.0 natural-compare: 1.4.0 nth-check: 2.0.1 postcss-selector-parser: 6.0.10 semver: 7.3.7 - vue-eslint-parser: 8.0.1_eslint@8.14.0 + vue-eslint-parser: 9.0.2_eslint@8.16.0 + xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-yml/0.14.0_eslint@8.14.0: - resolution: {integrity: sha512-+0+bBV/07txENbxfrHF9olGoLCHez64vmnOmjWOoLwmXOwfdaSRleBSPIi4nWQs7WwX8lm/fSLadOjbVEcsXQQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /eslint-plugin-yml/1.0.0_eslint@8.16.0: + resolution: {integrity: sha512-0RVoUFh5vpznE2DIP5agSpWO/nU8GgAWwoTAHWopU2X+1SCB5ykHU6DwS0GrZ5Hvejtk6CcADQllpQQJB4C5QA==} + engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.14.0 + eslint: 8.16.0 lodash: 4.17.21 natural-compare: 1.4.0 - yaml-eslint-parser: 0.5.0 + yaml-eslint-parser: 1.0.1 transitivePeerDependencies: - supports-color dev: true @@ -4992,14 +5214,6 @@ packages: estraverse: 4.3.0 dev: true - /eslint-scope/6.0.0: - resolution: {integrity: sha512-uRDL9MWmQCkaFus8RF5K9/L/2fn+80yoW3jkD53l4shjCh26fCtvJGasxjUqP5OT87SYTxCVA3BwTUzuELx9kA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: true - /eslint-scope/7.1.1: resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -5015,13 +5229,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.14.0: + /eslint-utils/3.0.0_eslint@8.16.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.14.0 + eslint: 8.16.0 eslint-visitor-keys: 2.1.0 dev: true @@ -5040,12 +5254,12 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.14.0: - resolution: {integrity: sha512-3/CE4aJX7LNEiE3i6FeodHmI/38GZtWCsAtsymScmzYapx8q1nVVb+eLcLSzATmCPXw5pT4TqVs1E0OmxAd9tw==} + /eslint/8.16.0: + resolution: {integrity: sha512-MBndsoXY/PeVTDJeWsYj7kLZ5hQpJOfMYLsF6LicLHQWbRDG19lK5jOix4DPl8yY4SUFcE3txy86OzFLWT+yoA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint/eslintrc': 1.2.2 + '@eslint/eslintrc': 1.3.0 '@humanwhocodes/config-array': 0.9.2 ajv: 6.12.6 chalk: 4.1.2 @@ -5054,16 +5268,16 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.14.0 + eslint-utils: 3.0.0_eslint@8.16.0 eslint-visitor-keys: 3.3.0 - espree: 9.3.1 + espree: 9.3.2 esquery: 1.4.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 functional-red-black-tree: 1.0.1 glob-parent: 6.0.2 - globals: 13.12.0 + globals: 13.15.0 ignore: 5.2.0 import-fresh: 3.3.0 imurmurhash: 0.1.4 @@ -5084,23 +5298,19 @@ packages: - supports-color dev: true - /esno/0.14.1: - resolution: {integrity: sha512-yDFYw6dGUjCT1qKsdG7WOc/RzIh/qwxUEVZ+ohCltaxBxEFMNqeqbQL9xjRl6Yvdwrfc5OCjUA9JbFmuu/8BKg==} + /esno/0.16.3: + resolution: {integrity: sha512-6slSBEV1lMKcX13DBifvnDFpNno5WXhw4j/ff7RI0y51BZiDqEe5dNhhjhIQ3iCOQuzsm2MbVzmwqbN78BBhPg==} hasBin: true dependencies: - cross-spawn: 7.0.3 - esbuild: 0.14.8 - esbuild-node-loader: 0.6.5 - esbuild-register: 3.3.2_esbuild@0.14.8 - import-meta-resolve: 1.1.1 + tsx: 3.4.0 dev: true - /espree/9.3.1: - resolution: {integrity: sha512-bvdyLmJMfwkV3NCRl5ZhJf22zBFo1y8bYh3VYb+bfzqNB4Je68P2sSuXyuFquzWLebHpNd2/d5uv7yoP9ISnGQ==} + /espree/9.3.2: + resolution: {integrity: sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.7.0 - acorn-jsx: 5.3.2_acorn@8.7.0 + acorn: 8.7.1 + acorn-jsx: 5.3.2_acorn@8.7.1 eslint-visitor-keys: 3.3.0 dev: true @@ -5177,7 +5387,7 @@ packages: dependencies: '@babel/parser': 7.16.6 '@babel/traverse': 7.16.5 - '@rollup/plugin-node-resolve': 13.1.1_rollup@2.71.1 + '@rollup/plugin-node-resolve': 13.1.1_rollup@2.74.1 brotli-size: 4.0.0 chalk: 4.1.2 cli-progress: 3.9.1 @@ -5187,11 +5397,10 @@ packages: filesize: 8.0.6 fs-extra: 10.1.0 gzip-size: 6.0.0 - rollup: 2.71.1 + rollup: 2.74.1 terser: 5.10.0 yargs: 17.3.1 transitivePeerDependencies: - - acorn - supports-color dev: true @@ -5372,8 +5581,8 @@ packages: resolution: {integrity: sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==} dev: true - /focus-trap/6.9.1: - resolution: {integrity: sha512-TcIk4k52Mk5IWTJWdaq5AEoxDUp7znnws+5A1RBe/1X03t1Zw4ylNMajJ3aXG/J9S3TkuSUzRPB+l0RCO0nYVg==} + /focus-trap/6.9.2: + resolution: {integrity: sha512-gBEuXOPNOKPrLdZpMFUSTyIo1eT2NSZRrwZ9r/0Jqw5tmT3Yvxfmu8KBHw8xW2XQkw6E/JoG+OlEq7UDtSUNgw==} dependencies: tabbable: 5.3.2 dev: true @@ -5456,12 +5665,26 @@ packages: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} dev: true + /function.prototype.name/1.1.5: + resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + es-abstract: 1.20.1 + functions-have-names: 1.2.3 + dev: true + /functional-red-black-tree/1.0.1: resolution: {integrity: sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=} dev: true - /fuse.js/6.6.0: - resolution: {integrity: sha512-4CvUk6GBo1b00xIcCLEoHQX3xwaYIwUX0lD8hDaYUavvSgE8aaySe9Z+fb4bdvzXXbYUfrllwN34U3wwUsG+oA==} + /functions-have-names/1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + dev: true + + /fuse.js/6.6.2: + resolution: {integrity: sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==} engines: {node: '>=10'} dev: true @@ -5530,6 +5753,10 @@ packages: get-intrinsic: 1.1.1 dev: true + /get-tsconfig/3.0.1: + resolution: {integrity: sha512-+m30eQjbcf3xMNdnacXH5IDAKUMbI7Mhbf3e1BHif1FzBlUhBzBlmOVc7kL4+kB035l8OCyBdI3dNXZ3of9HqA==} + dev: true + /github-from-package/0.0.0: resolution: {integrity: sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=} dev: true @@ -5605,8 +5832,8 @@ packages: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} - /globals/13.12.0: - resolution: {integrity: sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==} + /globals/13.15.0: + resolution: {integrity: sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==} engines: {node: '>=8'} dependencies: type-fest: 0.20.2 @@ -5632,6 +5859,18 @@ packages: slash: 3.0.0 dev: true + /globby/11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.2.11 + ignore: 5.2.0 + merge2: 1.4.1 + slash: 3.0.0 + dev: true + /globby/13.1.1: resolution: {integrity: sha512-XMzoDZbGZ37tufiv7g0N4F/zp3zkwdFtVbV3EHsVl1KQr4RPLfNoT068/97RPshz2J5xYNEjLKKBKaGHifBd3Q==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -5663,6 +5902,8 @@ packages: dependencies: '@sindresorhus/is': 0.14.0 '@szmarczak/http-timer': 1.1.2 + '@types/keyv': 3.1.4 + '@types/responselike': 1.0.0 cacheable-request: 6.1.0 decompress-response: 3.3.0 duplexer3: 0.1.4 @@ -5703,6 +5944,10 @@ packages: resolution: {integrity: sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==} dev: true + /has-bigints/1.0.2: + resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} + dev: true + /has-flag/3.0.0: resolution: {integrity: sha1-tdRU3CGZriJWmfNGfloH87lVuv0=} engines: {node: '>=4'} @@ -5712,16 +5957,27 @@ packages: engines: {node: '>=8'} dev: true + /has-property-descriptors/1.0.0: + resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} + dependencies: + get-intrinsic: 1.1.1 + dev: true + /has-symbols/1.0.2: resolution: {integrity: sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==} engines: {node: '>= 0.4'} dev: true + /has-symbols/1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + dev: true + /has-tostringtag/1.0.0: resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} engines: {node: '>= 0.4'} dependencies: - has-symbols: 1.0.2 + has-symbols: 1.0.3 dev: true /has-unicode/2.0.1: @@ -5842,12 +6098,6 @@ packages: resolve-from: 4.0.0 dev: true - /import-meta-resolve/1.1.1: - resolution: {integrity: sha512-JiTuIvVyPaUg11eTrNDx5bgQ/yMKMZffc7YSjvQeSMXy58DO2SQ8BtAf3xteZvmzvjYh14wnqNjL8XVeDy2o9A==} - dependencies: - builtins: 4.0.0 - dev: true - /imurmurhash/0.1.4: resolution: {integrity: sha1-khi5srkoojixPcT7a21XbyMUU+o=} engines: {node: '>=0.8.19'} @@ -5923,7 +6173,7 @@ packages: /is-bigint/1.0.4: resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} dependencies: - has-bigints: 1.0.1 + has-bigints: 1.0.2 dev: true /is-binary-path/2.1.0: @@ -6064,6 +6314,12 @@ packages: resolution: {integrity: sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==} dev: true + /is-shared-array-buffer/1.0.2: + resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + dependencies: + call-bind: 1.0.2 + dev: true + /is-stream/2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} @@ -6080,7 +6336,7 @@ packages: resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} engines: {node: '>= 0.4'} dependencies: - has-symbols: 1.0.2 + has-symbols: 1.0.3 dev: true /is-unicode-supported/0.1.0: @@ -6115,7 +6371,7 @@ packages: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 17.0.31 + '@types/node': 17.0.35 merge-stream: 2.0.0 supports-color: 7.2.0 dev: true @@ -6251,9 +6507,9 @@ packages: resolution: {integrity: sha512-qCRJWlbP2v6HbmKW7R3lFbeiVWHo+oMJ0j+MizwvauqnCV/EvtAeEeuCgoc/ErtsuoKgYB8U4Ih8AxJbXoE6/g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.7.0 + acorn: 8.7.1 eslint-visitor-keys: 3.3.0 - espree: 9.3.1 + espree: 9.3.2 semver: 7.3.7 dev: true @@ -6283,7 +6539,7 @@ packages: resolution: {integrity: sha512-uP5vu8xfy2F9A6LGC22KO7e2/vGTS1MhP+18f++ZNlf0Ohaxbc9nIEwHAsejlJKyzfZzU5UIhe5ItYkitcZnZA==} engines: {node: '>=4.0'} dependencies: - array-includes: 3.1.4 + array-includes: 3.1.5 object.assign: 4.1.2 dev: true @@ -6345,8 +6601,8 @@ packages: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} dev: true - /lint-staged/12.4.1: - resolution: {integrity: sha512-PTXgzpflrQ+pODQTG116QNB+Q6uUTDg5B5HqGvNhoQSGt8Qy+MA/6zSnR8n38+sxP5TapzeQGTvoKni0KRS8Vg==} + /lint-staged/12.4.2: + resolution: {integrity: sha512-JAJGIzY/OioIUtrRePr8go6qUxij//mL+RGGoFKU3VWQRtIHgWoHizSqH0QVn2OwrbXS9Q6CICQjfj+E5qvrXg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} hasBin: true dependencies: @@ -6523,6 +6779,13 @@ packages: dependencies: sourcemap-codec: 1.4.8 + /magic-string/0.26.2: + resolution: {integrity: sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==} + engines: {node: '>=12'} + dependencies: + sourcemap-codec: 1.4.8 + dev: true + /markdown-table/3.0.2: resolution: {integrity: sha512-y8j3a5/DkJCmS5x4dMCQL+OR0+2EAq3DOtio1COSHsmW2BGXnNCK3v12hJt1LrUz5iZH5g0LmuYOjDdI+czghA==} dev: true @@ -6639,10 +6902,6 @@ packages: brace-expansion: 2.0.1 dev: true - /minimist/1.2.5: - resolution: {integrity: sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==} - dev: true - /minimist/1.2.6: resolution: {integrity: sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==} @@ -6692,11 +6951,16 @@ packages: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} dev: true - /msw/0.39.2: - resolution: {integrity: sha512-ju/HpqQpE4/qCxZ23t5Gaau0KREn4QuFzdG28nP1EpidMrymMJuIvNd32+2uGTGG031PMwrC41YW7vCxHOwyHA==} + /msw/0.41.0_typescript@4.7.2: + resolution: {integrity: sha512-l6AmpuYq96/iiG1KZ4ZPLd8nlDfj7aD0eIbW+4IjfXgqY7lZgYfYJPCULo5hD0eOn0oMg8lZFXHCwrIuLA+PoA==} engines: {node: '>=14'} hasBin: true requiresBuild: true + peerDependencies: + typescript: '>= 4.2.x <= 4.6.x' + peerDependenciesMeta: + typescript: + optional: true dependencies: '@mswjs/cookies': 0.2.0 '@mswjs/interceptors': 0.15.1 @@ -6716,6 +6980,7 @@ packages: statuses: 2.0.1 strict-event-emitter: 0.2.0 type-fest: 1.4.0 + typescript: 4.7.2 yargs: 17.3.1 transitivePeerDependencies: - encoding @@ -6773,8 +7038,8 @@ packages: semver: 7.3.7 dev: true - /node-addon-api/4.3.0: - resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} + /node-addon-api/5.0.0: + resolution: {integrity: sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==} dev: true /node-domexception/1.0.0: @@ -6782,6 +7047,10 @@ packages: engines: {node: '>=10.5.0'} dev: true + /node-fetch-native/0.1.3: + resolution: {integrity: sha512-Jf1IQZdovUIv9E+5avmN6Sf+bND+rnMlODnBQhdE2VRyuWP9WgqZb/KEgPekh19DAN1X2C4vbS1VCOaz2OH19g==} + dev: true + /node-fetch/2.6.1: resolution: {integrity: sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==} engines: {node: 4.x || >=6.0.0} @@ -6905,7 +7174,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.3 + define-properties: 1.1.4 has-symbols: 1.0.2 object-keys: 1.1.1 dev: true @@ -6915,8 +7184,8 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.3 - es-abstract: 1.19.1 + define-properties: 1.1.4 + es-abstract: 1.20.1 dev: true /object.fromentries/2.0.5: @@ -6924,15 +7193,15 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.3 - es-abstract: 1.19.1 + define-properties: 1.1.4 + es-abstract: 1.20.1 dev: true - /object.hasown/1.1.0: - resolution: {integrity: sha512-MhjYRfj3GBlhSkDHo6QmvgjRLXQ2zndabdf3nX0yTyZK9rPfxb6uRpAac8HXNLy1GpqWtZ81Qh4v3uOls2sRAg==} + /object.hasown/1.1.1: + resolution: {integrity: sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==} dependencies: - define-properties: 1.1.3 - es-abstract: 1.19.1 + define-properties: 1.1.4 + es-abstract: 1.20.1 dev: true /object.values/1.1.5: @@ -6944,13 +7213,13 @@ packages: es-abstract: 1.19.1 dev: true - /ohmyfetch/0.4.16: - resolution: {integrity: sha512-QKzG0pPa+Rfqht8msM/GxH9P+TENMiNz32NK3Sdo4I950yxOuNzHdMZTYN+RDTE2nOvvdlCiPNFZKpOCY6jH5w==} + /ohmyfetch/0.4.18: + resolution: {integrity: sha512-MslzNrQzBLtZHmiZBI8QMOcMpdNFlK61OJ34nFNFynZ4v+4BonfCQ7VIN4EGXvGGq5zhDzgdJoY3o9S1l2T7KQ==} dependencies: destr: 1.1.1 - node-fetch: 3.2.4 - ufo: 0.8.3 - undici: 5.1.1 + node-fetch-native: 0.1.3 + ufo: 0.8.4 + undici: 5.3.0 dev: true /once/1.4.0: @@ -7173,6 +7442,9 @@ packages: /pathe/0.2.0: resolution: {integrity: sha512-sTitTPYnn23esFR3RlqYBWn4c45WGeLcsKzQiUpXJAyfcWkolvlYpV8FLo7JishK946oQwMFUCHXQ9AjGPKExw==} + /pathe/0.3.0: + resolution: {integrity: sha512-3vUjp552BJzCw9vqKsO5sttHkbYqqsZtH0x1PNtItgqx8BXEXzoY1SYRKcL6BTyVh4lGJGLj0tM42elUDMvcYA==} + /pathval/1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} dev: true @@ -7225,8 +7497,8 @@ packages: engines: {node: '>=10.13.0'} dev: true - /pnpm/7.0.0: - resolution: {integrity: sha512-5njVSmE/Sz6coyikS6gjwoKWaxxsJ6BY6jL1aqwvnEpNUfFednbHqid3aZ42JszOFaSOz3Qipcfp4ei22G/JEg==} + /pnpm/7.1.7: + resolution: {integrity: sha512-8+IAfyunrOHfNmVu03E9rSBVUgypFGMKeyhVif0Drv/gcWgXuzxSBkCxrfNJbEf0cHtA+ftTqMQ20uSlrtnSEg==} engines: {node: '>=14.19'} hasBin: true dev: true @@ -7236,13 +7508,13 @@ packages: dependencies: enhanced-resolve: 4.5.0 - /postcss-nested/5.0.6_postcss@8.4.13: + /postcss-nested/5.0.6_postcss@8.4.14: resolution: {integrity: sha512-rKqm2Fk0KbA8Vt3AdGN0FB9OBOMDVajMG6ZCf/GoHgdxUJ4sBFp0A/uMIRm+MJUdo33YXEtjqIz8u7DAp8B7DA==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 dependencies: - postcss: 8.4.13 + postcss: 8.4.14 postcss-selector-parser: 6.0.8 dev: true @@ -7262,8 +7534,8 @@ packages: util-deprecate: 1.0.2 dev: true - /postcss/8.4.13: - resolution: {integrity: sha512-jtL6eTBrza5MPzy8oJLFuUscHDXTV5KcLlqAWHl5q5WYRfnNRGSmOZmOZ1T6Gy7A99mOZfqungmZMpMmCVJ8ZA==} + /postcss/8.4.14: + resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} engines: {node: ^10 || ^12 || >=14} dependencies: nanoid: 3.3.4 @@ -7283,7 +7555,7 @@ packages: detect-libc: 2.0.1 expand-template: 2.0.3 github-from-package: 0.0.0 - minimist: 1.2.5 + minimist: 1.2.6 mkdirp-classic: 0.5.3 napi-build-utils: 1.0.2 node-abi: 3.15.0 @@ -7326,8 +7598,8 @@ packages: engines: {node: ^14.13.1 || >=16.0.0} dev: true - /prism-theme-vars/0.2.2: - resolution: {integrity: sha512-EL9ifuU/F8tEldoCa2sspiiLWysCL54xDbf2gN/ubwdtbuJROqOGopG5kSwunapwaioT+jLUQ/Ky+7jnv62xJA==} + /prism-theme-vars/0.2.3: + resolution: {integrity: sha512-lpRg8GWfxu38m4rZwjrvOxeHlmL4tERhe9sTjrC47HMu6uCEch3bLUQVNlISoEq9Z24g5Xm+B7AKdyiKSevktg==} dev: true /prismjs/1.25.0: @@ -7383,7 +7655,7 @@ packages: '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 '@types/long': 4.0.1 - '@types/node': 17.0.31 + '@types/node': 17.0.35 long: 4.0.0 dev: true @@ -7432,7 +7704,7 @@ packages: dependencies: deep-extend: 0.6.0 ini: 1.3.8 - minimist: 1.2.5 + minimist: 1.2.6 strip-json-comments: 2.0.1 dev: true @@ -7523,7 +7795,16 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.3 + define-properties: 1.1.4 + dev: true + + /regexp.prototype.flags/1.4.3: + resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + functions-have-names: 1.2.3 dev: true /regexpp/3.2.0: @@ -7642,7 +7923,7 @@ packages: dev: true optional: true - /rollup-plugin-dts/4.2.1_ucrswzumipog3rfswkcvuves4u: + /rollup-plugin-dts/4.2.1_durm56y4qsrp7annnznb67puce: resolution: {integrity: sha512-eaxQZNUJ5iQcxNGlpJ1CUgG4OSVqWjDZ3nNSWBIoGrpcote2aNphSe1RJOaSYkb8dwn3o+rYm1vvld/5z3EGSQ==} engines: {node: '>=v12.22.11'} peerDependencies: @@ -7650,13 +7931,13 @@ packages: typescript: ^4.6 dependencies: magic-string: 0.26.1 - rollup: 2.71.1 - typescript: 4.6.4 + rollup: 2.74.1 + typescript: 4.7.2 optionalDependencies: '@babel/code-frame': 7.16.7 dev: true - /rollup-plugin-esbuild/4.9.1_rollup@2.71.1: + /rollup-plugin-esbuild/4.9.1_rollup@2.74.1: resolution: {integrity: sha512-qn/x7Wz9p3Xnva99qcb+nopH0d2VJwVnsxJTGEg+Sh2Z3tqQl33MhOwzekVo1YTKgv+yAmosjcBRJygMfGrtLw==} engines: {node: '>=12'} peerDependencies: @@ -7668,27 +7949,25 @@ packages: es-module-lexer: 0.9.3 joycon: 3.1.1 jsonc-parser: 3.0.0 - rollup: 2.71.1 + rollup: 2.74.1 transitivePeerDependencies: - supports-color dev: true - /rollup-plugin-terser/7.0.2_rollup@2.71.1: + /rollup-plugin-terser/7.0.2_rollup@2.74.1: resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==} peerDependencies: rollup: ^2.0.0 dependencies: '@babel/code-frame': 7.16.7 jest-worker: 26.6.2 - rollup: 2.71.1 + rollup: 2.74.1 serialize-javascript: 4.0.0 terser: 5.10.0 - transitivePeerDependencies: - - acorn dev: true - /rollup/2.71.1: - resolution: {integrity: sha512-lMZk3XfUBGjrrZQpvPSoXcZSfKcJ2Bgn+Z0L1MoW2V8Wh7BVM+LOBJTPo16yul2MwL59cXedzW1ruq3rCjSRgw==} + /rollup/2.74.1: + resolution: {integrity: sha512-K2zW7kV8Voua5eGkbnBtWYfMIhYhT9Pel2uhBk2WO5eMee161nPze/XRfvEQPFYz7KgrCCnmh2Wy0AMFLGGmMA==} engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: @@ -7822,14 +8101,14 @@ packages: resolution: {integrity: sha512-edRH8mBKEWNVIVMKejNnuJxleqYE/ZSdcT8/Nem9/mmosx12pctd80s2Oy00KNZzrogMZS5mauK2/ymL1bvlvg==} dev: true - /sharp/0.30.4: - resolution: {integrity: sha512-3Onig53Y6lji4NIZo69s14mERXXY/GV++6CzOYx/Rd8bnTwbhFbL09WZd7Ag/CCnA0WxFID8tkY0QReyfL6v0Q==} + /sharp/0.30.5: + resolution: {integrity: sha512-0T28KxqY4DzUMLSAp1/IhGVeHpPIQyp1xt7esmuXCAfyi/+6tYMUeRhQok+E/+E52Yk5yFjacXp90cQOkmkl4w==} engines: {node: '>=12.13.0'} requiresBuild: true dependencies: color: 4.2.3 detect-libc: 2.0.1 - node-addon-api: 4.3.0 + node-addon-api: 5.0.0 prebuild-install: 7.1.0 semver: 7.3.7 simple-get: 4.0.1 @@ -8091,18 +8370,47 @@ packages: side-channel: 1.0.4 dev: true + /string.prototype.matchall/4.0.7: + resolution: {integrity: sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + es-abstract: 1.20.1 + get-intrinsic: 1.1.1 + has-symbols: 1.0.3 + internal-slot: 1.0.3 + regexp.prototype.flags: 1.4.3 + side-channel: 1.0.4 + dev: true + /string.prototype.trimend/1.0.4: resolution: {integrity: sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.3 + define-properties: 1.1.4 + dev: true + + /string.prototype.trimend/1.0.5: + resolution: {integrity: sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog==} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + es-abstract: 1.20.1 dev: true /string.prototype.trimstart/1.0.4: resolution: {integrity: sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.3 + define-properties: 1.1.4 + dev: true + + /string.prototype.trimstart/1.0.5: + resolution: {integrity: sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg==} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + es-abstract: 1.20.1 dev: true /string_decoder/1.1.1: @@ -8283,12 +8591,11 @@ packages: resolution: {integrity: sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==} engines: {node: '>=10'} hasBin: true - peerDependencies: - acorn: ^8.5.0 peerDependenciesMeta: acorn: optional: true dependencies: + acorn: 8.7.1 commander: 2.20.3 source-map: 0.7.3 source-map-support: 0.5.21 @@ -8382,14 +8689,25 @@ packages: resolution: {integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==} dev: true - /tsutils/3.21.0_typescript@4.6.4: + /tsutils/3.21.0_typescript@4.7.2: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.6.4 + typescript: 4.7.2 + dev: true + + /tsx/3.4.0: + resolution: {integrity: sha512-WWakMoC5OqUXvOVZuyAySyETjAZ9rJxZXRbbOhYXDCeHF95hQUBa07UwUFu1yprlnrJ/W7XWfA99YTNKO//KxQ==} + hasBin: true + dependencies: + '@esbuild-kit/cjs-loader': 2.0.0 + '@esbuild-kit/core-utils': 1.1.2 + '@esbuild-kit/esm-loader': 2.1.1 + optionalDependencies: + fsevents: 2.3.2 dev: true /tunnel-agent/0.6.0: @@ -8463,8 +8781,8 @@ packages: resolution: {integrity: sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=} dev: true - /typescript/4.6.4: - resolution: {integrity: sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==} + /typescript/4.7.2: + resolution: {integrity: sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==} engines: {node: '>=4.2.0'} hasBin: true dev: true @@ -8476,18 +8794,31 @@ packages: /ufo/0.8.3: resolution: {integrity: sha512-AIkk06G21y/P+NCatfU+1qldCmI0XCszZLn8AkuKotffF3eqCvlce0KuwM7ZemLE/my0GSYADOAeM5zDYWMB+A==} + dev: true + + /ufo/0.8.4: + resolution: {integrity: sha512-/+BmBDe8GvlB2nIflWasLLAInjYG0bC9HRnfEpNi4sw77J2AJNnEVnTDReVrehoh825+Q/evF3THXTAweyam2g==} /unbox-primitive/1.0.1: resolution: {integrity: sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==} dependencies: function-bind: 1.1.1 has-bigints: 1.0.1 - has-symbols: 1.0.2 + has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 dev: true - /unconfig/0.3.3: - resolution: {integrity: sha512-BavyYUbMTk5s7jypXdcS5ZkoqFAzzVt1AT7T9xFjNDCizqdb0YI6yRYRCGBeNp8tK7xnLl2vo7enG+2GxN0+2Q==} + /unbox-primitive/1.0.2: + resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + dependencies: + call-bind: 1.0.2 + has-bigints: 1.0.2 + has-symbols: 1.0.3 + which-boxed-primitive: 1.0.2 + dev: true + + /unconfig/0.3.4: + resolution: {integrity: sha512-cf39F1brwQuLSuMLTYXOdWJH0O1CJee6a4QW1nYtO7SoBUfVvQCvEel6ssTNXtPfi17kop1ADmVtmC49NlFkIQ==} dependencies: '@antfu/utils': 0.5.1 defu: 6.0.0 @@ -8500,7 +8831,7 @@ packages: acorn: 8.7.0 estree-walker: 2.0.2 magic-string: 0.26.1 - unplugin: 0.6.2 + unplugin: 0.6.3 transitivePeerDependencies: - esbuild - rollup @@ -8508,8 +8839,8 @@ packages: - webpack dev: false - /undici/5.1.1: - resolution: {integrity: sha512-CmK9JzLSMGx+2msOao8LhkKn3J7eKo2M50v0KZQ2XbiHcGqLS1HiIj01ceIm3jbUYlspw/FTSb6nMdSNyvVyaQ==} + /undici/5.3.0: + resolution: {integrity: sha512-8LxC/xmR2GCE4q1heE1sJxVnnf5S6yQ2dObvMFBBWkB8aQlaqNuWovgRFWRMB7KUdLPGZfOTTmUeeLEJYX56iQ==} engines: {node: '>=12.18'} dev: true @@ -8536,8 +8867,8 @@ packages: engines: {node: '>=4'} dev: true - /unimport/0.1.8: - resolution: {integrity: sha512-Eynu+yyVVZ76te5DbE3744z1YjqoES+muNlNP03kVURHC/S2IR65mjzdmT6wpWvU78q488dK0fQ+tUK9UEndZA==} + /unimport/0.1.9: + resolution: {integrity: sha512-ap7MnS7zuA4A8eAyA8CHN3YFw1tMpWQK3rSrh6jvrB3tWkT4EKvslg9sNoax5WuL8TnMaXSydRxwOgUUXrnovg==} dependencies: '@rollup/pluginutils': 4.2.1 escape-string-regexp: 5.0.0 @@ -8545,9 +8876,9 @@ packages: local-pkg: 0.4.1 magic-string: 0.26.1 mlly: 0.5.2 - pathe: 0.2.0 + pathe: 0.3.0 scule: 0.2.1 - unplugin: 0.6.2 + unplugin: 0.6.3 transitivePeerDependencies: - esbuild - rollup @@ -8584,29 +8915,30 @@ packages: engines: {node: '>= 10.0.0'} dev: true - /unocss/0.32.9_vite@2.9.7: - resolution: {integrity: sha512-1o9CYWcw+KsNauoMTs9vDFA5hYWKkRnFsxNJ0oEiFuFZBlAdGItsokiUnaaOQ8Ue38WfD4jn4j3v2f47GXdL3g==} + /unocss/0.34.1_vite@2.9.9: + resolution: {integrity: sha512-rk1xKh+ROUHxcFq56Wa0vuOqPFhqvomp3pQW+XEhPHSwOasiHXHtuNgPUgrbE2dhS2OAY9zz1dNhjkbOXnjS8w==} engines: {node: '>=14'} dependencies: - '@unocss/cli': 0.32.9 - '@unocss/core': 0.32.9 - '@unocss/preset-attributify': 0.32.9 - '@unocss/preset-icons': 0.32.9 - '@unocss/preset-mini': 0.32.9 - '@unocss/preset-typography': 0.32.9 - '@unocss/preset-uno': 0.32.9 - '@unocss/preset-web-fonts': 0.32.9 - '@unocss/preset-wind': 0.32.9 - '@unocss/reset': 0.32.9 - '@unocss/transformer-directives': 0.32.9 - '@unocss/transformer-variant-group': 0.32.9 - '@unocss/vite': 0.32.9_vite@2.9.7 + '@unocss/cli': 0.34.1 + '@unocss/core': 0.34.1 + '@unocss/preset-attributify': 0.34.1 + '@unocss/preset-icons': 0.34.1 + '@unocss/preset-mini': 0.34.1 + '@unocss/preset-typography': 0.34.1 + '@unocss/preset-uno': 0.34.1 + '@unocss/preset-web-fonts': 0.34.1 + '@unocss/preset-wind': 0.34.1 + '@unocss/reset': 0.34.1 + '@unocss/transformer-compile-class': 0.34.1 + '@unocss/transformer-directives': 0.34.1 + '@unocss/transformer-variant-group': 0.34.1 + '@unocss/vite': 0.34.1_vite@2.9.9 transitivePeerDependencies: - supports-color - vite dev: true - /unplugin-icons/0.14.3_vhhexzonwcf6y3fqpv4ckpj6ru: + /unplugin-icons/0.14.3_5ldljao7w6lsiq5e2abv2ioccy: resolution: {integrity: sha512-PyyNMACpZ/EAiG3B6K1wPGZ151VGdlHIEx8/utgP546yVmPpV/xC1k1V2eEebf71fGm3WD6gzPrERNsbMgIVgg==} peerDependencies: '@svgr/core': '>=5.5.0' @@ -8626,11 +8958,11 @@ packages: '@antfu/install-pkg': 0.1.0 '@antfu/utils': 0.5.1 '@iconify/utils': 1.0.32 - '@vue/compiler-sfc': 3.2.33 + '@vue/compiler-sfc': 3.2.36 debug: 4.3.4 kolorist: 1.5.1 local-pkg: 0.4.1 - unplugin: 0.6.2_rollup@2.71.1+vite@2.9.7 + unplugin: 0.6.2_rollup@2.74.1+vite@2.9.9 transitivePeerDependencies: - esbuild - rollup @@ -8639,8 +8971,8 @@ packages: - webpack dev: true - /unplugin-vue-components/0.19.3_67oimwpizr2btai3fwx2b3h7cu: - resolution: {integrity: sha512-z/kpYJnqrJuWglDNs7fy0YRHr41oLc07y2TkP3by6DqPb1GG9xGC9SFigeFwd4J7GVTqyFVsnjoeup7uK7I2dA==} + /unplugin-vue-components/0.19.5_spcnh6tolfhh3jo26jzl6kgg4m: + resolution: {integrity: sha512-cIC+PdQEXmG+B1gmZGk4hws2xP+00C6pg3FD6ixEgRyW+WF+QXQW/60pc+hUhtDYs1PFE+23K3NY7yvYTnDDTA==} engines: {node: '>=14'} peerDependencies: '@babel/parser': ^7.15.8 @@ -8652,7 +8984,7 @@ packages: '@babel/traverse': optional: true dependencies: - '@antfu/utils': 0.5.0 + '@antfu/utils': 0.5.1 '@rollup/pluginutils': 4.2.1 chokidar: 3.5.3 debug: 4.3.4 @@ -8661,8 +8993,8 @@ packages: magic-string: 0.26.1 minimatch: 5.0.1 resolve: 1.22.0 - unplugin: 0.6.2_rollup@2.71.1+vite@2.9.7 - vue: 3.2.33 + unplugin: 0.6.3_rollup@2.74.1+vite@2.9.9 + vue: 3.2.36 transitivePeerDependencies: - esbuild - rollup @@ -8671,7 +9003,7 @@ packages: - webpack dev: true - /unplugin/0.6.2: + /unplugin/0.6.2_rollup@2.74.1+vite@2.9.9: resolution: {integrity: sha512-+QONc2uBFQbeo4x5mlJHjTKjR6pmuchMpGVrWhwdGFFMb4ttFZ4E9KqhOOrNcm3Q8NNyB1vJ4s5e36IZC7UWYw==} peerDependencies: esbuild: '>=0.13' @@ -8689,11 +9021,35 @@ packages: optional: true dependencies: chokidar: 3.5.3 + rollup: 2.74.1 + vite: 2.9.9 webpack-sources: 3.2.3 webpack-virtual-modules: 0.4.3 + dev: true - /unplugin/0.6.2_rollup@2.71.1+vite@2.9.7: - resolution: {integrity: sha512-+QONc2uBFQbeo4x5mlJHjTKjR6pmuchMpGVrWhwdGFFMb4ttFZ4E9KqhOOrNcm3Q8NNyB1vJ4s5e36IZC7UWYw==} + /unplugin/0.6.3: + resolution: {integrity: sha512-CoW88FQfCW/yabVc4bLrjikN9HC8dEvMU4O7B6K2jsYMPK0l6iAnd9dpJwqGcmXJKRCU9vwSsy653qg+RK0G6A==} + peerDependencies: + esbuild: '>=0.13' + rollup: ^2.50.0 + vite: ^2.3.0 + webpack: 4 || 5 + peerDependenciesMeta: + esbuild: + optional: true + rollup: + optional: true + vite: + optional: true + webpack: + optional: true + dependencies: + chokidar: 3.5.3 + webpack-sources: 3.2.3 + webpack-virtual-modules: 0.4.3 + + /unplugin/0.6.3_rollup@2.74.1+vite@2.9.9: + resolution: {integrity: sha512-CoW88FQfCW/yabVc4bLrjikN9HC8dEvMU4O7B6K2jsYMPK0l6iAnd9dpJwqGcmXJKRCU9vwSsy653qg+RK0G6A==} peerDependencies: esbuild: '>=0.13' rollup: ^2.50.0 @@ -8710,8 +9066,8 @@ packages: optional: true dependencies: chokidar: 3.5.3 - rollup: 2.71.1 - vite: 2.9.7 + rollup: 2.74.1 + vite: 2.9.9 webpack-sources: 3.2.3 webpack-virtual-modules: 0.4.3 dev: true @@ -8781,7 +9137,7 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /vite-plugin-inspect/0.5.0_vite@2.9.7: + /vite-plugin-inspect/0.5.0_vite@2.9.9: resolution: {integrity: sha512-eArca+5jrNx1hQL+5s79eT5Xq4VXjJcihJhK8GT/+W2GqefVxFO1WO78RnD0HPI+hKSdEFo+B4z2zeaE8DTvWQ==} engines: {node: '>=14'} peerDependencies: @@ -8792,12 +9148,12 @@ packages: kolorist: 1.5.1 sirv: 2.0.2 ufo: 0.8.3 - vite: 2.9.7 + vite: 2.9.9 transitivePeerDependencies: - supports-color dev: true - /vite-plugin-pwa/0.12.0_vite@2.9.7: + /vite-plugin-pwa/0.12.0_vite@2.9.9: resolution: {integrity: sha512-KYD+cnS5ExLF3T28NkfzBLZ53ehHlp+qMhHGFNh0zlVGpFHrJkL2v9wd4AMi7ZkBTffgeNatIFiv8rhCsMSxBQ==} peerDependencies: vite: ^2.0.0 @@ -8805,18 +9161,17 @@ packages: debug: 4.3.4 fast-glob: 3.2.11 pretty-bytes: 6.0.0 - rollup: 2.71.1 - vite: 2.9.7 + rollup: 2.74.1 + vite: 2.9.9 workbox-build: 6.5.3 workbox-window: 6.5.3 transitivePeerDependencies: - '@types/babel__core' - - acorn - supports-color dev: true - /vite/2.9.7: - resolution: {integrity: sha512-5hH7aNQe8rJiTTqCtPNX/6mIKlGw+1wg8UXwAxDIIN8XaSR+Zx3GT2zSu7QKa1vIaBqfUODGh3vpwY8r0AW/jw==} + /vite/2.9.9: + resolution: {integrity: sha512-ffaam+NgHfbEmfw/Vuh6BHKKlI/XIAhxE5QSS7gFLIngxg171mg1P3a4LSRME0z2ZU1ScxoKzphkipcYwSD5Ew==} engines: {node: '>=12.2.0'} hasBin: true peerDependencies: @@ -8832,26 +9187,25 @@ packages: optional: true dependencies: esbuild: 0.14.29 - postcss: 8.4.13 + postcss: 8.4.14 resolve: 1.22.0 - rollup: 2.71.1 + rollup: 2.74.1 optionalDependencies: fsevents: 2.3.2 dev: true - /vitepress/0.22.3: - resolution: {integrity: sha512-Yfvu/rent2vp/TXIDZMutS6ft2TJPn4xngS48PYFWDEbuFI2ccUAXM481lF1qVVnCKxfh4g8e/KPvevSJdg1Bw==} + /vitepress/0.22.4: + resolution: {integrity: sha512-oZUnLO/SpYdThaBKefDeOiVlr0Rie4Ppx3FzMnMyLtJnI5GlBMNjqYqMy/4+umm/iC+ZDJfI+IlDKxv5fZnYzA==} engines: {node: '>=14.0.0'} hasBin: true dependencies: - '@docsearch/css': 3.0.0-alpha.42 - '@docsearch/js': 3.0.0-alpha.42 - '@vitejs/plugin-vue': 2.2.2_vite@2.9.7+vue@3.2.33 + '@docsearch/css': 3.1.0 + '@docsearch/js': 3.1.0 + '@vitejs/plugin-vue': 2.3.3_vite@2.9.9+vue@3.2.36 prismjs: 1.25.0 - vite: 2.9.7 - vue: 3.2.33 + vite: 2.9.9 + vue: 3.2.36 transitivePeerDependencies: - - '@algolia/client-search' - '@types/react' - less - react @@ -8860,8 +9214,8 @@ packages: - stylus dev: true - /vitest/0.10.2_5p6wmr6lxmj27zng35u7okaq7u: - resolution: {integrity: sha512-41D+nhswCco5vy1NXmpAjZX11Aj+HMnyhjWQD12piwHibf4bvdTGtni56UcFWcvONVoIForgDuLrKSohHJjwQA==} + /vitest/0.12.9_vrw6rgtr7itp6ghyrtnu3o3lrq: + resolution: {integrity: sha512-1NtyUANS72Qw5PwYvoztk067NX4fSiis2xQxhByOWS33eL2er/yupHyLxlBCOkF2ANe0dLFRvT1GVb+nczL5aw==} engines: {node: '>=v14.16.0'} hasBin: true peerDependencies: @@ -8881,17 +9235,19 @@ packages: dependencies: '@types/chai': 4.3.1 '@types/chai-subset': 1.3.3 - '@vitest/ui': 0.10.2 + '@vitest/ui': 0.12.9 chai: 4.3.6 + debug: 4.3.4 jsdom: 19.0.0 local-pkg: 0.4.1 tinypool: 0.1.3 tinyspy: 0.3.2 - vite: 2.9.7 + vite: 2.9.9 transitivePeerDependencies: - less - sass - stylus + - supports-color dev: true /vscode-oniguruma/1.6.1: @@ -8902,8 +9258,8 @@ packages: resolution: {integrity: sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ==} dev: true - /vue-demi/0.12.5: - resolution: {integrity: sha512-BREuTgTYlUr0zw0EZn3hnhC3I6gPWv+Kwh4MCih6QcAeaTlaIX0DwOVN0wHej7hSvDPecz4jygy/idsgKfW58Q==} + /vue-demi/0.13.0: + resolution: {integrity: sha512-pu9R4Nydj+LMcKkIL1cnP1L2anJBTmVZzVWSdy5P1rkSRs9fxGCFrZmXdPTEsN37m5JtBVBSYKPk6xnORfjUsQ==} engines: {node: '>=12'} hasBin: true requiresBuild: true @@ -8915,8 +9271,8 @@ packages: optional: true dev: false - /vue-demi/0.12.5_kbmtb3wmvrrk5xtxnbdbdjl4qq: - resolution: {integrity: sha512-BREuTgTYlUr0zw0EZn3hnhC3I6gPWv+Kwh4MCih6QcAeaTlaIX0DwOVN0wHej7hSvDPecz4jygy/idsgKfW58Q==} + /vue-demi/0.13.0_fxyydyqjavkblcmg2ywsuz264y: + resolution: {integrity: sha512-pu9R4Nydj+LMcKkIL1cnP1L2anJBTmVZzVWSdy5P1rkSRs9fxGCFrZmXdPTEsN37m5JtBVBSYKPk6xnORfjUsQ==} engines: {node: '>=12'} hasBin: true requiresBuild: true @@ -8927,21 +9283,21 @@ packages: '@vue/composition-api': optional: true dependencies: - '@vue/composition-api': 1.6.0_vue@3.2.33 - vue: 3.2.33 + '@vue/composition-api': 1.6.2_vue@3.2.36 + vue: 3.2.36 dev: true - /vue-eslint-parser/8.0.1_eslint@8.14.0: - resolution: {integrity: sha512-lhWjDXJhe3UZw2uu3ztX51SJAPGPey1Tff2RK3TyZURwbuI4vximQLzz4nQfCv8CZq4xx7uIiogHMMoSJPr33A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /vue-eslint-parser/9.0.2_eslint@8.16.0: + resolution: {integrity: sha512-uCPQwTGjOtAYrwnU+76pYxalhjsh7iFBsHwBqDHiOPTxtICDaraO4Szw54WFTNZTAEsgHHzqFOu1mmnBOBRzDA==} + engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.14.0 - eslint-scope: 6.0.0 + eslint: 8.16.0 + eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 - espree: 9.3.1 + espree: 9.3.2 esquery: 1.4.0 lodash: 4.17.21 semver: 7.3.7 @@ -8961,14 +9317,14 @@ packages: resolution: {integrity: sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==} dev: true - /vue/3.2.33: - resolution: {integrity: sha512-si1ExAlDUrLSIg/V7D/GgA4twJwfsfgG+t9w10z38HhL/HA07132pUQ2KuwAo8qbCyMJ9e6OqrmWrOCr+jW7ZQ==} + /vue/3.2.36: + resolution: {integrity: sha512-5yTXmrE6gW8IQgttzHW5bfBiFA6mx35ZXHjGLDmKYzW6MMmYvCwuKybANRepwkMYeXw2v1buGg3/lPICY5YlZw==} dependencies: - '@vue/compiler-dom': 3.2.33 - '@vue/compiler-sfc': 3.2.33 - '@vue/runtime-dom': 3.2.33 - '@vue/server-renderer': 3.2.33_vue@3.2.33 - '@vue/shared': 3.2.33 + '@vue/compiler-dom': 3.2.36 + '@vue/compiler-sfc': 3.2.36 + '@vue/runtime-dom': 3.2.36 + '@vue/server-renderer': 3.2.36_vue@3.2.36 + '@vue/shared': 3.2.36 dev: true /w3c-hr-time/1.0.2: @@ -9122,9 +9478,9 @@ packages: '@babel/core': 7.17.7 '@babel/preset-env': 7.16.5_@babel+core@7.17.7 '@babel/runtime': 7.16.5 - '@rollup/plugin-babel': 5.3.0_wcjvusw4zhufksfyyfhnkgaxxm - '@rollup/plugin-node-resolve': 11.2.1_rollup@2.71.1 - '@rollup/plugin-replace': 2.4.2_rollup@2.71.1 + '@rollup/plugin-babel': 5.3.0_x2aor467pf57uz6h672f6uaxfe + '@rollup/plugin-node-resolve': 11.2.1_rollup@2.74.1 + '@rollup/plugin-replace': 2.4.2_rollup@2.74.1 '@surma/rollup-plugin-off-main-thread': 2.2.3 ajv: 8.8.2 common-tags: 1.8.2 @@ -9133,8 +9489,8 @@ packages: glob: 7.2.0 lodash: 4.17.21 pretty-bytes: 5.6.0 - rollup: 2.71.1 - rollup-plugin-terser: 7.0.2_rollup@2.71.1 + rollup: 2.74.1 + rollup-plugin-terser: 7.0.2_rollup@2.74.1 source-map: 0.8.0-beta.0 stringify-object: 3.3.0 strip-comments: 2.0.1 @@ -9157,7 +9513,6 @@ packages: workbox-window: 6.5.3 transitivePeerDependencies: - '@types/babel__core' - - acorn - supports-color dev: true @@ -9312,13 +9667,13 @@ packages: /yallist/4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} - /yaml-eslint-parser/0.5.0: - resolution: {integrity: sha512-nJeyLA3YHAzhBTZbRAbu3W6xrSCucyxExmA+ZDtEdUFpGllxAZpto2Zxo2IG0r0eiuEiBM4e+wiAdxTziTq94g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /yaml-eslint-parser/1.0.1: + resolution: {integrity: sha512-acQYWneSXwnJgPQbTyJvDxWx9zlJ/rq267p/zzQMSCE7ljJxQ8elefsQase1gEIJMo+pIqmLRczoo7fPt6VbKQ==} + engines: {node: ^14.17.0 || >=16.0.0} dependencies: eslint-visitor-keys: 3.3.0 lodash: 4.17.21 - yaml: 1.10.2 + yaml: 2.1.0 dev: true /yaml/1.10.2: @@ -9326,6 +9681,11 @@ packages: engines: {node: '>= 6'} dev: true + /yaml/2.1.0: + resolution: {integrity: sha512-OuAINfTsoJrY5H7CBWnKZhX6nZciXBydrMtTHr1dC4nP40X5jyTIVlogZHxSlVZM8zSgXRfgZGsaHF4+pV+JRw==} + engines: {node: '>= 14'} + dev: true + /yargs-parser/18.1.3: resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} engines: {node: '>=6'} diff --git a/scripts/utils.ts b/scripts/utils.ts index 5d62c033da0..68fa1ba6b2c 100644 --- a/scripts/utils.ts +++ b/scripts/utils.ts @@ -266,15 +266,15 @@ export async function updatePackageJSON(indexes: PackageIndexes) { .filter(i => i.package === name) .forEach((i) => { packageJSON.exports[`./${i.name}`] = { + types: `./${i.name}.d.ts`, import: `./${i.name}.mjs`, require: `./${i.name}.cjs`, - types: `./${i.name}.d.ts`, } if (i.component) { packageJSON.exports[`./${i.name}/component`] = { + types: `./${i.name}/component.d.ts`, import: `./${i.name}/component.mjs`, require: `./${i.name}/component.cjs`, - types: `./${i.name}/component.d.ts`, } } })