Skip to content

Commit 0d55ace

Browse files
Update dependency versions (#3265)
1 parent bfb85dd commit 0d55ace

28 files changed

Lines changed: 1540 additions & 1253 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
},
3636
"devDependencies": {
3737
"@pnpm/meta-updater": "^2.0.6",
38-
"@types/node": "^24.12.0",
39-
"esbuild": "^0.27.4",
38+
"@types/node": "^24.12.2",
39+
"esbuild": "^0.28.0",
4040
"eslint-plugin-mocha": "^11.2.0",
41-
"oxfmt": "^0.42.0",
42-
"oxlint": "^1.57.0",
43-
"oxlint-tsgolint": "^0.18.1",
41+
"oxfmt": "^0.44.0",
42+
"oxlint": "^1.59.0",
43+
"oxlint-tsgolint": "^0.20.0",
4444
"stylelint": "^17.6.0",
4545
"stylelint-config-standard": "^40.0.0",
4646
"stylelint-config-standard-scss": "^17.0.0",

packages/app-vscode/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,12 +1329,12 @@
13291329
"@types/lodash-es": "^4.17.12",
13301330
"@types/mocha": "^10.0.10",
13311331
"@types/nearley": "^2.11.5",
1332-
"@types/node": "^24.12.0",
1332+
"@types/node": "^24.12.2",
13331333
"@types/semver": "^7.7.1",
1334-
"@types/sinon": "^21.0.0",
1334+
"@types/sinon": "^21.0.1",
13351335
"@types/vscode": "1.98.0",
1336-
"esbuild": "^0.27.4",
1337-
"fast-xml-parser": "^5.5.9",
1336+
"esbuild": "^0.28.0",
1337+
"fast-xml-parser": "^5.5.10",
13381338
"fs-extra": "^11.3.4",
13391339
"sinon": "^21.0.3",
13401340
"tsx": "^4.21.0"

packages/app-vscode/src/keyboard/KeyboardConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class KeyboardConfig {
135135
}
136136
>(section, (value) => ({
137137
type: tokenType,
138-
value: value,
138+
value,
139139
}));
140140
}
141141

packages/app-web-docs/docusaurus.config.mts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import { createRequire } from "node:module";
2-
import { dirname, extname, relative, resolve } from "node:path";
2+
import * as path from "node:path";
33
import { fileURLToPath } from "node:url";
44
import type { Config } from "@docusaurus/types";
55
import type { Root } from "mdast";
66
import { themes } from "prism-react-renderer";
77
import type { Transformer } from "unified";
88
import { visit } from "unist-util-visit";
99

10+
// oxlint-disable-next-line unicorn/prefer-import-meta-properties
11+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
1012
const require = createRequire(import.meta.url);
1113

1214
const docsRelative = "packages/app-web-docs/src/docs/";
@@ -42,16 +44,14 @@ function remarkPluginFixLinksToRepositoryArtifacts(): Transformer<Root> {
4244
return;
4345
}
4446

45-
const repoRoot = resolve(
46-
dirname(fileURLToPath(import.meta.url)),
47-
"../..",
48-
);
49-
const artifact = resolve(file.dirname!, url);
50-
const artifactRelative = relative(repoRoot, artifact).replaceAll(
51-
"\\",
52-
"/",
53-
);
54-
const fileRelative = relative(repoRoot, file.path).replaceAll("\\", "/");
47+
const repoRoot = path.resolve(__dirname, "../..");
48+
const artifact = path.resolve(file.dirname!, url);
49+
const artifactRelative = path
50+
.relative(repoRoot, artifact)
51+
.replaceAll("\\", "/");
52+
const fileRelative = path
53+
.relative(repoRoot, file.path)
54+
.replaceAll("\\", "/");
5555

5656
// We host all files under docs. Will resolve as a relative link, but
5757
// relative links pointing to a folder passing between user and
@@ -73,7 +73,7 @@ function remarkPluginFixLinksToRepositoryArtifacts(): Transformer<Root> {
7373
}
7474

7575
function isFolder(url: string) {
76-
return !extname(url);
76+
return !path.extname(url);
7777
}
7878

7979
function passingBetweenUserAndContributing(

packages/app-web-docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build": "docusaurus build --out-dir out"
2424
},
2525
"dependencies": {
26-
"@algolia/client-search": "^5.50.0",
26+
"@algolia/client-search": "^5.50.1",
2727
"@cursorless/lib-common": "workspace:*",
2828
"@docsearch/react": "^4.6.2",
2929
"@docusaurus/core": "^3.9.2",
@@ -47,9 +47,9 @@
4747
"@docusaurus/types": "^3.9.2",
4848
"@types/mdast": "^4.0.4",
4949
"@types/mocha": "^10.0.10",
50-
"@types/node": "^24.12.0",
50+
"@types/node": "^24.12.2",
5151
"@types/react": "^19.2.14",
52-
"sass": "^1.98.0",
52+
"sass": "^1.99.0",
5353
"typescript": "^6.0.2",
5454
"unified": "^11.0.5"
5555
}

packages/app-web-docs/src/docs/components/ScopeVisualizer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ interface Props {
4646

4747
export function ScopeVisualizer({ languageId, scopeTypeType }: Props) {
4848
const scopeTests = usePluginData("scope-tests-plugin") as ScopeTests;
49+
// oxlint-disable-next-line react/hook-use-state
4950
const [scopes] = useState(
5051
getScopeFixtures(scopeTests, languageId, scopeTypeType),
5152
);

packages/app-web-docs/src/plugins/scope-tests-plugin.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import type {
1414
Target,
1515
} from "../docs/components/types";
1616

17+
// oxlint-disable-next-line unicorn/prefer-import-meta-properties
1718
const __dirname = path.dirname(fileURLToPath(import.meta.url));
1819

1920
export default function prepareAssetsPlugin(
@@ -179,8 +180,8 @@ function parseLine(line: string) {
179180
const fullIndex = header.slice(1, spaceIndex);
180181
const [scopeIndex, targetIndex] = fullIndex.split(".");
181182
return {
182-
scopeIndex: scopeIndex,
183-
targetIndex: targetIndex,
183+
scopeIndex,
184+
targetIndex,
184185
type: header.slice(spaceIndex + 1),
185186
};
186187
}

packages/app-web/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
"@cursorless/lib-cheatsheet": "workspace:*",
1616
"@cursorless/lib-common": "workspace:*",
1717
"bootstrap": "^5.3.8",
18-
"preact": "^10.29.0",
18+
"preact": "^10.29.1",
1919
"react-player": "^3.4.0",
2020
"wouter-preact": "^3.9.0"
2121
},
2222
"devDependencies": {
23-
"@types/node": "^24.12.0",
23+
"@types/node": "^24.12.2",
2424
"typescript": "^6.0.2",
25-
"vite": "^8.0.5",
25+
"vite": "^8.0.6",
2626
"vite-plugin-purgecss": "^0.2.13",
27-
"vite-plugin-svgr": "^5.0.0"
27+
"vite-plugin-svgr": "^5.2.0"
2828
}
2929
}

packages/lib-cheatsheet-local/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
"@cursorless/lib-cheatsheet": "workspace:*",
1919
"@cursorless/lib-common": "workspace:*",
2020
"bootstrap": "^5.3.8",
21-
"preact": "^10.29.0"
21+
"preact": "^10.29.1"
2222
},
2323
"devDependencies": {
2424
"@types/jest": "^30.0.0",
25-
"@types/node": "^24.12.0",
25+
"@types/node": "^24.12.2",
2626
"jest": "^30.3.0",
2727
"typescript": "^6.0.2",
28-
"vite": "^8.0.5",
28+
"vite": "^8.0.6",
2929
"vite-plugin-purgecss": "^0.2.13",
3030
"vite-plugin-singlefile": "^2.3.2"
3131
}

packages/lib-cheatsheet/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
},
1919
"dependencies": {
2020
"@cursorless/lib-common": "workspace:*",
21-
"preact": "^10.29.0",
21+
"preact": "^10.29.1",
2222
"react-bootstrap-icons": "^1.11.6"
2323
},
2424
"devDependencies": {
2525
"@types/jest": "^30.0.0",
2626
"jest": "^30.3.0",
2727
"jest-environment-jsdom": "^30.3.0",
28-
"ts-jest": "^29.4.6",
28+
"ts-jest": "^29.4.9",
2929
"typescript": "^6.0.2"
3030
}
3131
}

0 commit comments

Comments
 (0)