Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@
},
"devDependencies": {
"@pnpm/meta-updater": "^2.0.6",
"@types/node": "^24.13.3",
"@types/node": "^24.13.4",
"esbuild": "^0.28.2",
"eslint-plugin-mocha": "^12.0.2",
"oxfmt": "^0.64.0",
"oxlint": "^1.79.0",
"oxfmt": "^0.67.0",
"oxlint": "^1.82.0",
"oxlint-tsgolint": "^7.0.2001",
"stylelint": "^17.14.1",
"stylelint": "^17.15.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-config-standard-scss": "^17.0.0",
"syncpack": "^15.3.3",
"tsx": "^4.23.12",
"tsx": "^4.23.13",
"typescript": "^6.0.3"
},
"pnpm": {
Expand Down
8 changes: 4 additions & 4 deletions packages/app-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1317,21 +1317,21 @@
"semver": "^7.8.5",
"trie-search": "^2.2.1",
"uuid": "^14.0.2",
"vscode-uri": "^3.1.0"
"vscode-uri": "^3.2.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/lodash-es": "^4.17.12",
"@types/mocha": "^10.0.10",
"@types/nearley": "^2.11.5",
"@types/node": "^24.13.3",
"@types/node": "^24.13.4",
"@types/semver": "^7.8.0",
"@types/sinon": "^22.0.0",
"@types/vscode": "1.98.0",
"esbuild": "^0.28.2",
"fast-xml-parser": "^5.11.0",
"fast-xml-parser": "^5.11.1",
"fs-extra": "^11.4.0",
"sinon": "^22.1.0",
"tsx": "^4.23.12"
"tsx": "^4.23.13"
}
}
16 changes: 8 additions & 8 deletions packages/app-web-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"build": "docusaurus build --out-dir out"
},
"dependencies": {
"@algolia/client-search": "^5.57.0",
"@algolia/client-search": "^5.59.0",
"@cursorless/lib-common": "workspace:*",
"@docsearch/react": "^4.7.0",
"@docsearch/react": "^5.1.0",
"@docusaurus/core": "^3.10.2",
"@docusaurus/faster": "^3.10.2",
"@docusaurus/preset-classic": "^3.10.2",
Expand All @@ -35,10 +35,10 @@
"@docusaurus/theme-search-algolia": "^3.10.2",
"@mdx-js/react": "^3.1.1",
"bootstrap": "^5.3.8",
"docusaurus-plugin-sass": "^0.2.6",
"docusaurus-plugin-sass": "^0.2.7",
"prism-react-renderer": "^2.4.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"shiki": "^4.4.3",
"unist-util-visit": "^5.1.0"
},
Expand All @@ -49,9 +49,9 @@
"@docusaurus/types": "^3.10.2",
"@types/mdast": "^4.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"sass": "^1.103.1",
"@types/node": "^24.13.4",
"@types/react": "^19.3.0",
"sass": "^1.104.0",
"typescript": "^6.0.3",
"unified": "^11.0.5"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/app-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"bootstrap": "^5.3.8",
"preact": "^10.29.8",
"react-player": "^3.4.0",
"wouter-preact": "^3.10.0"
"wouter-preact": "^3.11.0"
},
"devDependencies": {
"@types/node": "^24.13.3",
"@types/node": "^24.13.4",
"typescript": "^6.0.3",
"vite": "^8.2.2",
"vite-plugin-purgecss": "^0.2.13",
Expand Down
6 changes: 3 additions & 3 deletions packages/lib-cheatsheet-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"preact": "^10.29.8"
},
"devDependencies": {
"@jest/globals": "^30.4.1",
"@types/node": "^24.13.3",
"jest": "^30.4.2",
"@jest/globals": "^30.5.1",
"@types/node": "^24.13.4",
"jest": "^30.5.1",
"typescript": "^6.0.3",
"vite": "^8.2.2",
"vite-plugin-purgecss": "^0.2.13",
Expand Down
8 changes: 4 additions & 4 deletions packages/lib-cheatsheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"react-bootstrap-icons": "^1.11.6"
},
"devDependencies": {
"@jest/globals": "^30.4.1",
"@types/node": "^24.13.3",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"@jest/globals": "^30.5.1",
"@types/node": "^24.13.4",
"jest": "^30.5.1",
"jest-environment-jsdom": "^30.5.1",
"ts-jest": "^29.4.12",
"typescript": "^6.0.3"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/lib-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"itertools": "^2.7.1",
"lodash-es": "^4.18.1",
"tinycolor2": "^1.6.0",
"vscode-uri": "^3.1.0"
"vscode-uri": "^3.2.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
Expand All @@ -30,7 +30,7 @@
"@types/tinycolor2": "^1.4.6",
"cross-spawn": "^7.0.6",
"fast-check": "^4.9.0",
"js-yaml": "^5.3.0",
"web-tree-sitter": "^0.26.13"
"js-yaml": "^5.4.1",
"web-tree-sitter": "^0.27.0"
}
}
16 changes: 12 additions & 4 deletions packages/lib-common/src/testUtil/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@
// children) will be serialized inline, and also ensures that "fullTargets" will be inlined as well

import type { Document, MappingNode, Node, SequenceNode } from "js-yaml";
import { CORE_SCHEMA, dump, visit, YAML11_SCHEMA } from "js-yaml";
import {
COLLECTION_STYLE,
CORE_SCHEMA,
dump,
SCALAR_STYLE,
visit,
YAML11_SCHEMA,
} from "js-yaml";

export function serialize(obj: unknown): string {
return dump(toSerializableObject(obj), {
Expand Down Expand Up @@ -37,7 +44,7 @@ function inlineSimpleCollections(documents: Document[]): void {
// Keep nested simple objects and arrays in flow style, eg `{line: 0}` and
// `[default.a]`, while leaving top-level mappings in block style.
if (depth > 0 && isCollectionNode(node) && hasOnlyScalarChildren(node)) {
node.style.flow = true;
node.style = COLLECTION_STYLE.FLOW;
}

// Existing fixtures use single quotes for flow scalar values that need
Expand All @@ -46,13 +53,14 @@ function inlineSimpleCollections(documents: Document[]): void {
if (
!isKey &&
parent != null &&
parent.style.flow &&
isCollectionNode(parent) &&
parent.style === COLLECTION_STYLE.FLOW &&
node.kind === "scalar" &&
node.tag === "tag:yaml.org,2002:str" &&
!node.value.includes("\n") &&
scalarNeedsQuotesInFlow(node.value)
) {
node.style.singleQuoted = true;
node.style = SCALAR_STYLE.SINGLE_QUOTED;
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"moo": "^0.5.3",
"nearley": "^2.20.1",
"uuid": "^14.0.2",
"zod": "^4.4.3"
"zod": "^4.6.1"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"@types/mocha": "^10.0.10",
"@types/moo": "^0.5.10",
"@types/nearley": "^2.11.5",
"web-tree-sitter": "^0.26.13"
"web-tree-sitter": "^0.27.0"
}
}
2 changes: 1 addition & 1 deletion packages/lib-neovim-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lodash-es": "^4.18.1",
"neovim": "^5.4.0",
"uuid": "^14.0.2",
"vscode-uri": "^3.1.0"
"vscode-uri": "^3.2.0"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-node-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"fast-glob": "^3.3.3",
"immer": "^11.1.18",
"lodash-es": "^4.18.1",
"node-html-parser": "^9.0.1"
"node-html-parser": "^9.0.4"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",
"js-yaml": "^5.3.0"
"js-yaml": "^5.4.1"
}
}
4 changes: 2 additions & 2 deletions packages/test-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/tail": "^2.2.3",
"@vscode/test-electron": "^3.1.0",
"cross-spawn": "^7.0.6",
"mocha": "^11.8.0",
"tsx": "^4.23.12"
"mocha": "^12.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep Mocha compatible with the legacy VS Code runtime

The required legacy job in .github/workflows/test.yml runs the bundled test runner inside VS Code 1.98, whose extension host uses Node 20.18.x, but Mocha 12 declares support only for Node ^20.19.0 || >=22.12.0 in this commit's lockfile. Because scripts/compile-esbuild.sh bundles Mocha into extensionTestsVscode.cjs, the workflow's Node 24 setup does not protect it once VS Code loads the runner; this leaves the branch-protection job executing Mocha on an unsupported runtime and liable to fail before tests run. Keep Mocha 11 or raise the legacy VS Code version to one with a supported Node runtime.

Useful? React with 👍 / 👎.

"tsx": "^4.23.13"
}
}
2 changes: 1 addition & 1 deletion packages/tool-meta-updater/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"@types/normalize-path": "^3.0.2",
"lodash-es": "^4.18.1",
"normalize-path": "^3.0.0",
"type-fest": "^5.8.0"
"type-fest": "^5.9.0"
}
}
Loading
Loading