Skip to content

Commit 2444d72

Browse files
Bump all dependency versions (#2669)
## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [x] I have not broken the cheatsheet --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 8970637 commit 2444d72

File tree

52 files changed

+5018
-4948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+5018
-4948
lines changed

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
{
5252
"argsIgnorePattern": "^_",
5353
"varsIgnorePattern": "^_",
54+
"caughtErrorsIgnorePattern": "^_",
5455
"ignoreRestSiblings": true
5556
}
5657
],

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.12.1
1+
v20.18.0

package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,26 @@
2828
"author": "",
2929
"license": "MIT",
3030
"devDependencies": {
31-
"@pnpm/meta-updater": "1.0.0",
32-
"@types/node": "18.18.2",
33-
"@typescript-eslint/eslint-plugin": "^7.4.0",
34-
"@typescript-eslint/parser": "^7.18.0",
35-
"esbuild": "^0.20.2",
36-
"eslint": "^8.57.0",
31+
"@pnpm/meta-updater": "2.0.3",
32+
"@types/node": "20.16.0",
33+
"@typescript-eslint/eslint-plugin": "^8.9.0",
34+
"@typescript-eslint/parser": "^8.9.0",
35+
"esbuild": "^0.24.0",
36+
"eslint": "^8.57.1",
3737
"eslint-config-prettier": "^9.1.0",
38-
"eslint-import-resolver-typescript": "3.6.1",
39-
"eslint-plugin-import": "2.29.1",
40-
"eslint-plugin-mocha": "10.4.1",
41-
"eslint-plugin-unicorn": "51.0.1",
42-
"eslint-plugin-unused-imports": "^3.1.0",
43-
"prettier": "3.2.5",
44-
"prettier-plugin-tailwindcss": "0.5.12",
45-
"syncpack": "12.3.0",
46-
"typescript": "^5.5.3"
38+
"eslint-import-resolver-typescript": "3.6.3",
39+
"eslint-plugin-import": "2.31.0",
40+
"eslint-plugin-mocha": "10.5.0",
41+
"eslint-plugin-unicorn": "56.0.0",
42+
"eslint-plugin-unused-imports": "^4.1.4",
43+
"prettier": "3.3.3",
44+
"prettier-plugin-tailwindcss": "0.6.8",
45+
"syncpack": "13.0.0",
46+
"typescript": "^5.6.3"
4747
},
4848
"pnpm": {
4949
"patchedDependencies": {
50-
"@docusaurus/theme-search-algolia@3.1.1": "patches/@[email protected]",
50+
"@docusaurus/theme-search-algolia": "patches/@[email protected]",
5151
"@types/[email protected]": "patches/@[email protected]",
5252
5353
},
@@ -62,7 +62,7 @@
6262
}
6363
},
6464
"engines": {
65-
"node": ">=18.18.2"
65+
"node": ">=20.16.0"
6666
},
6767
"packageManager": "[email protected]",
6868
"type": "module"

packages/cheatsheet-local/package.json

+15-14
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,33 @@
2525
},
2626
"dependencies": {
2727
"@cursorless/cheatsheet": "workspace:*",
28-
"react": "^18.2.0",
29-
"react-dom": "^18.2.0"
28+
"react": "^18.3.1",
29+
"react-dom": "^18.3.1"
3030
},
3131
"devDependencies": {
3232
"@effortlessmotion/html-webpack-inline-source-plugin": "1.0.3",
33-
"@testing-library/react": "14.2.2",
34-
"@types/jest": "29.5.12",
35-
"@types/node": "18.18.2",
36-
"@types/react": "18.2.71",
37-
"@types/react-dom": "18.2.22",
33+
"@testing-library/dom": "10.4.0",
34+
"@testing-library/react": "16.0.1",
35+
"@types/jest": "29.5.13",
36+
"@types/node": "20.16.0",
37+
"@types/react": "18.3.11",
38+
"@types/react-dom": "18.3.1",
3839
"@types/webpack": "5.28.5",
3940
"@webpack-cli/generators": "3.0.7",
40-
"autoprefixer": "10.4.19",
41-
"css-loader": "6.10.0",
41+
"autoprefixer": "10.4.20",
42+
"css-loader": "7.1.2",
4243
"html-webpack-plugin": "5.6.0",
4344
"jest": "29.7.0",
44-
"postcss": "8.4.38",
45+
"postcss": "8.4.47",
4546
"postcss-loader": "8.1.1",
46-
"style-loader": "3.3.4",
47-
"tailwindcss": "3.4.1",
47+
"style-loader": "4.0.0",
48+
"tailwindcss": "3.4.14",
4849
"ts-loader": "9.5.1",
4950
"ts-node": "10.9.2",
50-
"typescript": "^5.5.3",
51+
"typescript": "^5.6.3",
5152
"webpack": "5.95.0",
5253
"webpack-cli": "5.1.4",
53-
"webpack-dev-server": "5.0.4"
54+
"webpack-dev-server": "5.1.0"
5455
},
5556
"postcss": {
5657
"plugins": {

packages/cheatsheet/package.json

+13-12
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,25 @@
2727
"*.css"
2828
],
2929
"dependencies": {
30-
"@fortawesome/fontawesome-svg-core": "6.5.1",
31-
"@fortawesome/free-solid-svg-icons": "6.5.1",
32-
"@fortawesome/react-fontawesome": "0.2.0",
33-
"react": "^18.2.0",
34-
"react-dom": "^18.2.0",
30+
"@fortawesome/fontawesome-svg-core": "6.6.0",
31+
"@fortawesome/free-solid-svg-icons": "6.6.0",
32+
"@fortawesome/react-fontawesome": "0.2.2",
33+
"react": "^18.3.1",
34+
"react-dom": "^18.3.1",
3535
"react-string-replace": "1.1.1",
36-
"react-use": "17.5.0"
36+
"react-use": "17.5.1"
3737
},
3838
"devDependencies": {
39-
"@testing-library/react": "14.2.2",
40-
"@types/jest": "29.5.12",
41-
"@types/react": "18.2.71",
42-
"@types/react-dom": "18.2.22",
39+
"@testing-library/dom": "10.4.0",
40+
"@testing-library/react": "16.0.1",
41+
"@types/jest": "29.5.13",
42+
"@types/react": "18.3.11",
43+
"@types/react-dom": "18.3.1",
4344
"@types/react-helmet": "6.1.11",
4445
"jest": "29.7.0",
4546
"jest-environment-jsdom": "29.7.0",
46-
"ts-jest": "29.1.2",
47-
"typescript": "^5.5.3"
47+
"ts-jest": "29.2.5",
48+
"typescript": "^5.6.3"
4849
},
4950
"type": "module"
5051
}

packages/cheatsheet/src/lib/cheatsheet.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ type CheatsheetSectionProps = {
6464
};
6565

6666
const CheatsheetSection: React.FC<CheatsheetSectionProps> = ({ children }) => (
67-
<section className=" mb-5 break-inside-avoid last:mb-0 md:mb-3 xl:mb-4">
67+
<section className="mb-5 break-inside-avoid last:mb-0 md:mb-3 xl:mb-4">
6868
{children}
6969
</section>
7070
);

packages/common/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
},
2222
"devDependencies": {
2323
"@types/js-yaml": "^4.0.9",
24-
"@types/lodash-es": "4.17.0",
25-
"@types/mocha": "^10.0.6",
24+
"@types/lodash-es": "4.17.12",
25+
"@types/mocha": "^10.0.9",
2626
"cross-spawn": "7.0.3",
27-
"fast-check": "3.17.0",
27+
"fast-check": "3.22.0",
2828
"js-yaml": "^4.1.0",
29-
"mocha": "^10.3.0"
29+
"mocha": "^10.7.3"
3030
},
3131
"types": "./out/index.d.ts",
3232
"exports": {

packages/common/src/scopeSupportFacets/scopeSupportFacets.types.ts

+16-20
Original file line numberDiff line numberDiff line change
@@ -173,25 +173,6 @@ export const scopeSupportFacets = [
173173
// collectionItem
174174
] as const;
175175

176-
const textualScopeSupportFacets = [
177-
"character",
178-
"word",
179-
"token",
180-
"identifier",
181-
"line",
182-
"sentence",
183-
"paragraph",
184-
"boundedParagraph",
185-
"boundedParagraph.iteration",
186-
"document",
187-
"nonWhitespaceSequence",
188-
"boundedNonWhitespaceSequence",
189-
"boundedNonWhitespaceSequence.iteration",
190-
"url",
191-
"surroundingPair",
192-
"surroundingPair.iteration",
193-
] as const;
194-
195176
export interface ScopeSupportFacetInfo {
196177
readonly description: string;
197178
readonly scopeType: SimpleScopeTypeType | ScopeType;
@@ -208,7 +189,22 @@ export enum ScopeSupportFacetLevel {
208189
export type ScopeSupportFacet = (typeof scopeSupportFacets)[number];
209190

210191
export type TextualScopeSupportFacet =
211-
(typeof textualScopeSupportFacets)[number];
192+
| "character"
193+
| "word"
194+
| "token"
195+
| "identifier"
196+
| "line"
197+
| "sentence"
198+
| "paragraph"
199+
| "boundedParagraph"
200+
| "boundedParagraph.iteration"
201+
| "document"
202+
| "nonWhitespaceSequence"
203+
| "boundedNonWhitespaceSequence"
204+
| "boundedNonWhitespaceSequence.iteration"
205+
| "url"
206+
| "surroundingPair"
207+
| "surroundingPair.iteration";
212208

213209
export type LanguageScopeSupportFacetMap = Partial<
214210
Record<ScopeSupportFacet, ScopeSupportFacetLevel>

packages/common/src/types/command/legacy/ActionCommandV5.ts

+54-57
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,57 @@
1-
const actionNames = [
2-
"callAsFunction",
3-
"clearAndSetSelection",
4-
"copyToClipboard",
5-
"cutToClipboard",
6-
"deselect",
7-
"editNew",
8-
"editNewLineAfter",
9-
"editNewLineBefore",
10-
"executeCommand",
11-
"extractVariable",
12-
"findInWorkspace",
13-
"foldRegion",
14-
"followLink",
15-
"generateSnippet",
16-
"getText",
17-
"highlight",
18-
"indentLine",
19-
"insertCopyAfter",
20-
"insertCopyBefore",
21-
"insertEmptyLineAfter",
22-
"insertEmptyLineBefore",
23-
"insertEmptyLinesAround",
24-
"insertSnippet",
25-
"moveToTarget",
26-
"outdentLine",
27-
"pasteFromClipboard",
28-
"randomizeTargets",
29-
"remove",
30-
"rename",
31-
"replace",
32-
"replaceWithTarget",
33-
"revealDefinition",
34-
"revealTypeDefinition",
35-
"reverseTargets",
36-
"rewrapWithPairedDelimiter",
37-
"experimental.setInstanceReference",
38-
"scrollToBottom",
39-
"scrollToCenter",
40-
"scrollToTop",
41-
"setSelection",
42-
"setSelectionAfter",
43-
"setSelectionBefore",
44-
"showDebugHover",
45-
"showHover",
46-
"showQuickFix",
47-
"showReferences",
48-
"sortTargets",
49-
"swapTargets",
50-
"toggleLineBreakpoint",
51-
"toggleLineComment",
52-
"unfoldRegion",
53-
"wrapWithPairedDelimiter",
54-
"wrapWithSnippet",
55-
] as const;
56-
57-
export type ActionTypeV5 = (typeof actionNames)[number];
1+
export type ActionTypeV5 =
2+
| "callAsFunction"
3+
| "clearAndSetSelection"
4+
| "copyToClipboard"
5+
| "cutToClipboard"
6+
| "deselect"
7+
| "editNew"
8+
| "editNewLineAfter"
9+
| "editNewLineBefore"
10+
| "executeCommand"
11+
| "extractVariable"
12+
| "findInWorkspace"
13+
| "foldRegion"
14+
| "followLink"
15+
| "generateSnippet"
16+
| "getText"
17+
| "highlight"
18+
| "indentLine"
19+
| "insertCopyAfter"
20+
| "insertCopyBefore"
21+
| "insertEmptyLineAfter"
22+
| "insertEmptyLineBefore"
23+
| "insertEmptyLinesAround"
24+
| "insertSnippet"
25+
| "moveToTarget"
26+
| "outdentLine"
27+
| "pasteFromClipboard"
28+
| "randomizeTargets"
29+
| "remove"
30+
| "rename"
31+
| "replace"
32+
| "replaceWithTarget"
33+
| "revealDefinition"
34+
| "revealTypeDefinition"
35+
| "reverseTargets"
36+
| "rewrapWithPairedDelimiter"
37+
| "experimental.setInstanceReference"
38+
| "scrollToBottom"
39+
| "scrollToCenter"
40+
| "scrollToTop"
41+
| "setSelection"
42+
| "setSelectionAfter"
43+
| "setSelectionBefore"
44+
| "showDebugHover"
45+
| "showHover"
46+
| "showQuickFix"
47+
| "showReferences"
48+
| "sortTargets"
49+
| "swapTargets"
50+
| "toggleLineBreakpoint"
51+
| "toggleLineComment"
52+
| "unfoldRegion"
53+
| "wrapWithPairedDelimiter"
54+
| "wrapWithSnippet";
5855

5956
export interface ActionCommandV5 {
6057
/**

packages/common/src/types/command/legacy/CommandV0V1.types.ts

+20-26
Original file line numberDiff line numberDiff line change
@@ -112,32 +112,26 @@ interface DecoratedSymbol {
112112
character: string;
113113
}
114114

115-
const HAT_COLORS = [
116-
"default",
117-
"blue",
118-
"green",
119-
"red",
120-
"pink",
121-
"yellow",
122-
"userColor1",
123-
"userColor2",
124-
] as const;
125-
126-
const HAT_NON_DEFAULT_SHAPES = [
127-
"ex",
128-
"fox",
129-
"wing",
130-
"hole",
131-
"frame",
132-
"curve",
133-
"eye",
134-
"play",
135-
"bolt",
136-
"crosshairs",
137-
] as const;
138-
139-
type HatColor = (typeof HAT_COLORS)[number];
140-
type HatNonDefaultShape = (typeof HAT_NON_DEFAULT_SHAPES)[number];
115+
type HatColor =
116+
| "default"
117+
| "blue"
118+
| "green"
119+
| "red"
120+
| "pink"
121+
| "yellow"
122+
| "userColor1"
123+
| "userColor2";
124+
type HatNonDefaultShape =
125+
| "ex"
126+
| "fox"
127+
| "wing"
128+
| "hole"
129+
| "frame"
130+
| "curve"
131+
| "eye"
132+
| "play"
133+
| "bolt"
134+
| "crosshairs";
141135
type HatStyleName = HatColor | `${HatColor}-${HatNonDefaultShape}`;
142136

143137
type LineNumberType = "absolute" | "relative" | "modulo100";

0 commit comments

Comments
 (0)