diff --git a/package.json b/package.json index 1c778a6..26f915d 100644 --- a/package.json +++ b/package.json @@ -63,19 +63,21 @@ }, "dependencies": { "debug": "^4.3.4", + "enhanced-resolve": "^5.9.3", "get-tsconfig": "^4.0.6", "globby": "^13.1.2", + "is-core-module": "^2.9.0", "is-glob": "^4.0.3", - "resolve": "^1.22.1", "synckit": "^0.7.1" }, "devDependencies": { - "@1stg/lib-config": "^6.2.3", + "@1stg/lib-config": "^6.3.0", + "@mozilla/glean": "^1.0.0", "@types/debug": "^4.1.7", - "@types/glob": "^7.2.0", + "@types/enhanced-resolve": "^3.0.7", + "@types/is-core-module": "^2.2.0", "@types/is-glob": "^4.0.2", "@types/node": "^18.0.0", - "@types/resolve": "^1.20.2", "@types/unist": "^2.0.6", "dummy.js": "link:dummy.js", "eslint-import-resolver-typescript": "link:.", diff --git a/src/index.ts b/src/index.ts index c3868e1..393fa66 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,9 +3,15 @@ import path from 'node:path' import { fileURLToPath } from 'node:url' import debug from 'debug' +import { + FileSystem, + ResolveOptions, + Resolver, + ResolverFactory, +} from 'enhanced-resolve' import { createPathsMatcher, getTsconfig } from 'get-tsconfig' +import isCore from 'is-core-module' import isGlob from 'is-glob' -import { isCore, type PackageJSON, sync, SyncOpts } from 'resolve' import { createSyncFn } from 'synckit' const IMPORTER_NAME = 'eslint-import-resolver-typescript' @@ -21,15 +27,37 @@ const globSync = createSyncFn( path.resolve(_dirname, 'worker.mjs'), ) +/** + * .mts, .cts, .d.mts, .d.cts, .mjs, .cjs are not included because .cjs and .mjs must be used explicitly. + */ +const defaultExtensions = [ + '.ts', + '.tsx', + '.d.ts', + '.js', + '.jsx', + '.json', + '.node', +] + +const defaultMainFields = ['types', 'typings', 'module', 'jsnext:main', 'main'] + export const interfaceVersion = 2 -export type TsResolverOptions = SyncOpts & { +export interface TsResolverOptions + extends Omit { alwaysTryTypes?: boolean project?: string[] | string extensions?: string[] packageFilter?: (pkg: Record) => Record } +const fileSystem = fs as FileSystem + +let mappersBuildForOptions: TsResolverOptions +let mappers: Array<((specifier: string) => string[]) | null> | undefined +let resolver: Resolver + /** * @param {string} source the module to resolve; i.e './some-module' * @param {string} file the importing file's full path; i.e. '/usr/local/bin/file.js' @@ -38,12 +66,20 @@ export type TsResolverOptions = SyncOpts & { export function resolve( source: string, file: string, - options: TsResolverOptions | null, + options?: TsResolverOptions | null, ): { found: boolean path?: string | null } { - options = options ?? {} + const opts: ResolveOptions & TsResolverOptions = { + ...options, + extensions: options?.extensions ?? defaultExtensions, + mainFields: options?.mainFields ?? defaultMainFields, + fileSystem, + useSyncFileSystemCalls: true, + } + + resolver = ResolverFactory.createResolver(opts) log('looking for:', source) @@ -59,7 +95,7 @@ export function resolve( } } - initMappers(options) + initMappers(opts) const mappedPath = getMappedPath(source, file, true) if (mappedPath) { @@ -69,11 +105,9 @@ export function resolve( // note that even if we map the path, we still need to do a final resolve let foundNodePath: string | null | undefined try { - foundNodePath = tsResolve(mappedPath ?? source, { - ...options, - basedir: path.dirname(path.resolve(file)), - packageFilter: options.packageFilter ?? packageFilterDefault, - }) + foundNodePath = + tsResolve(mappedPath ?? source, path.dirname(path.resolve(file)), opts) || + null } catch { foundNodePath = null } @@ -82,7 +116,7 @@ export function resolve( // if path is neither absolute nor relative if ( (/\.jsx?$/.test(foundNodePath!) || - (options.alwaysTryTypes && !foundNodePath)) && + (opts.alwaysTryTypes && !foundNodePath)) && !/^@types[/\\]/.test(source) && !path.isAbsolute(source) && !source.startsWith('.') @@ -113,12 +147,6 @@ export function resolve( } } -function packageFilterDefault(pkg: PackageJSON) { - pkg.main = - pkg.types || pkg.typings || pkg.module || pkg['jsnext:main'] || pkg.main - return pkg -} - function resolveExtension(id: string) { const idWithoutJsExt = removeJsExtension(id) @@ -149,16 +177,21 @@ function resolveExtension(id: string) { * Like `sync` from `resolve` package, but considers that the module id * could have a .js or .jsx extension. */ -function tsResolve(id: string, opts: SyncOpts): string { +function tsResolve( + source: string, + base: string, + options: ResolveOptions, +): string | false { try { - return sync(id, opts) + return resolver.resolveSync({}, base, source) } catch (error) { - const resolved = resolveExtension(id) + const resolved = resolveExtension(source) if (resolved) { - return sync(resolved.path, { - ...opts, - extensions: resolved.extensions ?? opts.extensions, + const resolver = ResolverFactory.createResolver({ + ...options, + extensions: resolved.extensions ?? options.extensions, }) + return resolver.resolveSync({}, base, resolved.path) } throw error } @@ -178,9 +211,6 @@ function removeJsExtension(id: string) { return id.replace(/\.([cm]js|jsx?)$/, '') } -let mappersBuildForOptions: TsResolverOptions -let mappers: Array<((specifier: string) => string[]) | null> | undefined - const JS_EXT_PATTERN = /\.([cm]js|jsx?)$/ const RELATIVE_PATH_PATTERN = /^\.{1,2}(\/.*)?$/ diff --git a/tests/withJsExtension/test.js b/tests/withJsExtension/test.js index f1b4c77..f720617 100644 --- a/tests/withJsExtension/test.js +++ b/tests/withJsExtension/test.js @@ -127,4 +127,5 @@ assertResolve( '../../node_modules/typescript/lib/typescript.js', ) -assertResolve('dummy.js', '../../node_modules/dummy.js/index.js') +// resolves symlinks by default +assertResolve('dummy.js', '../../dummy.js/index.js') diff --git a/tests/withoutPaths/index.ts b/tests/withoutPaths/index.ts index 0831aa7..49e34dc 100644 --- a/tests/withoutPaths/index.ts +++ b/tests/withoutPaths/index.ts @@ -15,3 +15,6 @@ import 'json5' // enable alwaysTryTypes import 'unist' + +// exports +import '@mozilla/glean/webext' diff --git a/yarn.lock b/yarn.lock index 0346a6b..ece7988 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,18 +2,18 @@ # yarn lockfile v1 -"@1stg/babel-preset@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@1stg/babel-preset/-/babel-preset-3.0.0.tgz#1033dbd355e280258baa5dc97e3cfb12b203162e" - integrity sha512-7YVfwvpKzbX4Kw3YqMyVgHLQKzsd4mqk9u6IxpJ1+y++IXUpdncFpWw33hOficfgyibO2TQgWFGOsU51Jy1YxQ== +"@1stg/babel-preset@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@1stg/babel-preset/-/babel-preset-3.1.0.tgz#d190a891b77524e32f1f640d1033e27d662d1c9b" + integrity sha512-rWMZvb2wwcK4b/n7uLlGgl4flsnNAE4X7bU2F/2xlL0Rm/4iZoYz8AXSkoR1kS3da5HShaKiL/SDdbtTcNVaoQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-proposal-class-properties" "^7.16.7" - "@babel/plugin-proposal-decorators" "^7.17.9" - "@babel/preset-env" "^7.16.11" - "@babel/preset-react" "^7.16.7" - "@babel/preset-typescript" "^7.16.7" - "@pkgr/utils" "^2.1.0" + "@babel/helper-plugin-utils" "^7.17.12" + "@babel/plugin-proposal-class-properties" "^7.17.12" + "@babel/plugin-proposal-decorators" "^7.18.2" + "@babel/preset-env" "^7.18.2" + "@babel/preset-react" "^7.17.12" + "@babel/preset-typescript" "^7.17.12" + "@pkgr/utils" "^2.2.0" "@vue/babel-helper-vue-jsx-merge-props" "^1.2.1" "@vue/babel-plugin-jsx" "^1.1.1" "@vue/babel-preset-jsx" "^1.2.4" @@ -23,62 +23,62 @@ babel-plugin-transform-remove-console "^6.9.4" babel-plugin-transform-typescript-metadata "^0.3.2" babel-preset-proposal-typescript "^2.2.0" - core-js "^3.22.2" + core-js "^3.23.2" fast-async "^7.0.6" -"@1stg/commitlint-config@^3.0.1": - version "3.0.1" - resolved "https://registry.yarnpkg.com/@1stg/commitlint-config/-/commitlint-config-3.0.1.tgz#43677205f8e66e20cfd136672c45eb2c3321c804" - integrity sha512-rxo76/G9hZvzuYJxuW/AkGbnQHZHS59gXOuIf7lfgJ/7qopXAWb+xc//ZMYCDYO+wppDG+D+982ODPF4oQlvTA== +"@1stg/commitlint-config@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@1stg/commitlint-config/-/commitlint-config-3.1.0.tgz#31e75875fb18c057ecf6daa41a3b11f9cec409a9" + integrity sha512-Rdbe99G5G++Yv3Ji9dqvAf491FbwDCb5ive8usJOW8UYIE0qtUxv8UTtmR7l2zXOaZR9XIbe0mEDXv8Y+2pWTg== dependencies: - "@commitlint/config-conventional" "^17.0.0" - "@commitlint/config-lerna-scopes" "^17.0.0" + "@commitlint/config-conventional" "^17.0.3" + "@commitlint/config-lerna-scopes" "^17.0.2" "@pkgr/utils" "^2.2.0" -"@1stg/common-config@^4.2.3": - version "4.2.3" - resolved "https://registry.yarnpkg.com/@1stg/common-config/-/common-config-4.2.3.tgz#8e66379c34894445bf9d90f31379a521704ebe69" - integrity sha512-ihpiINKfyQKlIagX1dN3PkiNzdFIHFgjGdz+FD/KvpDhDkRk81OAJFcX/o95lKWjtX6uMddD7NHSGnHzpvjxdA== - dependencies: - "@1stg/babel-preset" "^3.0.0" - "@1stg/commitlint-config" "^3.0.1" - "@1stg/eslint-config" "^4.1.4" - "@1stg/lint-staged" "^2.0.1" - "@1stg/markuplint-config" "^2.0.0" - "@1stg/prettier-config" "^3.1.3" - "@1stg/remark-config" "^3.0.0" +"@1stg/common-config@^4.3.0": + version "4.3.0" + resolved "https://registry.yarnpkg.com/@1stg/common-config/-/common-config-4.3.0.tgz#f70a64487c54f867ef867a1385cd036eff4415b4" + integrity sha512-heQ59HQET9RfFIDXu6MnchZ576+pybw7hXArVv0m/nm3pOVUNd8guBwIdiB+2cutYiUdMVhQD8uyWTad6dHMrA== + dependencies: + "@1stg/babel-preset" "^3.1.0" + "@1stg/commitlint-config" "^3.1.0" + "@1stg/eslint-config" "^4.2.0" + "@1stg/lint-staged" "^2.1.0" + "@1stg/markuplint-config" "^2.1.0" + "@1stg/prettier-config" "^3.2.0" + "@1stg/remark-config" "^3.1.0" "@1stg/simple-git-hooks" "^0.1.2" - "@1stg/tsconfig" "^2.1.0" + "@1stg/tsconfig" "^2.2.0" "@babel/core" "^7.18.5" - "@commitlint/cli" "^17.0.2" + "@commitlint/cli" "^17.0.3" eslint "^8.18.0" - lint-staged "^13.0.2" + lint-staged "^13.0.3" npm-run-all "^4.1.5" prettier "^2.7.1" simple-git-hooks "^2.8.0" tslib "^2.4.0" yarn-deduplicate "^5.0.0" -"@1stg/eslint-config@^4.1.4": - version "4.1.4" - resolved "https://registry.yarnpkg.com/@1stg/eslint-config/-/eslint-config-4.1.4.tgz#2be33ff3a46ba9ba16a7aba1ae55c38dec0cf54d" - integrity sha512-bXK7eU8eBEquhhLGDiF0A6U9zVNFhdI6UgxXJhu4giAl5kOg6rsLNgZWFdaOL6wf6c/8lPECXGozQA7RSPApUA== +"@1stg/eslint-config@^4.2.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@1stg/eslint-config/-/eslint-config-4.2.0.tgz#6fa356f9dcf2820fd0d85ef0cf50063e91cb5970" + integrity sha512-ggQ0Bp+FU3lo49WkSd8H64Yz/BuUIaG36pOLaXpXR3YzsXF1zi1Isz/jShkHIfhZ0WjpaSPx+VpSd68c2TdA8g== dependencies: - "@angular-eslint/eslint-plugin" "^13.5.0" - "@angular-eslint/eslint-plugin-template" "^13.5.0" - "@angular-eslint/template-parser" "^13.5.0" + "@angular-eslint/eslint-plugin" "^14.0.0" + "@angular-eslint/eslint-plugin-template" "^14.0.0" + "@angular-eslint/template-parser" "^14.0.0" "@babel/eslint-parser" "^7.18.2" "@babel/eslint-plugin" "^7.17.7" "@pkgr/utils" "^2.2.0" - "@typescript-eslint/eslint-plugin" "^5.28.0" - "@typescript-eslint/parser" "^5.28.0" + "@typescript-eslint/eslint-plugin" "^5.29.0" + "@typescript-eslint/parser" "^5.29.0" angular-eslint-template-parser "^0.1.1" eslint-config-prettier "^8.5.0" eslint-config-standard "^17.0.0" eslint-config-standard-jsx "^11.0.0" eslint-config-standard-react "^11.0.1" eslint-formatter-friendly "^7.0.0" - eslint-import-resolver-typescript "^2.7.1" + eslint-import-resolver-typescript "^3.0.0" eslint-plugin-eslint-comments "^3.2.0" eslint-plugin-import "^2.26.0" eslint-plugin-jest "^26.5.3" @@ -88,7 +88,7 @@ eslint-plugin-n "^15.2.3" eslint-plugin-prettier "^4.0.0" eslint-plugin-promise "^6.0.0" - eslint-plugin-react "^7.30.0" + eslint-plugin-react "^7.30.1" eslint-plugin-react-hooks "^4.6.0" eslint-plugin-simple-import-sort "^7.0.0" eslint-plugin-sonar "^0.8.0" @@ -97,41 +97,41 @@ eslint-plugin-unicorn "^42.0.0" eslint-plugin-vue "^9.1.1" -"@1stg/lib-config@^6.2.3": - version "6.2.3" - resolved "https://registry.yarnpkg.com/@1stg/lib-config/-/lib-config-6.2.3.tgz#fbcba0d259e02f8edaaf8fcc17ddaa5f362025d9" - integrity sha512-gl7U0CLuR5C8RhchZ1iO589LE3cUadft02S1/WHJiDlnOU9hmkTpLswj+3+b9HZ3QMwecalSMbmDrIsoOnAHkA== +"@1stg/lib-config@^6.3.0": + version "6.3.0" + resolved "https://registry.yarnpkg.com/@1stg/lib-config/-/lib-config-6.3.0.tgz#fa4b8c46fd04757b615e92c639c555ffcbb30d88" + integrity sha512-IN94v0AXwNc8KMkW1nbX8Rzy7hMUccmhCn40utr9lQ1KSAuikThFCdx2Vst5V3AZhcFptvEFvu045Ue/mZnCCQ== dependencies: - "@1stg/common-config" "^4.2.3" + "@1stg/common-config" "^4.3.0" "@pkgr/rollup" "^3.1.2" jest "^28.1.1" -"@1stg/lint-staged@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@1stg/lint-staged/-/lint-staged-2.0.1.tgz#5b071d23f3e7bacbc0c84df4c842d7534e7e5469" - integrity sha512-y8/vZ7wshEBgtN1TKNGA9V2j3EklEAFur3h8XobfCu8ZUNpeHnf8aubLx4zaoK6yZmHmnB+f3+0fRzTdSBdQJg== +"@1stg/lint-staged@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@1stg/lint-staged/-/lint-staged-2.1.0.tgz#60267415abd61bedf172976f6820c9e8bd008986" + integrity sha512-uoXXmp8kVbz5bg/dZDCxAWfBzqQWaXnylg+TkF2DoWGa1yuxdvT1WJZCHWhU2H7Cthgw7NjgV2XlmVMmTWSOmQ== dependencies: - "@1stg/prettier-config" "^3.0.0" - "@1stg/tsconfig" "^2.0.1" + "@1stg/prettier-config" "^3.2.0" + "@1stg/tsconfig" "^2.2.0" "@pkgr/utils" "^2.2.0" cross-env "^7.0.3" prettier "^2.7.1" -"@1stg/markuplint-config@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@1stg/markuplint-config/-/markuplint-config-2.0.0.tgz#e908e3e9e4f5fa400e4022d1b1469b1f0e0c2e6a" - integrity sha512-h49ctTEDX9CExAdESvjOmf+aHbXbac2pd43CWlMBHxHbkoPbCeHKJEEeYTOIP3ByjMPAepQXciYbM4uZVYa4jw== +"@1stg/markuplint-config@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@1stg/markuplint-config/-/markuplint-config-2.1.0.tgz#d488799ab4fea45809f1cd711cbab98017986f22" + integrity sha512-VuO/H4k6jiJQuwcwL9j4T1cUJubbUHyhmmgKDPzlkX65cxq6gq/Hwj35nH+c2kCICFb5J2+U9lqhaREozuXYTQ== dependencies: - "@markuplint/vue-parser" "^2.3.0" + "@markuplint/vue-parser" "^2.3.1" "@markuplint/vue-spec" "^2.1.0" - markuplint-angular-parser "^1.1.1" + markuplint-angular-parser "^1.1.2" -"@1stg/prettier-config@^3.0.0", "@1stg/prettier-config@^3.1.3": - version "3.1.3" - resolved "https://registry.yarnpkg.com/@1stg/prettier-config/-/prettier-config-3.1.3.tgz#64ae5622e23acd1a6047a502a944a72e8285099c" - integrity sha512-BcyeiFGkO1U2L+CPTqbShyVARJiApaC40Mf2IaQSQ6loGUwoIjgIzfvecJKYbz7lwCnivNfKUoqCDhu6/D7XAA== +"@1stg/prettier-config@^3.2.0": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@1stg/prettier-config/-/prettier-config-3.2.0.tgz#6e0d2e9f0bf6c626db7f6eb4643579dd0d148067" + integrity sha512-DS1RVeoZIYyg/OA6S3pYGwuxVF+X5B5tZ8d1yO6m1nCrUfxFBfZowRof4CvKqGzbKg8+DMcnJgRqw8Guw9T1aw== dependencies: - "@prettier/plugin-pug" "^2.1.0" + "@prettier/plugin-pug" "^2.1.1" "@prettier/plugin-ruby" "^3.1.2" "@prettier/plugin-xml" "^2.2.0" prettier-plugin-pkg "^0.14.0" @@ -139,10 +139,10 @@ prettier-plugin-svelte "^2.7.0" prettier-plugin-toml "^0.3.1" -"@1stg/remark-config@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@1stg/remark-config/-/remark-config-3.0.0.tgz#c1eb550f4dfb6144383c2e8502babf4ad28186a2" - integrity sha512-rFnJtoIilDGyWL+Z/3DCbmEf/qZlA/RcG7q6za4KFck2+T9HuA4+62OwD7E2rW4zY9zgrz1Q+ukG0OjT5cOcHA== +"@1stg/remark-config@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@1stg/remark-config/-/remark-config-3.1.0.tgz#a2ec874f1eeef1f4a9245e2c7f490e58bd2a90c1" + integrity sha512-c300jxmCTenlcNtLmLWRIXK+X9Mj91EQonP3J417EqNkg/X/OuWz/UfsrS5hXde/TABo6sJ/9ef0D3Oeavujxg== dependencies: remark-frontmatter "^4.0.1" remark-gfm "^3.0.1" @@ -160,10 +160,10 @@ resolved "https://registry.yarnpkg.com/@1stg/simple-git-hooks/-/simple-git-hooks-0.1.2.tgz#082f514d2645242c0139cadb9f6c2c322189fe09" integrity sha512-nRoA/bSca+Rrzzg2YpL/lEPaqeIb99pSV37cRXcQh2VexaABOiaGnTOIN71tUlcAEfv6OePKJuLPTDxYof6G/w== -"@1stg/tsconfig@^2.0.1", "@1stg/tsconfig@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@1stg/tsconfig/-/tsconfig-2.1.0.tgz#8189c4ae0ac3224523c12a015a3882e48661a98e" - integrity sha512-Q3IgdfHVGIBYXapGpREhC+3wpP4qVr3IaVIk4L5sNBOnOK+wR3W/S4bDot4FZXPUgNFFYMeSyfoIVXekbZQqYg== +"@1stg/tsconfig@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@1stg/tsconfig/-/tsconfig-2.2.0.tgz#c2cae408f50d93453bee3d711edccdada4ad7558" + integrity sha512-E0Pc01vJv3E+RhsXW/AmtX+itUR83Q/W9NL6XehScwcFaWXdEQG7d3D3eRdnZaYg9fMJYHgms0/vxurtKfxrGw== "@ampproject/remapping@^2.1.0": version "2.2.0" @@ -173,44 +173,44 @@ "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" -"@angular-eslint/bundled-angular-compiler@13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-13.5.0.tgz#5b417f7f4503b5588957bb4b963b752e0b76a158" - integrity sha512-7M/5ilxqPD3ydgqqdLsYs3kBwZgNg2Y6C01B5SEHZNLqLT9kAJa7I4y6GlxCZqejCIh554kdXGeV3abIxFccSg== +"@angular-eslint/bundled-angular-compiler@14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-14.0.0.tgz#82147b128e2a90bada7832f9098778bf80ffbf2d" + integrity sha512-/rzDy+rVfpVOSAVycYsD15xbDrU54aayI94OT9Rxxl9J4Jp/Hep2FY7JrjvfqpS097qVIgJltEP9xu9OopOz7g== -"@angular-eslint/eslint-plugin-template@^13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-13.5.0.tgz#c7769d045ba792891199f1c9fd1be37ba54c5a49" - integrity sha512-ZVSXayn8MqYOhYomH2Cjc0azhuUQbY9fp9dKjJZOD64KhP8BYHw8+Ogc9E/FU5oZQ9fKw6A+23NAYKmLNqSAgA== +"@angular-eslint/eslint-plugin-template@^14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-14.0.0.tgz#cb26641f653ac832a6bcc7c77def601edb468e39" + integrity sha512-h+3eL2ovMiBn5EG0DH8/2ikolvUUjSGJFbZenlJwEPGGEHaJoYw6205ZMoRNxKResEbPgEoY1UK+paO8x14z6w== dependencies: - "@angular-eslint/bundled-angular-compiler" "13.5.0" - "@typescript-eslint/experimental-utils" "5.27.1" - aria-query "^4.2.2" - axobject-query "^2.2.0" + "@angular-eslint/bundled-angular-compiler" "14.0.0" + "@typescript-eslint/utils" "5.29.0" + aria-query "5.0.0" + axobject-query "3.0.1" -"@angular-eslint/eslint-plugin@^13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@angular-eslint/eslint-plugin/-/eslint-plugin-13.5.0.tgz#7af8414e2e51421079f3f92eccf1e548090adba0" - integrity sha512-k9o9WIqUkdO8tdYFCJ54PUWsNd9HHflih/GmA13EWciBYx8QxciwBh0u4NSAnbtOwp4Y7juGZ/Dta5ZrT/2VBA== +"@angular-eslint/eslint-plugin@^14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@angular-eslint/eslint-plugin/-/eslint-plugin-14.0.0.tgz#36305a7b279b75fcfa817f47987c95debf1737fe" + integrity sha512-A4oCWgOwiP9aYuuMOyF1iLcjZONMjxuabG+FICLA7LosjIIgIf0Cktp74Ii4itBr2Ka+E5+sCvFBce8r2Cmosg== dependencies: - "@angular-eslint/utils" "13.5.0" - "@typescript-eslint/experimental-utils" "5.27.1" + "@angular-eslint/utils" "14.0.0" + "@typescript-eslint/utils" "5.29.0" -"@angular-eslint/template-parser@^13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@angular-eslint/template-parser/-/template-parser-13.5.0.tgz#9930b4d7618ae7bd2d3783ce9840ef4a9b45fdc9" - integrity sha512-k+24+kBjaOuthfp9RBQB0zH6UqeizZuFQFEuZEQbvirPbdQ2SqNBw7IcmW2Qw1v7fjFe6/6gqK7wm2g7o9ZZvA== +"@angular-eslint/template-parser@^14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@angular-eslint/template-parser/-/template-parser-14.0.0.tgz#abf824d2f7d86239e4b5a6b9f704d383348d67a6" + integrity sha512-i0ec0m0hezabVYH9MruxIxLyoQp60VQAy0QvsQlYB6q3nFuJnx9MT+iSN+Now8AhWh2yqbnCxxnhhLFushwBFQ== dependencies: - "@angular-eslint/bundled-angular-compiler" "13.5.0" + "@angular-eslint/bundled-angular-compiler" "14.0.0" eslint-scope "^5.1.0" -"@angular-eslint/utils@13.5.0": - version "13.5.0" - resolved "https://registry.yarnpkg.com/@angular-eslint/utils/-/utils-13.5.0.tgz#bb4aefc2f1259084e9dfe6c2ac3e266acd929e6f" - integrity sha512-wX3W6STSDJDJ7ZyEsUdBp4HUPwmillMmKcdnFsy+qxbpJFzFOxOFpK1zet4ELsq1XpB89i9vRvC3vYbpHn3CSw== +"@angular-eslint/utils@14.0.0": + version "14.0.0" + resolved "https://registry.yarnpkg.com/@angular-eslint/utils/-/utils-14.0.0.tgz#f5a0305847e942c5da5bb5c64825d0a147a96511" + integrity sha512-gK8gDzo2MbMXYDqsWqE28rGkqPMMhPG4mIWp+zMsuWYG7oiUlD2TibWerYQCfGa9K2FTF97UGmI21Ckqsgex7w== dependencies: - "@angular-eslint/bundled-angular-compiler" "13.5.0" - "@typescript-eslint/experimental-utils" "5.27.1" + "@angular-eslint/bundled-angular-compiler" "14.0.0" + "@typescript-eslint/utils" "5.29.0" "@babel/code-frame@7.0.0": version "7.0.0" @@ -522,7 +522,7 @@ "@babel/helper-remap-async-to-generator" "^7.16.8" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-class-properties@^7.13.0", "@babel/plugin-proposal-class-properties@^7.16.7", "@babel/plugin-proposal-class-properties@^7.17.12": +"@babel/plugin-proposal-class-properties@^7.13.0", "@babel/plugin-proposal-class-properties@^7.17.12": version "7.17.12" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz#84f65c0cc247d46f40a6da99aadd6438315d80a4" integrity sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw== @@ -539,7 +539,7 @@ "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-proposal-decorators@^7.17.9", "@babel/plugin-proposal-decorators@^7.18.2": +"@babel/plugin-proposal-decorators@^7.18.2": version "7.18.2" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.18.2.tgz#dbe4086d2d42db489399783c3aa9272e9700afd4" integrity sha512-kbDISufFOxeczi0v4NQP3p5kIeW6izn/6klfWBrIIdGZZe4UpHR+QU03FAoWjGGd9SUXAwbw2pup1kaL4OQsJQ== @@ -1202,7 +1202,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/preset-env@^7.16.11", "@babel/preset-env@^7.18.2": +"@babel/preset-env@^7.18.2": version "7.18.2" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.2.tgz#f47d3000a098617926e674c945d95a28cb90977a" integrity sha512-PfpdxotV6afmXMU47S08F9ZKIm2bJIQ0YbAAtDfIENX7G1NUAXigLREh69CWDjtgUy7dYn7bsMzkgdtAlmS68Q== @@ -1294,7 +1294,7 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@^7.16.7": +"@babel/preset-react@^7.17.12": version "7.17.12" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.17.12.tgz#62adbd2d1870c0de3893095757ed5b00b492ab3d" integrity sha512-h5U+rwreXtZaRBEQhW1hOJLMq8XNJBQ/9oymXiCXTuT/0uOwpbT0gUt+sXeOqoXBgNuUKI7TaObVwoEyWkpFgA== @@ -1306,7 +1306,7 @@ "@babel/plugin-transform-react-jsx-development" "^7.16.7" "@babel/plugin-transform-react-pure-annotations" "^7.16.7" -"@babel/preset-typescript@^7.16.7", "@babel/preset-typescript@^7.17.12": +"@babel/preset-typescript@^7.17.12": version "7.17.12" resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.17.12.tgz#40269e0a0084d56fc5731b6c40febe1c9a4a3e8c" integrity sha512-S1ViF8W2QwAKUGJXxP9NAfNaqGDdEBJKpYkxHf5Yy2C4NPPzXGeR3Lhk7G8xJaaLcFTRfNjVbtbVtm8Gb0mqvg== @@ -1315,15 +1315,7 @@ "@babel/helper-validator-option" "^7.16.7" "@babel/plugin-transform-typescript" "^7.17.12" -"@babel/runtime-corejs3@^7.10.2": - version "7.18.3" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.18.3.tgz#52f0241a31e0ec61a6187530af6227c2846bd60c" - integrity sha512-l4ddFwrc9rnR+EJsHsh+TJ4A35YqQz/UqcjtlX2ov53hlJYG5CxtQmNZxyajwDVmCxwy++rtvGU5HazCK4W41Q== - dependencies: - core-js-pure "^3.20.2" - regenerator-runtime "^0.13.4" - -"@babel/runtime@^7.10.2", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.8.4": version "7.18.3" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.3.tgz#c7b654b57f6f63cf7f8b418ac9ca04408c4579f4" integrity sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug== @@ -1373,14 +1365,14 @@ resolved "https://registry.yarnpkg.com/@bloomberg/record-tuple-polyfill/-/record-tuple-polyfill-0.0.3.tgz#0b03d18b88a30894caab14abd669b1cbbf47b843" integrity sha512-sBnCqW0nqofE47mxFnw+lvx6kzsQstwaQMVkh66qm/A6IlsnH7WsyGuVXTou8RF2wL4W7ybOoHPvP2WgIo6rhQ== -"@commitlint/cli@^17.0.2": - version "17.0.2" - resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.0.2.tgz#57c925fb5f09b8e4a83448d94db291ddf7aa58ee" - integrity sha512-Axe89Js0YzGGd4gxo3JLlF7yIdjOVpG1LbOorGc6PfYF+drBh14PvarSDLzyd2TNqdylUCq9wb9/A88ZjIdyhA== +"@commitlint/cli@^17.0.3": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-17.0.3.tgz#50be9d9a8d79f6c47bfd2703638fe65215eb2526" + integrity sha512-oAo2vi5d8QZnAbtU5+0cR2j+A7PO8zuccux65R/EycwvsZrDVyW518FFrnJK2UQxbRtHFFIG+NjQ6vOiJV0Q8A== dependencies: "@commitlint/format" "^17.0.0" - "@commitlint/lint" "^17.0.0" - "@commitlint/load" "^17.0.0" + "@commitlint/lint" "^17.0.3" + "@commitlint/load" "^17.0.3" "@commitlint/read" "^17.0.0" "@commitlint/types" "^17.0.0" execa "^5.0.0" @@ -1389,14 +1381,14 @@ resolve-global "1.0.0" yargs "^17.0.0" -"@commitlint/config-conventional@^17.0.0": - version "17.0.2" - resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.0.2.tgz#298c9076e25c1e8760f04ee1be8ce43c856a4b72" - integrity sha512-MfP0I/JbxKkzo+HXWB7B3WstGS4BiniotU3d3xQ9gK8cR0DbeZ4MuyGCWF65YDyrcDTS3WlrJ3ndSPA1pqhoPw== +"@commitlint/config-conventional@^17.0.3": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-17.0.3.tgz#61e937357ce63ea08a2017e58b918748fcf3abc5" + integrity sha512-HCnzTm5ATwwwzNVq5Y57poS0a1oOOcd5pc1MmBpLbGmSysc4i7F/++JuwtdFPu16sgM3H9J/j2zznRLOSGVO2A== dependencies: conventional-changelog-conventionalcommits "^5.0.0" -"@commitlint/config-lerna-scopes@^17.0.0": +"@commitlint/config-lerna-scopes@^17.0.2": version "17.0.2" resolved "https://registry.yarnpkg.com/@commitlint/config-lerna-scopes/-/config-lerna-scopes-17.0.2.tgz#6ce9253a57283a99dce79edc8377644853c44df2" integrity sha512-skesAuJwTSnjoeNlPHgPpG8T4L7JZFMpZ2dA2EWWdO9oSRipKFezxoSLJ06mIkoMyWViwHekC9lkPb4FibYyiw== @@ -1406,13 +1398,13 @@ resolve-pkg "2.0.0" semver "7.3.7" -"@commitlint/config-validator@^17.0.0": - version "17.0.0" - resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-17.0.0.tgz#49ab09f3ca0ac3449e79ea389cb4942423162ac0" - integrity sha512-78IQjoZWR4kDHp/U5y17euEWzswJpPkA9TDL5F6oZZZaLIEreWzrDZD5PWtM8MsSRl/K2LDU/UrzYju2bKLMpA== +"@commitlint/config-validator@^17.0.3": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@commitlint/config-validator/-/config-validator-17.0.3.tgz#5d1ec17eece1f85a0d06c05d168a039b313eb5d7" + integrity sha512-3tLRPQJKapksGE7Kee9axv+9z5I2GDHitDH4q63q7NmNA0wkB+DAorJ0RHz2/K00Zb1/MVdHzhCga34FJvDihQ== dependencies: "@commitlint/types" "^17.0.0" - ajv "^6.12.6" + ajv "^8.11.0" "@commitlint/ensure@^17.0.0": version "17.0.0" @@ -1435,32 +1427,32 @@ "@commitlint/types" "^17.0.0" chalk "^4.1.0" -"@commitlint/is-ignored@^17.0.0": - version "17.0.0" - resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-17.0.0.tgz#64f53517b390689e58aa3c29fbf1e05b7d4fbd65" - integrity sha512-UmacD0XM/wWykgdXn5CEWVS4XGuqzU+ZGvM2hwv85+SXGnIOaG88XHrt81u37ZeVt1riWW+YdOxcJW6+nd5v5w== +"@commitlint/is-ignored@^17.0.3": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-17.0.3.tgz#0e1c725c1e50aea5852fb1260bc92b2ee1856425" + integrity sha512-/wgCXAvPtFTQZxsVxj7owLeRf5wwzcXLaYmrZPR4a87iD4sCvUIRl1/ogYrtOyUmHwWfQsvjqIB4mWE/SqWSnA== dependencies: "@commitlint/types" "^17.0.0" semver "7.3.7" -"@commitlint/lint@^17.0.0": - version "17.0.0" - resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-17.0.0.tgz#38ef61e0e977d738f738233fbcdf33a5fc04cf96" - integrity sha512-5FL7VLvGJQby24q0pd4UdM8FNFcL+ER1T/UBf8A9KRL5+QXV1Rkl6Zhcl7+SGpGlVo6Yo0pm6aLW716LVKWLGg== +"@commitlint/lint@^17.0.3": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-17.0.3.tgz#98542a48f03b5c144309e24cbe1c032366ea75e2" + integrity sha512-2o1fk7JUdxBUgszyt41sHC/8Nd5PXNpkmuOo9jvGIjDHzOwXyV0PSdbEVTH3xGz9NEmjohFHr5l+N+T9fcxong== dependencies: - "@commitlint/is-ignored" "^17.0.0" + "@commitlint/is-ignored" "^17.0.3" "@commitlint/parse" "^17.0.0" "@commitlint/rules" "^17.0.0" "@commitlint/types" "^17.0.0" -"@commitlint/load@^17.0.0": - version "17.0.0" - resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-17.0.0.tgz#0bbefe6d8b99276714c5ea8ef32de2bd2f082698" - integrity sha512-XaiHF4yWQOPAI0O6wXvk+NYLtJn/Xb7jgZEeKd4C1ZWd7vR7u8z5h0PkWxSr0uLZGQsElGxv3fiZ32C5+q6M8w== +"@commitlint/load@^17.0.3": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-17.0.3.tgz#683aa484a5515714512e442f2f4b11f75e66097a" + integrity sha512-3Dhvr7GcKbKa/ey4QJ5MZH3+J7QFlARohUow6hftQyNjzoXXROm+RwpBes4dDFrXG1xDw9QPXA7uzrOShCd4bw== dependencies: - "@commitlint/config-validator" "^17.0.0" + "@commitlint/config-validator" "^17.0.3" "@commitlint/execute-rule" "^17.0.0" - "@commitlint/resolve-extends" "^17.0.0" + "@commitlint/resolve-extends" "^17.0.3" "@commitlint/types" "^17.0.0" "@types/node" ">=12" chalk "^4.1.0" @@ -1494,12 +1486,12 @@ fs-extra "^10.0.0" git-raw-commits "^2.0.0" -"@commitlint/resolve-extends@^17.0.0": - version "17.0.0" - resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-17.0.0.tgz#3a40ee08184b984acf475ebc962641f435e3a639" - integrity sha512-wi60WiJmwaQ7lzMXK8Vbc18Hq9tE2j/6iv2AFfPUGV7fvfY6Sf1iNKuUHirSqR0fquUyufIXe4y/K9A6LVIIvw== +"@commitlint/resolve-extends@^17.0.3": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-17.0.3.tgz#43b237899e2abd59d16af091521b888c8a071412" + integrity sha512-H/RFMvrcBeJCMdnVC4i8I94108UDccIHrTke2tyQEg9nXQnR5/Hd6MhyNWkREvcrxh9Y+33JLb+PiPiaBxCtBA== dependencies: - "@commitlint/config-validator" "^17.0.0" + "@commitlint/config-validator" "^17.0.3" "@commitlint/types" "^17.0.0" import-fresh "^3.0.0" lodash "^4.17.19" @@ -1975,7 +1967,7 @@ leven "3" whatwg-mimetype "2" -"@markuplint/vue-parser@^2.3.0": +"@markuplint/vue-parser@^2.3.1": version "2.3.1" resolved "https://registry.yarnpkg.com/@markuplint/vue-parser/-/vue-parser-2.3.1.tgz#2415a85f7351612ad647c30e0e7db42bfad4a51c" integrity sha512-t1pINE1jzxatdscLJ4gOgbdOr9WB/MYdSr80E2BbwreRC8cYpJKT61vyfOmprBmnJSmssduxOUNi5YtkaiN5ig== @@ -1993,6 +1985,16 @@ dependencies: "@markuplint/ml-spec" "2.1.0" +"@mozilla/glean@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@mozilla/glean/-/glean-1.0.0.tgz#2d9716a57bac740fa69e0891fd7af898e06f375c" + integrity sha512-2RzkubrxaCV7mkmCXgBmD16XbDuK4SVqlMdLv3zez2lb3WXnLo6j+C+IKIgBke/f/iGgz6O4SISjTAhkaPvgNQ== + dependencies: + fflate "^0.7.1" + jose "^4.0.4" + tslib "^2.3.1" + uuid "^8.3.2" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -2076,7 +2078,7 @@ tiny-glob "^0.2.9" tslib "^2.4.0" -"@prettier/plugin-pug@^2.1.0": +"@prettier/plugin-pug@^2.1.1": version "2.1.1" resolved "https://registry.yarnpkg.com/@prettier/plugin-pug/-/plugin-pug-2.1.1.tgz#4426a0aa73abbaab36a5f8abc844e069bb2fe4e4" integrity sha512-YSeE1Z1BCR/ylKv9WE66mvS0OqXaNRoRFFz/VtLoHeU98QZSljUUehyql7Se5NJSUhRSEbkpla42sPu8Ms6Epg== @@ -2292,6 +2294,14 @@ dependencies: "@types/ms" "*" +"@types/enhanced-resolve@^3.0.7": + version "3.0.7" + resolved "https://registry.yarnpkg.com/@types/enhanced-resolve/-/enhanced-resolve-3.0.7.tgz#3d24e24192a5e5a9cb012041013d2f950d1a0d7d" + integrity sha512-H23Fzk0BCz4LoKq1ricnLSRQuzoXTv57bGUwC+Cn84kKPaoHIS7bhFhfy4DzMeSBxoXc6jFziYoqpCab1U511w== + dependencies: + "@types/node" "*" + "@types/tapable" "^0" + "@types/estree-jsx@^0.0.1": version "0.0.1" resolved "https://registry.yarnpkg.com/@types/estree-jsx/-/estree-jsx-0.0.1.tgz#c36d7a1afeb47a95a8ee0b7bc8bc705db38f919d" @@ -2316,7 +2326,7 @@ dependencies: "@types/node" "*" -"@types/glob@^7.1.1", "@types/glob@^7.2.0": +"@types/glob@^7.1.1": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== @@ -2338,6 +2348,11 @@ dependencies: "@types/unist" "*" +"@types/is-core-module@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@types/is-core-module/-/is-core-module-2.2.0.tgz#a6f01308db449fb9200cc8b8b05aa26f404f0ddb" + integrity sha512-4jdbEoadP1B6v5/6YoVFPKUr2NC+knEWMSllpX3cL4FAZktVmveeWTcUHQY7bU6Vx8TEt/ARbQyQapkZvGgFog== + "@types/is-empty@^1.0.0": version "1.2.1" resolved "https://registry.yarnpkg.com/@types/is-empty/-/is-empty-1.2.1.tgz#18d7256a73e43ec51f8b75c25fbdc31350be52a6" @@ -2436,11 +2451,6 @@ dependencies: "@types/node" "*" -"@types/resolve@^1.20.2": - version "1.20.2" - resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.20.2.tgz#97d26e00cd4a0423b4af620abecf3e6f442b7975" - integrity sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q== - "@types/stack-utils@^2.0.0": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" @@ -2451,6 +2461,11 @@ resolved "https://registry.yarnpkg.com/@types/supports-color/-/supports-color-8.1.1.tgz#1b44b1b096479273adf7f93c75fc4ecc40a61ee4" integrity sha512-dPWnWsf+kzIG140B8z2w3fr5D03TLWbOAFQl45xUpI3vcizeXriNR5VYkWZ+WTMsUHqZ9Xlt3hrxGNANFyNQfw== +"@types/tapable@^0": + version "0.2.5" + resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-0.2.5.tgz#2443fc12da514c81346b1a665675559cee21fa75" + integrity sha512-dEoVvo/I9QFomyhY+4Q6Qk+I+dhG59TYceZgC6Q0mCifVPErx6Y83PNTKGDS5e9h9Eti6q0S2mm16BU6iQK+3w== + "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2", "@types/unist@^2.0.6": version "2.0.6" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" @@ -2468,7 +2483,7 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^5.28.0": +"@typescript-eslint/eslint-plugin@^5.29.0": version "5.29.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.29.0.tgz#c67794d2b0fd0b4a47f50266088acdc52a08aab6" integrity sha512-kgTsISt9pM53yRFQmLZ4npj99yGl3x3Pl7z4eA66OuTzAGC4bQB5H5fuLwPnqTKU3yyrrg4MIhjF17UYnL4c0w== @@ -2483,14 +2498,7 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@5.27.1": - version "5.27.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.27.1.tgz#c5c5121a75cf875bfae8083c50f5ae7bfde6145a" - integrity sha512-Vd8uewIixGP93sEnmTRIH6jHZYRQRkGPDPpapACMvitJKX8335VHNyqKTE+mZ+m3E2c5VznTZfSsSsS5IF7vUA== - dependencies: - "@typescript-eslint/utils" "5.27.1" - -"@typescript-eslint/parser@^5.28.0": +"@typescript-eslint/parser@^5.29.0": version "5.29.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.29.0.tgz#41314b195b34d44ff38220caa55f3f93cfca43cf" integrity sha512-ruKWTv+x0OOxbzIw9nW5oWlUopvP/IQDjB5ZqmTglLIoDTctLlAJpAQFpNPJP/ZI7hTT9sARBosEfaKbcFuECw== @@ -2500,14 +2508,6 @@ "@typescript-eslint/typescript-estree" "5.29.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.27.1": - version "5.27.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.27.1.tgz#4d1504392d01fe5f76f4a5825991ec78b7b7894d" - integrity sha512-fQEOSa/QroWE6fAEg+bJxtRZJTH8NTskggybogHt4H9Da8zd4cJji76gA5SBlR0MgtwF7rebxTbDKB49YUCpAg== - dependencies: - "@typescript-eslint/types" "5.27.1" - "@typescript-eslint/visitor-keys" "5.27.1" - "@typescript-eslint/scope-manager@5.29.0": version "5.29.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.29.0.tgz#2a6a32e3416cb133e9af8dcf54bf077a916aeed3" @@ -2525,29 +2525,11 @@ debug "^4.3.4" tsutils "^3.21.0" -"@typescript-eslint/types@5.27.1": - version "5.27.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.27.1.tgz#34e3e629501349d38be6ae97841298c03a6ffbf1" - integrity sha512-LgogNVkBhCTZU/m8XgEYIWICD6m4dmEDbKXESCbqOXfKZxRKeqpiJXQIErv66sdopRKZPo5l32ymNqibYEH/xg== - "@typescript-eslint/types@5.29.0": version "5.29.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.29.0.tgz#7861d3d288c031703b2d97bc113696b4d8c19aab" integrity sha512-X99VbqvAXOMdVyfFmksMy3u8p8yoRGITgU1joBJPzeYa0rhdf5ok9S56/itRoUSh99fiDoMtarSIJXo7H/SnOg== -"@typescript-eslint/typescript-estree@5.27.1": - version "5.27.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.27.1.tgz#7621ee78607331821c16fffc21fc7a452d7bc808" - integrity sha512-DnZvvq3TAJ5ke+hk0LklvxwYsnXpRdqUY5gaVS0D4raKtbznPz71UJGnPTHEFo0GDxqLOLdMkkmVZjSpET1hFw== - dependencies: - "@typescript-eslint/types" "5.27.1" - "@typescript-eslint/visitor-keys" "5.27.1" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" - "@typescript-eslint/typescript-estree@5.29.0": version "5.29.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.29.0.tgz#e83d19aa7fd2e74616aab2f25dfbe4de4f0b5577" @@ -2561,18 +2543,6 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/utils@5.27.1": - version "5.27.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.27.1.tgz#b4678b68a94bc3b85bf08f243812a6868ac5128f" - integrity sha512-mZ9WEn1ZLDaVrhRaYgzbkXBkTPghPFsup8zDbbsYTxC5OmqrFE7skkKS/sraVsLP3TcT3Ki5CSyEFBRkLH/H/w== - dependencies: - "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.27.1" - "@typescript-eslint/types" "5.27.1" - "@typescript-eslint/typescript-estree" "5.27.1" - eslint-scope "^5.1.1" - eslint-utils "^3.0.0" - "@typescript-eslint/utils@5.29.0", "@typescript-eslint/utils@^5.10.0": version "5.29.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.29.0.tgz#775046effd5019667bd086bcf326acbe32cd0082" @@ -2585,14 +2555,6 @@ eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/visitor-keys@5.27.1": - version "5.27.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.27.1.tgz#05a62666f2a89769dac2e6baa48f74e8472983af" - integrity sha512-xYs6ffo01nhdJgPieyk7HAOpjhTsx7r/oB9LWEhwAXgwn33tkr+W8DI2ChboqhZlC4q3TC6geDYPoiX8ROqyOQ== - dependencies: - "@typescript-eslint/types" "5.27.1" - eslint-visitor-keys "^3.3.0" - "@typescript-eslint/visitor-keys@5.29.0": version "5.29.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.29.0.tgz#7a4749fa7ef5160c44a451bf060ac1dc6dfb77ee" @@ -2754,7 +2716,7 @@ aggregate-error@^3.0.0: clean-stack "^2.0.0" indent-string "^4.0.0" -ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.6: +ajv@^6.10.0, ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -2764,6 +2726,16 @@ ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.6: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^8.11.0: + version "8.11.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.0.tgz#977e91dd96ca669f54a11e23e378e33b884a565f" + integrity sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" @@ -2857,13 +2829,10 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -aria-query@^4.2.2: - version "4.2.2" - resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" - integrity sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA== - dependencies: - "@babel/runtime" "^7.10.2" - "@babel/runtime-corejs3" "^7.10.2" +aria-query@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.0.0.tgz#210c21aaf469613ee8c9a62c7f86525e058db52c" + integrity sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg== array-ify@^1.0.0: version "1.0.0" @@ -2916,10 +2885,10 @@ astral-regex@^2.0.0: resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== -axobject-query@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" - integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA== +axobject-query@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.0.1.tgz#160e20533a7010db37726df68b7faf7db9653acd" + integrity sha512-vy5JPSOibF9yAeC2PoemRdA1MuSXX7vX5osdoxKf/6OUeppAWekZ3JIJVNWFMH6wgj7uHYyqZUSqE/b/3JLV1A== babel-jest@^28.1.1: version "28.1.1" @@ -3692,12 +3661,7 @@ core-js-compat@^3.21.0, core-js-compat@^3.22.1: browserslist "^4.20.4" semver "7.0.0" -core-js-pure@^3.20.2: - version "3.23.2" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.23.2.tgz#efe5e486469c5ed2d088d76e973eb12e74a930e7" - integrity sha512-t6u7H4Ff/yZNk+zqTr74UjCcZ3k8ApBryeLLV4rYQd9aF3gqmjjGjjR44ENfeBMH8VVvSynIjAJ0mUuFhzQtrA== - -core-js@^3.22.2, core-js@^3.23.1: +core-js@^3.23.1, core-js@^3.23.2: version "3.23.2" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.23.2.tgz#e07a60ca8b14dd129cabdc3d2551baf5a01c76f0" integrity sha512-ELJOWxNrJfOH/WK4VJ3Qd+fOqZuOuDNDJz0xG6Bt4mGg2eO/UT9CljCrbqDGovjLKUrGajEEBcoTOc0w+yBYeQ== @@ -4091,6 +4055,14 @@ end-of-stream@^1.1.0: dependencies: once "^1.4.0" +enhanced-resolve@^5.9.3: + version "5.9.3" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz#44a342c012cbc473254af5cc6ae20ebd0aae5d88" + integrity sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + enquirer@^2.3.6: version "2.3.6" resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" @@ -4398,7 +4370,7 @@ eslint-import-resolver-node@^0.3.6: debug "^3.2.7" resolve "^1.20.0" -eslint-import-resolver-typescript@^2.7.1: +eslint-import-resolver-typescript@^3.0.0: version "0.0.0" "eslint-import-resolver-typescript@link:.": @@ -4545,7 +4517,7 @@ eslint-plugin-react-hooks@^4.6.0: resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3" integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g== -eslint-plugin-react@^7.30.0: +eslint-plugin-react@^7.30.1: version "7.30.1" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.30.1.tgz#2be4ab23ce09b5949c6631413ba64b2810fd3e22" integrity sha512-NbEvI9jtqO46yJA3wcRF9Mo0lF9T/jhdHqhCHXiXtD+Zcb98812wvokjWpU7Q4QH5edo6dmqrukxVvWWXHlsUg== @@ -4969,6 +4941,11 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" +fflate@^0.7.1: + version "0.7.3" + resolved "https://registry.yarnpkg.com/fflate/-/fflate-0.7.3.tgz#288b034ff0e9c380eaa2feff48c787b8371b7fa5" + integrity sha512-0Zz1jOzJWERhyhsimS54VTqOteCNwRtIlh8isdL0AXLo0g7xNTfTL7oWrkmCnPhZGocKIkWHBistBrrpoNH3aw== + figgy-pudding@^3.5.1: version "3.5.2" resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e" @@ -5325,7 +5302,7 @@ globrex@^0.1.2: resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098" integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg== -graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.9: +graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== @@ -6251,6 +6228,11 @@ jest@^28.1.1: import-local "^3.0.2" jest-cli "^28.1.1" +jose@^4.0.4: + version "4.8.1" + resolved "https://registry.yarnpkg.com/jose/-/jose-4.8.1.tgz#dc7c2660b115ba29b44880e588c5ac313c158247" + integrity sha512-+/hpTbRcCw9YC0TOfN1W47pej4a9lRmltdOVdRLz5FP5UvUq3CenhXjQK7u/8NdMIIShMXYAh9VLPhc7TjhvFw== + joycon@^3.0.1: version "3.1.1" resolved "https://registry.yarnpkg.com/joycon/-/joycon-3.1.1.tgz#bce8596d6ae808f8b68168f5fc69280996894f03" @@ -6306,6 +6288,11 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" @@ -6451,7 +6438,7 @@ lines-and-columns@^2.0.2: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w== -lint-staged@^13.0.2: +lint-staged@^13.0.3: version "13.0.3" resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-13.0.3.tgz#d7cdf03a3830b327a2b63c6aec953d71d9dc48c6" integrity sha512-9hmrwSCFroTSYLjflGI8Uk+GWAwMB4OlpU4bMJEAT5d/llQwtYKoim4bLOyLCuWFAhWEupE0vkIFqtw/WIsPug== @@ -6666,7 +6653,7 @@ markdown-table@^3.0.0: resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-3.0.2.tgz#9b59eb2c1b22fe71954a65ff512887065a7bb57c" integrity sha512-y8j3a5/DkJCmS5x4dMCQL+OR0+2EAq3DOtio1COSHsmW2BGXnNCK3v12hJt1LrUz5iZH5g0LmuYOjDdI+czghA== -markuplint-angular-parser@^1.1.1: +markuplint-angular-parser@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/markuplint-angular-parser/-/markuplint-angular-parser-1.1.2.tgz#5fd170cd0ed492ccb5af266afd96db46f931cbf2" integrity sha512-nEHdzQTjb/l0dB5yo8weZo9VsL3qcTjR1+p97IqGwnt/rfS4KaHs3b+fhEXap1dRHoc8vZGo37Vq+n99Uuc8Pw== @@ -9426,6 +9413,11 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + resolve-cwd@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" @@ -9470,7 +9462,7 @@ resolve.exports@^1.1.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@^1.10.0, resolve@^1.10.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1: +resolve@^1.10.0, resolve@^1.10.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -10126,6 +10118,11 @@ synckit@^0.7.1: "@pkgr/utils" "^2.1.0" tslib "^2.4.0" +tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + terminal-link@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994"