diff --git a/package.json b/package.json index bb9bcff..055b55b 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,11 @@ "esbuild": "^0.14.42", "eslint": "^7.5.0", "eslint-config-airbnb": "^18.2.0", - "eslint-config-prettier": "^6.11.0", + "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-json": "^2.1.2", "eslint-plugin-jsx-a11y": "^6.3.1", - "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.20.3", "eslint-plugin-react-hooks": "^4.0.8", "glob": "^7.1.6", @@ -45,8 +44,7 @@ "playwright-core": "^1.22.2", "playwright-firefox": "^1.22.2", "playwright-webkit": "^1.22.2", - "prettier": "^2.0.5", - "prettier-eslint": "^11.0.0", + "prettier": "^2.6.2", "rollup": "^2.75.5", "rollup-plugin-esbuild": "^4.9.1", "rollup-plugin-livereload": "^2.0.0", diff --git a/packages/overlayscrollbars/src/environment.ts b/packages/overlayscrollbars/src/environment.ts index c3fe6a9..485092b 100644 --- a/packages/overlayscrollbars/src/environment.ts +++ b/packages/overlayscrollbars/src/environment.ts @@ -29,7 +29,9 @@ import { OSTargetElement } from 'typings'; type StructureInitializationElementFn = ((target: OSTargetElement) => HTMLElement | T) | T; -type ScrollbarsInitializationElementFn = ((target: OSTargetElement, host: HTMLElement, viewport: HTMLElement) => HTMLElement | T) | T; +type ScrollbarsInitializationElementFn = + | ((target: OSTargetElement, host: HTMLElement, viewport: HTMLElement) => HTMLElement | T) + | T; /** * A Static element is an element which MUST be generated. @@ -44,7 +46,9 @@ export type StructureInitializationStaticElement = StructureInitializationElemen * If boolean (or the returned result is boolean), the generation of the element is forced (or not). * If the function returns and element, the element returned by the function acts as the generated element. */ -export type StructureInitializationDynamicElement = StructureInitializationElementFn; +export type StructureInitializationDynamicElement = StructureInitializationElementFn< + boolean | null +>; export interface StructureInitializationStrategy { _host: StructureInitializationStaticElement; @@ -57,7 +61,9 @@ export interface ScrollbarsInitializationStrategy { _scrollbarsSlot: ScrollbarsInitializationElementFn; } -export interface InitializationStrategy extends StructureInitializationStrategy, ScrollbarsInitializationStrategy {} +export interface InitializationStrategy + extends StructureInitializationStrategy, + ScrollbarsInitializationStrategy {} export type OnEnvironmentChanged = (env: Environment) => void; export interface Environment { @@ -103,13 +109,17 @@ const getNativeScrollbarStyling = (testElm: HTMLElement): boolean => { try { result = style(testElm, cssProperty('scrollbar-width')) === 'none' || - window.getComputedStyle(testElm, '::-webkit-scrollbar').getPropertyValue('display') === 'none'; + window.getComputedStyle(testElm, '::-webkit-scrollbar').getPropertyValue('display') === + 'none'; } catch (ex) {} return result; }; -const getRtlScrollBehavior = (parentElm: HTMLElement, childElm: HTMLElement): { i: boolean; n: boolean } => { +const getRtlScrollBehavior = ( + parentElm: HTMLElement, + childElm: HTMLElement +): { i: boolean; n: boolean } => { const strHidden = 'hidden'; style(parentElm, { overflowX: strHidden, overflowY: strHidden, direction: 'rtl' }); scrollLeft(parentElm, 0); @@ -161,7 +171,9 @@ const getWindowDPR = (): number => { }; // init function decides for all values -const getDefaultInitializationStrategy = (nativeScrollbarStyling: boolean): InitializationStrategy => ({ +const getDefaultInitializationStrategy = ( + nativeScrollbarStyling: boolean +): InitializationStrategy => ({ _host: null, _viewport: null, _padding: null, @@ -243,7 +255,10 @@ const createEnvironment = (): Environment => { const isZoom = deltaIsBigger && difference && dprChanged; if (isZoom) { - const newScrollbarSize = (environmentInstance._nativeScrollbarSize = getNativeScrollbarSize(body, envElm)); + const newScrollbarSize = (environmentInstance._nativeScrollbarSize = getNativeScrollbarSize( + body, + envElm + )); removeElements(envElm); if (scrollbarSize.x !== newScrollbarSize.x || scrollbarSize.y !== newScrollbarSize.y) { diff --git a/packages/overlayscrollbars/src/support/cache/cache.ts b/packages/overlayscrollbars/src/support/cache/cache.ts index 5f7d61b..cdfe5b9 100644 --- a/packages/overlayscrollbars/src/support/cache/cache.ts +++ b/packages/overlayscrollbars/src/support/cache/cache.ts @@ -34,7 +34,7 @@ export const createCache = ( update: UpdateCachePropFunction, options: CacheOptions ): Cache => { - const { _initialValue, _equal, _alwaysUpdateValues } = options || {}; + const { _initialValue, _equal, _alwaysUpdateValues } = options; let _value: Value = _initialValue; let _previous: Value | undefined; diff --git a/packages/overlayscrollbars/src/support/compatibility/vendors.ts b/packages/overlayscrollbars/src/support/compatibility/vendors.ts index c3ad2e7..87904b7 100644 --- a/packages/overlayscrollbars/src/support/compatibility/vendors.ts +++ b/packages/overlayscrollbars/src/support/compatibility/vendors.ts @@ -8,7 +8,16 @@ const getDummyStyle = (): CSSStyleDeclaration => createDiv().style; // https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Prefix export const cssPrefixes: ReadonlyArray = ['-webkit-', '-moz-', '-o-', '-ms-']; -export const jsPrefixes: ReadonlyArray = ['WebKit', 'Moz', 'O', 'MS', 'webkit', 'moz', 'o', 'ms']; +export const jsPrefixes: ReadonlyArray = [ + 'WebKit', + 'Moz', + 'O', + 'MS', + 'webkit', + 'moz', + 'o', + 'ms', +]; export const jsCache: { [key: string]: any } = {}; export const cssCache: { [key: string]: string } = {}; @@ -35,9 +44,14 @@ export const cssProperty = (name: string): string => { prefixWithoutDashes + uppercasedName, // webkitTransition firstLetterToUpper(prefixWithoutDashes) + uppercasedName, // WebkitTransition ]; - return !(result = resultPossibilities.find((resultPossibility: string) => elmStyle[resultPossibility] !== undefined)); + + // eslint-disable-next-line no-return-assign + return !(result = resultPossibilities.find( + (resultPossibility: string) => elmStyle[resultPossibility] !== undefined + )); }); + // eslint-disable-next-line no-return-assign return (cssCache[name] = result || ''); }; @@ -72,6 +86,7 @@ export const cssPropertyValue = (property: string, values: string, suffix?: stri return !result; }); + // eslint-disable-next-line no-return-assign return (cssCache[name] = result || ''); }; diff --git a/packages/overlayscrollbars/src/support/utils/array.ts b/packages/overlayscrollbars/src/support/utils/array.ts index c3abf57..ece9af8 100644 --- a/packages/overlayscrollbars/src/support/utils/array.ts +++ b/packages/overlayscrollbars/src/support/utils/array.ts @@ -26,7 +26,10 @@ export function each( arrayLikeObject: ArrayLike | null | undefined, callback: (value: T, indexOrKey: number, source: ArrayLike) => boolean | unknown ): ArrayLike | null | undefined; -export function each(obj: PlainObject, callback: (value: any, indexOrKey: string, source: PlainObject) => boolean | unknown): PlainObject; +export function each( + obj: PlainObject, + callback: (value: any, indexOrKey: string, source: PlainObject) => boolean | unknown +): PlainObject; export function each( obj: PlainObject | null | undefined, callback: (value: any, indexOrKey: string, source: PlainObject) => boolean | unknown @@ -53,15 +56,22 @@ export function each( * @param item The item. * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0. */ -export const indexOf = (arr: Array, item: T, fromIndex?: number): number => arr.indexOf(item, fromIndex); +export const indexOf = (arr: Array, item: T, fromIndex?: number): number => + arr.indexOf(item, fromIndex); /** * Pushesh all given items into the given array and returns it. * @param array The array the items shall be pushed into. * @param items The items which shall be pushed into the array. */ -export const push = (array: Array, items: T | ArrayLike, arrayIsSingleItem?: boolean): Array => { - !arrayIsSingleItem && !isString(items) && isArrayLike(items) ? Array.prototype.push.apply(array, items as Array) : array.push(items as T); +export const push = ( + array: Array, + items: T | ArrayLike, + arrayIsSingleItem?: boolean +): Array => { + !arrayIsSingleItem && !isString(items) && isArrayLike(items) + ? Array.prototype.push.apply(array, items as Array) + : array.push(items as T); return array; }; @@ -86,7 +96,8 @@ export const from = (arr: ArrayLike) => { * Check whether the passed array is empty. * @param array The array which shall be checked. */ -export const isEmptyArray = (array: Array | null | undefined) => array && array.length === 0; +export const isEmptyArray = (array: Array | null | undefined): boolean => + !!array && array.length === 0; /** * Calls all functions in the passed array/set of functions. diff --git a/packages/overlayscrollbars/src/support/utils/function.ts b/packages/overlayscrollbars/src/support/utils/function.ts index d0925ad..28be164 100644 --- a/packages/overlayscrollbars/src/support/utils/function.ts +++ b/packages/overlayscrollbars/src/support/utils/function.ts @@ -1,7 +1,7 @@ import { isNumber, isFunction } from 'support/utils/types'; +import { from } from 'support/utils/array'; import { rAF, cAF } from 'support/compatibility/apis'; -const setT = window.setTimeout; const clearTimeouts = (id: number | undefined) => { id && window.clearTimeout(id); id && cAF!(id); @@ -42,13 +42,14 @@ export const noop = () => {}; // eslint-disable-line */ export const debounce = any>( functionToDebounce: FunctionToDebounce, - options: DebounceOptions + options?: DebounceOptions ): Debounced => { let timeoutId: number | undefined; let maxTimeoutId: number | undefined; let prevArguments: Parameters | null | undefined; let latestArguments: Parameters | null | undefined; - const { _timeout, _maxDelay, _mergeParams } = options; + const { _timeout, _maxDelay, _mergeParams } = options || {}; + const setT = window.setTimeout; const invokeFunctionToDebounce = function (args: IArguments) { clearTimeouts(timeoutId); @@ -59,31 +60,35 @@ export const debounce = any>( functionToDebounce.apply(this, args); }; - const mergeParms = (curr: Parameters): Parameters | false | null | undefined => + const mergeParms = ( + curr: Parameters + ): Parameters | false | null | undefined => _mergeParams && prevArguments ? _mergeParams(prevArguments, curr) : curr; const flush = () => { + /* istanbul ignore next */ if (timeoutId) { invokeFunctionToDebounce(mergeParms(latestArguments!) || latestArguments!); } }; const debouncedFn = function () { - const args: Parameters = arguments as Parameters; + // eslint-disable-next-line prefer-rest-params + const args: Parameters = from(arguments) as Parameters; const finalTimeout = isFunction(_timeout) ? _timeout() : _timeout; const hasTimeout = isNumber(finalTimeout) && finalTimeout >= 0; if (hasTimeout) { const finalMaxWait = isFunction(_maxDelay) ? _maxDelay() : _maxDelay; const hasMaxWait = isNumber(finalMaxWait) && finalMaxWait >= 0; - const setTimeoutFn = finalTimeout! > 0 ? setT : rAF!; + const setTimeoutFn = finalTimeout > 0 ? setT : rAF!; const mergeParamsResult = mergeParms(args); const invokedArgs = mergeParamsResult || args; const boundInvoke = invokeFunctionToDebounce.bind(0, invokedArgs); - if (!mergeParamsResult) { - invokeFunctionToDebounce(prevArguments || args); - } + // if (!mergeParamsResult) { + // invokeFunctionToDebounce(prevArguments || args); + // } clearTimeouts(timeoutId); timeoutId = setTimeoutFn(boundInvoke, finalTimeout as number) as number; diff --git a/packages/overlayscrollbars/src/support/utils/lexicon.ts b/packages/overlayscrollbars/src/support/utils/lexicon.ts index 27cefbc..779a725 100644 --- a/packages/overlayscrollbars/src/support/utils/lexicon.ts +++ b/packages/overlayscrollbars/src/support/utils/lexicon.ts @@ -10,11 +10,11 @@ interface GenericLexicon { } export interface Lexicon extends GenericLexicon { - _inverted: Lexicon; + // _inverted: Lexicon; } -export const getLexicon = (horizontal?: T): Lexicon => { - return { +export const getLexicon = (horizontal?: T): Lexicon => + ({ _widthHeight: horizontal ? 'width' : 'height', _WidthHeight: horizontal ? 'Width' : 'Height', _leftTop: horizontal ? 'left' : 'top', @@ -23,6 +23,5 @@ export const getLexicon = (horizontal?: T): Lexicon; -}; + // _inverted: getLexicon(!horizontal), + } as Lexicon); diff --git a/packages/overlayscrollbars/tests/jest/support/utils/arrays.test.ts b/packages/overlayscrollbars/tests/jest/support/utils/arrays.test.ts index 9860a65..345d3b5 100644 --- a/packages/overlayscrollbars/tests/jest/support/utils/arrays.test.ts +++ b/packages/overlayscrollbars/tests/jest/support/utils/arrays.test.ts @@ -1,4 +1,4 @@ -import { push, each, from, indexOf, runEach } from 'support/utils/array'; +import { push, each, from, indexOf, runEach, isEmptyArray } from 'support/utils/array'; describe('array utilities', () => { describe('push', () => { @@ -306,4 +306,10 @@ describe('array utilities', () => { const idx = indexOf([1, 2, 3], 2); expect(idx).toBe(1); }); + + test('isEmptyArray', () => { + expect(isEmptyArray([])).toBe(true); + expect(isEmptyArray([1, 2, 3])).toBe(false); + expect(isEmptyArray(null)).toBe(false); + }); }); diff --git a/packages/overlayscrollbars/tests/jest/support/utils/function.test.ts b/packages/overlayscrollbars/tests/jest/support/utils/function.test.ts new file mode 100644 index 0000000..fc5fe6c --- /dev/null +++ b/packages/overlayscrollbars/tests/jest/support/utils/function.test.ts @@ -0,0 +1,321 @@ +import { noop, debounce } from 'support/utils/function'; +import { rAF } from 'support/compatibility/apis'; + +jest.mock('support/compatibility/apis', () => { + const originalModule = jest.requireActual('support/compatibility/apis'); + return { + ...originalModule, + rAF: jest.fn().mockImplementation((...args) => originalModule.rAF(...args)), + }; +}); + +const mockSetTimeout = () => { + const original = window.setTimeout; + // @ts-ignore + const setT = (window.setTimeout = jest.fn((...args) => original(...args))); + return [ + setT, + () => { + window.setTimeout = original; + }, + ]; +}; + +// eslint-disable-next-line no-return-await +const timeout = async (timeout = 100) => await new Promise((r) => setTimeout(r, timeout)); + +describe('function', () => { + test('noop', () => { + expect(typeof noop).toBe('function'); + expect(noop()).toBe(undefined); + }); + + describe('debounce', () => { + describe('timeout', () => { + test('without timeout', () => { + let i = 0; + const [setT, unmockSetTimeout] = mockSetTimeout(); + const debouncedFn = debounce(() => { + i += 1; + }); + expect(rAF).not.toHaveBeenCalled(); + expect(setT).not.toHaveBeenCalled(); + debouncedFn(); + expect(rAF).not.toHaveBeenCalled(); + expect(setT).not.toHaveBeenCalled(); + expect(i).toBe(1); + unmockSetTimeout(); + }); + + test('with timeout 0', async () => { + let i = 0; + const [setT, unmockSetTimeout] = mockSetTimeout(); + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: 0 } + ); + + expect(rAF).not.toHaveBeenCalled(); + expect(setT).not.toHaveBeenCalled(); + debouncedFn(); + expect(rAF).toHaveBeenCalledTimes(1); + expect(setT).not.toHaveBeenCalled(); + expect(i).toBe(0); + + await timeout(); + + expect(i).toBe(1); + unmockSetTimeout(); + }); + + test('with timeout > 0', async () => { + let i = 0; + const [setT, unmockSetTimeout] = mockSetTimeout(); + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: 1 } + ); + + expect(rAF).not.toHaveBeenCalled(); + expect(setT).not.toHaveBeenCalled(); + debouncedFn(); + expect(rAF).not.toHaveBeenCalled(); + expect(setT).toHaveBeenCalledTimes(1); + + expect(i).toBe(0); + await timeout(); + expect(i).toBe(1); + + unmockSetTimeout(); + }); + + test('with timeout > 0 and multiple calls', async () => { + let i = 0; + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: 200 } + ); + + debouncedFn(); + await timeout(); + expect(i).toBe(0); + + debouncedFn(); + await timeout(); + expect(i).toBe(0); + + debouncedFn(); + await timeout(); + expect(i).toBe(0); + + debouncedFn(); + await timeout(); + expect(i).toBe(0); + + debouncedFn(); + await timeout(300); + expect(i).toBe(1); + }); + + test('with timeout function', async () => { + let i = 0; + let timeoutMs = 200; + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: () => timeoutMs } + ); + + debouncedFn(); + await timeout(); + expect(i).toBe(0); + + timeoutMs = 1000; + + debouncedFn(); + await timeout(500); + expect(i).toBe(0); + + await timeout(500); + expect(i).toBe(1); + }); + }); + + describe('maxDelay', () => { + test('without maxDelay', async () => { + let i = 0; + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: 100 } + ); + debouncedFn(); + expect(i).toBe(0); + + await timeout(150); + + expect(i).toBe(1); + }); + + test('with maxDelay and longer timeout', async () => { + let i = 0; + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: 10000, _maxDelay: 100 } + ); + debouncedFn(); + expect(i).toBe(0); + + await timeout(150); + + expect(i).toBe(1); + }); + + test('with maxDelay and shorter timeout with multiple calls', async () => { + let i = 0; + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: 200, _maxDelay: 500 } + ); + debouncedFn(); + await timeout(150); + expect(i).toBe(0); + + debouncedFn(); + await timeout(150); + + debouncedFn(); + await timeout(150); + expect(i).toBe(0); + + debouncedFn(); + await timeout(150); + expect(i).toBe(1); + }); + + test('with maxDelay function', async () => { + let i = 0; + let maxDelayMs = 300; + const debouncedFn = debounce( + () => { + i += 1; + }, + { _timeout: 400, _maxDelay: () => maxDelayMs } + ); + debouncedFn(); + expect(i).toBe(0); + + await timeout(); + + debouncedFn(); + expect(i).toBe(0); + + await timeout(); + + maxDelayMs = 800; // this delay will be applied in the next cycle, not instantly + + debouncedFn(); + expect(i).toBe(0); + + await timeout(); + + debouncedFn(); + expect(i).toBe(1); // max delay 300 invoked here + + await timeout(300); + + debouncedFn(); + expect(i).toBe(1); + + await timeout(300); + + debouncedFn(); + expect(i).toBe(1); + + await timeout(300); + + debouncedFn(); + expect(i).toBe(2); // max delay 800 invoked here + }); + }); + + describe('mergeParams', () => { + test('with correct mergeParams function', async () => { + let i = 0; + const _mergeParams = jest.fn((prev: [number, number], curr: [number, number]) => { + const [prevA, prevB] = prev; + const [currA, currB] = curr; + + return [prevA + currA, prevB + currB] as [number, number]; + }); + const debouncedFn = debounce( + (a: number, b: number) => { + i += a * b; + }, + { _timeout: 200, _mergeParams } + ); + debouncedFn(1, 1); + expect(i).toBe(0); + expect(_mergeParams).not.toHaveBeenCalled(); + + await timeout(); + + debouncedFn(4, 4); + expect(i).toBe(0); + expect(_mergeParams).toHaveBeenLastCalledWith([1, 1], [4, 4]); + + await timeout(); + + debouncedFn(10, 10); + expect(i).toBe(0); + expect(_mergeParams).toHaveBeenLastCalledWith([5, 5], [10, 10]); + + await timeout(250); + + expect(i).toBe(15 * 15); + }); + + test('without correct mergeParams function', async () => { + let i = 0; + const _mergeParams = jest.fn(() => null); + const debouncedFn = debounce( + (a, b) => { + i += a * b; + }, + { _timeout: 200, _mergeParams } + ); + debouncedFn(1, 1); + expect(i).toBe(0); + expect(_mergeParams).not.toHaveBeenCalled(); + + await timeout(); + + debouncedFn(2, 2); + expect(i).toBe(0); + expect(_mergeParams).toHaveBeenLastCalledWith([1, 1], [2, 2]); + + await timeout(); + + debouncedFn(3, 3); + expect(i).toBe(0); + expect(_mergeParams).toHaveBeenLastCalledWith([2, 2], [3, 3]); + + await timeout(250); + + expect(i).toBe(3 * 3); + }); + }); + }); +}); diff --git a/packages/overlayscrollbars/tests/jest/support/utils/lexicon.test.ts b/packages/overlayscrollbars/tests/jest/support/utils/lexicon.test.ts new file mode 100644 index 0000000..7a10162 --- /dev/null +++ b/packages/overlayscrollbars/tests/jest/support/utils/lexicon.test.ts @@ -0,0 +1,27 @@ +import { getLexicon } from 'support/utils/lexicon'; + +describe('getLexicon', () => { + test('Get vertical Lexicon', () => { + const lexicon = getLexicon(); + expect(lexicon._widthHeight).toBe('height'); + expect(lexicon._WidthHeight).toBe('Height'); + expect(lexicon._leftTop).toBe('top'); + expect(lexicon._LeftTop).toBe('Top'); + expect(lexicon._xy).toBe('y'); + expect(lexicon._XY).toBe('Y'); + expect(lexicon._wh).toBe('h'); + expect(lexicon._lt).toBe('t'); + }); + + test('Get horizontal Lexicon', () => { + const lexicon = getLexicon(true); + expect(lexicon._widthHeight).toBe('width'); + expect(lexicon._WidthHeight).toBe('Width'); + expect(lexicon._leftTop).toBe('left'); + expect(lexicon._LeftTop).toBe('Left'); + expect(lexicon._xy).toBe('x'); + expect(lexicon._XY).toBe('X'); + expect(lexicon._wh).toBe('w'); + expect(lexicon._lt).toBe('l'); + }); +}); diff --git a/packages/overlayscrollbars/tests/playwright/observers/domObserver/index.browser.ts b/packages/overlayscrollbars/tests/playwright/observers/domObserver/index.browser.ts index 91aeade..7b72a0f 100644 --- a/packages/overlayscrollbars/tests/playwright/observers/domObserver/index.browser.ts +++ b/packages/overlayscrollbars/tests/playwright/observers/domObserver/index.browser.ts @@ -154,8 +154,8 @@ const targetDomObserver = createDOMObserver( const createContentDomOserver = ( eventContentChange: Array<[string?, string?] | null | undefined> -) => { - return createDOMObserver( +) => + createDOMObserver( trargetContentElm!, true, (contentChangedTroughEvent: boolean) => { @@ -188,7 +188,7 @@ const createContentDomOserver = ( ? liesBetween(target as Element, hostSelector, '.content') : false; }, - _ignoreNestedTargetChange: (target, attrName, oldValue, newValue) => { + _ignoreNestedTargetChange: (_target, attrName, oldValue, newValue) => { if (attrName === 'class' && oldValue && newValue) { const diff = diffClass(oldValue, newValue); const ignore = diff.length === 1 && diff[0].startsWith(ignorePrefix); @@ -204,7 +204,6 @@ const createContentDomOserver = ( }, } ); -}; let contentDomObserver = createContentDomOserver(contentChange); @@ -229,12 +228,10 @@ const changedThrough = ; } - const getStats = (): Stat => { - return { - total: getTotalObservations(), - lists: (observationLists as Array).map((list) => [list, list.length]), - }; - }; + const getStats = (): Stat => ({ + total: getTotalObservations(), + lists: (observationLists as Array).map((list) => [list, list.length]), + }); return { before: () => { diff --git a/yarn.lock b/yarn.lock index 7519f0a..2747603 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1943,7 +1943,7 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/parser@^3.0.0", "@typescript-eslint/parser@^3.7.0": +"@typescript-eslint/parser@^3.7.0": version "3.10.1" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.10.1.tgz#1883858e83e8b442627e1ac6f408925211155467" integrity sha512-Ug1RcWcrJP02hmtaXVS3axPPTTPnZjupqhgj+NnZ6BCkwSImWk/283347+x9wN+lqOdK9Eo3vsyiyDHgsmiEJw== @@ -2138,11 +2138,6 @@ ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== -ansi-styles@^2.2.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" - integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= - ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -2656,18 +2651,7 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" - integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= - dependencies: - ansi-styles "^2.2.1" - escape-string-regexp "^1.0.2" - has-ansi "^2.0.0" - strip-ansi "^3.0.0" - supports-color "^2.0.0" - -chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2697,11 +2681,6 @@ char-regex@^1.0.2: resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - chokidar@^3.3.0: version "3.5.0" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.0.tgz#458a4816a415e9d3b3caa4faec2b96a6935a9e65" @@ -2737,18 +2716,6 @@ clean-stack@^2.0.0: resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-width@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" - integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== - cliui@^7.0.2: version "7.0.4" resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" @@ -2844,11 +2811,6 @@ commander@^2.20.0: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -common-tags@^1.4.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937" - integrity sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw== - commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" @@ -2932,17 +2894,6 @@ cosmiconfig@^6.0.0: path-type "^4.0.0" yaml "^1.7.2" -cross-spawn@^6.0.5: - version "6.0.5" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" - integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== - dependencies: - nice-try "^1.0.4" - path-key "^2.0.1" - semver "^5.5.0" - shebang-command "^1.2.0" - which "^1.2.9" - cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -3257,11 +3208,6 @@ dir-glob@^3.0.1: dependencies: path-type "^4.0.0" -dlv@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" - integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== - doctrine@1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa" @@ -3598,7 +3544,7 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: +escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= @@ -3638,12 +3584,10 @@ eslint-config-airbnb@^18.2.0: object.assign "^4.1.0" object.entries "^1.1.2" -eslint-config-prettier@^6.11.0: - version "6.11.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz#f6d2238c1290d01c859a8b5c1f7d352a0b0da8b1" - integrity sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA== - dependencies: - get-stdin "^6.0.0" +eslint-config-prettier@^8.5.0: + version "8.5.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" + integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== eslint-import-resolver-node@^0.3.3: version "0.3.4" @@ -3712,13 +3656,6 @@ eslint-plugin-jsx-a11y@^6.3.1: jsx-ast-utils "^2.4.1" language-tags "^1.0.5" -eslint-plugin-prettier@^3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.4.tgz#168ab43154e2ea57db992a2cd097c828171f75c2" - integrity sha512-jZDa8z76klRqo+TdGDTFJSavwbnWK2ZpqGKNZ+VvweMW516pDUMmQ2koXvxEE4JhzNvTv+radye/bWGBmA6jmg== - dependencies: - prettier-linter-helpers "^1.0.0" - eslint-plugin-react-hooks@^4.0.8: version "4.1.0" resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.1.0.tgz#6323fbd5e650e84b2987ba76370523a60f4e7925" @@ -3757,13 +3694,6 @@ eslint-scope@^5.1.1: esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-utils@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" - integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== - dependencies: - eslint-visitor-keys "^1.1.0" - eslint-utils@^2.0.0, eslint-utils@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" @@ -3788,49 +3718,6 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== -eslint@^6.8.0: - version "6.8.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" - integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig== - dependencies: - "@babel/code-frame" "^7.0.0" - ajv "^6.10.0" - chalk "^2.1.0" - cross-spawn "^6.0.5" - debug "^4.0.1" - doctrine "^3.0.0" - eslint-scope "^5.0.0" - eslint-utils "^1.4.3" - eslint-visitor-keys "^1.1.0" - espree "^6.1.2" - esquery "^1.0.1" - esutils "^2.0.2" - file-entry-cache "^5.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.0.0" - globals "^12.1.0" - ignore "^4.0.6" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - inquirer "^7.0.0" - is-glob "^4.0.0" - js-yaml "^3.13.1" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" - lodash "^4.17.14" - minimatch "^3.0.4" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - optionator "^0.8.3" - progress "^2.0.0" - regexpp "^2.0.1" - semver "^6.1.2" - strip-ansi "^5.2.0" - strip-json-comments "^3.0.1" - table "^5.2.3" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - eslint@^7.5.0: version "7.8.1" resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.8.1.tgz#e59de3573fb6a5be8ff526c791571646d124a8fa" @@ -3874,15 +3761,6 @@ eslint@^7.5.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^6.1.2, espree@^6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" - integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw== - dependencies: - acorn "^7.1.1" - acorn-jsx "^5.2.0" - eslint-visitor-keys "^1.1.0" - espree@^7.3.0: version "7.3.0" resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.0.tgz#dc30437cf67947cf576121ebd780f15eeac72348" @@ -3897,7 +3775,7 @@ esprima@^4.0.0, esprima@^4.0.1: resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.0.1, esquery@^1.2.0: +esquery@^1.2.0: version "1.3.1" resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57" integrity sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ== @@ -3977,15 +3855,6 @@ extend@~3.0.2: resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== -external-editor@^3.0.3: - version "3.1.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - extsprintf@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" @@ -4001,11 +3870,6 @@ fast-deep-equal@^3.1.1: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== -fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" - integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== - fast-glob@^3.0.3: version "3.2.4" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" @@ -4053,13 +3917,6 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" -figures@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - dependencies: - escape-string-regexp "^1.0.5" - file-entry-cache@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" @@ -4238,11 +4095,6 @@ get-stdin@^4.0.1: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4= -get-stdin@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" - integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== - get-stream@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -4368,13 +4220,6 @@ hard-rejection@^2.1.0: resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== -has-ansi@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" - integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= - dependencies: - ansi-regex "^2.0.0" - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -4510,13 +4355,6 @@ iconv-lite@0.6.3, iconv-lite@^0.6.2: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -iconv-lite@^0.4.24: - version "0.4.24" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - icss-utils@^4.0.0, icss-utils@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467" @@ -4591,25 +4429,6 @@ inherits@2, inherits@^2.0.3, inherits@~2.0.3: resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -inquirer@^7.0.0: - version "7.3.3" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" - integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== - dependencies: - ansi-escapes "^4.2.1" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-width "^3.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.19" - mute-stream "0.0.8" - run-async "^2.4.0" - rxjs "^6.6.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - internal-slot@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.2.tgz#9c2e9fb3cd8e5e4256c6f45fe310067fcfa378a3" @@ -5468,14 +5287,6 @@ leven@^3.1.0: resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== -levn@^0.3.0, levn@~0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -5484,6 +5295,14 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +levn@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" + integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= + dependencies: + prelude-ls "~1.1.2" + type-check "~0.3.2" + lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" @@ -5539,11 +5358,6 @@ lodash.memoize@^4.1.2: resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= -lodash.merge@^4.6.0: - version "4.6.2" - resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" - integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== - lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" @@ -5559,19 +5373,6 @@ lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@~4.17.10: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== -loglevel-colored-level-prefix@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz#6a40218fdc7ae15fc76c3d0f3e676c465388603e" - integrity sha1-akAhj9x64V/HbD0PPmdsRlOIYD4= - dependencies: - chalk "^1.1.3" - loglevel "^1.4.1" - -loglevel@^1.4.1: - version "1.7.0" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.0.tgz#728166855a740d59d38db01cf46f042caa041bb0" - integrity sha512-i2sY04nal5jDcagM3FMfG++T69GEEM8CYuOfeOIvmXzOIcwE9a/CJPR0MFM97pYMj/u10lzz7/zd7+qwhrBTqQ== - loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -5846,11 +5647,6 @@ ms@^2.0.0, ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== -mute-stream@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - nan@^2.13.2: version "2.14.1" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.1.tgz#d7be34dfa3105b91494c3147089315eff8874b01" @@ -5876,11 +5672,6 @@ negotiator@^0.6.2: resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== -nice-try@^1.0.4: - version "1.0.5" - resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" - integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== - node-fetch@^2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" @@ -6118,7 +5909,7 @@ once@^1.3.0, once@^1.3.1: dependencies: wrappy "1" -onetime@^5.1.0, onetime@^5.1.2: +onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== @@ -6130,7 +5921,7 @@ opener@1: resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== -optionator@^0.8.1, optionator@^0.8.3: +optionator@^0.8.1: version "0.8.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== @@ -6159,11 +5950,6 @@ optionator@^0.9.1: resolved "https://registry.yarnpkg.com/opts/-/opts-2.0.2.tgz#a17e189fbbfee171da559edd8a42423bc5993ce1" integrity sha512-k41FwbcLnlgnFh69f4qdUfvDQ+5vaSDnVPFI/y5XuhKRq97EnVVneO9F1ESVCdiVu4fCS2L8usX3mU331hB7pg== -os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= - "overlayscrollbars@file:./packages/overlayscrollbars": version "0.0.1" @@ -6301,11 +6087,6 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= -path-key@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" - integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= - path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" @@ -6746,43 +6527,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier-eslint@^11.0.0: - version "11.0.0" - resolved "https://registry.yarnpkg.com/prettier-eslint/-/prettier-eslint-11.0.0.tgz#b19b97c8a1fc4c898b7d1a54b948ef957ceb101d" - integrity sha512-ACjL7T8m10HCO7DwYdXwhNWuZzQv86JkZAhVpzFV9brTMWi3i6LhqoELFaXf6RetDngujz89tnbDmGyvDl+rzA== - dependencies: - "@typescript-eslint/parser" "^3.0.0" - common-tags "^1.4.0" - dlv "^1.1.0" - eslint "^6.8.0" - indent-string "^4.0.0" - lodash.merge "^4.6.0" - loglevel-colored-level-prefix "^1.0.0" - prettier "^2.0.0" - pretty-format "^23.0.1" - require-relative "^0.8.7" - typescript "^3.9.3" - vue-eslint-parser "~7.1.0" - -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" - integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - dependencies: - fast-diff "^1.1.2" - -prettier@^2.0.0, prettier@^2.0.5: - version "2.1.1" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.1.tgz#d9485dd5e499daa6cb547023b87a6cf51bee37d6" - integrity sha512-9bY+5ZWCfqj3ghYBLxApy2zf6m+NJo5GzmLTpr9FsApsfjriNnS2dahWReHMi7qNPhhHl9SYHJs2cHZLgexNIw== - -pretty-format@^23.0.1: - version "23.6.0" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.6.0.tgz#5eaac8eeb6b33b987b7fe6097ea6a8a146ab5760" - integrity sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw== - dependencies: - ansi-regex "^3.0.0" - ansi-styles "^3.2.0" +prettier@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032" + integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew== pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2" @@ -7018,11 +6766,6 @@ regexp.prototype.flags@^1.3.0: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" -regexpp@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" - integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== - regexpp@^3.0.0, regexpp@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" @@ -7107,11 +6850,6 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= -require-relative@^0.8.7: - version "0.8.7" - resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de" - integrity sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4= - resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -7171,14 +6909,6 @@ resolve@^1.22.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - retry@^0.12.0: version "0.12.0" resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" @@ -7295,23 +7025,11 @@ rollup@^2.59.0, rollup@^2.75.5: optionalDependencies: fsevents "~2.3.2" -run-async@^2.4.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" - integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== - run-parallel@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.1.9.tgz#c9dd3a7cf9f4b2c4b6244e173a6ed866e61dd679" integrity sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q== -rxjs@^6.6.0: - version "6.6.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552" - integrity sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ== - dependencies: - tslib "^1.9.0" - safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" @@ -7322,7 +7040,7 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: +"safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -7357,7 +7075,7 @@ scss-tokenizer@^0.3.0: js-base64 "^2.4.3" source-map "^0.7.1" -"semver@2 || 3 || 4 || 5", semver@^5.5.0: +"semver@2 || 3 || 4 || 5": version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -7403,13 +7121,6 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= -shebang-command@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" - integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= - dependencies: - shebang-regex "^1.0.0" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -7417,11 +7128,6 @@ shebang-command@^2.0.0: dependencies: shebang-regex "^3.0.0" -shebang-regex@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" - integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= - shebang-regex@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" @@ -7479,7 +7185,7 @@ side-channel@^1.0.2: es-abstract "^1.18.0-next.0" object-inspect "^1.8.0" -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3: +signal-exit@^3.0.0, signal-exit@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== @@ -7772,7 +7478,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.1.0: version "5.2.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== @@ -7815,7 +7521,7 @@ strip-indent@^3.0.0: dependencies: min-indent "^1.0.0" -strip-json-comments@^3.0.1, strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== @@ -7829,11 +7535,6 @@ stylehacks@^4.0.0: postcss "^7.0.0" postcss-selector-parser "^3.0.0" -supports-color@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" - integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= - supports-color@^5.3.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -7969,23 +7670,11 @@ throat@^6.0.1: resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== -through@^2.3.6: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= - timsort@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q= -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" - tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -8056,7 +7745,7 @@ tsconfig-paths@^3.9.0: minimist "^1.2.0" strip-bom "^3.0.0" -tslib@^1.8.1, tslib@^1.9.0: +tslib@^1.8.1: version "1.13.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.13.0.tgz#c881e13cc7015894ed914862d276436fa9a47043" integrity sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q== @@ -8136,11 +7825,6 @@ type-fest@^0.8.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== -typescript@^3.9.3: - version "3.9.7" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa" - integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw== - typescript@^4.5.4: version "4.7.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" @@ -8354,18 +8038,6 @@ vscode-uri@^2.1.2: resolved "https://registry.yarnpkg.com/vscode-uri/-/vscode-uri-2.1.2.tgz#c8d40de93eb57af31f3c715dd650e2ca2c096f1c" integrity sha512-8TEXQxlldWAuIODdukIb+TR5s+9Ds40eSJrw+1iDDA9IFORPjMELarNQE3myz5XIkWWpdprmJjm1/SxMlWOC8A== -vue-eslint-parser@~7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.1.0.tgz#9cdbcc823e656b087507a1911732b867ac101e83" - integrity sha512-Kr21uPfthDc63nDl27AGQEhtt9VrZ9nkYk/NTftJ2ws9XiJwzJJCnCr3AITQ2jpRMA0XPGDECxYH8E027qMK9Q== - dependencies: - debug "^4.1.1" - eslint-scope "^5.0.0" - eslint-visitor-keys "^1.1.0" - espree "^6.2.1" - esquery "^1.0.1" - lodash "^4.17.15" - w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" @@ -8420,13 +8092,6 @@ whatwg-url@^11.0.0: tr46 "^3.0.0" webidl-conversions "^7.0.0" -which@^1.2.9: - version "1.3.1" - resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" - integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== - dependencies: - isexe "^2.0.0" - which@^2.0.1, which@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"