Skip to content

Commit 39af556

Browse files
committed
Updates dependencies & runs prettier formatting
1 parent 79b960c commit 39af556

File tree

13 files changed

+106
-80
lines changed

13 files changed

+106
-80
lines changed

package-lock.json

Lines changed: 66 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5192,7 +5192,7 @@
51925192
"@types/node": "10.1.4",
51935193
"@typescript-eslint/eslint-plugin": "1.9.0",
51945194
"@typescript-eslint/parser": "1.9.0",
5195-
"clean-webpack-plugin": "2.0.2",
5195+
"clean-webpack-plugin": "3.0.0",
51965196
"circular-dependency-plugin": "5.0.2",
51975197
"css-loader": "2.1.1",
51985198
"eslint": "5.16.0",
@@ -5201,22 +5201,22 @@
52015201
"eslint-loader": "2.1.2",
52025202
"eslint-plugin-import": "2.17.3",
52035203
"eslint-plugin-prettiest": "0.0.1",
5204-
"fork-ts-checker-webpack-plugin": "1.3.4",
5204+
"fork-ts-checker-webpack-plugin": "1.3.5",
52055205
"html-webpack-exclude-assets-plugin": "0.0.7",
52065206
"html-webpack-inline-source-plugin": "0.0.10",
52075207
"html-webpack-plugin": "3.2.0",
52085208
"imagemin-webpack-plugin": "2.4.2",
5209-
"mini-css-extract-plugin": "0.6.0",
5209+
"mini-css-extract-plugin": "0.7.0",
52105210
"node-sass": "4.12.0",
5211-
"prettier": "1.17.1",
5211+
"prettier": "1.18.0",
52125212
"prettier-eslint": "8.8.2",
52135213
"sass-loader": "7.1.0",
52145214
"terser-webpack-plugin": "1.3.0",
5215-
"ts-loader": "6.0.1",
5216-
"typescript": "3.5.0-rc",
5215+
"ts-loader": "6.0.2",
5216+
"typescript": "3.5.1",
52175217
"vsce": "1.62.0",
52185218
"vscode": "1.1.34",
5219-
"webpack": "4.32.2",
5219+
"webpack": "4.33.0",
52205220
"webpack-cli": "3.3.2",
52215221
"webpack-bundle-analyzer": "3.3.2"
52225222
}

src/annotations/annotations.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,7 @@ export class Annotations {
174174
)} "Show Commit Details")`;
175175
}
176176

177-
message += `   ${GlyphChars.Dash}   ${previous}  ${
178-
GlyphChars.ArrowLeftRightLong
179-
}  ${current}\n${diff}`;
177+
message += `   ${GlyphChars.Dash}   ${previous}  ${GlyphChars.ArrowLeftRightLong}  ${current}\n${diff}`;
180178

181179
const markdown = new MarkdownString(message);
182180
markdown.isTrusted = true;

src/git/formatters/statusFormatter.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ export class StatusFileFormatter extends Formatter<GitFile, StatusFormatOptions>
6767
icon = `${GlyphChars.Pencil}${GlyphChars.Space}${GlyphChars.SpaceThinnest}${GlyphChars.Check}`;
6868
}
6969
else if (statusFile.workingTreeStatus !== undefined) {
70-
icon = `${GlyphChars.Pencil}${GlyphChars.SpaceThin}${GlyphChars.SpaceThinnest}${GlyphChars.EnDash}${
71-
GlyphChars.Space
72-
}`;
70+
icon = `${GlyphChars.Pencil}${GlyphChars.SpaceThin}${GlyphChars.SpaceThinnest}${GlyphChars.EnDash}${GlyphChars.Space}`;
7371
}
7472
else if (statusFile.indexStatus !== undefined) {
7573
icon = `${GlyphChars.Space}${GlyphChars.EnDash}${GlyphChars.Space.repeat(2)}${GlyphChars.Check}`;

src/git/models/status.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ export class GitStatus {
135135
return `${prefix}${status}${suffix}`;
136136
}
137137

138-
return `${prefix}${state.behind}${GlyphChars.ArrowDown}${separator}${state.ahead}${
139-
GlyphChars.ArrowUp
140-
}${suffix}`;
138+
return `${prefix}${state.behind}${GlyphChars.ArrowDown}${separator}${state.ahead}${GlyphChars.ArrowUp}${suffix}`;
141139
}
142140
}
143141

src/git/parsers/logParser.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,8 @@ export class GitLogParser {
272272
renamedFileName
273273
);
274274
if (renamedMatch != null) {
275-
entry.fileName = `${renamedMatch[1]}${renamedMatch[3]}${
276-
renamedMatch[4]
277-
}`;
278-
entry.originalFileName = `${renamedMatch[1]}${renamedMatch[2]}${
279-
renamedMatch[4]
280-
}`;
275+
entry.fileName = `${renamedMatch[1]}${renamedMatch[3]}${renamedMatch[4]}`;
276+
entry.originalFileName = `${renamedMatch[1]}${renamedMatch[2]}${renamedMatch[4]}`;
281277
}
282278
else {
283279
renamedMatch = fileStatusAndSummaryRenamedFileRegex.exec(

src/git/shell.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,7 @@ export function run<TOut extends string | Buffer>(
154154
(error: (Error & { stdout?: TOut | undefined }) | null, stdout, stderr) => {
155155
if (error != null) {
156156
if (bufferExceededRegex.test(error.message)) {
157-
error.message = `Command output exceeded the allocated stdout buffer. Set 'options.maxBuffer' to a larger value than ${
158-
opts.maxBuffer
159-
} bytes`;
157+
error.message = `Command output exceeded the allocated stdout buffer. Set 'options.maxBuffer' to a larger value than ${opts.maxBuffer} bytes`;
160158
}
161159

162160
error.stdout =

src/quickpicks/repoStatusQuickPick.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,7 @@ export class RepoStatusQuickPick {
414414
0,
415415
new CommandQuickPickItem(
416416
{
417-
label: `$(git-branch) ${status.branch} is up-to-date with ${GlyphChars.Space}$(git-branch) ${
418-
status.upstream
419-
}`,
417+
label: `$(git-branch) ${status.branch} is up-to-date with ${GlyphChars.Space}$(git-branch) ${status.upstream}`,
420418
description: ''
421419
},
422420
Commands.ShowQuickRepoStatus,

src/views/nodes/commitNode.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ export class CommitNode extends ViewRefNode<ViewWithFiles> {
6363

6464
const branchAndTagTips = this.getBranchAndTagTips && this.getBranchAndTagTips(this.commit.sha);
6565
if (branchAndTagTips !== undefined) {
66-
label = `${GlyphChars.AngleBracketLeftHeavy}${GlyphChars.SpaceThin}${branchAndTagTips}${
67-
GlyphChars.SpaceThin
68-
}${GlyphChars.AngleBracketRightHeavy}${GlyphChars.ArrowHeadRight}${GlyphChars.Space} ${label}`;
66+
label = `${GlyphChars.AngleBracketLeftHeavy}${GlyphChars.SpaceThin}${branchAndTagTips}${GlyphChars.SpaceThin}${GlyphChars.AngleBracketRightHeavy}${GlyphChars.ArrowHeadRight}${GlyphChars.Space} ${label}`;
6967
}
7068

7169
const item = new TreeItem(label, TreeItemCollapsibleState.Collapsed);

src/views/nodes/compareBranchNode.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ export class CompareBranchNode extends ViewNode<RepositoriesView> {
2222
}
2323

2424
get id(): string {
25-
return `${this._instanceId}:gitlens:repository(${this.branch.repoPath}):branch(${
26-
this.branch.name
27-
}):compareWith`;
25+
return `${this._instanceId}:gitlens:repository(${this.branch.repoPath}):branch(${this.branch.name}):compareWith`;
2826
}
2927

3028
getChildren(): ViewNode[] {

0 commit comments

Comments
 (0)