Skip to content

Upgrade low-risk dependencies - #27

Merged
rkalis merged 2 commits into
oxlintfrom
upgrade-deps
Dec 3, 2026
Merged

rkalis merged 2 commits into
oxlintfrom
upgrade-deps

Conversation

@mr-zwets

@mr-zwets mr-zwets commented Dec 2, 2026

Copy link
Copy Markdown
Member

Summary

Upgrades the low-risk dependencies. Stacked on #26; review and merge that first. The riskier upgrades are tracked in #24.

Changes

  • rolldown 1.2 → 1.3
  • @vscode/vsce 3 → 4. vsce 4 requires Node 22+ to run, which only affects whoever packages the extension (now noted in DEVELOPMENT.md); the .vsix manifest is unchanged. vsce 4 replaced keytar with @napi-rs/keyring, which ships prebuilt binaries, so keytar is dropped from allowBuilds.
  • semver 7.8.6, vscode-languageserver-textdocument 1.0.16, @types/semver 7.8, @types/node 18.19.130 (staying on 18.x, see Upgrade vscode-languageclient/-server and decide the minimum supported VS Code version #24): patch and minor bumps
  • @types/vscode pinned to ~1.83 to match engines.vscode: ^1.83.0 (it was 1.96, so the type checker allowed APIs that VS Code 1.83 doesn't have). The code type-checks against 1.83, so no newer API is in use.
  • Removed the deprecated vscode-test package, the src/tests scaffold and its .vscode-test entries in tsconfig.json and .gitignore. runTest.ts pointed at a test suite that doesn't exist, and index.ts was empty. Note for test: add unit tests generated by ToTheos #20, which adds Jest tests: it includes src/tests/index.test.ts and src/tests/runTest.test.ts for these removed files, so those should be dropped when it's rebased, along with its yarn.lock changes (the repo uses pnpm after Switch from yarn to pnpm #25).

Not in this PR

These need a decision first; see #24:

  • vscode-languageclient 7 → 12 / vscode-languageserver 7 → 11
  • raising the engines.vscode minimum
  • @types/node, which should follow the Node version of the minimum supported VS Code

Testing

  • pnpm typecheck, pnpm build, pnpm lint and pnpm format:check pass
  • Language server smoke test over stdio against every .cash file in examples/: diagnostics identical to main; extension.js activates with a stubbed vscode module
  • pnpm package: the .vsix has the same 19 files as on main (rolldown 1.3 emits the rolldown-runtime chunk separately again). The manifest only differs in dependency ranges and the tag/category order from the previous PR; the bundles themselves change because of the rolldown and semver bumps.

🤖 Generated with Claude Code

mr-zwets and others added 2 commits December 2, 2026 09:52
- rolldown 1.2 → 1.3
- @vscode/vsce 3 → 4 (requires Node 22+ to package; the .vsix manifest
  is unchanged). vsce 4 replaced keytar with @napi-rs/keyring, which
  ships prebuilt binaries, so keytar is dropped from allowBuilds
- semver, vscode-languageserver-textdocument, @types/semver and
  @types/node (within 18.x) patch and minor bumps
- remove the deprecated vscode-test package, the unused src/tests
  scaffold (it referenced a test suite that doesn't exist) and its
  .vscode-test entries in tsconfig.json and .gitignore
- note the Node 22 requirement in DEVELOPMENT.md

The riskier upgrades (vscode-languageclient/-server, raising the
engines.vscode minimum) are tracked separately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
engines.vscode is ^1.83.0, but @types/vscode was 1.96, so the type
checker would have allowed APIs that VS Code 1.83 doesn't have. The
code type-checks against 1.83, so no API newer than the declared
minimum is used today.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rkalis
rkalis merged commit d79fa6e into main Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants