Eric Amodio 3 лет назад
Родитель
Сommit
eb9e7c3198
16 измененных файлов: 161 добавлений и 133 удалений
  1. +7
    -7
      package.json
  2. +4
    -5
      src/commands/git/branch.ts
  3. +2
    -2
      src/commands/git/fetch.ts
  4. +2
    -2
      src/commands/git/merge.ts
  5. +2
    -2
      src/commands/git/pull.ts
  6. +2
    -2
      src/commands/git/push.ts
  7. +2
    -2
      src/commands/git/rebase.ts
  8. +5
    -1
      src/commands/git/stash.ts
  9. +3
    -3
      src/commands/git/tag.ts
  10. +18
    -13
      src/commands/quickCommand.steps.ts
  11. +10
    -3
      src/commands/quickCommand.ts
  12. +5
    -4
      src/git/remotes/azure-devops.ts
  13. +1
    -1
      src/git/remotes/bitbucket-server.ts
  14. +1
    -1
      src/git/remotes/provider.ts
  15. +3
    -3
      src/views/nodes/viewNode.ts
  16. +94
    -82
      yarn.lock

+ 7
- 7
package.json Просмотреть файл

@ -9010,12 +9010,12 @@
"@types/node": "12.12.70",
"@types/sortablejs": "1.10.6",
"@types/vscode": "1.52.0",
"@typescript-eslint/eslint-plugin": "4.12.0",
"@typescript-eslint/parser": "4.12.0",
"@typescript-eslint/eslint-plugin": "4.13.0",
"@typescript-eslint/parser": "4.13.0",
"circular-dependency-plugin": "5.2.2",
"clean-webpack-plugin": "3.0.0",
"copy-webpack-plugin": "7.0.0",
"csp-html-webpack-plugin": "5.0.1",
"csp-html-webpack-plugin": "5.1.0",
"css-loader": "5.0.1",
"eslint": "7.17.0",
"eslint-cli": "1.1.1",
@ -9027,15 +9027,15 @@
"html-webpack-skip-assets-plugin": "0.0.2",
"image-minimizer-webpack-plugin": "2.2.0",
"imagemin-webp": "6.0.0",
"mini-css-extract-plugin": "1.3.3",
"mini-css-extract-plugin": "1.3.4",
"node-sass": "5.0.0",
"prettier": "2.2.1",
"sass-loader": "10.1.0",
"sass-loader": "10.1.1",
"terser-webpack-plugin": "5.1.1",
"ts-loader": "8.0.14",
"typescript": "4.0.5",
"typescript": "4.2.0-beta",
"vsce": "1.83.0",
"webpack": "5.12.3",
"webpack": "5.14.0",
"webpack-bundle-analyzer": "4.3.0",
"webpack-cli": "4.2.0"
}

+ 4
- 5
src/commands/git/branch.ts Просмотреть файл

@ -4,6 +4,7 @@ import { Container } from '../../container';
import { GitBranchReference, GitReference, Repository } from '../../git/git';
import {
appendReposToTitle,
AsyncStepResultGenerator,
inputBranchNameStep,
PartialStepState,
pickBranchesStep,
@ -244,7 +245,7 @@ export class BranchGitCommand extends QuickCommand {
return QuickCommand.canPickStepContinue(step, state, selection) ? selection[0].item : StepResult.Break;
}
private async *createCommandSteps(state: CreateStepState, context: Context): StepResultGenerator<void> {
private async *createCommandSteps(state: CreateStepState, context: Context): AsyncStepResultGenerator<void> {
if (state.flags == null) {
state.flags = [];
}
@ -317,8 +318,7 @@ export class BranchGitCommand extends QuickCommand {
return QuickCommand.canPickStepContinue(step, state, selection) ? selection[0].item : StepResult.Break;
}
// eslint-disable-next-line @typescript-eslint/require-await
private async *deleteCommandSteps(state: DeleteStepState, context: Context): StepResultGenerator<void> {
private async *deleteCommandSteps(state: DeleteStepState, context: Context): AsyncStepResultGenerator<void> {
if (state.flags == null) {
state.flags = [];
}
@ -422,8 +422,7 @@ export class BranchGitCommand extends QuickCommand {
return QuickCommand.canPickStepContinue(step, state, selection) ? selection[0].item : StepResult.Break;
}
// eslint-disable-next-line @typescript-eslint/require-await
private async *renameCommandSteps(state: RenameStepState, context: Context): StepResultGenerator<void> {
private async *renameCommandSteps(state: RenameStepState, context: Context): AsyncStepResultGenerator<void> {
if (state.flags == null) {
state.flags = [];
}

+ 2
- 2
src/commands/git/fetch.ts Просмотреть файл

@ -4,13 +4,13 @@ import { Container } from '../../container';
import { GitBranchReference, GitReference, Repository } from '../../git/git';
import {
appendReposToTitle,
AsyncStepResultGenerator,
PartialStepState,
pickRepositoriesStep,
QuickCommand,
QuickPickStep,
StepGenerator,
StepResult,
StepResultGenerator,
StepSelection,
StepState,
} from '../quickCommand';
@ -130,7 +130,7 @@ export class FetchGitCommand extends QuickCommand {
return state.counter < 0 ? StepResult.Break : undefined;
}
private async *confirmStep(state: FetchStepState, context: Context): StepResultGenerator<Flags[]> {
private async *confirmStep(state: FetchStepState, context: Context): AsyncStepResultGenerator<Flags[]> {
let lastFetchedOn = '';
if (state.repos.length === 1) {
const lastFetched = await state.repos[0].getLastFetched();

+ 2
- 2
src/commands/git/merge.ts Просмотреть файл

@ -3,6 +3,7 @@ import { Container } from '../../container';
import { GitBranch, GitLog, GitReference, GitRevision, Repository } from '../../git/git';
import {
appendReposToTitle,
AsyncStepResultGenerator,
PartialStepState,
pickBranchOrTagStep,
pickCommitStep,
@ -12,7 +13,6 @@ import {
QuickPickStep,
StepGenerator,
StepResult,
StepResultGenerator,
StepSelection,
StepState,
} from '../quickCommand';
@ -194,7 +194,7 @@ export class MergeGitCommand extends QuickCommand {
return state.counter < 0 ? StepResult.Break : undefined;
}
private async *confirmStep(state: MergeStepState, context: Context): StepResultGenerator<Flags[]> {
private async *confirmStep(state: MergeStepState, context: Context): AsyncStepResultGenerator<Flags[]> {
const aheadBehind = await Container.git.getAheadBehindCommitCount(state.repo.path, [
GitRevision.createRange(context.destination.name, state.reference.name),
]);

+ 2
- 2
src/commands/git/pull.ts Просмотреть файл

@ -3,6 +3,7 @@ import { Container } from '../../container';
import { GitBranch, GitBranchReference, GitReference, Repository } from '../../git/git';
import {
appendReposToTitle,
AsyncStepResultGenerator,
PartialStepState,
pickRepositoriesStep,
QuickCommand,
@ -10,7 +11,6 @@ import {
QuickPickStep,
StepGenerator,
StepResult,
StepResultGenerator,
StepSelection,
StepState,
} from '../quickCommand';
@ -136,7 +136,7 @@ export class PullGitCommand extends QuickCommand {
return state.counter < 0 ? StepResult.Break : undefined;
}
private async *confirmStep(state: PullStepState, context: Context): StepResultGenerator<Flags[]> {
private async *confirmStep(state: PullStepState, context: Context): AsyncStepResultGenerator<Flags[]> {
let step: QuickPickStep<FlagsQuickPickItem<Flags>>;
if (state.repos.length > 1) {

+ 2
- 2
src/commands/git/push.ts Просмотреть файл

@ -5,6 +5,7 @@ import { Container } from '../../container';
import { GitBranch, GitBranchReference, GitReference, Repository } from '../../git/git';
import {
appendReposToTitle,
AsyncStepResultGenerator,
PartialStepState,
pickRepositoriesStep,
pickRepositoryStep,
@ -13,7 +14,6 @@ import {
QuickPickStep,
StepGenerator,
StepResult,
StepResultGenerator,
StepSelection,
StepState,
} from '../quickCommand';
@ -151,7 +151,7 @@ export class PushGitCommand extends QuickCommand {
return state.counter < 0 ? StepResult.Break : undefined;
}
private async *confirmStep(state: PushStepState, context: Context): StepResultGenerator<Flags[]> {
private async *confirmStep(state: PushStepState, context: Context): AsyncStepResultGenerator<Flags[]> {
const useForceWithLease = configuration.getAny<boolean>('git.useForcePushWithLease') ?? false;
let step: QuickPickStep<FlagsQuickPickItem<Flags>>;

+ 2
- 2
src/commands/git/rebase.ts Просмотреть файл

@ -4,6 +4,7 @@ import { Container } from '../../container';
import { GitBranch, GitLog, GitReference, GitRevision, Repository } from '../../git/git';
import {
appendReposToTitle,
AsyncStepResultGenerator,
PartialStepState,
pickBranchOrTagStep,
pickCommitStep,
@ -13,7 +14,6 @@ import {
QuickPickStep,
StepGenerator,
StepResult,
StepResultGenerator,
StepSelection,
StepState,
} from '../quickCommand';
@ -226,7 +226,7 @@ export class RebaseGitCommand extends QuickCommand {
return state.counter < 0 ? StepResult.Break : undefined;
}
private async *confirmStep(state: RebaseStepState, context: Context): StepResultGenerator<Flags[]> {
private async *confirmStep(state: RebaseStepState, context: Context): AsyncStepResultGenerator<Flags[]> {
const aheadBehind = await Container.git.getAheadBehindCommitCount(state.repo.path, [
state.reference.refType === 'revision'
? GitRevision.createRange(state.reference.ref, context.destination.ref)

+ 5
- 1
src/commands/git/stash.ts Просмотреть файл

@ -7,6 +7,7 @@ import { GitUri } from '../../git/gitUri';
import { GitActions, GitCommandsCommand } from '../gitCommands';
import {
appendReposToTitle,
AsyncStepResultGenerator,
PartialStepState,
pickRepositoryStep,
pickStashStep,
@ -510,7 +511,10 @@ export class StashGitCommand extends QuickCommand {
}
}
private async *pushCommandInputMessageStep(state: PushStepState, context: Context): StepResultGenerator<string> {
private async *pushCommandInputMessageStep(
state: PushStepState,
context: Context,
): AsyncStepResultGenerator<string> {
const step = QuickCommand.createInputStep({
title: appendReposToTitle(
context.title,

+ 3
- 3
src/commands/git/tag.ts Просмотреть файл

@ -4,6 +4,7 @@ import { Container } from '../../container';
import { GitReference, GitTagReference, Repository } from '../../git/git';
import {
appendReposToTitle,
AsyncStepResultGenerator,
inputTagNameStep,
PartialStepState,
pickBranchOrTagStep,
@ -213,7 +214,7 @@ export class TagGitCommand extends QuickCommand {
return QuickCommand.canPickStepContinue(step, state, selection) ? selection[0].item : StepResult.Break;
}
private async *createCommandSteps(state: CreateStepState, context: Context): StepResultGenerator<void> {
private async *createCommandSteps(state: CreateStepState, context: Context): AsyncStepResultGenerator<void> {
if (state.flags == null) {
state.flags = [];
}
@ -270,7 +271,7 @@ export class TagGitCommand extends QuickCommand {
private async *createCommandInputMessageStep(
state: CreateStepState,
context: Context,
): StepResultGenerator<string> {
): AsyncStepResultGenerator<string> {
const step = QuickCommand.createInputStep({
title: appendReposToTitle(
`${context.title} at ${GitReference.toString(state.reference, { capitalize: true, icon: false })}`,
@ -324,7 +325,6 @@ export class TagGitCommand extends QuickCommand {
return QuickCommand.canPickStepContinue(step, state, selection) ? selection[0].item : StepResult.Break;
}
// eslint-disable-next-line @typescript-eslint/require-await
private async *deleteCommandSteps(state: DeleteStepState, context: Context): StepGenerator {
while (this.canStepsContinue(state)) {
if (state.references != null && !Array.isArray(state.references)) {

+ 18
- 13
src/commands/quickCommand.steps.ts Просмотреть файл

@ -26,6 +26,7 @@ import {
} from '../git/git';
import { GitService } from '../git/gitService';
import {
AsyncStepResultGenerator,
PartialStepState,
QuickCommand,
QuickCommandButtons,
@ -313,7 +314,7 @@ export async function* inputBranchNameStep<
state: State,
context: Context,
options: { placeholder: string; titleContext?: string; value?: string },
): StepResultGenerator<string> {
): AsyncStepResultGenerator<string> {
const step = QuickCommand.createInputStep({
title: appendReposToTitle(`${context.title}${options.titleContext ?? ''}`, state, context),
placeholder: options.placeholder,
@ -348,7 +349,7 @@ export async function* inputTagNameStep<
state: State,
context: Context,
options: { placeholder: string; titleContext?: string; value?: string },
): StepResultGenerator<string> {
): AsyncStepResultGenerator<string> {
const step = QuickCommand.createInputStep({
title: appendReposToTitle(`${context.title}${options.titleContext ?? ''}`, state, context),
placeholder: options.placeholder,
@ -393,7 +394,7 @@ export async function* pickBranchStep<
placeholder: string;
titleContext?: string;
},
): StepResultGenerator<GitBranchReference> {
): AsyncStepResultGenerator<GitBranchReference> {
const branches = await getBranches(state.repo, {
filterBranches: filterBranches,
picked: picked,
@ -457,7 +458,7 @@ export async function* pickBranchesStep<
placeholder: string;
titleContext?: string;
},
): StepResultGenerator<GitBranchReference[]> {
): AsyncStepResultGenerator<GitBranchReference[]> {
const branches = await getBranches(state.repo, {
filterBranches: filterBranches,
picked: picked,
@ -528,7 +529,7 @@ export async function* pickBranchOrTagStep<
additionalButtons?: QuickInputButton[];
ranges?: boolean;
},
): StepResultGenerator<GitReference> {
): AsyncStepResultGenerator<GitReference> {
context.showTags = true;
const showTagsButton = new QuickCommandButtons.ShowTagsToggle(context.showTags);
@ -641,7 +642,7 @@ export async function* pickBranchOrTagStepMultiRepo<
titleContext?: string;
value?: string;
},
): StepResultGenerator<GitReference> {
): AsyncStepResultGenerator<GitReference> {
context.showTags = state.repos.length === 1;
const showTagsButton = new QuickCommandButtons.ShowTagsToggle(context.showTags);
@ -765,7 +766,7 @@ export async function* pickCommitStep<
};
titleContext?: string;
},
): StepResultGenerator<GitLogCommit> {
): AsyncStepResultGenerator<GitLogCommit> {
function getItems(log: GitLog | undefined) {
return log == null
? [DirectiveQuickPickItem.create(Directive.Back, true), DirectiveQuickPickItem.create(Directive.Cancel)]
@ -1011,7 +1012,11 @@ export function* pickCommitsStep<
export async function* pickContributorsStep<
State extends PartialStepState & { repo: Repository },
Context extends { repos: Repository[]; title: string }
>(state: State, context: Context, placeholder: string = 'Choose contributors'): StepResultGenerator<GitContributor[]> {
>(
state: State,
context: Context,
placeholder: string = 'Choose contributors',
): AsyncStepResultGenerator<GitContributor[]> {
const message = (await GitService.getBuiltInGitRepository(state.repo.path))?.inputBox.value;
const step = QuickCommand.createPickStep<ContributorQuickPickItem>({
@ -1031,7 +1036,7 @@ export async function* pickContributorsStep<
export async function* pickRepositoryStep<
State extends PartialStepState & { repo?: string | Repository },
Context extends { repos: Repository[]; title: string }
>(state: State, context: Context, placeholder: string = 'Choose a repository'): StepResultGenerator<Repository> {
>(state: State, context: Context, placeholder: string = 'Choose a repository'): AsyncStepResultGenerator<Repository> {
if (typeof state.repo === 'string') {
state.repo = await Container.git.getRepository(state.repo);
if (state.repo != null) return state.repo;
@ -1086,7 +1091,7 @@ export async function* pickRepositoriesStep<
state: State,
context: Context,
options?: { placeholder?: string; skipIfPossible?: boolean },
): StepResultGenerator<Repository[]> {
): AsyncStepResultGenerator<Repository[]> {
options = { placeholder: 'Choose repositories', skipIfPossible: false, ...options };
let actives: Repository[];
@ -1259,7 +1264,7 @@ export async function* pickTagsStep<
placeholder: string;
titleContext?: string;
},
): StepResultGenerator<GitTagReference[]> {
): AsyncStepResultGenerator<GitTagReference[]> {
const tags = await getTags(state.repo, {
filterTags: filterTags,
picked: picked,
@ -1313,7 +1318,7 @@ export async function* showCommitOrStashStep<
>(
state: State,
context: Context,
): StepResultGenerator<CommitFilesQuickPickItem | GitCommandQuickPickItem | CommandQuickPickItem> {
): AsyncStepResultGenerator<CommitFilesQuickPickItem | GitCommandQuickPickItem | CommandQuickPickItem> {
const step: QuickPickStep<
CommitFilesQuickPickItem | GitCommandQuickPickItem | CommandQuickPickItem
> = QuickCommand.createPickStep({
@ -1638,7 +1643,7 @@ export async function* showCommitOrStashFileStep<
fileName: string;
},
Context extends { repos: Repository[]; title: string }
>(state: State, context: Context): StepResultGenerator<CommandQuickPickItem> {
>(state: State, context: Context): AsyncStepResultGenerator<CommandQuickPickItem> {
const step: QuickPickStep<CommandQuickPickItem> = QuickCommand.createPickStep<CommandQuickPickItem>({
title: appendReposToTitle(
GitReference.toString(state.reference, {

+ 10
- 3
src/commands/quickCommand.ts Просмотреть файл

@ -66,9 +66,16 @@ export namespace StepResult {
export const Break = Symbol('BreakStep');
}
export type StepResult<T> = typeof StepResult.Break | T;
export type StepResultGenerator<T> =
| Generator<QuickPickStep | QuickInputStep, StepResult<T>, any | undefined>
| AsyncGenerator<QuickPickStep | QuickInputStep, StepResult<T>, any | undefined>;
export type StepResultGenerator<T> = Generator<QuickPickStep | QuickInputStep, StepResult<T>, any | undefined>;
export type AsyncStepResultGenerator<T> = AsyncGenerator<
QuickPickStep | QuickInputStep,
StepResult<T>,
any | undefined
>;
// Can't use this union type because of https://github.com/microsoft/TypeScript/issues/41428
// export type StepResultGenerator<T> =
// | Generator<QuickPickStep | QuickInputStep, StepResult<T>, any | undefined>
// | AsyncGenerator<QuickPickStep | QuickInputStep, StepResult<T>, any | undefined>;
export type StepSelection<T> = T extends QuickPickStep<infer U>
? U[] | Directive
: T extends QuickInputStep

+ 5
- 4
src/git/remotes/azure-devops.ts Просмотреть файл

@ -74,13 +74,12 @@ export class AzureDevOpsRemote extends RemoteProvider {
return this._displayPath;
}
// eslint-disable-next-line @typescript-eslint/require-await
async getLocalInfoFromRemoteUri(
repository: Repository,
uri: Uri,
options?: { validate?: boolean },
): Promise<{ uri: Uri; startLine?: number; endLine?: number } | undefined> {
if (uri.authority !== this.domain) return undefined;
if (uri.authority !== this.domain) return Promise.resolve(undefined);
// if ((options?.validate ?? true) && !uri.path.startsWith(`/${this.path}/`)) return undefined;
let startLine;
@ -99,12 +98,14 @@ export class AzureDevOpsRemote extends RemoteProvider {
}
const match = fileRegex.exec(uri.query);
if (match == null) return undefined;
if (match == null) return Promise.resolve(undefined);
const [, path] = match;
const absoluteUri = repository.toAbsoluteUri(path, { validate: options?.validate });
return absoluteUri != null ? { uri: absoluteUri, startLine: startLine, endLine: endLine } : undefined;
return Promise.resolve(
absoluteUri != null ? { uri: absoluteUri, startLine: startLine, endLine: endLine } : undefined,
);
}
protected getUrlForBranches(): string {

+ 1
- 1
src/git/remotes/bitbucket-server.ts Просмотреть файл

@ -33,7 +33,7 @@ export class BitbucketServerRemote extends RemoteProvider {
return this._autolinks;
}
protected get baseUrl() {
protected get baseUrl() class="o">: string {
const [project, repo] = this.path.startsWith('scm/')
? this.path.replace('scm/', '').split('/')
: this.splitPath();

+ 1
- 1
src/git/remotes/provider.ts Просмотреть файл

@ -173,7 +173,7 @@ export abstract class RemoteProvider {
}
}
protected get baseUrl() {
protected get baseUrl() class="o">: string {
return `${this.protocol}://${this.domain}/${this.path}`;
}

+ 3
- 3
src/views/nodes/viewNode.ts Просмотреть файл

@ -90,7 +90,7 @@ export abstract class ViewNode {
toClipboard?(): string;
toString() {
toString() class="o">: string {
return `${Logger.toLoggableName(this)}${this.id != null ? `(${this.id})` : ''}`;
}
@ -141,7 +141,7 @@ export abstract class ViewRefNode<
return this.uri.repoPath!;
}
toString() {
toString() class="o">: string {
return `${super.toString()}:${GitReference.toString(this.ref, false)}`;
}
}
@ -150,7 +150,7 @@ export abstract class ViewRefFileNode extends ViewRef
abstract get file(): GitFile;
abstract get fileName(): string;
toString() {
toString() class="o">: string {
return `${super.toString()}:${this.fileName}`;
}
}

+ 94
- 82
yarn.lock Просмотреть файл

@ -161,7 +161,12 @@
"@types/estree" "*"
"@types/json-schema" "*"
"@types/estree@*", "@types/estree@^0.0.45":
"@types/estree@*":
version "0.0.46"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.46.tgz#0fb6bfbbeabd7a30880504993369c4bf1deab1fe"
integrity sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==
"@types/estree@^0.0.45":
version "0.0.45"
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884"
integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==
@ -258,9 +263,9 @@
source-map "^0.7.3"
"@types/webpack@^4.4.31":
version "4.41.25"
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.25.tgz#4d3b5aecc4e44117b376280fbfd2dc36697968c4"
integrity sha512-cr6kZ+4m9lp86ytQc1jPOJXgINQyz3kLLunZ57jznW+WIAL0JqZbGubQk4GlD42MuQL5JGOABrxdpqqWeovlVQ==
version "4.41.26"
resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.26.tgz#27a30d7d531e16489f9c7607c747be6bc1a459ef"
integrity sha512-7ZyTfxjCRwexh+EJFwRUM+CDB2XvgHl4vfuqf1ZKrgGvcS5BrNvPQqJh3tsZ0P6h6Aa1qClVHaJZszLPzpqHeA==
dependencies:
"@types/anymatch" "*"
"@types/node" "*"
@ -269,61 +274,62 @@
"@types/webpack-sources" "*"
source-map "^0.6.0"
"@typescript-eslint/eslint-plugin@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.12.0.tgz#00d1b23b40b58031e6d7c04a5bc6c1a30a2e834a"
integrity sha512-wHKj6q8s70sO5i39H2g1gtpCXCvjVszzj6FFygneNFyIAxRvNSVz9GML7XpqrB9t7hNutXw+MHnLN/Ih6uyB8Q==
"@typescript-eslint/eslint-plugin@4.13.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.13.0.tgz#5f580ea520fa46442deb82c038460c3dd3524bb6"
integrity sha512-ygqDUm+BUPvrr0jrXqoteMqmIaZ/bixYOc3A4BRwzEPTZPi6E+n44rzNZWaB0YvtukgP+aoj0i/fyx7FkM2p1w==
dependencies:
"@typescript-eslint/experimental-utils" "4.12.0"
"@typescript-eslint/scope-manager" "4.12.0"
"@typescript-eslint/experimental-utils" "4.13.0"
"@typescript-eslint/scope-manager" "4.13.0"
debug "^4.1.1"
functional-red-black-tree "^1.0.1"
lodash "^4.17.15"
regexpp "^3.0.0"
semver "^7.3.2"
tsutils "^3.17.1"
"@typescript-eslint/experimental-utils@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.12.0.tgz#372838e76db76c9a56959217b768a19f7129546b"
integrity sha512-MpXZXUAvHt99c9ScXijx7i061o5HEjXltO+sbYfZAAHxv3XankQkPaNi5myy0Yh0Tyea3Hdq1pi7Vsh0GJb0fA==
"@typescript-eslint/experimental-utils@4.13.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.13.0.tgz#9dc9ab375d65603b43d938a0786190a0c72be44e"
integrity sha512-/ZsuWmqagOzNkx30VWYV3MNB/Re/CGv/7EzlqZo5RegBN8tMuPaBgNK6vPBCQA8tcYrbsrTdbx3ixMRRKEEGVw==
dependencies:
"@types/json-schema" "^7.0.3"
"@typescript-eslint/scope-manager" "4.12.0"
"@typescript-eslint/types" "4.12.0"
"@typescript-eslint/typescript-estree" "4.12.0"
"@typescript-eslint/scope-manager" "4.13.0"
"@typescript-eslint/types" "4.13.0"
"@typescript-eslint/typescript-estree" "4.13.0"
eslint-scope "^5.0.0"
eslint-utils "^2.0.0"
"@typescript-eslint/parser@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.12.0.tgz#e1cf30436e4f916c31fcc962158917bd9e9d460a"
integrity sha512-9XxVADAo9vlfjfoxnjboBTxYOiNY93/QuvcPgsiKvHxW6tOZx1W4TvkIQ2jB3k5M0pbFP5FlXihLK49TjZXhuQ==
"@typescript-eslint/parser@4.13.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.13.0.tgz#c413d640ea66120cfcc37f891e8cb3fd1c9d247d"
integrity sha512-KO0J5SRF08pMXzq9+abyHnaGQgUJZ3Z3ax+pmqz9vl81JxmTTOUfQmq7/4awVfq09b6C4owNlOgOwp61pYRBSg==
dependencies:
"@typescript-eslint/scope-manager" "4.12.0"
"@typescript-eslint/types" "4.12.0"
"@typescript-eslint/typescript-estree" "4.12.0"
"@typescript-eslint/scope-manager" "4.13.0"
"@typescript-eslint/types" "4.13.0"
"@typescript-eslint/typescript-estree" "4.13.0"
debug "^4.1.1"
"@typescript-eslint/scope-manager@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.12.0.tgz#beeb8beca895a07b10c593185a5612f1085ef279"
integrity sha512-QVf9oCSVLte/8jvOsxmgBdOaoe2J0wtEmBr13Yz0rkBNkl5D8bfnf6G4Vhox9qqMIoG7QQoVwd2eG9DM/ge4Qg==
"@typescript-eslint/scope-manager@4.13.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.13.0.tgz#5b45912a9aa26b29603d8fa28f5e09088b947141"
integrity sha512-UpK7YLG2JlTp/9G4CHe7GxOwd93RBf3aHO5L+pfjIrhtBvZjHKbMhBXTIQNkbz7HZ9XOe++yKrXutYm5KmjWgQ==
dependencies:
"@typescript-eslint/types" "4.12.0"
"@typescript-eslint/visitor-keys" "4.12.0"
"@typescript-eslint/types" "4.13.0"
"@typescript-eslint/visitor-keys" "4.13.0"
"@typescript-eslint/types@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.12.0.tgz#fb891fe7ccc9ea8b2bbd2780e36da45d0dc055e5"
integrity sha512-N2RhGeheVLGtyy+CxRmxdsniB7sMSCfsnbh8K/+RUIXYYq3Ub5+sukRCjVE80QerrUBvuEvs4fDhz5AW/pcL6g==
"@typescript-eslint/types@4.13.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.13.0.tgz#6a7c6015a59a08fbd70daa8c83dfff86250502f8"
integrity sha512-/+aPaq163oX+ObOG00M0t9tKkOgdv9lq0IQv/y4SqGkAXmhFmCfgsELV7kOCTb2vVU5VOmVwXBXJTDr353C1rQ==
"@typescript-eslint/typescript-estree@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.12.0.tgz#3963418c850f564bdab3882ae23795d115d6d32e"
integrity sha512-gZkFcmmp/CnzqD2RKMich2/FjBTsYopjiwJCroxqHZIY11IIoN0l5lKqcgoAPKHt33H2mAkSfvzj8i44Jm7F4w==
"@typescript-eslint/typescript-estree@4.13.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.13.0.tgz#cf6e2207c7d760f5dfd8d18051428fadfc37b45e"
integrity sha512-9A0/DFZZLlGXn5XA349dWQFwPZxcyYyCFX5X88nWs2uachRDwGeyPz46oTsm9ZJE66EALvEns1lvBwa4d9QxMg==
dependencies:
"@typescript-eslint/types" "4.12.0"
"@typescript-eslint/visitor-keys" "4.12.0"
"@typescript-eslint/types" "4.13.0"
"@typescript-eslint/visitor-keys" "4.13.0"
debug "^4.1.1"
globby "^11.0.1"
is-glob "^4.0.1"
@ -331,12 +337,12 @@
semver "^7.3.2"
tsutils "^3.17.1"
"@typescript-eslint/visitor-keys@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.12.0.tgz#a470a79be6958075fa91c725371a83baf428a67a"
integrity sha512-hVpsLARbDh4B9TKYz5cLbcdMIOAoBYgFPCSP9FFS/liSF+b33gVNq8JHY3QGhHNVz85hObvL7BEYLlgx553WCw==
"@typescript-eslint/visitor-keys@4.13.0":
version "4.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.13.0.tgz#9acb1772d3b3183182b6540d3734143dce9476fe"
integrity sha512-6RoxWK05PAibukE7jElqAtNMq+RWZyqJ6Q/GdIxaiUj2Ept8jh8+FUVlbq9WxMYxkmEOPvCE5cRSyupMpwW31g==
dependencies:
"@typescript-eslint/types" "4.12.0"
"@typescript-eslint/types" "4.13.0"
eslint-visitor-keys "^2.0.0"
"@webassemblyjs/ast@1.11.0":
@ -889,9 +895,9 @@ cacheable-request@^2.1.1:
responselike "1.0.2"
call-bind@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.1.tgz#29aca9151f8ddcfd5b9b786898f005f425e88567"
integrity sha512-tvAvUwNcRikl3RVF20X9lsYmmepsovzTWeJiXjO0PkJp15uy/6xKFZOQtuiSULwYW+6ToZBprphCgWXC2dSgcQ==
version "1.0.2"
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c"
integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==
dependencies:
function-bind "^1.1.1"
get-intrinsic "^1.0.2"
@ -938,9 +944,9 @@ cancellationtoken@^2.0.1:
integrity sha512-uF4sHE5uh2VdEZtIRJKGoXAD9jm7bFY0tDRCzH4iLp262TOJ2lrtNHjMG2zc8H+GICOpELIpM7CGW5JeWnb3Hg==
caniuse-lite@^1.0.30001173:
version "1.0.30001174"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001174.tgz#0f2aca2153fd88ceb07a2bb982fc2acb787623c4"
integrity sha512-tqClL/4ThQq6cfFXH3oJL4rifFBeM6gTkphjao5kgwMaW9yn0tKgQLAEfKzDwj6HQWCB/aWo8kTFlSvIN8geEA==
version "1.0.30001176"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001176.tgz#e44bac506d4656bae4944a1417f41597bd307335"
integrity sha512-VWdkYmqdkDLRe0lvfJlZQ43rnjKqIGKHWhWWRbkqMsJIUaYDNf/K/sdZZcVO6YKQklubokdkJY+ujArsuJ5cag==
caseless@~0.12.0:
version "0.12.0"
@ -1251,10 +1257,10 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
shebang-command "^2.0.0"
which "^2.0.1"
csp-html-webpack-plugin@5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/csp-html-webpack-plugin/-/csp-html-webpack-plugin-5.0.1.tgz#287c5763ac1276eada1c1c93057b7d8593a55c22"
integrity sha512-oEmhF2lc20WLQd3F+5s+zLtR1ZNVxcOeMFLacD428/9DEV4DaVXSpUXdKuG1if/UqweIRwCxK4JkMyVVV3dNrw==
csp-html-webpack-plugin@5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/csp-html-webpack-plugin/-/csp-html-webpack-plugin-5.1.0.tgz#b3bfa5a50d207fe5b6bb4839dc33aa59621a35a0"
integrity sha512-6l/s6hACE+UA01PLReNKZfgLZWM98f7ewWmE79maDWIbEXiPcIWQGB3LQR/Zw+hPBj4XPZZ5zNrrO+aygqaLaQ==
dependencies:
cheerio "^1.0.0-rc.5"
lodash "^4.17.20"
@ -1636,9 +1642,9 @@ ecc-jsbn@~0.1.1:
safer-buffer "^2.1.0"
electron-to-chromium@^1.3.634:
version "1.3.635"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.635.tgz#8d1591eeca6b257d380061a2c04f0b3cc6c9e33b"
integrity sha512-RRriZOLs9CpW6KTLmgBqyUdnY0QNqqWs0HOtuQGGEMizOTNNn1P7sGRBxARnUeLejOsgwjDyRqT3E/CSst02ZQ==
version "1.3.639"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.639.tgz#0a27e3018ae3acf438a14a1dd4e41db4b8ab764e"
integrity sha512-bwl6/U6xb3d3CNufQU9QeO1L32ueouFwW4bWANSwdXR7LVqyLzWjNbynoKNfuC38QFB5Qn7O0l2KLqBkcXnC3Q==
emoji-regex@^7.0.1:
version "7.0.3"
@ -1663,18 +1669,18 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0:
once "^1.4.0"
enhanced-resolve@^4.0.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz#3b806f3bfafc1ec7de69551ef93cca46c1704126"
integrity sha512-3e87LvavsdxyoCfGusJnrZ5G8SLPOFeHSNpZI/ATL9a5leXo2k0w6MKnbqhdBad9qTobSfB20Ld7UmgoNbAZkQ==
version "4.5.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec"
integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==
dependencies:
graceful-fs "^4.1.2"
memory-fs "^0.5.0"
tapable "^1.0.0"
enhanced-resolve@^5.3.1:
version "5.4.1"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.4.1.tgz#c89b0c34f17f931902ef2913a125d4b825b49b6f"
integrity sha512-4GbyIMzYktTFoRSmkbgZ1LU+RXwf4AQ8Z+rSuuh1dC8plp0PPeaWvx6+G4hh4KnUJ48VoxKbNyA1QQQIUpXjYA==
enhanced-resolve@^5.7.0:
version "5.7.0"
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.7.0.tgz#525c5d856680fbd5052de453ac83e32049958b5c"
integrity sha512-6njwt/NsZFUKhM6j9U8hzVyD4E4r0x7NQzhTCbcWOJ0IQjNSAoalWmb0AE51Wn+fwan5qVESWi7t2ToBxs9vrw==
dependencies:
graceful-fs "^4.2.4"
tapable "^2.2.0"
@ -1743,6 +1749,11 @@ es-abstract@^1.18.0-next.1:
string.prototype.trimend "^1.0.1"
string.prototype.trimstart "^1.0.1"
es-module-lexer@^0.3.26:
version "0.3.26"
resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.3.26.tgz#7b507044e97d5b03b01d4392c74ffeb9c177a83b"
integrity sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA==
es-to-primitive@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"
@ -3374,10 +3385,10 @@ mimic-response@^1.0.0:
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b"
integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==
mini-css-extract-plugin@1.3.3:
version "1.3.3"
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-1.3.3.tgz#7802e62b34199aa7d1a62e654395859a836486a0"
integrity sha512-7lvliDSMiuZc81kI+5/qxvn47SCM7BehXex3f2c6l/pR3Goj58IQxZh9nuPQ3AkGQgoETyXuIqLDaO5Oa0TyBw==
mini-css-extract-plugin@1.3.4:
version "1.3.4"
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-1.3.4.tgz#706e69632cdcdb8b15bf8e638442a0dba304a9c8"
integrity sha512-dNjqyeogUd8ucUgw5sxm1ahvSfSUgef7smbmATRSbDm4EmNx5kQA6VdUEhEeCKSjX6CTYjb5vxgMUvRjqP3uHg==
dependencies:
loader-utils "^2.0.0"
schema-utils "^3.0.0"
@ -4424,10 +4435,10 @@ sass-graph@2.2.5:
scss-tokenizer "^0.2.3"
yargs "^13.3.2"
sass-loader@10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.1.0.tgz#1727fcc0c32ab3eb197cda61d78adf4e9174a4b3"
integrity sha512-ZCKAlczLBbFd3aGAhowpYEy69Te3Z68cg8bnHHl6WnSCvnKpbM6pQrz957HWMa8LKVuhnD9uMplmMAHwGQtHeg==
sass-loader@10.1.1:
version "10.1.1"
resolved "https://registry.yarnpkg.com/sass-loader/-/sass-loader-10.1.1.tgz#4ddd5a3d7638e7949065dd6e9c7c04037f7e663d"
integrity sha512-W6gVDXAd5hR/WHsPicvZdjAWHBcEJ44UahgxcIE196fW2ong0ZHMPO1kZuI5q0VlvMQZh32gpv69PLWQm70qrw==
dependencies:
klona "^2.0.4"
loader-utils "^2.0.0"
@ -5088,10 +5099,10 @@ typed-rest-client@1.2.0:
tunnel "0.0.4"
underscore "1.8.3"
typescript@4.0.5:
version "4.0.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.0.5.tgz#ae9dddfd1069f1cb5beb3ef3b2170dd7c1332389"
integrity sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==
typescript@4.2.0-beta:
version "4.2.0-beta"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.0-beta.tgz#75326e43625718f4a325f5725a105a1b3f1a7b45"
integrity sha512-0nYjpkQ6bKjHoJTQkUHcDtGLNenqc5rfTcl3ISUnJXPkGa0115FcVJABmodfMKHLyDBmzDr8IGLbDv5m7sbYgw==
typical@^5.0.0, typical@^5.2.0:
version "5.2.0"
@ -5312,10 +5323,10 @@ webpack-sources@^2.1.1:
source-list-map "^2.0.1"
source-map "^0.6.1"
webpack@5.12.3:
version "5.12.3"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.12.3.tgz#2682aeb6bdf5622a365ef855392f8fa338bcaa28"
integrity sha512-7tiQmcTnKhZwbf7X7sEfXe0pgkGjUZjT6JfYkZHvvIb4/ZsXl1rJu5PxsJoN7W3v5sNSP/8TgBoiOdDqVdvK5w==
webpack@5.14.0:
version "5.14.0"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.14.0.tgz#cdfe9286d14ddc2bb348afabc1d910d166f3c47f"
integrity sha512-PFtfqXIKT6EG+k4L7d9whUPacN2XvxlUMc8NAQvN+sF9G8xPQqrCDGDiXbAdyGNz+/OP6ioxnUKybBBZ1kp/2A==
dependencies:
"@types/eslint-scope" "^3.7.0"
"@types/estree" "^0.0.45"
@ -5325,7 +5336,8 @@ webpack@5.12.3:
acorn "^8.0.4"
browserslist "^4.14.5"
chrome-trace-event "^1.0.2"
enhanced-resolve "^5.3.1"
enhanced-resolve "^5.7.0"
es-module-lexer "^0.3.26"
eslint-scope "^5.1.1"
events "^3.2.0"
glob-to-regexp "^0.4.1"

Загрузка…
Отмена
Сохранить