Skip to content

Commit ea34d93

Browse files
Update typescript-eslint monorepo to v8.48.0 (#9823)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent c4ffb24 commit ea34d93

File tree

4 files changed

+95
-75
lines changed

4 files changed

+95
-75
lines changed

src/actions/commands/fold.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { VimState } from '../../state/vimState';
66
import { BaseCommand, RegisterAction } from '../base';
77
import { BaseOperator } from '../operator';
88

9-
type FoldDirection = 'up' | 'down' | undefined;
9+
type FoldDirection = 'up' | 'down';
1010
abstract class CommandFold extends BaseCommand {
1111
modes = [Mode.Normal, Mode.Visual, Mode.VisualLine];
1212
abstract commandName: string;

src/cmd_line/commands/read.ts

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import { VimState } from '../../state/vimState';
66
import { ExCommand } from '../../vimscript/exCommand';
77
import { fileNameParser, FileOpt, fileOptParser } from '../../vimscript/parserUtils';
88

9-
export type IReadCommandArguments = {
10-
opt: FileOpt;
11-
} & ({ cmd: string } | { file: string } | object);
9+
export type IReadCommandArguments =
10+
| { opt: FileOpt; cmd: string }
11+
| { opt: FileOpt; file: string }
12+
| { opt: FileOpt };
1213

1314
//
1415
// Implements :read and :read!
@@ -17,21 +18,17 @@ export type IReadCommandArguments = {
1718
//
1819
export class ReadCommand extends ExCommand {
1920
public static readonly argParser: Parser<ReadCommand> = seq(
20-
whitespace.then(fileOptParser).fallback([]),
21+
whitespace.then(fileOptParser).fallback<FileOpt>([]),
2122
optWhitespace
2223
.then(
2324
alt<{ cmd: string } | { file: string }>(
2425
string('!')
2526
.then(all)
26-
.map((cmd) => {
27-
return { cmd };
28-
}),
29-
fileNameParser.map((file) => {
30-
return { file };
31-
}),
27+
.map((cmd) => ({ cmd })),
28+
fileNameParser.map((file) => ({ file })),
3229
),
3330
)
34-
.fallback(undefined),
31+
.fallback({}),
3532
).map(([opt, other]) => new ReadCommand({ opt, ...other }));
3633

3734
private readonly arguments: IReadCommandArguments;

src/cmd_line/commands/write.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export type IWriteCommandArguments = {
1414
opt: FileOpt;
1515
bgWrite: boolean;
1616
file?: string;
17-
} & ({ cmd: string } | object);
17+
cmd?: string;
18+
};
1819

1920
//
2021
// Implements :write

yarn.lock

Lines changed: 84 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -688,101 +688,105 @@
688688
integrity sha512-LyeCIU3jb9d38w0MXFwta9r0Jx23ugujkAxdwLTNCyspdZTKUc43t7ppPbCiPoQ/Ivd/pnDFZrb4hWd45wrsgA==
689689

690690
"@typescript-eslint/eslint-plugin@^8.0.0":
691-
version "8.46.3"
692-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.3.tgz#6f7aeaf9f5c611425db9b8f983e8d3fe5deece3c"
693-
integrity sha512-sbaQ27XBUopBkRiuY/P9sWGOWUW4rl8fDoHIUmLpZd8uldsTyB4/Zg6bWTegPoTLnKj9Hqgn3QD6cjPNB32Odw==
691+
version "8.48.0"
692+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.48.0.tgz#cdc9bdbe947713f658eb6109eeeea5d746824cf4"
693+
integrity sha512-XxXP5tL1txl13YFtrECECQYeZjBZad4fyd3cFV4a19LkAY/bIp9fev3US4S5fDVV2JaYFiKAZ/GRTOLer+mbyQ==
694694
dependencies:
695695
"@eslint-community/regexpp" "^4.10.0"
696-
"@typescript-eslint/scope-manager" "8.46.3"
697-
"@typescript-eslint/type-utils" "8.46.3"
698-
"@typescript-eslint/utils" "8.46.3"
699-
"@typescript-eslint/visitor-keys" "8.46.3"
696+
"@typescript-eslint/scope-manager" "8.48.0"
697+
"@typescript-eslint/type-utils" "8.48.0"
698+
"@typescript-eslint/utils" "8.48.0"
699+
"@typescript-eslint/visitor-keys" "8.48.0"
700700
graphemer "^1.4.0"
701701
ignore "^7.0.0"
702702
natural-compare "^1.4.0"
703703
ts-api-utils "^2.1.0"
704704

705705
"@typescript-eslint/parser@^8.0.0":
706-
version "8.46.3"
707-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.46.3.tgz#3badfb62d2e2dc733d02a038073e3f65f2cb833d"
708-
integrity sha512-6m1I5RmHBGTnUGS113G04DMu3CpSdxCAU/UvtjNWL4Nuf3MW9tQhiJqRlHzChIkhy6kZSAQmc+I1bcGjE3yNKg==
709-
dependencies:
710-
"@typescript-eslint/scope-manager" "8.46.3"
711-
"@typescript-eslint/types" "8.46.3"
712-
"@typescript-eslint/typescript-estree" "8.46.3"
713-
"@typescript-eslint/visitor-keys" "8.46.3"
706+
version "8.48.0"
707+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.48.0.tgz#fc39ea9b1c8b2414c1f4b625277629e12a940e6b"
708+
integrity sha512-jCzKdm/QK0Kg4V4IK/oMlRZlY+QOcdjv89U2NgKHZk1CYTj82/RVSx1mV/0gqCVMJ/DA+Zf/S4NBWNF8GQ+eqQ==
709+
dependencies:
710+
"@typescript-eslint/scope-manager" "8.48.0"
711+
"@typescript-eslint/types" "8.48.0"
712+
"@typescript-eslint/typescript-estree" "8.48.0"
713+
"@typescript-eslint/visitor-keys" "8.48.0"
714714
debug "^4.3.4"
715715

716-
"@typescript-eslint/project-service@8.46.3":
717-
version "8.46.3"
718-
resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.46.3.tgz#4555c685407ea829081218fa033d7b032607aaef"
719-
integrity sha512-Fz8yFXsp2wDFeUElO88S9n4w1I4CWDTXDqDr9gYvZgUpwXQqmZBr9+NTTql5R3J7+hrJZPdpiWaB9VNhAKYLuQ==
716+
"@typescript-eslint/project-service@8.48.0":
717+
version "8.48.0"
718+
resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.48.0.tgz#c21f6f897fbc4e61c7b1e20906ea1d59594ccc2d"
719+
integrity sha512-Ne4CTZyRh1BecBf84siv42wv5vQvVmgtk8AuiEffKTUo3DrBaGYZueJSxxBZ8fjk/N3DrgChH4TOdIOwOwiqqw==
720720
dependencies:
721-
"@typescript-eslint/tsconfig-utils" "^8.46.3"
722-
"@typescript-eslint/types" "^8.46.3"
721+
"@typescript-eslint/tsconfig-utils" "^8.48.0"
722+
"@typescript-eslint/types" "^8.48.0"
723723
debug "^4.3.4"
724724

725-
"@typescript-eslint/scope-manager@8.46.3":
726-
version "8.46.3"
727-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.46.3.tgz#2e330f566e135ccac13477b98dd88d8f176e4dff"
728-
integrity sha512-FCi7Y1zgrmxp3DfWfr+3m9ansUUFoy8dkEdeQSgA9gbm8DaHYvZCdkFRQrtKiedFf3Ha6VmoqoAaP68+i+22kg==
725+
"@typescript-eslint/scope-manager@8.48.0":
726+
version "8.48.0"
727+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.48.0.tgz#8306afdf409364d4e434813f0df9a8557ddff751"
728+
integrity sha512-uGSSsbrtJrLduti0Q1Q9+BF1/iFKaxGoQwjWOIVNJv0o6omrdyR8ct37m4xIl5Zzpkp69Kkmvom7QFTtue89YQ==
729729
dependencies:
730-
"@typescript-eslint/types" "8.46.3"
731-
"@typescript-eslint/visitor-keys" "8.46.3"
730+
"@typescript-eslint/types" "8.48.0"
731+
"@typescript-eslint/visitor-keys" "8.48.0"
732732

733-
"@typescript-eslint/tsconfig-utils@8.46.3", "@typescript-eslint/tsconfig-utils@^8.46.3":
734-
version "8.46.3"
735-
resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.3.tgz#cad33398c762c97fe56a8defda00c16505abefa3"
736-
integrity sha512-GLupljMniHNIROP0zE7nCcybptolcH8QZfXOpCfhQDAdwJ/ZTlcaBOYebSOZotpti/3HrHSw7D3PZm75gYFsOA==
733+
"@typescript-eslint/tsconfig-utils@8.48.0", "@typescript-eslint/tsconfig-utils@^8.48.0":
734+
version "8.48.0"
735+
resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.48.0.tgz#05cf091cd9f24a8e047783ff979136df6cf1be04"
736+
integrity sha512-WNebjBdFdyu10sR1M4OXTt2OkMd5KWIL+LLfeH9KhgP+jzfDV/LI3eXzwJ1s9+Yc0Kzo2fQCdY/OpdusCMmh6w==
737737

738-
"@typescript-eslint/type-utils@8.46.3":
739-
version "8.46.3"
740-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.46.3.tgz#71188df833d7697ecff256cd1d3889a20552d78c"
741-
integrity sha512-ZPCADbr+qfz3aiTTYNNkCbUt+cjNwI/5McyANNrFBpVxPt7GqpEYz5ZfdwuFyGUnJ9FdDXbGODUu6iRCI6XRXw==
738+
"@typescript-eslint/type-utils@8.48.0":
739+
version "8.48.0"
740+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.48.0.tgz#eb4e0e60e545b448112f291b6652eeddb16db83f"
741+
integrity sha512-zbeVaVqeXhhab6QNEKfK96Xyc7UQuoFWERhEnj3mLVnUWrQnv15cJNseUni7f3g557gm0e46LZ6IJ4NJVOgOpw==
742742
dependencies:
743-
"@typescript-eslint/types" "8.46.3"
744-
"@typescript-eslint/typescript-estree" "8.46.3"
745-
"@typescript-eslint/utils" "8.46.3"
743+
"@typescript-eslint/types" "8.48.0"
744+
"@typescript-eslint/typescript-estree" "8.48.0"
745+
"@typescript-eslint/utils" "8.48.0"
746746
debug "^4.3.4"
747747
ts-api-utils "^2.1.0"
748748

749-
"@typescript-eslint/[email protected]", "@typescript-eslint/types@^8.46.0", "@typescript-eslint/types@^8.46.3":
749+
"@typescript-eslint/[email protected]", "@typescript-eslint/types@^8.48.0":
750+
version "8.48.0"
751+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.48.0.tgz#f0dc5cf27217346e9b0d90556911e01d90d0f2a5"
752+
integrity sha512-cQMcGQQH7kwKoVswD1xdOytxQR60MWKM1di26xSUtxehaDs/32Zpqsu5WJlXTtTTqyAVK8R7hvsUnIXRS+bjvA==
753+
754+
"@typescript-eslint/types@^8.46.0":
750755
version "8.46.3"
751756
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.46.3.tgz#da05ea40e91359b4275dbb3a489f2f7907a02245"
752757
integrity sha512-G7Ok9WN/ggW7e/tOf8TQYMaxgID3Iujn231hfi0Pc7ZheztIJVpO44ekY00b7akqc6nZcvregk0Jpah3kep6hA==
753758

754-
"@typescript-eslint/typescript-estree@8.46.3":
755-
version "8.46.3"
756-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.3.tgz#c12406afba707f9779ce0c0151a08c33b3a96d41"
757-
integrity sha512-f/NvtRjOm80BtNM5OQtlaBdM5BRFUv7gf381j9wygDNL+qOYSNOgtQ/DCndiYi80iIOv76QqaTmp4fa9hwI0OA==
759+
"@typescript-eslint/typescript-estree@8.48.0":
760+
version "8.48.0"
761+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.48.0.tgz#38b340524ce34ce0e46ca541a86cf6cad8872e5b"
762+
integrity sha512-ljHab1CSO4rGrQIAyizUS6UGHHCiAYhbfcIZ1zVJr5nMryxlXMVWS3duFPSKvSUbFPwkXMFk1k0EMIjub4sRRQ==
758763
dependencies:
759-
"@typescript-eslint/project-service" "8.46.3"
760-
"@typescript-eslint/tsconfig-utils" "8.46.3"
761-
"@typescript-eslint/types" "8.46.3"
762-
"@typescript-eslint/visitor-keys" "8.46.3"
764+
"@typescript-eslint/project-service" "8.48.0"
765+
"@typescript-eslint/tsconfig-utils" "8.48.0"
766+
"@typescript-eslint/types" "8.48.0"
767+
"@typescript-eslint/visitor-keys" "8.48.0"
763768
debug "^4.3.4"
764-
fast-glob "^3.3.2"
765-
is-glob "^4.0.3"
766769
minimatch "^9.0.4"
767770
semver "^7.6.0"
771+
tinyglobby "^0.2.15"
768772
ts-api-utils "^2.1.0"
769773

770-
"@typescript-eslint/utils@8.46.3":
771-
version "8.46.3"
772-
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.46.3.tgz#b6c7994b7c1ee2fe338ab32f7b3d4424856a73ce"
773-
integrity sha512-VXw7qmdkucEx9WkmR3ld/u6VhRyKeiF1uxWwCy/iuNfokjJ7VhsgLSOTjsol8BunSw190zABzpwdNsze2Kpo4g==
774+
"@typescript-eslint/utils@8.48.0":
775+
version "8.48.0"
776+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.48.0.tgz#c1196befb664f50be10692c781c7fc7624c1a5f9"
777+
integrity sha512-yTJO1XuGxCsSfIVt1+1UrLHtue8xz16V8apzPYI06W0HbEbEWHxHXgZaAgavIkoh+GeV6hKKd5jm0sS6OYxWXQ==
774778
dependencies:
775779
"@eslint-community/eslint-utils" "^4.7.0"
776-
"@typescript-eslint/scope-manager" "8.46.3"
777-
"@typescript-eslint/types" "8.46.3"
778-
"@typescript-eslint/typescript-estree" "8.46.3"
780+
"@typescript-eslint/scope-manager" "8.48.0"
781+
"@typescript-eslint/types" "8.48.0"
782+
"@typescript-eslint/typescript-estree" "8.48.0"
779783

780-
"@typescript-eslint/visitor-keys@8.46.3":
781-
version "8.46.3"
782-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.3.tgz#6811b15053501981059c58e1c01b39242bd5c0f6"
783-
integrity sha512-uk574k8IU0rOF/AjniX8qbLSGURJVUCeM5e4MIMKBFFi8weeiLrG1fyQejyLXQpRZbU/1BuQasleV/RfHC3hHg==
784+
"@typescript-eslint/visitor-keys@8.48.0":
785+
version "8.48.0"
786+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.48.0.tgz#6b07ef5661a85d08b01fbe4b8310a7311a6471af"
787+
integrity sha512-T0XJMaRPOH3+LBbAfzR2jalckP1MSG/L9eUtY0DEzUyVaXJ/t6zN0nR7co5kz0Jko/nkSYCBRkz1djvjajVTTg==
784788
dependencies:
785-
"@typescript-eslint/types" "8.46.3"
789+
"@typescript-eslint/types" "8.48.0"
786790
eslint-visitor-keys "^4.2.1"
787791

788792
"@typespec/ts-http-runtime@^0.3.0":
@@ -2554,7 +2558,7 @@ fast-fifo@^1.1.0:
25542558
resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.3.2.tgz#286e31de96eb96d38a97899815740ba2a4f3640c"
25552559
integrity sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==
25562560

2557-
fast-glob@^3.3.2, fast-glob@^3.3.3:
2561+
fast-glob@^3.3.3:
25582562
version "3.3.3"
25592563
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818"
25602564
integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==
@@ -2618,6 +2622,11 @@ fd-slicer@~1.1.0:
26182622
dependencies:
26192623
pend "~1.2.0"
26202624

2625+
fdir@^6.5.0:
2626+
version "6.5.0"
2627+
resolved "https://registry.yarnpkg.com/fdir/-/fdir-6.5.0.tgz#ed2ab967a331ade62f18d077dae192684d50d350"
2628+
integrity sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==
2629+
26212630
fecha@^4.2.0:
26222631
version "4.2.0"
26232632
resolved "https://registry.yarnpkg.com/fecha/-/fecha-4.2.0.tgz#3ffb6395453e3f3efff850404f0a59b6747f5f41"
@@ -4937,6 +4946,11 @@ picomatch@^2.3.1:
49374946
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
49384947
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
49394948

4949+
picomatch@^4.0.3:
4950+
version "4.0.3"
4951+
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042"
4952+
integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==
4953+
49404954
pidtree@^0.6.0:
49414955
version "0.6.0"
49424956
resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.6.0.tgz#90ad7b6d42d5841e69e0a2419ef38f8883aa057c"
@@ -6099,6 +6113,14 @@ time-stamp@^1.0.0:
60996113
resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3"
61006114
integrity sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=
61016115

6116+
tinyglobby@^0.2.15:
6117+
version "0.2.15"
6118+
resolved "https://registry.yarnpkg.com/tinyglobby/-/tinyglobby-0.2.15.tgz#e228dd1e638cea993d2fdb4fcd2d4602a79951c2"
6119+
integrity sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==
6120+
dependencies:
6121+
fdir "^6.5.0"
6122+
picomatch "^4.0.3"
6123+
61026124
tmp@^0.2.3:
61036125
version "0.2.5"
61046126
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.5.tgz#b06bcd23f0f3c8357b426891726d16015abfd8f8"

0 commit comments

Comments
 (0)