Skip to content

Commit 12ea870

Browse files
committed
Updates dependencies & fixes lint issues
1 parent 4db17d3 commit 12ea870

File tree

19 files changed

+778
-725
lines changed

19 files changed

+778
-725
lines changed

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16113,54 +16113,54 @@
1611316113
},
1611416114
"devDependencies": {
1611516115
"@eamodio/eslint-lite-webpack-plugin": "0.0.8",
16116-
"@swc/core": "1.3.100",
16117-
"@twbs/fantasticon": "2.7.1",
16116+
"@swc/core": "1.3.103",
16117+
"@twbs/fantasticon": "2.7.2",
1611816118
"@types/mocha": "10.0.6",
1611916119
"@types/node": "18.15.0",
1612016120
"@types/react": "17.0.71",
1612116121
"@types/react-dom": "17.0.21",
1612216122
"@types/sortablejs": "1.15.7",
1612316123
"@types/vscode": "1.82.0",
16124-
"@typescript-eslint/eslint-plugin": "6.13.2",
16125-
"@typescript-eslint/parser": "6.13.2",
16124+
"@typescript-eslint/eslint-plugin": "6.19.0",
16125+
"@typescript-eslint/parser": "6.19.0",
1612616126
"@vscode/test-electron": "2.3.8",
16127-
"@vscode/test-web": "0.0.49",
16127+
"@vscode/test-web": "0.0.50",
1612816128
"@vscode/vsce": "2.22.0",
1612916129
"circular-dependency-plugin": "5.2.2",
1613016130
"clean-webpack-plugin": "4.0.0",
1613116131
"concurrently": "8.2.2",
16132-
"copy-webpack-plugin": "11.0.0",
16132+
"copy-webpack-plugin": "12.0.1",
1613316133
"csp-html-webpack-plugin": "5.1.0",
16134-
"css-loader": "6.8.1",
16134+
"css-loader": "6.9.0",
1613516135
"css-minimizer-webpack-plugin": "5.0.1",
16136-
"cssnano-preset-advanced": "6.0.1",
16137-
"esbuild": "0.19.9",
16136+
"cssnano-preset-advanced": "6.0.3",
16137+
"esbuild": "0.19.11",
1613816138
"esbuild-loader": "4.0.2",
16139-
"esbuild-sass-plugin": "2.16.0",
16140-
"eslint": "8.55.0",
16139+
"esbuild-sass-plugin": "2.16.1",
16140+
"eslint": "8.56.0",
1614116141
"eslint-cli": "1.1.1",
1614216142
"eslint-config-prettier": "9.1.0",
1614316143
"eslint-import-resolver-typescript": "3.6.1",
1614416144
"eslint-plugin-anti-trojan-source": "1.1.1",
16145-
"eslint-plugin-import": "2.29.0",
16146-
"eslint-plugin-lit": "1.10.1",
16145+
"eslint-plugin-import": "2.29.1",
16146+
"eslint-plugin-lit": "1.11.0",
1614716147
"eslint-plugin-wc": "2.0.4",
1614816148
"fork-ts-checker-webpack-plugin": "6.5.3",
1614916149
"glob": "10.3.10",
1615016150
"html-loader": "4.2.0",
16151-
"html-webpack-plugin": "5.5.4",
16151+
"html-webpack-plugin": "5.6.0",
1615216152
"image-minimizer-webpack-plugin": "3.8.3",
16153-
"license-checker-rseidelsohn": "4.2.11",
16153+
"license-checker-rseidelsohn": "4.3.0",
1615416154
"lz-string": "1.5.0",
16155-
"mini-css-extract-plugin": "2.7.6",
16155+
"mini-css-extract-plugin": "2.7.7",
1615616156
"mocha": "10.2.0",
1615716157
"prettier": "3.1.0",
16158-
"sass": "1.69.5",
16159-
"sass-loader": "13.3.2",
16158+
"sass": "1.69.7",
16159+
"sass-loader": "14.0.0",
1616016160
"schema-utils": "4.2.0",
1616116161
"sharp": "0.32.6",
16162-
"svgo": "3.1.0",
16163-
"terser-webpack-plugin": "5.3.9",
16162+
"svgo": "3.2.0",
16163+
"terser-webpack-plugin": "5.3.10",
1616416164
"ts-loader": "9.5.1",
1616516165
"tsc-alias": "1.8.8",
1616616166
"typescript": "5.3.3",

src/codelens/codeLensProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
451451
resolveCodeLens(lens: CodeLens, token: CancellationToken): CodeLens | Promise<CodeLens> {
452452
if (lens instanceof GitRecentChangeCodeLens) return this.resolveGitRecentChangeCodeLens(lens, token);
453453
if (lens instanceof GitAuthorsCodeLens) return this.resolveGitAuthorsCodeLens(lens, token);
454-
// eslint-disable-next-line prefer-promise-reject-errors
454+
// eslint-disable-next-line prefer-promise-reject-errors, @typescript-eslint/prefer-promise-reject-errors
455455
return Promise.reject<CodeLens>(undefined);
456456
}
457457

src/commands/git/worktree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ export class WorktreeGitCommand extends QuickCommand<State> {
561561
canSelectMany: false,
562562
defaultUri: context.pickedUri ?? state.uri ?? context.defaultUri,
563563
openLabel: 'Select Worktree Location',
564-
title: `${appendReposToTitle(`Choose a Worktree Location${options.titleContext}`, state, context)}`,
564+
title: appendReposToTitle(`Choose a Worktree Location${options.titleContext}`, state, context),
565565
});
566566

567567
if (uris == null || uris.length === 0) return Directive.Back;

src/commands/quickCommand.steps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,7 @@ export function* showRepositoryStatusStep<
23622362
const working = context.status.getFormattedDiffStatus({ expand: true, separator: ', ' });
23632363
const step: QuickPickStep<CommandQuickPickItem> = createPickStep<CommandQuickPickItem>({
23642364
title: appendReposToTitle(context.title, state, context),
2365-
placeholder: `${upstream ? `${upstream}, ${working}` : working}`, //'Changes to be committed',
2365+
placeholder: upstream ? `${upstream}, ${working}` : working, //'Changes to be committed',
23662366
ignoreFocusOut: true,
23672367
items: getShowRepositoryStatusStepItems(state, context),
23682368
keys: ['right', 'alt+right', 'ctrl+right'],

src/git/formatters/commitFormatter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export class CommitFormatter extends Formatter<GitCommit, CommitFormatOptions> {
363363
const { previousLineComparisonUris: diffUris } = this._options;
364364
if (diffUris?.previous != null) {
365365
commands = `[\`${this._padOrTruncate(
366-
shortenRevision(isUncommittedStaged(diffUris.current.sha) ? diffUris.current.sha : uncommitted)!,
366+
shortenRevision(isUncommittedStaged(diffUris.current.sha) ? diffUris.current.sha : uncommitted),
367367
this._options.tokenOptions.commands,
368368
)}\`](${ShowCommitsInViewCommand.getMarkdownCommandArgs(
369369
this._item.sha,
@@ -390,7 +390,7 @@ export class CommitFormatter extends Formatter<GitCommit, CommitFormatOptions> {
390390
)} "Open Blame Prior to this Change")`;
391391
} else {
392392
commands = `[\`${this._padOrTruncate(
393-
shortenRevision(this._item.isUncommittedStaged ? uncommittedStaged : uncommitted)!,
393+
shortenRevision(this._item.isUncommittedStaged ? uncommittedStaged : uncommitted),
394394
this._options.tokenOptions.commands,
395395
)}\`](${ShowCommitsInViewCommand.getMarkdownCommandArgs(
396396
this._item.sha,

src/git/gitProviderService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ export class GitProviderService implements Disposable {
14101410
return provider.push(path, options);
14111411
}
14121412

1413-
@gate<GitProviderService['pushAll']>(repos => `${repos == null ? '' : repos.map(r => r.id).join(',')}`)
1413+
@gate<GitProviderService['pushAll']>(repos => (repos == null ? '' : repos.map(r => r.id).join(',')))
14141414
@log<GitProviderService['pushAll']>({ args: { 0: repos => repos?.map(r => r.name).join(', ') } })
14151415
async pushAll(
14161416
repositories?: Repository[],

src/git/models/reference.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export function getReferenceLabel(
346346
result = `${options.label ? 'stash ' : ''}${
347347
options.icon
348348
? `$(archive)${GlyphChars.Space}${message ?? ref.name}`
349-
: `${message ?? (ref.number ? `#${ref.number}` : ref.name)}`
349+
: message ?? (ref.number ? `#${ref.number}` : ref.name)
350350
}`;
351351
} else if (isRevisionRange(ref.ref)) {
352352
result = refName;

src/plus/gk/account/authenticationConnection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class AuthenticationConnection implements Disposable {
107107
),
108108
new Promise<string>(
109109
(_, reject) =>
110-
// eslint-disable-next-line prefer-promise-reject-errors
110+
// eslint-disable-next-line prefer-promise-reject-errors, @typescript-eslint/prefer-promise-reject-errors
111111
this._cancellationSource?.token.onCancellationRequested(() => reject('Cancelled')),
112112
),
113113
new Promise<string>((_, reject) => setTimeout(reject, 120000, 'Cancelled')),

src/plus/integrations/providers/github/githubGitProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ export class GitHubGitProvider implements GitProvider, Disposable {
12491249
}
12501250

12511251
const ids = new Set<string>();
1252-
const remote = getSettledValue(remotesResult)![0]!;
1252+
const remote = getSettledValue(remotesResult)![0];
12531253
const remoteMap = remote != null ? new Map([[remote.name, remote]]) : new Map<string, GitRemote>();
12541254

12551255
const tagTips = new Map<string, string[]>();

src/plus/webviews/patchDetails/patchDetailsWebview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ export class PatchDetailsWebviewProvider
774774
}
775775

776776
private async updateDraftPermissions() {
777-
const draft = (this._context.draft as Draft)!;
777+
const draft = this._context.draft as Draft;
778778
const draftId = draft.id;
779779
const changes = [];
780780

0 commit comments

Comments
 (0)