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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v24.14.0
v24.22.0
14 changes: 7 additions & 7 deletions oxlint.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ export default defineConfig({

rules: {
...Object.fromEntries(disabledRules.map((r) => [r, "off"])),
"eslint/eqeqeq": [
"warn",
"always",
{
null: "never",
},
],
"eslint/no-duplicate-imports": [
"warn",
{
Expand Down Expand Up @@ -181,13 +188,6 @@ export default defineConfig({
extensions: [".tsx"],
},
],
eqeqeq: [
"warn",
"always",
{
null: "never",
},
],
},

overrides: [
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"packageManager": "[email protected]",
"type": "module",
"engines": {
"node": ">=24.14.0"
"node": ">=24.22.0"
},
"scripts": {
"build": "pnpm -r build",
Expand Down Expand Up @@ -36,17 +36,17 @@
},
"devDependencies": {
"@pnpm/meta-updater": "^2.0.6",
"@types/node": "^24.13.4",
"@types/node": "^24.19.2",
"esbuild": "^0.28.2",
"eslint-plugin-mocha": "^12.0.2",
"oxfmt": "^0.67.0",
"oxlint": "^1.82.0",
"oxlint-tsgolint": "^7.0.2001",
"stylelint": "^17.15.0",
"oxfmt": "^0.74.0",
"oxlint": "^1.89.0",
"oxlint-tsgolint": "^7.0.2004",
"stylelint": "^17.16.0",
"stylelint-config-standard": "^40.0.0",
"stylelint-config-standard-scss": "^17.0.0",
"syncpack": "^15.3.3",
"tsx": "^4.23.13",
"tsx": "^4.23.15",
"typescript": "^7.0.2"
},
"pnpm": {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-neovim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"@cursorless/lib-test-case-recorder": "workspace:*"
},
"devDependencies": {
"neovim": "^5.4.0"
"neovim": "^5.5.0"
}
}
10 changes: 5 additions & 5 deletions packages/app-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1278,22 +1278,22 @@
"nearley": "^2.20.1",
"semver": "^7.8.5",
"trie-search": "^2.2.1",
"uuid": "^14.0.2",
"uuid": "^14.0.3",
"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.4",
"@types/node": "^24.19.2",
"@types/semver": "^7.8.0",
"@types/sinon": "^22.0.0",
"@types/vscode": "1.98.0",
"esbuild": "^0.28.2",
"fast-xml-parser": "^5.11.1",
"fs-extra": "^11.4.0",
"fast-xml-parser": "^5.11.2",
"fs-extra": "^11.4.1",
"sinon": "^22.1.0",
"tsx": "^4.23.13"
"tsx": "^4.23.15"
}
}
14 changes: 7 additions & 7 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.59.0",
"@algolia/client-search": "^5.60.0",
"@cursorless/lib-common": "workspace:*",
"@docsearch/react": "^5.1.0",
"@docsearch/react": "^5.1.2",
"@docusaurus/core": "^3.10.2",
"@docusaurus/faster": "^3.10.2",
"@docusaurus/preset-classic": "^3.10.2",
Expand All @@ -37,9 +37,9 @@
"bootstrap": "^5.3.8",
"docusaurus-plugin-sass": "^0.2.7",
"prism-react-renderer": "^2.4.1",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"shiki": "^4.4.3",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"shiki": "^4.5.0",
"unist-util-visit": "^5.1.0"
},
"devDependencies": {
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.4",
"@types/node": "^24.19.2",
"@types/react": "^19.3.0",
"sass": "^1.104.0",
"sass": "^1.105.2",
"typescript": "^7.0.2",
"unified": "^11.0.5"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/app-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"@cursorless/lib-cheatsheet": "workspace:*",
"@cursorless/lib-common": "workspace:*",
"bootstrap": "^5.3.8",
"preact": "^10.29.8",
"preact": "^11.0.1",
"react-player": "^3.4.0",
"wouter-preact": "^3.11.0"
"wouter-preact": "^3.13.0"
},
"devDependencies": {
"@types/node": "^24.13.4",
"@types/node": "^24.19.2",
"typescript": "^7.0.2",
"vite": "^8.3.0",
"vite": "^8.3.4",
"vite-plugin-purgecss": "^0.2.13",
"vite-plugin-svgr": "^5.2.0"
}
Expand Down
40 changes: 20 additions & 20 deletions packages/app-web/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata_SemiExpanded-Light.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata_SemiExpanded-Light.ttf")
format("truetype");
}

@font-face {
Expand All @@ -102,8 +102,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata_SemiExpanded-Regular.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata_SemiExpanded-Regular.ttf")
format("truetype");
}

@font-face {
Expand All @@ -113,8 +113,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata_SemiExpanded-Medium.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata_SemiExpanded-Medium.ttf")
format("truetype");
}

@font-face {
Expand All @@ -124,8 +124,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata_SemiExpanded-SemiBold.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata_SemiExpanded-SemiBold.ttf")
format("truetype");
}

@font-face {
Expand All @@ -135,8 +135,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata_SemiExpanded-Bold.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata_SemiExpanded-Bold.ttf")
format("truetype");
}

@font-face {
Expand All @@ -146,8 +146,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata_SemiExpanded-ExtraBold.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata_SemiExpanded-ExtraBold.ttf")
format("truetype");
}

@font-face {
Expand All @@ -157,8 +157,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata-ExtraLight.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata-ExtraLight.ttf")
format("truetype");
}

@font-face {
Expand All @@ -178,8 +178,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata-Regular.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata-Regular.ttf")
format("truetype");
}

@font-face {
Expand All @@ -189,8 +189,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata-Medium.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata-Medium.ttf")
format("truetype");
}

@font-face {
Expand All @@ -200,8 +200,8 @@
font-stretch: 1% 500%; /* Required by Chrome */
src:
local(""),
/* Modern Browsers */
url("/fonts/Inconsolata-SemiBold.ttf") format("truetype");
/* Modern Browsers */ url("/fonts/Inconsolata-SemiBold.ttf")
format("truetype");
}

@font-face {
Expand Down
10 changes: 5 additions & 5 deletions packages/lib-cheatsheet-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"@cursorless/lib-cheatsheet": "workspace:*",
"@cursorless/lib-common": "workspace:*",
"bootstrap": "^5.3.8",
"preact": "^10.29.8"
"preact": "^11.0.1"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^24.13.4",
"mocha": "^12.0.0",
"@types/node": "^24.19.2",
"mocha": "^12.0.3",
"typescript": "^7.0.2",
"vite": "^8.3.0",
"vite": "^8.3.4",
"vite-plugin-purgecss": "^0.2.13",
"vite-plugin-singlefile": "^2.3.3"
"vite-plugin-singlefile": "^2.3.4"
}
}
6 changes: 3 additions & 3 deletions packages/lib-cheatsheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
},
"dependencies": {
"@cursorless/lib-common": "workspace:*",
"preact": "^10.29.8",
"preact": "^11.0.1",
"react-bootstrap-icons": "^1.11.6"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^24.13.4",
"@types/node": "^24.19.2",
"@types/react": "^19.3.0",
"mocha": "^12.0.0",
"mocha": "^12.0.3",
"typescript": "^7.0.2"
}
}
6 changes: 3 additions & 3 deletions packages/lib-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@types/mocha": "^10.0.10",
"@types/tinycolor2": "^1.4.6",
"cross-spawn": "^7.0.6",
"fast-check": "^4.9.0",
"js-yaml": "^5.4.1",
"web-tree-sitter": "^0.27.0"
"fast-check": "^4.10.2",
"js-yaml": "^5.5.0",
"web-tree-sitter": "^0.27.1"
}
}
10 changes: 5 additions & 5 deletions packages/lib-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
"@cursorless/lib-common": "workspace:*",
"@cursorless/lib-node-common": "workspace:*",
"@cursorless/lib-sentence-parser": "workspace:*",
"@cursorless/talon-tools": "^0.12.0",
"immer": "^11.1.18",
"@cursorless/talon-tools": "^0.13.0",
"immer": "^11.1.21",
"immutability-helper": "^3.1.1",
"itertools": "^2.7.1",
"lodash-es": "^4.18.1",
"moo": "^0.5.3",
"nearley": "^2.20.1",
"uuid": "^14.0.2",
"zod": "^4.6.1"
"uuid": "^14.0.3",
"zod": "^4.6.7"
},
"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.27.0"
"web-tree-sitter": "^0.27.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class BoundedParagraphScopeHandler extends BoundedBaseScopeHandler {

protected createTarget(target: Target, interior: InteriorTarget): Target {
if (!(target instanceof ParagraphTarget)) {
throw new Error("Expected ParagraphTarget");
throw new TypeError("Expected ParagraphTarget");
}

return new BoundedParagraphTarget({
Expand Down
4 changes: 2 additions & 2 deletions packages/lib-neovim-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"@cursorless/lib-neovim-registry": "workspace:*",
"@cursorless/lib-node-common": "workspace:*",
"lodash-es": "^4.18.1",
"neovim": "^5.4.0",
"uuid": "^14.0.2",
"neovim": "^5.5.0",
"uuid": "^14.0.3",
"vscode-uri": "^3.2.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class NeovimTextDocument implements TextDocument {

private _validateRange(range: Range): Range {
if (!(range instanceof Range)) {
throw new Error("Invalid argument");
throw new TypeError("Invalid argument");
}

const start = this._validatePosition(range.start);
Expand All @@ -168,7 +168,7 @@ export class NeovimTextDocument implements TextDocument {

private _validatePosition(position: Position): Position {
if (!(position instanceof Position)) {
throw new Error("Invalid argument");
throw new TypeError("Invalid argument");
}

if (this._lines.length === 0) {
Expand Down
Loading
Loading