From 243b22cf4f214d039b4edcf5b8e0fde2247fbc19 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 27 Sep 2023 10:08:02 -0400 Subject: [PATCH] Fixes lint issues --- package.json | 2 +- src/commands/browseRepoAtRevision.ts | 2 +- src/commands/openFileAtRevision.ts | 2 +- src/views/nodes/remoteNode.ts | 1 - yarn.lock | 30 +++++++++++++++++++++++++----- 5 files changed, 28 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 9c8411d..f8ec4fc 100644 --- a/package.json +++ b/package.json @@ -14844,7 +14844,7 @@ "eslint-plugin-wc": "2.0.4", "fantasticon": "1.2.3", "fork-ts-checker-webpack-plugin": "6.5.3", - "glob": "10.3.7", + "glob": "10.3.10", "html-loader": "4.2.0", "html-webpack-plugin": "5.5.3", "image-minimizer-webpack-plugin": "3.8.3", diff --git a/src/commands/browseRepoAtRevision.ts b/src/commands/browseRepoAtRevision.ts index 29ae803..1b7edad 100644 --- a/src/commands/browseRepoAtRevision.ts +++ b/src/commands/browseRepoAtRevision.ts @@ -6,7 +6,7 @@ import { showGenericErrorMessage } from '../messages'; import { command, executeCoreCommand } from '../system/command'; import { Logger } from '../system/logger'; import { basename } from '../system/path'; -import { openWorkspace, OpenWorkspaceLocation } from '../system/utils'; +import { openWorkspace } from '../system/utils'; import type { CommandContext } from './base'; import { ActiveEditorCommand, getCommandUri } from './base'; diff --git a/src/commands/openFileAtRevision.ts b/src/commands/openFileAtRevision.ts index 1762f5c..fc645e6 100644 --- a/src/commands/openFileAtRevision.ts +++ b/src/commands/openFileAtRevision.ts @@ -1,6 +1,6 @@ import type { TextDocumentShowOptions, TextEditor } from 'vscode'; import { Uri } from 'vscode'; -import { FileAnnotationType } from '../config'; +import type { FileAnnotationType } from '../config'; import { Commands, GlyphChars, quickPickTitleMaxChars } from '../constants'; import type { Container } from '../container'; import { openFileAtRevision } from '../git/actions/commit'; diff --git a/src/views/nodes/remoteNode.ts b/src/views/nodes/remoteNode.ts index 6efa1aa..e4bb095 100644 --- a/src/views/nodes/remoteNode.ts +++ b/src/views/nodes/remoteNode.ts @@ -1,5 +1,4 @@ import { ThemeIcon, TreeItem, TreeItemCollapsibleState, Uri } from 'vscode'; -import { ViewBranchesLayout } from '../../config'; import { GlyphChars } from '../../constants'; import { GitUri } from '../../git/gitUri'; import type { GitRemote } from '../../git/models/remote'; diff --git a/yarn.lock b/yarn.lock index 3dca34d..731c7b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3386,13 +3386,13 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@10.3.7, glob@^10.2.2: - version "10.3.7" - resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.7.tgz#d5bd30a529c8c9b262fb4b217941f64ad90e25ac" - integrity sha512-wCMbE1m9Nx5yD9LYtgsVWq5VhHlk5WzJirw594qZR6AIvQYuHrdDtIktUVjQItalD53y7dqoedu9xP0u0WaxIQ== +glob@10.3.10: + version "10.3.10" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" + integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== dependencies: foreground-child "^3.1.0" - jackspeak "^2.0.3" + jackspeak "^2.3.5" minimatch "^9.0.1" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-scurry "^1.10.1" @@ -3409,6 +3409,17 @@ glob@7.2.0: once "^1.3.0" path-is-absolute "^1.0.0" +glob@^10.2.2: + version "10.3.7" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.7.tgz#d5bd30a529c8c9b262fb4b217941f64ad90e25ac" + integrity sha512-wCMbE1m9Nx5yD9LYtgsVWq5VhHlk5WzJirw594qZR6AIvQYuHrdDtIktUVjQItalD53y7dqoedu9xP0u0WaxIQ== + dependencies: + foreground-child "^3.1.0" + jackspeak "^2.0.3" + minimatch "^9.0.1" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry "^1.10.1" + glob@^7.0.3, glob@^7.0.6, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -4157,6 +4168,15 @@ jackspeak@^2.0.3: optionalDependencies: "@pkgjs/parseargs" "^0.11.0" +jackspeak@^2.3.5: + version "2.3.5" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.5.tgz#443f237f9eeeb0d7c6ec34835ef5289bb4acb068" + integrity sha512-Ratx+B8WeXLAtRJn26hrhY8S1+Jz6pxPMrkrdkgb/NstTNiqMhX0/oFVu5wX+g5n6JlEu2LPsDJmY8nRP4+alw== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + jest-util@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc"