diff --git a/.eslintignore b/.eslintignore index 8af57b39e..fb70fdac0 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,4 +2,4 @@ node_modules/ dist/ build/ - +__typetests__/ \ No newline at end of file diff --git a/jest.config.tsd.mjs b/jest.config.tsd.mjs new file mode 100644 index 000000000..eb942b209 --- /dev/null +++ b/jest.config.tsd.mjs @@ -0,0 +1,8 @@ +export default { + displayName: { + color: 'blue', + name: 'types', + }, + runner: 'jest-runner-tsd', + testMatch: ['**/__typetests__/*.test.ts'], +}; diff --git a/package.json b/package.json index 783aa5512..020f053ec 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@rollup/plugin-node-resolve": "13.3.0", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.3.0", + "@tsd/typescript": "^4.7.4", "@types/jest": "28.1.7", "@types/node": "17.0.31", "@types/prop-types": "15.7.5", @@ -31,6 +32,7 @@ "jest-environment-jsdom": "28.1.3", "jest-junit": "14.0.0", "jest-localstorage-mock": "2.4.22", + "jest-runner-tsd": "^3.1.0", "lerna": "5.4.3", "lint-staged": "13.0.3", "mockdate": "3.0.5", @@ -41,6 +43,7 @@ "rollup": "2.78.1", "rollup-plugin-dts": "4.2.2", "rollup-plugin-visualizer": "5.7.1", + "tsd-lite": "^0.5.6", "typescript": "4.8.2", "wait-for-expect": "3.0.2" }, @@ -54,6 +57,7 @@ "test": "TZ=UTC jest", "test:watch": "pnpm run test --watch", "test:coverage": "pnpm run test --coverage", + "test:types": "jest -c jest.config.tsd.mjs", "prepare": "husky install" }, "pnpm": { @@ -96,7 +100,8 @@ "packages/*/src/**/*.{ts,tsx,js,jsx}" ], "modulePathIgnorePatterns": [ - "locales" + "locales", + "__typetests__" ], "coverageReporters": [ "text", diff --git a/packages/use-i18n/package.json b/packages/use-i18n/package.json index 09d1596f3..812598e77 100644 --- a/packages/use-i18n/package.json +++ b/packages/use-i18n/package.json @@ -31,12 +31,14 @@ "@formatjs/fast-memoize": "1.2.6", "date-fns": "2.29.2", "filesize": "9.0.11", + "international-types": "0.3.3", "intl-messageformat": "10.1.3", "prop-types": "15.8.1" }, "peerDependencies": { "date-fns": "2.x", "react": "18.x", - "react-dom": "18.x" + "react-dom": "18.x", + "international-types": "0.3.3" } } diff --git a/packages/use-i18n/src/__typetests__/namespaceTranslation.test.ts b/packages/use-i18n/src/__typetests__/namespaceTranslation.test.ts new file mode 100644 index 000000000..48f427368 --- /dev/null +++ b/packages/use-i18n/src/__typetests__/namespaceTranslation.test.ts @@ -0,0 +1,52 @@ +import { expectError, expectType } from 'tsd-lite' +import { useI18n } from '../usei18n' + +// eslint-disable-next-line react-hooks/rules-of-hooks +const { namespaceTranslation } = useI18n<{ + hello: 'world' + 'doe.john': 'John Doe' + 'doe.jane': 'Jane Doe' + 'doe.child': 'Child is {name}' + 'describe.john': '{name} is {age} years old' +}>() + +// Single key +expectError(namespaceTranslation('hello')) + +// Multiple keys +expectError(namespaceTranslation('doe.john')) +const scopedT1 = namespaceTranslation('doe') +expectType(scopedT1('john')) +expectError(scopedT1('doesnotexists')) + +// With a param +const scopedT2 = namespaceTranslation('doe') +expectError(scopedT2('child')) +expectType( + scopedT2('child', { + name: 'Name', + }), +) +expectError( + scopedT2('doesnotexists', { + name: 'Name', + }), +) +expectError( + scopedT2('child', { + doesnotexists: 'Name', + }), +) +expectError(scopedT2('child', {})) +expectError(scopedT2('child')) + +// With multiple params +const scopedT3 = namespaceTranslation('describe') +expectType( + scopedT3('john', { + age: '30', + name: 'John', + }), +) +expectError(scopedT3('john', {})) +expectError(scopedT3('john')) diff --git a/packages/use-i18n/src/__typetests__/t.test.ts b/packages/use-i18n/src/__typetests__/t.test.ts new file mode 100644 index 000000000..5f5b755e5 --- /dev/null +++ b/packages/use-i18n/src/__typetests__/t.test.ts @@ -0,0 +1,49 @@ +import { expectError, expectType } from 'tsd-lite' +import { useI18n } from '../usei18n' + +// eslint-disable-next-line react-hooks/rules-of-hooks +const { t } = useI18n<{ + hello: 'world' + 'doe.john': 'John Doe' + 'doe.jane': 'Jane Doe' + 'doe.child': 'Child is {name}' + 'describe.john': '{name} is {age} years old' +}>() + +// Single key +expectType(t('hello')) +expectError(t('keydoesnotexists')) + +// Multiple keys +expectType(t('doe.john')) +expectError(t('doe.doesnotexists')) + +// With a param +expectError(t('doe.child')) +expectType( + t('doe.child', { + name: 'Name', + }), +) +expectError( + t('doe.doesnotexists', { + name: 'Name', + }), +) +expectError( + t('doe.child', { + doesnotexists: 'Name', + }), +) +expectError(t('doe.child', {})) +expectError(t('doe.child')) + +// With multiple params +expectType( + t('describe.john', { + age: '30', + name: 'John', + }), +) +expectError(t('describe.john', {})) +expectError(t('describe.john')) diff --git a/packages/use-i18n/src/index.ts b/packages/use-i18n/src/index.ts index 1a2e86589..2e0c103c4 100644 --- a/packages/use-i18n/src/index.ts +++ b/packages/use-i18n/src/index.ts @@ -1,5 +1,6 @@ import I18nContextProvider from './usei18n' export * from './usei18n' +export * from './types' export default I18nContextProvider diff --git a/packages/use-i18n/src/types.ts b/packages/use-i18n/src/types.ts new file mode 100644 index 000000000..579e0bc4f --- /dev/null +++ b/packages/use-i18n/src/types.ts @@ -0,0 +1,29 @@ +import type { + BaseLocale, + LocaleKeys, + LocaleValue, + Params, + ParamsObject, + ScopedValue, + Scopes, +} from 'international-types' + +export type TranslateFn = < + Key extends LocaleKeys, + Value extends LocaleValue = ScopedValue, +>( + key: Key, + ...params: Params['length'] extends 0 ? [] : [ParamsObject] +) => string + +export type ScopedTranslateFn = < + Scope extends Scopes, +>( + scope: Scope, +) => < + Key extends LocaleKeys, + Value extends LocaleValue = ScopedValue, +>( + key: Key, + ...params: Params['length'] extends 0 ? [] : [ParamsObject] +) => string diff --git a/packages/use-i18n/src/usei18n.tsx b/packages/use-i18n/src/usei18n.tsx index f15aacdaf..036dfba7f 100644 --- a/packages/use-i18n/src/usei18n.tsx +++ b/packages/use-i18n/src/usei18n.tsx @@ -1,9 +1,10 @@ import type { NumberFormatOptions } from '@formatjs/ecma402-abstract' import { - Locale, + Locale as DateFnsLocale, formatDistanceToNow, formatDistanceToNowStrict, } from 'date-fns' +import type { BaseLocale, LocaleValue } from 'international-types' import PropTypes from 'prop-types' import { ReactElement, @@ -19,17 +20,20 @@ import ReactDOM from 'react-dom' import dateFormat, { FormatDateOptions } from './formatDate' import unitFormat, { FormatUnitOptions } from './formatUnit' import formatters, { IntlListFormatOptions } from './formatters' +import type { ScopedTranslateFn, TranslateFn } from './types' const LOCALE_ITEM_STORAGE = 'locale' -type PrimitiveType = string | number | boolean | null | undefined | Date +type TranslationsByLocales = Record -type Translations = Record & { prefix?: string } -type TranslationsByLocales = Record -type TranslateFn = ( +export type InitialTranslateFn = ( key: string, - context?: Record, + context?: Record, ) => string +export type InitialScopedTranslateFn = ( + namespace: string, + t?: InitialTranslateFn, +) => InitialTranslateFn const prefixKeys = (prefix: string) => (obj: { [key: string]: string }) => Object.keys(obj).reduce((acc: { [key: string]: string }, key) => { @@ -65,9 +69,9 @@ const getCurrentLocale = ({ ) } -interface Context { +interface Context { currentLocale: string - dateFnsLocale?: Locale + dateFnsLocale?: DateFnsLocale datetime: ( date: Date | number, options?: Intl.DateTimeFormatOptions, @@ -85,7 +89,9 @@ interface Context { ) => Promise locales: string[] namespaces: string[] - namespaceTranslation: (namespace: string, t?: TranslateFn) => TranslateFn + namespaceTranslation: Locale extends BaseLocale + ? ScopedTranslateFn + : InitialScopedTranslateFn relativeTime: ( date: Date | number, options?: { @@ -103,19 +109,21 @@ interface Context { ) => string setTranslations: React.Dispatch> switchLocale: (locale: string) => void - t: TranslateFn + t: Locale extends BaseLocale ? TranslateFn : InitialTranslateFn translations: TranslationsByLocales } const I18nContext = createContext(undefined) -export const useI18n = (): Context => { +export function useI18n< + Locale extends BaseLocale | undefined = undefined, +>(): Context { const context = useContext(I18nContext) if (context === undefined) { throw new Error('useI18n must be used within a I18nProvider') } - return context + return context as unknown as Context } export const useTranslation = ( @@ -149,7 +157,7 @@ type LoadTranslationsFn = ({ }: { namespace: string locale: string -}) => Promise<{ default: Translations }> +}) => Promise<{ default: BaseLocale }> type LoadLocaleFn = (locale: string) => Promise const I18nContextProvider = ({ @@ -209,7 +217,7 @@ const I18nContextProvider = ({ namespace, }) - const trad: Translations = { + const trad: Record = { ...result.defaultLocale.default, ...result[currentLocale].default, } @@ -321,9 +329,9 @@ const I18nContextProvider = ({ [dateFnsLocale], ) - const translate = useCallback( - (key: string, context?: Record) => { - const value = translations[currentLocale]?.[key] + const translate = useCallback( + (key, context) => { + const value = translations[currentLocale]?.[key] as string if (!value) { if (enableDebugKey) { return key @@ -342,9 +350,9 @@ const I18nContextProvider = ({ [currentLocale, translations, enableDebugKey], ) - const namespaceTranslation = useCallback( - (namespace: string, t: TranslateFn = translate) => - (identifier: string, context?: Record) => + const namespaceTranslation = useCallback( + (namespace, t = translate) => + (identifier, context) => t(`${namespace}.${identifier}`, context) || t(identifier, context), [translate], ) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1805e9d7a..0d313b9a0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,6 +16,7 @@ importers: '@rollup/plugin-node-resolve': 13.3.0 '@testing-library/jest-dom': 5.16.5 '@testing-library/react': 13.3.0 + '@tsd/typescript': ^4.7.4 '@types/jest': 28.1.7 '@types/node': 17.0.31 '@types/prop-types': 15.7.5 @@ -29,6 +30,7 @@ importers: jest-environment-jsdom: 28.1.3 jest-junit: 14.0.0 jest-localstorage-mock: 2.4.22 + jest-runner-tsd: ^3.1.0 lerna: 5.4.3 lint-staged: 13.0.3 mockdate: 3.0.5 @@ -39,6 +41,7 @@ importers: rollup: 2.78.1 rollup-plugin-dts: 4.2.2 rollup-plugin-visualizer: 5.7.1 + tsd-lite: ^0.5.6 typescript: 4.8.2 wait-for-expect: 3.0.2 devDependencies: @@ -54,6 +57,7 @@ importers: '@rollup/plugin-node-resolve': 13.3.0_rollup@2.78.1 '@testing-library/jest-dom': 5.16.5 '@testing-library/react': 13.3.0_biqbaboplfbrettd7655fr4n2y + '@tsd/typescript': 4.7.4 '@types/jest': 28.1.7 '@types/node': 17.0.31 '@types/prop-types': 15.7.5 @@ -67,6 +71,7 @@ importers: jest-environment-jsdom: 28.1.3 jest-junit: 14.0.0 jest-localstorage-mock: 2.4.22 + jest-runner-tsd: 3.1.0_@tsd+typescript@4.7.4 lerna: 5.4.3 lint-staged: 13.0.3 mockdate: 3.0.5 @@ -77,6 +82,7 @@ importers: rollup: 2.78.1 rollup-plugin-dts: 4.2.2_rusrl3yqfuqle4tcyjzane2tmq rollup-plugin-visualizer: 5.7.1_rollup@2.78.1 + tsd-lite: 0.5.6_@tsd+typescript@4.7.4 typescript: 4.8.2 wait-for-expect: 3.0.2 @@ -152,6 +158,7 @@ importers: '@formatjs/fast-memoize': 1.2.6 date-fns: 2.29.2 filesize: 9.0.11 + international-types: 0.3.3 intl-messageformat: 10.1.3 prop-types: 15.8.1 dependencies: @@ -159,6 +166,7 @@ importers: '@formatjs/fast-memoize': 1.2.6 date-fns: 2.29.2 filesize: 9.0.11 + international-types: 0.3.3 intl-messageformat: 10.1.3 prop-types: 15.8.1 @@ -205,6 +213,13 @@ packages: '@jridgewell/gen-mapping': 0.1.1 '@jridgewell/trace-mapping': 0.3.14 + /@babel/code-frame/7.16.7: + resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.18.6 + dev: true + /@babel/code-frame/7.18.6: resolution: {integrity: sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==} engines: {node: '>=6.9.0'} @@ -237,29 +252,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/core/7.18.13: - resolution: {integrity: sha512-ZisbOvRRusFktksHSG6pjj1CSvkPkcZq/KHD45LAkVP/oiHJkNBZWfpvlLmX8OtHDG8IuzsFlVRWo08w7Qxn0A==} - engines: {node: '>=6.9.0'} - dependencies: - '@ampproject/remapping': 2.2.0 - '@babel/code-frame': 7.18.6 - '@babel/generator': 7.18.13 - '@babel/helper-compilation-targets': 7.18.9_@babel+core@7.18.13 - '@babel/helper-module-transforms': 7.18.9 - '@babel/helpers': 7.18.9 - '@babel/parser': 7.18.13 - '@babel/template': 7.18.10 - '@babel/traverse': 7.18.13 - '@babel/types': 7.18.13 - convert-source-map: 1.8.0 - debug: 4.3.4 - gensync: 1.0.0-beta.2 - json5: 2.2.1 - semver: 6.3.0 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/eslint-parser/7.18.9_7ura6loqb5b2nxcv4w7uypye6y: resolution: {integrity: sha512-KzSGpMBggz4fKbRbWLNyPVTuQr6cmCcBhOyXTw/fieOVaw5oYAwcAj4a7UKcDYCPxQq+CG1NCDZH9e2JTXquiQ==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} @@ -282,15 +274,24 @@ packages: '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 + /@babel/generator/7.18.9: + resolution: {integrity: sha512-wt5Naw6lJrL1/SGkipMiFxJjtyczUWTP38deiP1PO60HsBjDeKk08CGC3S8iVuvf0FmTdgKwU1KIXzSKL1G0Ug==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.18.13 + '@jridgewell/gen-mapping': 0.3.2 + jsesc: 2.5.2 + dev: true + /@babel/helper-annotate-as-pure/7.18.6: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.10 + '@babel/types': 7.18.9 dev: true - /@babel/helper-builder-binary-assignment-operator-visitor/7.18.6: - resolution: {integrity: sha512-KT10c1oWEpmrIRYnthbzHgoOf6B+Xd6a5yhdbNtdhtG7aO1or5HViuf1TQR36xY/QprXA5nvxO6nAjhJ4y38jw==} + /@babel/helper-builder-binary-assignment-operator-visitor/7.18.9: + resolution: {integrity: sha512-yFQ0YCHoIqarl8BCRwBL8ulYUaZpz3bNsA7oFepAzee+8/+ImtADXNOmO5vJvsPff3qi+hvpkY/NYBTrBQgdNw==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-explode-assignable-expression': 7.18.6 @@ -309,21 +310,8 @@ packages: browserslist: 4.20.3 semver: 6.3.0 - /@babel/helper-compilation-targets/7.18.9_@babel+core@7.18.13: - resolution: {integrity: sha512-tzLCyVmqUiFlcFoAPLA/gL9TeYrF61VLNtb+hvkuVaB5SUjW7jcfrglBIX1vUIoT7CLP3bBlIMeyEsIl2eFQNg==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - dependencies: - '@babel/compat-data': 7.18.8 - '@babel/core': 7.18.13 - '@babel/helper-validator-option': 7.18.6 - browserslist: 4.20.3 - semver: 6.3.0 - dev: true - - /@babel/helper-create-class-features-plugin/7.18.6_@babel+core@7.18.10: - resolution: {integrity: sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==} + /@babel/helper-create-class-features-plugin/7.18.9_@babel+core@7.18.10: + resolution: {integrity: sha512-WvypNAYaVh23QcjpMR24CwZY2Nz6hqdOcFdPbNpV56hL5H6KiFheO7Xm1aPdlLQ7d5emYZX7VZwPp9x3z+2opw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -332,7 +320,7 @@ packages: '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-function-name': 7.18.9 - '@babel/helper-member-expression-to-functions': 7.18.6 + '@babel/helper-member-expression-to-functions': 7.18.9 '@babel/helper-optimise-call-expression': 7.18.6 '@babel/helper-replace-supers': 7.18.9 '@babel/helper-split-export-declaration': 7.18.6 @@ -391,13 +379,6 @@ packages: dependencies: '@babel/types': 7.18.13 - /@babel/helper-member-expression-to-functions/7.18.6: - resolution: {integrity: sha512-CeHxqwwipekotzPDUuJOfIMtcIHBuc7WAzLmTYWctVigqS5RktNMQ5bEwQSuGewzYnCtTWa3BARXeiLxDTv+Ng==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.18.10 - dev: true - /@babel/helper-member-expression-to-functions/7.18.9: resolution: {integrity: sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==} engines: {node: '>=6.9.0'} @@ -409,14 +390,14 @@ packages: resolution: {integrity: sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.10 + '@babel/types': 7.18.9 dev: true /@babel/helper-module-imports/7.18.6: resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.13 + '@babel/types': 7.18.9 /@babel/helper-module-transforms/7.18.9: resolution: {integrity: sha512-KYNqY0ICwfv19b31XzvmI/mfcylOzbLtowkw+mfvGPAQ3kfCnMLYbED3YecL5tPd8nAYFQFAd6JHp2LxZk/J1g==} @@ -437,12 +418,7 @@ packages: resolution: {integrity: sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.18.10 - dev: true - - /@babel/helper-plugin-utils/7.18.6: - resolution: {integrity: sha512-gvZnm1YAAxh13eJdkb9EWHBnF3eAub3XTLCZEehHT2kWxiKVRL64+ae5Y6Ivne0mVHmMYKT+xWgZO+gQhuLUBg==} - engines: {node: '>=6.9.0'} + '@babel/types': 7.18.13 dev: true /@babel/helper-plugin-utils/7.18.9: @@ -458,7 +434,7 @@ packages: '@babel/core': 7.18.10 '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-environment-visitor': 7.18.9 - '@babel/helper-wrap-function': 7.18.10 + '@babel/helper-wrap-function': 7.18.9 '@babel/types': 7.18.13 transitivePeerDependencies: - supports-color @@ -471,8 +447,8 @@ packages: '@babel/helper-environment-visitor': 7.18.9 '@babel/helper-member-expression-to-functions': 7.18.9 '@babel/helper-optimise-call-expression': 7.18.6 - '@babel/traverse': 7.18.10 - '@babel/types': 7.18.10 + '@babel/traverse': 7.18.13 + '@babel/types': 7.18.13 transitivePeerDependencies: - supports-color dev: true @@ -508,8 +484,8 @@ packages: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} engines: {node: '>=6.9.0'} - /@babel/helper-wrap-function/7.18.10: - resolution: {integrity: sha512-95NLBP59VWdfK2lyLKe6eTMq9xg+yWKzxzxbJ1wcYNi1Auz200+83fMDADjRxBvc2QQor5zja2yTQzXGhk2GtQ==} + /@babel/helper-wrap-function/7.18.9: + resolution: {integrity: sha512-cG2ru3TRAL6a60tfQflpEfs4ldiPwF6YW3zfJiRgmoFVIaC1vGnBBgatfec+ZUziPHkHSaXAuEck3Cdkf3eRpQ==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-function-name': 7.18.9 @@ -589,7 +565,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.18.10 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.10 + '@babel/helper-create-class-features-plugin': 7.18.9_@babel+core@7.18.10 '@babel/helper-plugin-utils': 7.18.9 transitivePeerDependencies: - supports-color @@ -602,7 +578,7 @@ packages: '@babel/core': ^7.12.0 dependencies: '@babel/core': 7.18.10 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.10 + '@babel/helper-create-class-features-plugin': 7.18.9_@babel+core@7.18.10 '@babel/helper-plugin-utils': 7.18.9 '@babel/plugin-syntax-class-static-block': 7.14.5_@babel+core@7.18.10 transitivePeerDependencies: @@ -719,7 +695,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.18.10 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.10 + '@babel/helper-create-class-features-plugin': 7.18.9_@babel+core@7.18.10 '@babel/helper-plugin-utils': 7.18.9 transitivePeerDependencies: - supports-color @@ -733,7 +709,7 @@ packages: dependencies: '@babel/core': 7.18.10 '@babel/helper-annotate-as-pure': 7.18.6 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.10 + '@babel/helper-create-class-features-plugin': 7.18.9_@babel+core@7.18.10 '@babel/helper-plugin-utils': 7.18.9 '@babel/plugin-syntax-private-property-in-object': 7.14.5_@babel+core@7.18.10 transitivePeerDependencies: @@ -760,21 +736,12 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.18.13: - resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - - /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.18.13: + /@babel/plugin-syntax-bigint/7.8.3_@babel+core@7.18.10: resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.13 + '@babel/core': 7.18.10 '@babel/helper-plugin-utils': 7.18.9 dev: true @@ -787,15 +754,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.18.13: - resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-class-static-block/7.14.5_@babel+core@7.18.10: resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} @@ -834,12 +792,12 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.18.13: + /@babel/plugin-syntax-import-meta/7.10.4_@babel+core@7.18.10: resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.18.13 + '@babel/core': 7.18.10 '@babel/helper-plugin-utils': 7.18.9 dev: true @@ -852,15 +810,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.18.13: - resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-jsx/7.18.6_@babel+core@7.18.10: resolution: {integrity: sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==} engines: {node: '>=6.9.0'} @@ -879,15 +828,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.18.13: - resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.18.10: resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: @@ -897,15 +837,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.18.13: - resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.18.10: resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: @@ -915,15 +846,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.18.13: - resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.18.10: resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: @@ -933,15 +855,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.18.13: - resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.18.10: resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: @@ -951,15 +864,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.18.13: - resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.18.10: resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: @@ -969,15 +873,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.18.13: - resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-private-property-in-object/7.14.5_@babel+core@7.18.10: resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} @@ -998,16 +893,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-top-level-await/7.14.5_@babel+core@7.18.13: - resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-syntax-typescript/7.18.6_@babel+core@7.18.10: resolution: {integrity: sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==} engines: {node: '>=6.9.0'} @@ -1018,16 +903,6 @@ packages: '@babel/helper-plugin-utils': 7.18.9 dev: true - /@babel/plugin-syntax-typescript/7.18.6_@babel+core@7.18.13: - resolution: {integrity: sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.18.13 - '@babel/helper-plugin-utils': 7.18.9 - dev: true - /@babel/plugin-transform-arrow-functions/7.18.6_@babel+core@7.18.10: resolution: {integrity: sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==} engines: {node: '>=6.9.0'} @@ -1139,7 +1014,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.18.10 - '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.6 + '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.9 '@babel/helper-plugin-utils': 7.18.9 dev: true @@ -1328,7 +1203,7 @@ packages: '@babel/helper-module-imports': 7.18.6 '@babel/helper-plugin-utils': 7.18.9 '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.18.10 - '@babel/types': 7.18.10 + '@babel/types': 7.18.9 dev: true /@babel/plugin-transform-react-pure-annotations/7.18.6_@babel+core@7.18.10: @@ -1438,7 +1313,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.18.10 - '@babel/helper-create-class-features-plugin': 7.18.6_@babel+core@7.18.10 + '@babel/helper-create-class-features-plugin': 7.18.9_@babel+core@7.18.10 '@babel/helper-plugin-utils': 7.18.9 '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.10 transitivePeerDependencies: @@ -1542,7 +1417,7 @@ packages: '@babel/plugin-transform-unicode-escapes': 7.18.10_@babel+core@7.18.10 '@babel/plugin-transform-unicode-regex': 7.18.6_@babel+core@7.18.10 '@babel/preset-modules': 0.1.5_@babel+core@7.18.10 - '@babel/types': 7.18.10 + '@babel/types': 7.18.13 babel-plugin-polyfill-corejs2: 0.3.2_@babel+core@7.18.10 babel-plugin-polyfill-corejs3: 0.5.3_@babel+core@7.18.10 babel-plugin-polyfill-regenerator: 0.4.0_@babel+core@7.18.10 @@ -1572,7 +1447,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.18.10 - '@babel/helper-plugin-utils': 7.18.6 + '@babel/helper-plugin-utils': 7.18.9 '@babel/helper-validator-option': 7.18.6 '@babel/plugin-transform-react-display-name': 7.18.6_@babel+core@7.18.10 '@babel/plugin-transform-react-jsx': 7.18.6_@babel+core@7.18.10 @@ -1587,7 +1462,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.18.10 - '@babel/helper-plugin-utils': 7.18.6 + '@babel/helper-plugin-utils': 7.18.9 '@babel/helper-validator-option': 7.18.6 '@babel/plugin-transform-typescript': 7.18.8_@babel+core@7.18.10 transitivePeerDependencies: @@ -1608,6 +1483,12 @@ packages: dependencies: regenerator-runtime: 0.13.9 + /@babel/runtime/7.18.3: + resolution: {integrity: sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.13.9 + /@babel/runtime/7.18.9: resolution: {integrity: sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==} engines: {node: '>=6.9.0'} @@ -1622,8 +1503,8 @@ packages: '@babel/parser': 7.18.13 '@babel/types': 7.18.13 - /@babel/traverse/7.18.10: - resolution: {integrity: sha512-J7ycxg0/K9XCtLyHf0cz2DqDihonJeIo+z+HEdRe9YuT8TY4A66i+Ab2/xZCEW7Ro60bPCBBfqqboHSamoV3+g==} + /@babel/traverse/7.18.13: + resolution: {integrity: sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 @@ -1638,10 +1519,9 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color - dev: true - /@babel/traverse/7.18.13: - resolution: {integrity: sha512-N6kt9X1jRMLPxxxPYWi7tgvJRH/rtoU+dbKAPDM44RFHiMH8igdsaSBgFeskhSl/kLWLDUvIh1RXCrTmg0/zvA==} + /@babel/traverse/7.18.9: + resolution: {integrity: sha512-LcPAnujXGwBgv3/WHv01pHtb2tihcyW1XuL9wd7jqh1Z8AQkTd+QVjMrMijrln0T7ED3UXLIy36P9Ao7W75rYg==} engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 @@ -1656,21 +1536,20 @@ packages: globals: 11.12.0 transitivePeerDependencies: - supports-color + dev: true - /@babel/types/7.18.10: - resolution: {integrity: sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ==} + /@babel/types/7.18.13: + resolution: {integrity: sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==} engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.18.10 '@babel/helper-validator-identifier': 7.18.6 to-fast-properties: 2.0.0 - dev: true - /@babel/types/7.18.13: - resolution: {integrity: sha512-ePqfTihzW0W6XAU+aMw2ykilisStJfDnsejDCXRchCcMJ4O0+8DhPXf2YUbZ6wjBlsEmZwLK/sPweWtu8hcJYQ==} + /@babel/types/7.18.9: + resolution: {integrity: sha512-WwMLAg2MvJmt/rKEVQBBhIVffMmnilX4oe0sRe7iPOHIGsqpruFHHdrfj4O1CMMtgMtCU4oPafZjDPCRgO57Wg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-string-parser': 7.18.10 '@babel/helper-validator-identifier': 7.18.6 to-fast-properties: 2.0.0 @@ -1850,15 +1729,15 @@ packages: '@cspotcode/source-map-consumer': 0.8.0 dev: true - /@emotion/babel-plugin/11.10.0_@babel+core@7.18.10: - resolution: {integrity: sha512-xVnpDAAbtxL1dsuSelU5A7BnY/lftws0wUexNJZTPsvX/1tM4GZJbclgODhvW4E+NH7E5VFcH0bBn30NvniPJA==} + /@emotion/babel-plugin/11.10.2_@babel+core@7.18.10: + resolution: {integrity: sha512-xNQ57njWTFVfPAc3cjfuaPdsgLp5QOSuRsj9MA6ndEhH/AzuZM86qIQzt6rq+aGBwj3n5/TkLmU5lhAfdRmogA==} peerDependencies: '@babel/core': ^7.0.0 dependencies: '@babel/core': 7.18.10 '@babel/helper-module-imports': 7.18.6 '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.18.10 - '@babel/runtime': 7.18.9 + '@babel/runtime': 7.18.3 '@emotion/hash': 0.9.0 '@emotion/memoize': 0.8.0 '@emotion/serialize': 1.1.0 @@ -1902,7 +1781,7 @@ packages: enzyme-to-json: optional: true dependencies: - '@babel/runtime': 7.18.9 + '@babel/runtime': 7.18.3 '@emotion/css-prettifier': 1.1.0 chalk: 4.1.2 specificity: 0.4.1 @@ -1926,8 +1805,8 @@ packages: optional: true dependencies: '@babel/core': 7.18.10 - '@babel/runtime': 7.18.9 - '@emotion/babel-plugin': 11.10.0_@babel+core@7.18.10 + '@babel/runtime': 7.18.3 + '@emotion/babel-plugin': 11.10.2_@babel+core@7.18.10 '@emotion/cache': 11.10.1 '@emotion/serialize': 1.1.0 '@emotion/utils': 1.2.0 @@ -2204,7 +2083,7 @@ packages: resolution: {integrity: sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} dependencies: - '@sinclair/typebox': 0.24.19 + '@sinclair/typebox': 0.24.20 dev: true /@jest/source-map/28.1.2: @@ -2240,7 +2119,7 @@ packages: resolution: {integrity: sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} dependencies: - '@babel/core': 7.18.13 + '@babel/core': 7.18.10 '@jest/types': 28.1.3 '@jridgewell/trace-mapping': 0.3.14 babel-plugin-istanbul: 6.1.1 @@ -2315,7 +2194,7 @@ packages: dedent: 0.7.0 npm-package-arg: 8.1.1 p-map: 4.0.0 - pacote: 13.6.1 + pacote: 13.6.2 semver: 7.3.7 transitivePeerDependencies: - bluebird @@ -2480,7 +2359,7 @@ packages: init-package-json: 3.0.2 npm-package-arg: 8.1.1 p-reduce: 2.1.0 - pacote: 13.6.1 + pacote: 13.6.2 pify: 5.0.0 semver: 7.3.7 slash: 3.0.0 @@ -2565,7 +2444,7 @@ packages: dependencies: '@lerna/child-process': 5.4.3 '@octokit/plugin-enterprise-rest': 6.0.1 - '@octokit/rest': 19.0.3 + '@octokit/rest': 19.0.4 git-url-parse: 12.0.0 npmlog: 6.0.2 transitivePeerDependencies: @@ -2685,7 +2564,7 @@ packages: dependencies: '@lerna/otplease': 5.4.3 npm-package-arg: 8.1.1 - npm-registry-fetch: 13.3.0 + npm-registry-fetch: 13.3.1 npmlog: 6.0.2 transitivePeerDependencies: - bluebird @@ -2849,11 +2728,11 @@ packages: fs-extra: 9.1.0 libnpmaccess: 6.0.3 npm-package-arg: 8.1.1 - npm-registry-fetch: 13.3.0 + npm-registry-fetch: 13.3.1 npmlog: 6.0.2 p-map: 4.0.0 p-pipe: 3.1.0 - pacote: 13.6.1 + pacote: 13.6.2 semver: 7.3.7 transitivePeerDependencies: - bluebird @@ -2899,7 +2778,7 @@ packages: engines: {node: ^14.15.0 || >=16.0.0} dependencies: '@lerna/npm-conf': 5.4.3 - '@npmcli/run-script': 4.1.7 + '@npmcli/run-script': 4.2.1 npmlog: 6.0.2 p-queue: 6.6.2 transitivePeerDependencies: @@ -3061,7 +2940,7 @@ packages: '@npmcli/name-from-folder': 1.0.1 '@npmcli/node-gyp': 2.0.0 '@npmcli/package-json': 2.0.0 - '@npmcli/run-script': 4.1.7 + '@npmcli/run-script': 4.2.1 bin-links: 3.0.1 cacache: 16.1.0 common-ancestor-path: 1.0.1 @@ -3073,9 +2952,9 @@ packages: npm-install-checks: 5.0.0 npm-package-arg: 9.0.2 npm-pick-manifest: 7.0.1 - npm-registry-fetch: 13.3.0 + npm-registry-fetch: 13.3.1 npmlog: 6.0.2 - pacote: 13.6.1 + pacote: 13.6.2 parse-conflict-json: 2.0.2 proc-log: 2.0.1 promise-all-reject-late: 1.0.1 @@ -3142,7 +3021,7 @@ packages: dependencies: cacache: 16.1.0 json-parse-even-better-errors: 2.3.1 - pacote: 13.6.1 + pacote: 13.6.2 semver: 7.3.7 transitivePeerDependencies: - bluebird @@ -3180,8 +3059,8 @@ packages: infer-owner: 1.0.4 dev: true - /@npmcli/run-script/4.1.7: - resolution: {integrity: sha512-WXr/MyM4tpKA4BotB81NccGAv8B48lNH0gRoILucbcAhTQXLCoi6HflMV3KdXubIqvP9SuLsFn68Z7r4jl+ppw==} + /@npmcli/run-script/4.2.1: + resolution: {integrity: sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} dependencies: '@npmcli/node-gyp': 2.0.0 @@ -3194,120 +3073,120 @@ packages: - supports-color dev: true - /@nrwl/cli/14.5.7: - resolution: {integrity: sha512-VbjUx8hkNxjA/vFGUrcqfQ8yZgnL0JfUxO0M5pLUaffZMCpAt/eXw6ufd35GaQ91RWHeI7FX0Zv+Ke8d+tZcuA==} + /@nrwl/cli/14.5.8: + resolution: {integrity: sha512-XX2TguehE1dFlwd8xRBzJ6wq5+2KigTeUNXLHMFdz/48veKlrmGB7qv7uXIgpquyfJhcvOcN4r4Qncj6Nbrlow==} dependencies: - nx: 14.5.7 + nx: 14.5.8 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' dev: true - /@nrwl/tao/14.5.7: - resolution: {integrity: sha512-6REA1aedpBXYBSgqMhJHllHCf6jveV8KycuNYIXy5r8BbCJPjTloiMrrACwUhGAqHDaP3FvvlTy2JiKAmBqlJQ==} + /@nrwl/tao/14.5.8: + resolution: {integrity: sha512-tN8qX8wtLP1cuGPKxdaArjtJaHJIpfZ3J2OqkotdocxcvwbDdTvTQzhcLknNNUk/jqHer3YsBmcgyJW3VGbf4w==} hasBin: true dependencies: - nx: 14.5.7 + nx: 14.5.8 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' dev: true - /@octokit/auth-token/3.0.0: - resolution: {integrity: sha512-MDNFUBcJIptB9At7HiV7VCvU3NcL4GnfCQaP8C5lrxWrRPMJBnemYtehaKSOlaM7AYxeRyj9etenu8LVpSpVaQ==} + /@octokit/auth-token/3.0.1: + resolution: {integrity: sha512-/USkK4cioY209wXRpund6HZzHo9GmjakpV9ycOkpMcMxMk7QVcVFVyCMtzvXYiHsB2crgDgrtNYSELYFBXhhaA==} engines: {node: '>= 14'} dependencies: - '@octokit/types': 6.41.0 + '@octokit/types': 7.1.1 dev: true - /@octokit/core/4.0.4: - resolution: {integrity: sha512-sUpR/hc4Gc7K34o60bWC7WUH6Q7T6ftZ2dUmepSyJr9PRF76/qqkWjE2SOEzCqLA5W83SaISymwKtxks+96hPQ==} + /@octokit/core/4.0.5: + resolution: {integrity: sha512-4R3HeHTYVHCfzSAi0C6pbGXV8UDI5Rk+k3G7kLVNckswN9mvpOzW9oENfjfH3nEmzg8y3AmKmzs8Sg6pLCeOCA==} engines: {node: '>= 14'} dependencies: - '@octokit/auth-token': 3.0.0 - '@octokit/graphql': 5.0.0 - '@octokit/request': 6.2.0 - '@octokit/request-error': 3.0.0 - '@octokit/types': 6.41.0 + '@octokit/auth-token': 3.0.1 + '@octokit/graphql': 5.0.1 + '@octokit/request': 6.2.1 + '@octokit/request-error': 3.0.1 + '@octokit/types': 7.1.1 before-after-hook: 2.2.2 universal-user-agent: 6.0.0 transitivePeerDependencies: - encoding dev: true - /@octokit/endpoint/7.0.0: - resolution: {integrity: sha512-Kz/mIkOTjs9rV50hf/JK9pIDl4aGwAtT8pry6Rpy+hVXkAPhXanNQRxMoq6AeRgDCZR6t/A1zKniY2V1YhrzlQ==} + /@octokit/endpoint/7.0.1: + resolution: {integrity: sha512-/wTXAJwt0HzJ2IeE4kQXO+mBScfzyCkI0hMtkIaqyXd9zg76OpOfNQfHL9FlaxAV2RsNiOXZibVWloy8EexENg==} engines: {node: '>= 14'} dependencies: - '@octokit/types': 6.41.0 + '@octokit/types': 7.1.1 is-plain-object: 5.0.0 universal-user-agent: 6.0.0 dev: true - /@octokit/graphql/5.0.0: - resolution: {integrity: sha512-1ZZ8tX4lUEcLPvHagfIVu5S2xpHYXAmgN0+95eAOPoaVPzCfUXJtA5vASafcpWcO86ze0Pzn30TAx72aB2aguQ==} + /@octokit/graphql/5.0.1: + resolution: {integrity: sha512-sxmnewSwAixkP1TrLdE6yRG53eEhHhDTYUykUwdV9x8f91WcbhunIHk9x1PZLALdBZKRPUO2HRcm4kezZ79HoA==} engines: {node: '>= 14'} dependencies: - '@octokit/request': 6.2.0 - '@octokit/types': 6.41.0 + '@octokit/request': 6.2.1 + '@octokit/types': 7.1.1 universal-user-agent: 6.0.0 transitivePeerDependencies: - encoding dev: true - /@octokit/openapi-types/12.11.0: - resolution: {integrity: sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==} + /@octokit/openapi-types/13.4.0: + resolution: {integrity: sha512-2mVzW0X1+HDO3jF80/+QFZNzJiTefELKbhMu6yaBYbp/1gSMkVDm4rT472gJljTokWUlXaaE63m7WrWENhMDLw==} dev: true /@octokit/plugin-enterprise-rest/6.0.1: resolution: {integrity: sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==} dev: true - /@octokit/plugin-paginate-rest/3.1.0_@octokit+core@4.0.4: - resolution: {integrity: sha512-+cfc40pMzWcLkoDcLb1KXqjX0jTGYXjKuQdFQDc6UAknISJHnZTiBqld6HDwRJvD4DsouDKrWXNbNV0lE/3AXA==} + /@octokit/plugin-paginate-rest/4.1.0_@octokit+core@4.0.5: + resolution: {integrity: sha512-2O5K5fpajYG5g62wjzHR7/cWYaCA88CextAW3vFP+yoIHD0KEdlVMHfM5/i5LyV+JMmqiYW7w5qfg46FR+McNw==} engines: {node: '>= 14'} peerDependencies: '@octokit/core': '>=4' dependencies: - '@octokit/core': 4.0.4 - '@octokit/types': 6.41.0 + '@octokit/core': 4.0.5 + '@octokit/types': 7.1.1 dev: true - /@octokit/plugin-request-log/1.0.4_@octokit+core@4.0.4: + /@octokit/plugin-request-log/1.0.4_@octokit+core@4.0.5: resolution: {integrity: sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==} peerDependencies: '@octokit/core': '>=3' dependencies: - '@octokit/core': 4.0.4 + '@octokit/core': 4.0.5 dev: true - /@octokit/plugin-rest-endpoint-methods/6.2.0_@octokit+core@4.0.4: - resolution: {integrity: sha512-PZ+yfkbZAuRUtqu6Y191/V3eM0KBPx+Yq7nh+ONPdpm3EX4pd5UnK2y2XgO/0AtNum5a4aJCDjqsDuUZ2hWRXw==} + /@octokit/plugin-rest-endpoint-methods/6.3.0_@octokit+core@4.0.5: + resolution: {integrity: sha512-qEu2wn6E7hqluZwIEUnDxWROvKjov3zMIAi4H4d7cmKWNMeBprEXZzJe8pE5eStUYC1ysGhD0B7L6IeG1Rfb+g==} engines: {node: '>= 14'} peerDependencies: '@octokit/core': '>=3' dependencies: - '@octokit/core': 4.0.4 - '@octokit/types': 6.41.0 + '@octokit/core': 4.0.5 + '@octokit/types': 7.1.1 deprecation: 2.3.1 dev: true - /@octokit/request-error/3.0.0: - resolution: {integrity: sha512-WBtpzm9lR8z4IHIMtOqr6XwfkGvMOOILNLxsWvDwtzm/n7f5AWuqJTXQXdDtOvPfTDrH4TPhEvW2qMlR4JFA2w==} + /@octokit/request-error/3.0.1: + resolution: {integrity: sha512-ym4Bp0HTP7F3VFssV88WD1ZyCIRoE8H35pXSKwLeMizcdZAYc/t6N9X9Yr9n6t3aG9IH75XDnZ6UeZph0vHMWQ==} engines: {node: '>= 14'} dependencies: - '@octokit/types': 6.41.0 + '@octokit/types': 7.1.1 deprecation: 2.3.1 once: 1.4.0 dev: true - /@octokit/request/6.2.0: - resolution: {integrity: sha512-7IAmHnaezZrgUqtRShMlByJK33MT9ZDnMRgZjnRrRV9a/jzzFwKGz0vxhFU6i7VMLraYcQ1qmcAOin37Kryq+Q==} + /@octokit/request/6.2.1: + resolution: {integrity: sha512-gYKRCia3cpajRzDSU+3pt1q2OcuC6PK8PmFIyxZDWCzRXRSIBH8jXjFJ8ZceoygBIm0KsEUg4x1+XcYBz7dHPQ==} engines: {node: '>= 14'} dependencies: - '@octokit/endpoint': 7.0.0 - '@octokit/request-error': 3.0.0 - '@octokit/types': 6.41.0 + '@octokit/endpoint': 7.0.1 + '@octokit/request-error': 3.0.1 + '@octokit/types': 7.1.1 is-plain-object: 5.0.0 node-fetch: 2.6.7 universal-user-agent: 6.0.0 @@ -3315,22 +3194,22 @@ packages: - encoding dev: true - /@octokit/rest/19.0.3: - resolution: {integrity: sha512-5arkTsnnRT7/sbI4fqgSJ35KiFaN7zQm0uQiQtivNQLI8RQx8EHwJCajcTUwmaCMNDg7tdCvqAnc7uvHHPxrtQ==} + /@octokit/rest/19.0.4: + resolution: {integrity: sha512-LwG668+6lE8zlSYOfwPj4FxWdv/qFXYBpv79TWIQEpBLKA9D/IMcWsF/U9RGpA3YqMVDiTxpgVpEW3zTFfPFTA==} engines: {node: '>= 14'} dependencies: - '@octokit/core': 4.0.4 - '@octokit/plugin-paginate-rest': 3.1.0_@octokit+core@4.0.4 - '@octokit/plugin-request-log': 1.0.4_@octokit+core@4.0.4 - '@octokit/plugin-rest-endpoint-methods': 6.2.0_@octokit+core@4.0.4 + '@octokit/core': 4.0.5 + '@octokit/plugin-paginate-rest': 4.1.0_@octokit+core@4.0.5 + '@octokit/plugin-request-log': 1.0.4_@octokit+core@4.0.5 + '@octokit/plugin-rest-endpoint-methods': 6.3.0_@octokit+core@4.0.5 transitivePeerDependencies: - encoding dev: true - /@octokit/types/6.41.0: - resolution: {integrity: sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==} + /@octokit/types/7.1.1: + resolution: {integrity: sha512-Dx6cNTORyVaKY0Yeb9MbHksk79L8GXsihbG6PtWqTpkyA2TY1qBWE26EQXVG3dHwY9Femdd/WEeRUEiD0+H3TQ==} dependencies: - '@octokit/openapi-types': 12.11.0 + '@octokit/openapi-types': 13.4.0 dev: true /@parcel/watcher/2.0.4: @@ -3448,8 +3327,8 @@ packages: - supports-color dev: false - /@sinclair/typebox/0.24.19: - resolution: {integrity: sha512-gHJu8cdYTD5p4UqmQHrxaWrtb/jkH5imLXzuBypWhKzNkW0qfmgz+w1xaJccWVuJta1YYUdlDiPHXRTR4Ku0MQ==} + /@sinclair/typebox/0.24.20: + resolution: {integrity: sha512-kVaO5aEFZb33nPMTZBxiPEkY+slxiPtqC7QX8f9B3eGOMBvEfuMfxp9DSTTCsRJPumPKjrge4yagyssO4q6qzQ==} dev: true /@sinonjs/commons/1.8.3: @@ -4412,7 +4291,7 @@ packages: engines: {node: '>=12'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/runtime': 7.18.9 + '@babel/runtime': 7.18.3 '@types/aria-query': 4.2.2 aria-query: 5.0.0 chalk: 4.1.2 @@ -4444,7 +4323,7 @@ packages: dependencies: '@babel/runtime': 7.17.9 '@testing-library/dom': 8.13.0 - '@types/react-dom': 18.0.5 + '@types/react-dom': 18.0.6 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -4469,6 +4348,11 @@ packages: resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} dev: true + /@tsd/typescript/4.7.4: + resolution: {integrity: sha512-jbtC+RgKZ9Kk65zuRZbKLTACf+tvFW4Rfq0JEMXrlmV3P3yme+Hm+pnb5fJRyt61SjIitcrC810wj7+1tgsEmg==} + hasBin: true + dev: true + /@types/aria-query/4.2.2: resolution: {integrity: sha512-HnYpAE1Y6kRyKM/XkEuiRQhTHvkzMBurTHnpFLYLBGPIylZNPs9jJcuOOYWxPLJCSEtmZT0Y8rHDokKN7rRTig==} @@ -4579,16 +4463,10 @@ packages: /@types/prop-types/15.7.5: resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} - /@types/react-dom/18.0.5: - resolution: {integrity: sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==} - dependencies: - '@types/react': 18.0.17 - /@types/react-dom/18.0.6: resolution: {integrity: sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA==} dependencies: '@types/react': 18.0.17 - dev: true /@types/react/18.0.17: resolution: {integrity: sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==} @@ -5034,17 +4912,17 @@ packages: resolution: {integrity: sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==} dev: false - /babel-jest/28.1.3_@babel+core@7.18.13: + /babel-jest/28.1.3_@babel+core@7.18.10: resolution: {integrity: sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} peerDependencies: '@babel/core': ^7.8.0 dependencies: - '@babel/core': 7.18.13 + '@babel/core': 7.18.10 '@jest/transform': 28.1.3 '@types/babel__core': 7.1.19 babel-plugin-istanbul: 6.1.1 - babel-preset-jest: 28.1.3_@babel+core@7.18.13 + babel-preset-jest: 28.1.3_@babel+core@7.18.10 chalk: 4.1.2 graceful-fs: 4.2.10 slash: 3.0.0 @@ -5055,7 +4933,7 @@ packages: /babel-plugin-dynamic-import-node/2.3.3: resolution: {integrity: sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==} dependencies: - object.assign: 4.1.2 + object.assign: 4.1.4 dev: true /babel-plugin-istanbul/6.1.1: @@ -5085,7 +4963,7 @@ packages: resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} engines: {node: '>=10', npm: '>=6'} dependencies: - '@babel/runtime': 7.18.9 + '@babel/runtime': 7.18.3 cosmiconfig: 7.0.1 resolve: 1.22.0 dev: false @@ -5126,35 +5004,35 @@ packages: - supports-color dev: true - /babel-preset-current-node-syntax/1.0.1_@babel+core@7.18.13: + /babel-preset-current-node-syntax/1.0.1_@babel+core@7.18.10: resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.18.13 - '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.18.13 - '@babel/plugin-syntax-bigint': 7.8.3_@babel+core@7.18.13 - '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.18.13 - '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.13 - '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.18.13 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.18.13 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.18.13 - '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.18.13 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.13 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.18.13 - '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.18.13 - '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.18.13 - dev: true - - /babel-preset-jest/28.1.3_@babel+core@7.18.13: + '@babel/core': 7.18.10 + '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.18.10 + '@babel/plugin-syntax-bigint': 7.8.3_@babel+core@7.18.10 + '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.18.10 + '@babel/plugin-syntax-import-meta': 7.10.4_@babel+core@7.18.10 + '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.18.10 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.18.10 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.18.10 + '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.18.10 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.18.10 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.18.10 + '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.18.10 + '@babel/plugin-syntax-top-level-await': 7.14.5_@babel+core@7.18.10 + dev: true + + /babel-preset-jest/28.1.3_@babel+core@7.18.10: resolution: {integrity: sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.18.13 + '@babel/core': 7.18.10 babel-plugin-jest-hoist: 28.1.3 - babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.13 + babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.10 dev: true /balanced-match/1.0.2: @@ -5532,7 +5410,7 @@ packages: dev: true /concat-map/0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} /concat-stream/2.0.0: resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} @@ -5701,6 +5579,23 @@ packages: path-type: 4.0.0 yaml: 1.10.2 + /create-jest-runner/0.11.1: + resolution: {integrity: sha512-fmR1TpRhKIjmU1iXGRbpT2FXZkSlv58n+Cl2FvK5EIhy9kgM/bf/S7w1Nr3hg/jpHLaC0XLklmbZgt67iIV59A==} + hasBin: true + peerDependencies: + '@jest/test-result': ^28.0.0 + jest-runner: ^28.0.0 + peerDependenciesMeta: + '@jest/test-result': + optional: true + jest-runner: + optional: true + dependencies: + chalk: 4.1.2 + jest-worker: 28.1.3 + throat: 6.0.1 + dev: true + /create-require/1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} dev: true @@ -6052,7 +5947,7 @@ packages: is-weakref: 1.0.2 object-inspect: 1.12.2 object-keys: 1.1.1 - object.assign: 4.1.2 + object.assign: 4.1.4 regexp.prototype.flags: 1.4.3 string.prototype.trimend: 1.0.5 string.prototype.trimstart: 1.0.5 @@ -6114,7 +6009,7 @@ packages: confusing-browser-globals: 1.0.11 eslint: 8.22.0 eslint-plugin-import: 2.26.0_lewfh47l4outvz5ytnjtm3tbm4 - object.assign: 4.1.2 + object.assign: 4.1.4 object.entries: 1.1.5 semver: 6.3.0 dev: false @@ -6256,7 +6151,7 @@ packages: emoji-regex: 9.2.2 eslint: 8.22.0 has: 1.0.3 - jsx-ast-utils: 3.3.2 + jsx-ast-utils: 3.3.3 language-tags: 1.0.5 minimatch: 3.1.2 semver: 6.3.0 @@ -7108,6 +7003,10 @@ packages: side-channel: 1.0.4 dev: false + /international-types/0.3.3: + resolution: {integrity: sha512-S7XBOB3bncwtqBLvTvG/Bm0GYGDOP5d7RHB1ihHToUAgwrmcluE7uM4pM9puWiT/s+RRfdV8u+Z2sM+WGDx6Fw==} + dev: false + /intl-messageformat/10.1.3: resolution: {integrity: sha512-olvdXBZITgfA/9ShzrjcsNidTXd/uGw3H8oWcjysw2lF8txF4MtO9nSWR3exPR6PhTtrrWl+BriucmsITI8Mmw==} dependencies: @@ -7361,7 +7260,7 @@ packages: resolution: {integrity: sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==} engines: {node: '>=8'} dependencies: - '@babel/core': 7.18.13 + '@babel/core': 7.18.10 '@babel/parser': 7.18.13 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 @@ -7473,11 +7372,11 @@ packages: ts-node: optional: true dependencies: - '@babel/core': 7.18.13 + '@babel/core': 7.18.10 '@jest/test-sequencer': 28.1.3 '@jest/types': 28.1.3 '@types/node': 17.0.31 - babel-jest: 28.1.3_@babel+core@7.18.13 + babel-jest: 28.1.3_@babel+core@7.18.10 chalk: 4.1.2 ci-info: 3.3.0 deepmerge: 4.2.2 @@ -7681,6 +7580,21 @@ packages: slash: 3.0.0 dev: true + /jest-runner-tsd/3.1.0_@tsd+typescript@4.7.4: + resolution: {integrity: sha512-cu8QRX6cUYKnrIFTOOfm5tixPwPwSyaMSXv3rpJzzWoa6eS3e9aFFtnY/lnSZZH9yROGrtl9B6+1snrLrrtKOw==} + peerDependencies: + '@tsd/typescript': ^3.8.3 || ^4.0.7 + dependencies: + '@babel/code-frame': 7.16.7 + '@tsd/typescript': 4.7.4 + chalk: 4.1.2 + create-jest-runner: 0.11.1 + tsd-lite: 0.5.6_@tsd+typescript@4.7.4 + transitivePeerDependencies: + - '@jest/test-result' + - jest-runner + dev: true + /jest-runner/28.1.3: resolution: {integrity: sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} @@ -7744,17 +7658,17 @@ packages: resolution: {integrity: sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} dependencies: - '@babel/core': 7.18.13 - '@babel/generator': 7.18.13 - '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.13 - '@babel/traverse': 7.18.13 - '@babel/types': 7.18.13 + '@babel/core': 7.18.10 + '@babel/generator': 7.18.9 + '@babel/plugin-syntax-typescript': 7.18.6_@babel+core@7.18.10 + '@babel/traverse': 7.18.9 + '@babel/types': 7.18.9 '@jest/expect-utils': 28.1.3 '@jest/transform': 28.1.3 '@jest/types': 28.1.3 '@types/babel__traverse': 7.17.1 '@types/prettier': 2.6.0 - babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.13 + babel-preset-current-node-syntax: 1.0.1_@babel+core@7.18.10 chalk: 4.1.2 expect: 28.1.3 graceful-fs: 4.2.10 @@ -7970,15 +7884,15 @@ packages: engines: {node: '>=4.0'} dependencies: array-includes: 3.1.5 - object.assign: 4.1.2 + object.assign: 4.1.4 dev: false - /jsx-ast-utils/3.3.2: - resolution: {integrity: sha512-4ZCADZHRkno244xlNnn4AOG6sRQ7iBZ5BbgZ4vW4y5IZw7cVUD1PPeblm1xx/nfmMxPdt/LHsXZW8z/j58+l9Q==} + /jsx-ast-utils/3.3.3: + resolution: {integrity: sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==} engines: {node: '>=4.0'} dependencies: array-includes: 3.1.5 - object.assign: 4.1.2 + object.assign: 4.1.4 dev: false /just-diff-apply/5.3.1: @@ -8032,7 +7946,7 @@ packages: '@lerna/version': 5.4.3 import-local: 3.1.0 npmlog: 6.0.2 - nx: 14.5.7 + nx: 14.5.8 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' @@ -8068,7 +7982,7 @@ packages: aproba: 2.0.0 minipass: 3.1.6 npm-package-arg: 9.0.2 - npm-registry-fetch: 13.3.0 + npm-registry-fetch: 13.3.1 transitivePeerDependencies: - bluebird - supports-color @@ -8080,7 +7994,7 @@ packages: dependencies: normalize-package-data: 4.0.0 npm-package-arg: 9.0.2 - npm-registry-fetch: 13.3.0 + npm-registry-fetch: 13.3.1 semver: 7.3.7 ssri: 9.0.1 transitivePeerDependencies: @@ -8651,6 +8565,17 @@ packages: validate-npm-package-name: 4.0.0 dev: true + /npm-packlist/5.1.0: + resolution: {integrity: sha512-a04sqF6FbkyOAFA19AA0e94gS7Et5T2/IMj3VOT9nOF2RaRdVPQ1Q17Fb/HaDRFs+gbC7HOmhVZ29adpWgmDZg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + hasBin: true + dependencies: + glob: 8.0.3 + ignore-walk: 5.0.1 + npm-bundled: 1.1.2 + npm-normalize-package-bin: 1.0.1 + dev: true + /npm-packlist/5.1.1: resolution: {integrity: sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -8672,8 +8597,24 @@ packages: semver: 7.3.7 dev: true - /npm-registry-fetch/13.3.0: - resolution: {integrity: sha512-10LJQ/1+VhKrZjIuY9I/+gQTvumqqlgnsCufoXETHAPFTS3+M+Z5CFhZRDHGavmJ6rOye3UvNga88vl8n1r6gg==} + /npm-registry-fetch/13.1.1: + resolution: {integrity: sha512-5p8rwe6wQPLJ8dMqeTnA57Dp9Ox6GH9H60xkyJup07FmVlu3Mk7pf/kIIpl9gaN5bM8NM+UUx3emUWvDNTt39w==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + dependencies: + make-fetch-happen: 10.1.5 + minipass: 3.1.6 + minipass-fetch: 2.1.0 + minipass-json-stream: 1.0.1 + minizlib: 2.1.2 + npm-package-arg: 9.0.2 + proc-log: 2.0.1 + transitivePeerDependencies: + - bluebird + - supports-color + dev: true + + /npm-registry-fetch/13.3.1: + resolution: {integrity: sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} dependencies: make-fetch-happen: 10.1.5 @@ -8716,8 +8657,8 @@ packages: resolution: {integrity: sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==} dev: true - /nx/14.5.7: - resolution: {integrity: sha512-Pa1YeVZoLejpv3zuZvUNxQ+h3eb74uuYuFKCqUVg1IO7dVL6aCvJRS6BUHktc8x9BhKurK12bbWG1wahXkGJtw==} + /nx/14.5.8: + resolution: {integrity: sha512-yTWL4pyzevWORx0GzXElTeoH19pvvOt0v98kXWjNU4TTB1vWlMiHEFAkfqScFrUX0L/efulYoEVjTgPdNtmInA==} hasBin: true requiresBuild: true peerDependencies: @@ -8729,8 +8670,8 @@ packages: '@swc/core': optional: true dependencies: - '@nrwl/cli': 14.5.7 - '@nrwl/tao': 14.5.7 + '@nrwl/cli': 14.5.8 + '@nrwl/tao': 14.5.8 '@parcel/watcher': 2.0.4 chalk: 4.1.0 chokidar: 3.5.3 @@ -8785,6 +8726,16 @@ packages: define-properties: 1.1.4 has-symbols: 1.0.3 object-keys: 1.1.1 + dev: false + + /object.assign/4.1.4: + resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + has-symbols: 1.0.3 + object-keys: 1.1.1 /object.entries/1.1.5: resolution: {integrity: sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==} @@ -8987,15 +8938,15 @@ packages: p-reduce: 2.1.0 dev: true - /pacote/13.6.1: - resolution: {integrity: sha512-L+2BI1ougAPsFjXRyBhcKmfT016NscRFLv6Pz5EiNf1CCFJFU0pSKKQwsZTyAQB+sTuUL4TyFyp6J1Ork3dOqw==} + /pacote/13.6.2: + resolution: {integrity: sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} hasBin: true dependencies: '@npmcli/git': 3.0.1 '@npmcli/installed-package-contents': 1.0.7 '@npmcli/promise-spawn': 3.0.0 - '@npmcli/run-script': 4.1.7 + '@npmcli/run-script': 4.2.1 cacache: 16.1.0 chownr: 2.0.0 fs-minipass: 2.1.0 @@ -9003,9 +8954,9 @@ packages: minipass: 3.1.6 mkdirp: 1.0.4 npm-package-arg: 9.0.2 - npm-packlist: 5.1.1 + npm-packlist: 5.1.0 npm-pick-manifest: 7.0.1 - npm-registry-fetch: 13.3.0 + npm-registry-fetch: 13.1.1 proc-log: 2.0.1 promise-retry: 2.0.1 read-package-json: 5.0.1 @@ -10104,6 +10055,10 @@ packages: /text-table/0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + /throat/6.0.1: + resolution: {integrity: sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w==} + dev: true + /through/2.3.8: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} dev: true @@ -10228,6 +10183,15 @@ packages: minimist: 1.2.6 strip-bom: 3.0.0 + /tsd-lite/0.5.6_@tsd+typescript@4.7.4: + resolution: {integrity: sha512-njyGiT8s6F19TIr4Fwlau3IX6fVNgmSgmM0j5u97+csQAp5BMtzMHNsPABBC8bp6m+XQ0itKfym6HvfCmzEIpA==} + engines: {node: '>=12'} + peerDependencies: + '@tsd/typescript': ^3.8.3 || ^4.0.7 + dependencies: + '@tsd/typescript': 4.7.4 + dev: true + /tslib/1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: false diff --git a/tsconfig.json b/tsconfig.json index 938f24a04..dbdc8853d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,5 +13,5 @@ "jsx": "preserve" }, "include": ["**/*.ts", "**/*.js", "**/.*.js", "**/*.tsx"], - "exclude": ["**/dist/*.ts"] + "exclude": ["**/dist/*.ts", "**/__typetests__/*.test.ts"] }